HandyWorkLab

Home › Stock market crash and correction history

DCA Backtest Calculator: What Investing Every Month Through Crashes Was Worth

When markets fall, the hardest thing is to keep buying. This dollar-cost averaging backtest uses real month-end prices, with dividends reinvested, for the S&P 500, the Nasdaq-100 and eight large AI and tech stocks. Pick a start month, even the worst one, such as the top of the 2000 bubble, and see what a steady monthly investment would be worth today, and what pausing during crashes would have cost.

  • Kept investing every month
  • Paused while 20%+ below the high
  • Money put in

Move over or tap the chart to see any month.

How to use the DCA backtest calculator

Tap one of the scenario buttons to load a famous bad starting point, or set your own. Choose what to invest in: the S&P 500 total return index (from January 1988), the Nasdaq-100 through the QQQ fund (from March 1999), or one of eight large AI and technology stocks. Set the first and last month, the amount you add every month and an optional starting lump sum, then press Run the backtest. On a phone without a month picker, type the months as year-month, for example 2007-10.

The chart shows three lines: the money you put in (grey), the value of buying every month without exception (blue), and the value if you had stopped buying whenever the investment was 20% or more below its high and kept the cash until it recovered (purple). Hover over or tap the chart to read any month. The cards below give the totals, the annual return on your contributions, the worst point along the way and, for comparison, what the same total would have become if invested all at once in the first month.

How the backtest works

Each month, the contribution buys shares at that month's closing price, adjusted for splits and with dividends reinvested. The value at any month is shares held times that month's price, plus any cash waiting under the pause rule. The annual return is a money-weighted return (an internal rate of return on the monthly flows), so it measures the growth of your actual contributions rather than of a single dollar invested at the start. The pause rule compares each month's price with the highest month-end price since the backtest began; when the price is 20% or more below that high, the contribution is held in cash at zero interest and invested in full in the first month the price is back within 20% of the high.

What the backtests show

Starting at the worst moment of the dot-com era, March 2000, $500 a month into the S&P 500 grew to about $890,000 on $160,500 of contributions by November 20, 2026, an annual return of about 11%. Starting at the October 2007 peak, just before the financial crisis, $115,000 of contributions grew to about $476,000, about 13% a year. In both cases the account spent long stretches below the money put in (as much as 31% and 35% below), and in both cases the investor who stopped buying in deep drawdowns ended with less: about $54,000 less from 2000 and $21,000 less from 2007.

The same pattern holds for the 2021 tech top. Someone who bought the Nasdaq-100 every month from November 2021, through the 2022 bear market and into the 2026 selloff, was still about 45% ahead of their contributions on November 20, 2026. Nvidia from its 2021 high, despite two falls of more than 45% since, was nearly three times the money put in. Single stocks swing far more in both directions, which is exactly why the index results are the more useful guide for most people.

Limitations

History is one path out of many; a future crash could last longer than any in this data. The individual stocks on the list were chosen because they are large today, which flatters their past. Month-end prices miss moves within the month, and the latest month uses the November 20, 2026 close. Taxes on dividends, fees and inflation would reduce every result. For context on the current decline, see the S&P 500 correction history, and for single stocks the Nvidia stock crash history.

Frequently asked questions

What if I had started investing at the top of the dot-com bubble?

Investing $500 at the end of every month in the S&P 500 with dividends reinvested, starting in March 2000, would have put in $160,500 by November 20, 2026 and grown to about $890,000. That is an annual return of about 11% on the money invested, despite starting at a peak and living through 2000 to 2002 and 2008.

Does pausing investments during a crash help?

In these backtests it usually hurt. Starting in March 2000, skipping contributions whenever the S&P 500 was 20% or more below its high, then investing the saved cash once it recovered, ended about $54,000 behind buying every month. The paused months were exactly the months with the lowest prices.

Is dollar-cost averaging better than investing a lump sum?

If you already have the money, investing it all at the start has usually ended with more, because markets rise more often than they fall. Dollar-cost averaging is what most people actually do with a salary, and its main benefit is behavioural: it keeps you buying when prices are low and headlines are bad.

Are dividends included in the backtest?

Yes. The S&P 500 series is the total return index, and the Nasdaq-100 fund and the individual stocks use prices adjusted for splits and dividends. Taxes, trading costs, fund fees beyond those already in QQQ's price, and inflation are not included.

Why is the worst moment negative even when the final result is a big gain?

Because along the way your account can be worth less than the money you put in. Starting in March 2000, the account was at one point 31% below total contributions. Seeing that number in advance helps you decide whether you could keep going through a similar stretch.

Not financial advice. Backtests use historical month-end prices to November 20, 2026 and cannot predict future returns. Single stocks carry far more risk than an index.

Last updated 2026-11-21. Runs entirely in your browser; nothing you enter is uploaded.

More in Stock market crash and correction history