Backtest range: what one number hides
Paste a backtest's monthly returns and see the range of yearly returns the same months could have produced, and the chance the period ends in a loss.
About this tool
A backtest, a fund's track record or a strategy ad gives you one number: say 14% a year over five years. That number is one draw from the months that happened. The same months in a different mix would have printed a different number.
This tool answers one question: what range of yearly returns could the same months have produced over the same length, and how often would the period have ended in a loss? Paste your strategy's monthly returns, enter its yearly return, volatility and years, or pick a period of the S&P 500. The tool redraws the months into 10,000 new records of the same length and shows the range 9 in 10 of them land in, the chance of a loss, roughly how many years of similar data would narrow the range, and how the S&P 500's real stretches of the same length compare.
What we found
From our research: the S&P 500 with dividends reinvested made 14.4% a year from January 2021 to December 2025 (60 months, bought and held, no costs). From those months we built 10,000 new five-year records, each made of six-month runs that start at a random month, so some months repeat and some never show up (seed 42). In 9 of every 10 records the yearly return ended between 3.2% and 25.1%, and 1.9% of them lost money over the five years. Narrowing that range to 10 points would take roughly 24 years of similar months.
Real history was wider: in 9 of every 10 real five-year stretches of the S&P 500 from 1988 to 2025 the yearly return ran from −1.9% to +23.4%; the worst stretch lost 6.6% a year (March 2004 to February 2009) and the best made 28.6% a year (January 1995 to December 1999). 12.4% of those stretches lost money, but they overlap and all of the losing ones pass through just two falls (lows in 2002 and 2008–09), so that share describes history, not a probability.
This is a resampling of real historical data, not a forecast and not a strategy we run or sell.
How it works
Data: your monthly returns, or the daily closes of the S&P 500 with dividends reinvested (updated automatically), turned into month-end to month-end returns. Everything is computed in your browser; the numbers you enter are not sent anywhere.
Method: a block bootstrap. Each new record is built from runs of consecutive months of your record (1, 3, 6 or 12 months; 6 by default). Each run starts at a random month, and a run that reaches the last month carries on from the first. Runs are laid end to end until the record has the same number of months. We do this 10,000 times with fixed random numbers (seed 42), compound each record, and read the 5th and 95th percentiles of the yearly return and the share of records that ended below where they started. Reordering the months alone would not change the result, because growth is a product: drawing with repeats is what shows the range. With summary numbers (yearly return, volatility, years) we draw independent normal monthly returns instead, so that range is approximate.
Comparison: next to the range we show every real stretch of the same length in the S&P 500 from 1988 to 2025, and compare their middle 9 in 10 with the redraw's middle 9 in 10. The real stretches overlap, so they describe what happened, not a probability.
Limits: the redraw only reuses the months your record contains, so it can't add a crash the period never had, and real stretches can be wider. It says nothing about how the backtest was chosen: a strategy picked from many versions looks better than it is. Costs and taxes count only if they are in your returns. It shows the yearly return, not the worst drop along the way.
This tool is for education only, not financial advice.
Common questions
Why isn't the backtest's own number enough?
Because it comes from one sequence of months. In a short record a few strong or weak months decide the result, and a different mix of the same kind of months would have printed a different number. The range shows how far it could have moved.
What are runs, and which length should I use?
Instead of drawing single months, we draw runs of consecutive months that can start at any month, so calm and stormy stretches keep their shape. Six months suits most stock strategies; try 1 and 12 to see how much it matters. A run can be at most a third of your record.
If the range is narrow and above zero, does my strategy work?
Not necessarily. It means the months you have are consistent with a profit. It can't tell you whether the strategy was picked from many tries, whether it would survive a market it never saw, or whether costs were counted.
How many months do I need?
At least 12. The range narrows only with the square root of time: four times the data halves it. The tool shows roughly how many years of similar months would narrow your range to 10 points.
Are my numbers sent anywhere? Is this investment advice?
No to both. Everything runs in your browser, and the tool is for education only, not financial advice. Past results don't guarantee future results.