Start gently · 2 minutes

Backtest

A backtest runs a fixed set of steps on past prices to see what would have happened.

It answers one question: if I had done exactly this, how would it have gone? It costs no money and covers decades in seconds. But it is a test of the past, not a promise about the future.

1One picture

Backtest chart of $10,000 in a 60/40 mix of US stocks and long bonds against US stocks alone, from 2002 to 2026, log scale.
A textbook mix, not one of our strategies: 60% S&P 500 (SPY), 40% long US bonds (TLT), reset to 60/40 every December. From July 2002 to September 2026 it grew $10,000 to $76,441 (8.8% a year, worst fall 28%). Stocks alone: $130,261 (11.2% a year, worst fall 55%). Including dividends and interest, hypothetical.

2How to read it

Fixed steps + past prices + costs → a hypothetical result
Stepswritten down before the test and never changed during it
Pricesonly what was known on each day, no peeking ahead
Coststrading costs and fees taken off, or the result looks too good

Example: the 60/40 test above takes an assumed 0.1% off every trade. It trades only once a year, so costs stayed small: $72 in 24 years.

3In the real world

  • A backtest is only as honest as its data. Use prices that include dividends and the fees you would really pay.
  • The more you tweak the steps to fit the past, the less the result means. That trap is called overfitting.
  • Read the worst fall next to the return. A backtest that hides its bad years is not worth much.

In your TerminalStrategies · backtest results of our systematic strategy in each market, after costs, next to buy & hold

4Check yourself

A backtest buys a stock "at the day's low price" every time. What is wrong with that?Show the answer

Answer: nobody knows the day's low until the day is over. The test uses information that was not available, so its result is too good.

5After this page you can

Say what a backtest can and cannot tell you.
Check that a backtest counts costs and dividends.
Spot a test that peeks at information from the future.

Next: Overfitting · Out-of-sample · Survivorship bias

The longer explanation

A backtest applies a fixed, systematic strategy to historical data to see how it would have performed. It answers the question: "If I had followed these rules, what would have happened?"

Backtests are essential for testing ideas without risking money, but they have limits. The biggest danger is overfitting — tuning rules until they fit the past perfectly, which rarely works in the future. Realistic trading costs, data that was actually available at the time, and testing across many markets and decades reduce these risks.

All results on InvestWealth.com are hypothetical backtests that include estimated trading costs. They do not guarantee future results.

Related terms

Learn more in our in-depth guides

Educational research, not investment advice. Disclaimer.

Free Research Terminal

From the idea to the evidence, on six markets

  • Momentum: 1, 3, 6 and 12-month returns and the distance to the 12-month average
Free · no card

You also get our research emails: a short update after each month-end, plus occasional research and offers. Unsubscribe anytime with one click.