~/stock-vs-inflation sip salary currency ☕ Support me apps ← about me
NAME

Stock Market vs Inflation Calculator — what your money really earned

— 8 markets after inflation, 1970–2025
SYNOPSISstock-vs-inflation [lump|monthly|worst] [growth|risk|timing|markets|table] market
NOTESruns in this tab · nothing you type is sent anywhere · data built in, to Dec 2025

Result

—

Growth — nominal vs real

Purchasing power — what it can buy

Guide — how to read your real return

Five steps from a headline number to what your money can actually buy.

1Pick a market and years

Choose one of eight stock markets, the January you invest and the December you stop. A famous period loads in one click.

2Lump sum or monthly

Lump sum invests everything on day one. Monthly adds the same amount every month, the way most people invest from a salary.

3Set dividends and costs

Keep reinvest dividends on for an honest long-run figure and type the yearly cost of the fund you would really use: 0.2 and 0,2 both work.

4Read the real value

The big number is what the investment is worth in the money of your start year. To keep up is what it had to become just to stand still.

5Stress-test the timing

Open Timing to see every start year for your holding period and a heat map of every period. Tap a cell to load it.

What each view answers

GROWTHNominal vs real
blue line
the number on your statement
green line
the same money in start-year prices
orange line
the same amount kept as cash, losing value to inflation
bars
what the result can buy, and the keep-up amount
RISKDrawdown and recovery
drawdown
how far the market fell below its last real high
recovery
years until that real high came back
year bars
every calendar year after inflation
lost decades
ten-year windows that lost to inflation
TIMINGLuck of the start date
periods
every start year for your holding period
your rank
your start against the worst and the best
heat map
every start year × holding period at once
worst timing
the worst start, loaded as a scenario
CONTEXTCompared with what?
markets
all eight markets on one chart, real, start = 100
US assets
stocks, bonds, T-bills, gold and houses
table
every year, exportable as CSV
export
any chart as PNG, the numbers as CSV

Stock market returns vs inflation, explained

Every stock market chart you see is a nominal chart: it shows the number going up, in money that was losing value the whole time. Inflation is the difference between that number and what it can buy. Over long periods the gap is huge. The S&P 500 with dividends returned about 11.1% a year from 1970 to 2025, but US prices rose about 3.9% a year over the same period, so the real return was about 6.9% a year. Ten thousand dollars became about 3.6 million on paper, worth about 416,000 dollars in 1970 prices (before fund costs). Both numbers are true; only the second one tells you how much richer you became.

How to calculate an inflation-adjusted (real) return

To turn a nominal amount into purchasing power, divide it by how much prices rose since you started:

real value = nominal value ÷ (CPI at the end ÷ CPI at the start)

For a yearly figure, divide the growth factors, do not subtract the percentages:

real return = (1 + nominal return) ÷ (1 + inflation) − 1

An 8% return with 3% inflation is a real return of 1.08 ÷ 1.03 − 1 = 4.85%, not 5%. The shortcut looks harmless for one year, but it overstates the result more and more as inflation rises; in 1980, with US inflation at 12.5% in the data used here, it was off by 2.2 percentage points. The calculator always uses the division form, year by year.

What the big number and “to keep up” mean

The big number is the real value: what the investment is worth at the end, in the money of the year you started. Next to it, to keep up turns it around: the amount your money had to reach by the end just to buy as much as it did at the start, which is the same money in end-year prices. With the default settings, $71,466 is what $10,000 invested in the S&P 500 in January 2000 was worth in December 2025. Prices rose 93%, so the $10,000 had to grow to $19,304 just to keep its buying power; the investment reached 3.70× that level, which is $37,021 in 2000 money or +5.16% a year after inflation and a 0.20% yearly fund cost.

Why dividends and costs matter so much

A stock index like the Nikkei 225 or the FTSE 100 is a price index: it ignores dividends. Over decades, reinvested dividends account for a large part of the total return; for the S&P 500 since 1970 they add about three percentage points a year (11.1% with dividends against 8.0% without). Fund costs work the other way: a 1% yearly fee on a 7% real return takes away about a seventh of the gain every year, and over 30 years about 26% of the final value. Switch dividends off or raise the cost to see the effect on your own period. The cost field accepts both decimal styles: 0.25 and 0,25 are the same.

Lump sum or monthly investing (dollar-cost averaging)

A lump sum spends more time in the market and, because markets rise more often than they fall, usually ends with more. Monthly investing matches how most people actually save, and it spreads the entry price so one unlucky month cannot decide the outcome. Because the two modes put money in at different times, compare them on the real return per year. For monthly investing the calculator reports a money-weighted return (an internal rate of return on every monthly deposit), the same method a broker uses for a savings plan. Monthly growth is spread evenly within each calendar year, because the data are yearly. Example: $100 a month into the S&P 500 from January 2000 to December 2025 is $31,200 paid in and $167,998 at the end, a real money-weighted return of +8.36% a year, higher than the lump sum’s +5.16% because much of the money went in after the falls of 2000–2002 and 2008. Over other periods it is the other way round.

