Stock Market Time Machine

Play through real market history one year at a time, or test a savings or retirement plan against every start year since 1928. See how much timing matters and what your own choices change.

Private by design. Everything runs in your browser and nothing is uploaded. A short list of your past results stays on this device only.

Set up your time machine

How it works

Each year in the game is a real year from 1928 to 2025. You choose how much of your money goes into US stocks (the S&P 500 with dividends) and where the rest goes: cash (3-month Treasury bills) or bonds (10-year Treasuries). Then the real returns for that year are applied, along with real inflation. Your mix is rebalanced to your choice at the start of every year. The dates stay hidden until the end, so you cannot lean on hindsight. Turn on practice mode if you want to see them as you play.

What you can learn here

Sources and limits

Returns for the S&P 500 (with dividends), 3-month Treasury bills and 10-year Treasury bonds, 1928 to 2025, come from Aswath Damodaran's historical returns dataset at NYU Stern. Inflation is the US Consumer Price Index (CPI-U, December to December) from the US Bureau of Labor Statistics. Annual data hides swings inside a year, such as the 1987 crash. Taxes, trading costs and account fees other than the fee setting are ignored. For 2025, the bond figure is the annual return published in the dataset's return column. This is an educational game, not a forecast and not financial, tax or legal advice. Past returns do not predict future returns.

Test a plan: how to read it

The Test a plan tab runs your plan from every possible start year (1928, 1929, 1930 and so on) and shows the spread of results. The shaded band covers the middle 80% of periods, the line is the median, and the dashed line is the worst period. For retirees, the grid shows how often the money lasted for each withdrawal rate and stock share. These periods overlap, so treat the percentages as a rough guide to history, not as odds for your future.

Questions

Is this real stock market data?

Yes. Every year in the game uses the real annual return for US stocks, Treasury bills and Treasury bonds, plus real US inflation, for 1928 through 2025.

Why are the years hidden?

Because real investors never know what is coming. Hiding the dates stops you from remembering what happened and shows how hard it is to stay calm. Practice mode shows the dates if you want to learn the story year by year.

How is this different from a retirement calculator?

A calculator uses one fixed return every year. This uses what actually happened, including crashes, inflation spikes and long flat stretches, so you can see how much the start date matters. Use both: history for the range of outcomes, a retirement calculator for your own plan.

What is a challenge link?

After a run you can copy a link that gives a friend, a classmate or a student the same hidden era and settings. They play blind, then see how they did compared with you. The link holds only the settings and your result. Nothing is stored on a server.

Can this predict my future returns?

No. History shows a range of outcomes, not a promise. Use it to understand risk, then plan with the compound interest calculator or the retirement calculator.

What does the yearly fund fee do?

It subtracts that percentage from your return every year, the way a fund's expense ratio does. Try 2% and compare the result. The Investment Fee Detector shows what fees cost over 10, 20 and 30 years.

Is anything saved or uploaded?

No data leaves your device. Your recent results are kept in this browser's local storage so the page can show your history. Clearing your browser data removes them.

Related: Dollar-cost averaging vs. lump sum · The 4% rule · Inflation calculator · Investment Fee Detector