Inflation and Investing Explained: How Inflation Affects Stocks, Bonds, Real Assets, and Portfolio Strategy
May 9, 2026 · guides · 12 min read
Inflation and Investing Explained: How Inflation Affects Stocks, Bonds, Real Assets, and Portfolio Strategy
Inflation does not announce itself politely. It arrives in quarterly earnings calls where executives cite "input cost pressures," in grocery bills that quietly climb 8% without any single item looking obviously expensive, and in bond portfolios that hold their nominal value while losing real purchasing power year after year. For investors, inflation is not merely an economic backdrop -- it is a repricing mechanism that reorders which assets create value and which quietly destroy it.
This guide covers the full mechanics: how inflation is measured, how it erodes fixed income returns through the math of real yields, why stocks are an imperfect hedge and what separates the winners from the losers, which real assets have historically preserved purchasing power, and how specific instruments like TIPS and I Bonds work in practice. It closes with a historical comparison of the 1970s stagflation era and the 2021-2022 cycle -- two inflationary periods that look superficially similar but had meaningfully different structures.
What Inflation Measures: CPI, PCE, and Core vs. Headline
Inflation is not a single number. It is a weighted average of price changes across a defined basket of goods and services, and the answer you get depends on which basket you use.
The Consumer Price Index (CPI), published monthly by the Bureau of Labor Statistics, tracks the out-of-pocket prices paid by urban consumers across eight major categories. Housing -- specifically shelter costs represented by owners' equivalent rent -- carries roughly 34% of the total weight, making it the single largest component. CPI is the most publicly cited inflation measure and is used to adjust Social Security benefits, Treasury Inflation-Protected Securities, and many wage contracts.
The Personal Consumption Expenditures (PCE) price index, published by the Bureau of Economic Analysis, is the Federal Reserve's preferred gauge. PCE has a broader scope than CPI -- it includes spending made on behalf of consumers, such as employer-paid health insurance -- and uses chain weighting to adjust for substitution behavior when prices change. When beef prices spike and consumers shift toward chicken, PCE updates its weights to reflect that shift; CPI's fixed basket does not. PCE also assigns a lower weight to shelter costs, which is one reason PCE readings have historically run slightly below CPI.
Headline inflation includes every component, including food and energy. Core inflation strips out food and energy on the grounds that they are volatile and often driven by temporary supply shocks rather than persistent demand pressure. The Fed focuses on core PCE because it is a more stable signal of underlying inflationary trends. But headline inflation is what households actually pay, and when energy prices surge, the gap between headline and core becomes economically significant for consumer spending.
One additional data series worth knowing is the Producer Price Index (PPI), which measures price changes at the producer level rather than the consumer level. Because cost pressures at the factory or farm gate frequently pass through to consumers over subsequent months, a rising PPI can serve as a leading indicator for CPI.
How Inflation Erodes Fixed Income: The Math of Real Returns
The most straightforward damage inflation inflicts is on fixed income instruments. A bond pays a contractually fixed stream of interest payments and returns the face value at maturity. Both figures are denominated in nominal dollars. When inflation runs above the bond's coupon rate, the real purchasing power of every payment declines.
The relationship is captured by the Fisher equation:
Real return = Nominal return -- Inflation rate
A 10-year Treasury bond yielding 4% in an environment of 6% inflation delivers a real return of negative 2%. The bondholder receives their coupon and principal in full -- no default has occurred -- but each dollar returned has less purchasing power than the dollar originally lent. Over a decade, this compounding effect is material.
Long-duration bonds suffer most in inflationary environments because their cash flows are spread furthest into the future, and each future payment is discounted by one more year of purchasing power erosion. A 30-year zero-coupon bond has maximum duration sensitivity -- it makes no payments until maturity, so the entire value of the investment is exposed to inflation's compounding effect across the full term.
This is why rising inflation almost always correlates with rising nominal interest rates: lenders demand higher yields to compensate for the erosion of real purchasing power. And when yields rise, existing bond prices fall -- bond prices and yields move in opposite directions. The 2022 US Treasury market illustrated this with unusual severity: the Bloomberg US Aggregate Bond Index fell roughly 13% in a single year, its worst calendar-year return in modern history, as the Fed raised rates from near zero to above 4% in response to CPI running above 8%.
The key metric to watch is the real yield -- the nominal Treasury yield minus the breakeven inflation rate implied by TIPS pricing. When real yields are deeply negative (nominal rates below inflation expectations), holding nominal bonds is a guaranteed real loss. When real yields are positive, fixed income begins to compete meaningfully with other asset classes.
Why Stocks Are an Imperfect Inflation Hedge
The conventional wisdom is that stocks are a good inflation hedge because companies own real assets, generate revenues tied to nominal prices, and can raise prices as costs rise. The conventional wisdom is partly right and partly wrong.
Equities do have a structural advantage over nominal bonds: equity represents ownership of productive assets whose revenues are at least partially indexed to the price level. A company that sells goods and services sees its top line grow in nominal terms as prices rise. Over very long horizons -- decades, not quarters -- equity has broadly maintained real purchasing power better than fixed income.
But in the short to medium term, inflation is frequently bad for equities, particularly when it is unexpected and accelerating. The mechanism is a cost-revenue squeeze.
When inflation rises rapidly, input costs -- wages, raw materials, energy, logistics, and financing -- escalate faster than many companies can pass on through price increases. Revenue growth in nominal terms looks fine; margin erosion is where the damage shows. Operating leverage works against firms in this environment: a business with high fixed costs and long-term contracts on the cost side but more variable pricing power on the revenue side faces deteriorating margins until contracts reprice or input cost pressures stabilize.
There is also a valuation channel. As inflation drives nominal interest rates higher, the discount rate applied to future corporate cash flows rises, compressing the present value of those cash flows. This is the same mechanism that crushes bond prices, applied to equity valuations through the cost of equity component in WACC.
The net effect is that equities are an imperfect and highly conditional inflation hedge. Whether a company benefits or suffers depends almost entirely on one variable: pricing power.
Pricing Power: The Key Differentiator
Pricing power is the ability of a business to raise its prices without a meaningful decline in unit volume. It is the single most important factor in determining which companies hold their value during inflationary periods and which suffer margin compression.
Businesses with durable pricing power share a set of structural characteristics. They tend to operate in industries with limited direct competition or have built brand equity that justifies premium prices. Their products address needs rather than discretionary wants. Customer switching costs are high -- either in time, money, or operational disruption. Examples include essential pharmaceuticals, certain software platforms with high switching costs, dominant consumer staples brands, and utilities operating under regulated rate structures.
Businesses without pricing power face a fundamentally different inflation experience. Commodity producers operating in competitive markets sell at whatever the market price is; they cannot charge more than the prevailing price. Manufacturers in industries with low barriers to entry find that any price increase is met with competitive undercutting. Retailers in highly price-sensitive categories discover that volume collapses if they pass through cost increases. In these situations, higher input costs compress margins directly.
The practical question to ask about any business in an inflationary environment is whether the revenue side or the cost side reprices faster. If revenues are naturally indexed to inflation -- because prices are raised regularly without volume loss -- the business is an implicit inflation hedge. If costs are rising and pricing is constrained, inflation becomes a direct margin headwind.
Real Assets as Inflation Protection
Real assets -- physical or tangible assets whose intrinsic value is linked to real-world supply and demand -- have historically provided more consistent inflation protection than financial assets.
Commodities are the most direct inflation hedge because they are themselves inputs to the price level. When oil prices rise, energy costs lift the CPI directly. Agricultural commodity prices flow through to food inflation. Owning commodity exposure -- through futures, commodity ETFs, or energy and mining equities -- provides a degree of real-time inflation linkage. The limitation is that commodity prices are extraordinarily volatile, driven by geopolitical events, weather, and production decisions by entities like OPEC that have nothing to do with domestic inflation dynamics.
Real estate holds up in inflation for two reasons: property values tend to rise in nominal terms as construction costs and land values increase, and rental income adjusts upward over time as leases expire and are renegotiated at prevailing market rates. Leveraged real estate adds a third advantage -- debt is denominated in nominal terms, so inflation effectively reduces the real burden of the mortgage while the asset's nominal value rises. REITs (Real Estate Investment Trusts) provide liquid access to real estate economics without direct property ownership, though publicly traded REITs are also subject to equity market volatility and interest rate sensitivity.
Farmland has one of the strongest historical track records as an inflation hedge. Its income -- crop yields -- is tied to agricultural commodity prices that tend to move with broader inflation. Its value is supported by the finite supply of productive agricultural land. Farmland has historically shown low correlation with equity markets and positive correlation with inflation, though direct access is limited to high-net-worth investors and institutional funds. Publicly traded farmland REITs and agricultural ETFs offer partial exposure.
Infrastructure -- toll roads, pipelines, airports, utilities, and cell towers -- often carries contractual or regulatory provisions that link cash flows to inflation indices. A toll road with an annual toll adjustment tied to CPI has revenue that is mechanically indexed to the inflation rate. This makes infrastructure assets particularly attractive during high-inflation periods, combining real asset characteristics with more stable cash flow profiles than commodities.
TIPS: How Treasury Inflation-Protected Securities Work
Treasury Inflation-Protected Securities are US government bonds whose principal value adjusts upward with CPI. When inflation rises, the principal increases; when deflation occurs, the principal decreases (subject to a floor at original face value at maturity). The fixed coupon rate is applied to the inflation-adjusted principal, so coupon payments also rise in inflationary environments.
The mechanics: a TIPS with a 1.5% coupon and a 1,000 dollar face value in a year with 4% CPI will see its principal adjust to 1,040 dollars. The coupon payment for that period will be 1.5% of 1,040 -- 15.60 dollars -- rather than 15.00 dollars. At maturity, the holder receives the inflation-adjusted principal (or original face value, whichever is higher).
The cost of this inflation protection is a lower nominal coupon rate. TIPS yield less than comparable nominal Treasuries; the spread between nominal and TIPS yields is the breakeven inflation rate -- the market's implied expectation of average CPI over the bond's term. If realized inflation exceeds the breakeven rate, TIPS outperform nominal Treasuries. If realized inflation falls below it, nominal Treasuries outperform.
TIPS make the most practical sense when inflation expectations are below what investors believe realized inflation will be -- in other words, when the market is underpricing inflation risk. Buying TIPS when breakeven inflation rates are already high means paying a premium for protection against a scenario the market has already priced. Timing this correctly is difficult.
TIPS also carry real rate risk: if real yields rise (meaning nominal rates rise even faster than inflation expectations), TIPS prices fall. The 2022 period saw both high inflation and rising real yields, which temporarily hurt TIPS total returns even as they continued to outperform nominal Treasuries.
I Bonds: Mechanics, Limits, and Liquidity Constraints
Series I Savings Bonds are US government savings bonds whose yield combines a fixed base rate and a variable rate tied to CPI-U, reset every six months in May and November. The composite rate adjusts automatically with inflation, making I Bonds one of the most direct retail inflation hedges available.
The structural advantages are significant. I Bonds carry no credit risk (US government backed), are exempt from state and local taxes, and federal taxes on interest can be deferred until redemption. During the 2021-2022 inflation surge, I Bond composite rates briefly exceeded 9%, making them among the most attractive fixed income instruments available to retail investors at the time.
The constraints are equally significant. Individual investors are limited to 10,000 dollars per calendar year in electronic purchases (plus an additional 5,000 dollars via tax refund in paper form). I Bonds cannot be redeemed within the first 12 months of purchase. Redemption between 12 months and five years incurs a penalty equal to the last three months of interest. This illiquidity makes I Bonds unsuitable as a core portfolio allocation for most investors -- they function better as a limited allocation within a broader inflation-protection sleeve.
Energy Stocks and Commodities: Cyclical Inflation Beneficiaries
Energy companies are among the most reliable relative outperformers during inflationary episodes driven by commodity price surges. The reason is mechanical: oil and gas companies generate revenue in dollars per barrel or per million BTU, and when energy prices rise (as they often do during inflationary periods), revenues rise faster than the relatively fixed costs of extraction and production from existing wells. The result is margin expansion, not compression -- the opposite of what most businesses experience.
During the 2021-2022 inflation cycle, the energy sector of the S&P 500 returned over 60% in 2022 alone, a year in which the broad index fell more than 18%. The sector served as a natural portfolio offset to losses in rate-sensitive growth equities.
Commodity equities more broadly -- mining companies, agricultural producers, fertilizer manufacturers -- share a similar dynamic when their particular commodity is at the center of inflationary pressure. The leverage to commodity prices that comes from owning an equity stake in a producer (rather than the commodity itself through futures) amplifies both upside in rising commodity environments and downside when commodities correct.
Financial Sector: Banks and Interest Rate Spread Dynamics
Banks occupy an unusual position in inflationary environments. The core of bank profitability is the net interest margin -- the spread between the rate earned on loans and the rate paid on deposits. When inflation drives the Fed to raise short-term rates, banks that are able to reprice their loan books faster than their deposit costs tend to see expanding net interest margins.
During the initial phases of a rate hike cycle, banks that hold floating-rate loan portfolios benefit most. A commercial bank heavily weighted toward variable-rate business loans and mortgages sees its interest income rise quickly. Deposit costs, particularly retail savings accounts, often reprice more slowly due to deposit stickiness, temporarily widening the spread.
The dynamic reverses if rates rise too quickly and cause credit deterioration. Higher rates increase the debt service burden on borrowers, and if the economy weakens into a credit cycle downturn, rising loan losses can offset the benefit of wider spreads. This is why financials are considered cyclical inflation beneficiaries rather than structural hedges -- the benefit holds during moderate, controlled inflation but can reverse during stagflationary recessions.
Consumer Staples: Pricing Power Meets Volume Sensitivity
Consumer staples companies -- food, beverage, household products, and personal care -- are often described as inflation-resilient because their products represent non-discretionary spending. Households cut back on vacations and electronics before they cut back on toothpaste and breakfast cereal.
The reality is more nuanced. Large consumer staples companies with dominant brand positions (think essential condiment or detergent brands with decades of consumer loyalty) have demonstrated genuine pricing power in inflationary periods -- they raised prices repeatedly during the 2021-2022 cycle and maintained volumes. Smaller or private-label-threatened staples brands faced more pressure.
The subtler risk is volume sensitivity at some price threshold. Even strong brands have an elasticity ceiling. When price increases accumulate across multiple rounds and consumer budgets are simultaneously squeezed by rent, energy, and healthcare inflation, trading down to private label becomes attractive. The pricing power that protects margins in early inflation cycles can erode in prolonged, broad-based inflationary environments as consumer behavior shifts.
Consumer staples also face their own input cost pressures -- grain, energy, packaging materials, and logistics -- which means the inflation protection they provide is conditional on the pace and breadth of their price increases relative to those cost pressures.
High-Multiple Growth Stocks and Inflation: Why Long-Duration Assets Suffer Most
The category most reliably harmed by inflation -- and by the rising interest rates that follow -- is high-multiple growth equities. The mechanism is the equity duration concept.
In bond markets, duration measures price sensitivity to interest rate changes. A long-duration bond has most of its cash flows arriving far in the future, making it highly sensitive to discount rate shifts. In equity markets, a company with minimal current earnings but substantial projected earnings in years five through fifteen behaves like a long-duration asset -- most of its present value derives from discounting distant cash flows back to today.
When inflation pushes the risk-free rate higher and raises discount rates across the capital markets, the present value of those distant cash flows shrinks disproportionately. A company trading at 50 times forward earnings has most of its valuation attributed to earnings growth well beyond the current year. A company trading at 12 times earnings has a far larger share of its value anchored in near-term cash generation.
This is not merely theoretical. The 2022 calendar year saw the Nasdaq fall over 30%, with many unprofitable technology companies falling 60-80%, while the energy sector and many value-oriented names held up substantially better. The repricing was largely a function of higher discount rates compressing long-duration equity valuations, compounded by multiple contraction as investors questioned whether the pandemic-era growth rates in certain sectors were structurally durable or cyclically inflated.
Historical Perspective: 1970s Stagflation vs. 2021-2022
The 1970s remain the canonical reference case for severe inflation in modern US economic history. Inflation reached double digits twice during the decade -- peaking at approximately 14.8% CPI in 1980 -- driven by the 1973 Arab oil embargo, the 1979 Iranian Revolution, and accommodative monetary policy that allowed supply shocks to become embedded in wage and price expectations.
The structural feature that defined 1970s inflation was stagflation -- the simultaneous presence of high inflation and weak economic growth (and eventually rising unemployment). Stagflation is particularly damaging for equities because it combines two negatives: the margin compression and valuation discount from inflation, and the earnings deterioration from weak aggregate demand. Real GDP growth was poor across much of the decade, and real equity returns were negative for long stretches even as nominal markets appeared to tread water.
The 2021-2022 inflationary episode was structurally different in several respects. The inflation was primarily demand-pull (fiscal stimulus and pent-up consumer demand) combined with supply-side disruptions (COVID-related supply chain impairment, semiconductor shortages, and subsequently energy shocks from the Russia-Ukraine conflict). The labor market remained strong throughout, which meant the stagflationary dynamic -- high inflation plus high unemployment -- did not materialize to the same degree.
The speed of Fed response also differed. The Fed was late to raise rates in 2021, which allowed inflation to broaden beyond initial supply shock categories. But once the rate hike cycle began in March 2022, it was historically aggressive -- the fastest pace of tightening since the Volcker era. By mid-2023, CPI had fallen back toward 3% without triggering the deep recession that many anticipated, a soft-landing outcome that was not available to policymakers in the late 1970s partly because inflation expectations had become so entrenched that Volcker-era rates above 20% were required to break them.
The key practical lesson from comparing both periods: the severity of inflation's damage to real portfolio values depends not just on the inflation rate itself but on whether it becomes self-reinforcing through wage-price spirals and entrenched expectations. The 1970s saw full entrenchment. The 2021-2022 cycle, while painful, resolved more quickly and without sustained stagflationary contraction.
Putting It Together: Portfolio Thinking During Inflationary Environments
Understanding inflation's mechanics across asset classes leads to a few durable portfolio principles.
Nominal bonds are the most vulnerable in rising inflation because their cash flows are fixed in nominal terms. Short-duration fixed income holds up better than long-duration because there is less time for inflation to erode purchasing power before repayment. Floating-rate debt instruments have natural inflation linkage through their variable coupons.
Within equities, pricing power is the variable that matters most. Businesses that can pass through cost increases -- because they have dominant market positions, essential products, or structural switching costs -- are better positioned than commodity-input-dependent businesses operating in competitive, price-sensitive markets. High-multiple growth equities with distant earnings runways are the most exposed to discount rate expansion.
Real assets -- commodities, real estate, infrastructure -- have historically provided partial inflation linkage, though each comes with its own volatility profile and liquidity characteristics. TIPS provide direct inflation indexation at the cost of lower nominal yield and real rate risk. I Bonds offer compelling protection within their purchase limits but carry meaningful illiquidity.
The overall architecture for an inflation-aware portfolio is not a dramatic rotation to a single asset class -- it is a deliberate rebalancing toward businesses with pricing power, shorter-duration fixed income, real asset exposure appropriate to the investor's liquidity needs, and away from long-duration financial assets whose present value is most sensitive to discount rate changes.
Screen for Pricing Power with Equity Rank
Identifying companies with durable pricing power requires looking at gross margin trends across multiple inflation cycles, revenue per unit versus volume trends in reported earnings, and competitive positioning data. Equity Rank applies 19+ valuation methods to more than 800 stocks and surfaces research ideas based on quantitative model output -- including sector and margin data that helps identify where pricing power is concentrated.
Explore the screener at equity-rank.com to run inflation-focused research across the full investable universe.