Real drawdowns and lost decades

A drawdown is the fall from a previous high to the following low. Measured after inflation, drawdowns are deeper and recoveries take longer, because prices keep rising while you wait. A lost decade is a ten-year window in which the investment ended with less purchasing power than it started with. The best-known examples (S&P 500 with dividends, before fund costs):

Does the stock market always beat inflation?

Over long periods, broad stock markets have beaten inflation more reliably than cash or bonds; that is the main argument for owning them. But “in the long run” carries a lot of weight. Open the heat map: short holding periods are full of red. With a 0.20% yearly cost, none of the 42 fifteen-year periods of the S&P 500 since 1970 lost to inflation (the worst start, January 1970, still made +1.37% a year), but in this data the EURO STOXX 50, Nikkei 225, All Ordinaries had fifteen-year periods that did, and the EURO STOXX 50, Nikkei 225 even twenty-year periods. The Timing view counts how often that happened for any holding period, and ranks your own start year. It is history, not a forecast, but it is a better guide than an average.

Why cash is risky over long periods

Cash is the only asset whose nominal value never falls, which is exactly why its loss goes unnoticed. At 3% inflation, money in a drawer loses about 26% of its buying power in ten years and half in about 23 years. The orange line on the growth chart shows that loss for your own period.

Reading the heat map and the holding periods

The heat map puts every start year on the horizontal axis and every holding period on the vertical axis; each cell is the real return per year of a lump sum. Green beat inflation, red lost to it, and the outlined cell is your scenario. Click or tap a cell to load it, or focus the map with the keyboard, move with the arrow keys and press Enter. Above it, the holding-period chart shows every start year for the length of your own window, with the worst start in yellow and your start outlined, plus your rank among all of them. Both charts open full screen.

Markets side by side, and US asset classes

The Markets view puts every market that has data for your start year on one chart, rebased to 100 and after inflation, so the lines show real growth from the same start. Each one is in its own currency against its own inflation: a Japanese investor in the Nikkei 225, a British investor in the FTSE 100. That answers “what did a local investor earn”; it does not say which market was best for someone investing from abroad, because exchange rates are left out. A second chart compares US stocks with 10-year Treasuries, T-bills, gold, US house prices and cash, in US dollars.

Data and method

MarketSeriesFromInflation
S&P 500Total return with actual yearly dividends (price only when dividends are off)1970US CPI-U, December to December
MSCI WorldNet total return in USD1987US CPI-U
EURO STOXX 50Price index + estimated 3.3% dividend yield1987Euro area HICP; before 1996 the five largest economies
FTSE 100Price index + estimated 3.7% (before 1984: back-calculated)1970UK CPI
Nikkei 225Price index + estimated 1.5%1970Japan CPI
S&P/TSX CompositePrice index + estimated 2.8%1970Canada CPI
All OrdinariesPrice index + estimated 4.2% (franking credits not included)1970Australia CPI
BSE SensexPrice index + estimated 1.4%1980India CPI

Returns are calendar-year, from the last close of the previous December to the last close of the year. Index closes come from the index providers via public year-end records. The S&P 500 series is the index’s total return with dividends reinvested; its yearly figures match the published total returns (for example +25.02% in 2024 and +17.88% in 2025). The US bonds, T-bills, gold and house-price series come from Aswath Damodaran’s historical returns dataset (NYU Stern). US inflation is the December-to-December change of the CPI-U. For the other countries, December levels are estimated from World Bank and Eurostat yearly averages. Every market is measured in its own currency against its own inflation. Figures are before taxes. Data run through December 2025; 2026 is left out until a full year of data exists.

Share, save and export

The address bar always holds the current scenario, for example ?market=US&amount=10000&from=2000&to=2025. Optional: mode=dca or mode=worst&hold=15, fee=0.5, div=0, and since November 2026 view=risk (or timing, markets, table) and log=1. Markets: US, WORLD, EU, UK, JP, CA, AU, IN; names such as sp500, msci, ftse, nikkei, tsx, asx and sensex work too. Save scenario keeps up to 30 scenarios in this browser. Export saves any chart as a PNG and the numbers behind the current view as CSV, and every chart has a full-screen button. Keys: 1–5 switch views, L M W switch modes, F full screen, ? lists the rest.

Privacy

All calculations run in your browser; nothing you type is sent anywhere. Saved scenarios stay in this browser’s local storage. The page loads its font from Google Fonts, the site’s theme files and SimpleAnalytics, a privacy-first visitor counter without cookies.

Education, not advice. This page shows historical data for education, not investment advice, and it does not tell you what to buy. Past returns do not predict future returns.

More calculators

Check whether your pay kept up with prices in the salary inflation calculator, project a monthly savings plan with the SIP calculator, convert between currencies with the currency converter or work out any percentage in the percentage calculator.