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

2How to read it
| Steps | written down before the test and never changed during it |
|---|---|
| Prices | only what was known on each day, no peeking ahead |
| Costs | trading 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
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
What a trend following strategy is, why trends exist, a century of evidence, how it behaved in crashes, its weak spots, and how trend following ETFs …
Bitcoin in a portfolio: how to size for an 80% fall NEWHow much Bitcoin a portfolio can carry, worked out from the falls rather than the returns: Bitcoin's drawdowns since 2017, how it behaved when stocks…
Bear market vs bull market: what every US bear market since 1973 tells you NEWBear vs bull market explained with data: every 20%+ fall in the S&P 500 since 1973, how long it lasted and how long the recovery took. Plus: are we i…
Educational research, not investment advice. Disclaimer.
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
You also get our research emails: a short update after each month-end, plus occasional research and offers. Unsubscribe anytime with one click.