All articles
Investing Strategy

Gold vs stocks: which actually protects you from inflation?

Equities offer growing cash flows and pricing power, while gold offers physical scarcity. We look at the historical data to see which asset actually preserves your purchasing power.

By PortfolioGlance Editorial 2026-08-04

If you want to protect savings from inflation, you eventually face a classic portfolio debate: gold vs stocks. The financial industry often paints gold as the ultimate shield against a devaluing currency. Meanwhile, equities are positioned as growth engines that carry higher short-term risk.

The reality is more nuanced. When consumer prices rise, you need an asset that outpaces the cost of living. Over the long run, stocks are the superior inflation hedge because businesses generate cash, adapt to markets, and raise their own prices. Gold, by contrast, is a static physical asset. It pays no dividends and produces no earnings, making its track record as a dependable hedge surprisingly erratic.

Here is how both assets actually function when inflation heats up, and what historical data tells us about their roles in a long-term portfolio.

The mechanics of an inflation hedge

To understand why an asset protects you, you have to look at its underlying machinery. An inflation hedge does one specific job: it preserves your purchasing power. If inflation runs at 4% for a year, your investments need to generate at least a 4% after-tax return just to buy the exact same amount of groceries, gas, and housing they could twelve months earlier.

~6.5%Historical average annual real return of US stocks

Equities approach this problem through cash flow and pricing power. When inflation rises, the cost of raw materials and labor goes up. A strong business simply passes those costs onto the consumer. If you own shares in a company that makes toothpaste, and inflation drives up the cost of mint and packaging, the company raises the price of the toothpaste. The business's revenue climbs in nominal terms, its earnings grow, and eventually, the stock price follows. Because you own a slice of that productive asset, your wealth scales with the broader economy.

Investing in gold operates on an entirely different premise. Gold is money that governments cannot print. Its value comes from physical scarcity and thousands of years of human psychology. When you buy a gold bar, you are betting that as fiat currency loses purchasing power, it will take more of those dollars to buy the same ounce of metal.

But gold does not invent new products, pay out a quarterly dividend, or compound its earnings. Its price relies entirely on what the next person is willing to pay for it.

Let's look at a worked calculation

The easiest way to see the difference between a productive asset and a non-yielding store of value is to run the math over a long time horizon.

Imagine you have $10,000 and a 20-year timeline. We will assume inflation averages a steady 3% per year. Just to break even on purchasing power, your $10,000 needs to grow to about $18,061 over those two decades.

Scenario A: A non-yielding asset that tracks inflation Let's say you buy gold, and it performs exactly as an inflation hedge is theoretically supposed to, matching inflation at 3% a year with a 0% real return. After 20 years, your investment is worth $18,061 in nominal terms. You survived. Your wealth buys the exact same amount of goods as it did 20 years ago.

Scenario B: A productive asset with a real return Now you buy a broad stock market index fund. Historically, US equities have delivered about a 9% nominal return, which translates to a 6% real return after subtracting our 3% inflation. Compounding at 9% for 20 years, your $10,000 turns into $56,044.

Even after you adjust that final number for 20 years of inflation, your purchasing power has more than tripled. You did not just protect your money; you compounded it.

Is gold a good inflation hedge in the real world?

If you ask most people for an example of gold thriving during inflation, they point to the 1970s. During that decade, US inflation spiked dramatically, peaking at over 13% by 1980. The stock market struggled, enduring a painful lost decade in real terms. Gold, meanwhile, went on a legendary run, rocketing from $35 an ounce (when it was detached from the dollar in 1971) to over $800 by early 1980. It was the perfect hedge.

But if you look past the 1970s, the story falls apart.

From 1980 to 2000, inflation remained a constant fact of life. The cost of living roughly doubled over those two decades. If gold was a reliable hedge, its price should have steadily climbed. Instead, gold fell from its $800 peak in 1980 to below $300 by the late 1990s. Investors who bought gold to protect themselves from inflation lost massive amounts of purchasing power. During that same 20-year stretch, the stock market went on one of the greatest bull runs in history.

Modern data shows a similar inconsistency. In 2022, US inflation hit 9%, the highest level in forty years. Equities took a beating, dropping about 19% as the Federal Reserve rapidly hiked interest rates. Gold, the supposed inflation shield, ended the year roughly flat. It certainly beat stocks that year, acting as a decent shock absorber against market panic, but it did not outpace the actual inflation rate.

The short-term vs long-term disconnect

The conflict in the data comes down to time horizons.

In the short term—think one to three years—equities can be a terrible inflation hedge. High inflation forces central banks to raise interest rates. Higher interest rates make borrowing expensive, compress corporate profit margins, and pull valuation multiples down. When inflation spikes suddenly, stocks usually drop.

During these brief panics, gold often holds its ground or catches a fear bid. It acts as a safe haven when investors worry that the economic system is fracturing.

But over rolling five-, ten-, or twenty-year periods, the math flips. Once companies adjust their pricing models and interest rates stabilize, corporate earnings catch up to the new price levels. Equities resume their upward trajectory, driven by fundamental economic growth. Gold, lacking a yield, tends to stagnate until the next major crisis.

How to handle this in your portfolio

You do not have to pick just one. Many investors hold a small allocation to gold—typically 2% to 5% of their total portfolio—specifically for its low correlation to equities.

When the stock market suffers a sharp, inflation-driven drawdown, a small gold allocation can reduce your overall portfolio volatility. It gives you a psychological buffer, making it easier to stomach the drops in your equity holdings without panic-selling.

However, leaning too heavily into precious metals carries a massive opportunity cost. If you put 20% or 30% of your wealth into gold out of fear of inflation, you are structurally dragging down your long-term compounding. You are trading away the dividends, share buybacks, and earnings growth that actually build wealth over a lifetime.

Keep an eye on how your portfolio's real returns stack up against inflation over time. Log in to PortfolioGlance to track your asset allocation, analyze your historical performance, and measure your true, inflation-adjusted growth.

PortfolioGlance

Ultimately, the best way to fight the slow erosion of currency is to own things that generate real cash flows. Gold has its place as a physical store of value and an occasional shock absorber. But if your goal is to permanently outrun the cost of living, you need assets that go to work every day. Equities, despite their occasional bouts of volatility, remain the most reliable engine for preserving and growing your purchasing power across the decades.

Gold vs stocks: which actually protects you from inflation?