Backtest a habit

S&P 500 DCA Calculator

Backtest dollar cost averaging into the S&P 500 (via SPY) on real daily closes back to 1993, or forecast a future contribution plan. The boring strategy, quantified.

$100/month for 5 yrs
$6,100
total invested
Worth at month end
$9,328
as of 2026-10-30
Return
+53%
before fees & taxes
Vehicle
SPY
S&P 500 ETF

Inputs

Asset
Frequency
Range

S&P 500 ETF · Backtest

Loading SPY data…

Pin these results, then change inputs to compare

Why the S&P 500 is DCA's natural habitat

Dollar cost averaging into a broad index is the closest thing personal finance has to a consensus recommendation, and the S&P 500 is the reference index. One purchase buys a slice of 500 companies, which removes the single-company blowup risk that no schedule can fix. The bet is reduced to one assumption: that large US companies keep growing their earnings over decades, as they have through wars, inflation and crashes.

The index swings far less than crypto (see its annualized volatility in the record below), so DCA's cost smoothing adds less raw edge here. Its job is behavioral: a payroll-synced monthly buy that happens through every headline is how ordinary savers actually capture the market's long-term return. To see the other side, compare a one-shot investment in the lump sum vs DCA calculator.

One note on the numbers: this backtest uses dividend-adjusted closes, so results already include reinvested dividends. They leave out fees and taxes, which a real account would pay.

S&P 500 DCA by the numbers

We replayed $100 a month into SPY for every 5-year stretch in our data, moving the start one month at a time from January 1993: 346 plans in total. 44 of them (13%) ended worth less than the money put in. The worst started in March 2004 and stood at -40% in March 2009. The best started in May 1994 and stood at +105% in May 1999. The start date matters over five years, and that spread is the reason to run your own window above rather than trust one headline number.

Picking stocks instead of the index is the usual alternative. In our study of 467 current S&P 500 members with 10 full years of prices, the same $100 a month ($12,000 invested) returned +123% in SPY. Only 34.3% of the stocks beat that, the median stock returned +82.4%, and 8.8% lost money.

How these numbers are made: SPY, the SPDR S&P 500 ETF Trust listed in January 1993, tracks the S&P 500, which S&P Dow Jones Indices builds from 500 leading US companies weighted by float-adjusted market value. The figures use SPY's dividend-adjusted closes from January 1993 to October 2026, so dividends count as reinvested, with one buy on the first trading day of each month and no fees or taxes. They update when a new month of data closes.

S&P 500 ETF by the numbers: drawdowns, swings and start years

Every figure in this section is computed from SPY's daily closes in our data, up to the Oct 2026 month-end close. Nothing is estimated.

Deepest drawdown
-55%
Oct 2007 → Mar 2009
Recovery from the low
3.4 years
back at the old high in Aug 2012
Annual volatility
15%
of month-end returns
Up months
65%
of 405 months

SPY's deepest fall in this data was 55%: from $110.59 in October 2007 to $49.56 in March 2009, over 17 months. The way back was long: the old high returned only in August 2012, 4.8 years after the peak. That is the kind of stretch where one entry at the top sits underwater for years while a monthly plan keeps buying far below the peak price.

Measured from one month-end to the next, SPY has moved with an annualized volatility of 15%, a calm reading. 65% of its 405 months closed higher than the month before.

Starting $100 a month in January of any year from 1993 to 2025 and holding to the latest month-end left all 33 of those plans above the cash paid in. The best start was 1993 (+786%); the weakest was 2025 (+16%), the plan that has had the least time to work.

Over the last 10 years, $12,100 invested in SPY all at once at the start would have been worth $50,376 at the latest month-end, against $27,172 for the same $12,100 spread over monthly buys. The lump sum finished 85% ahead: it paid $181.52 a unit on day one, less than the $336.53 average cost of the monthly buys. Across all 346 rolling 5-year windows in the data, the lump sum came out ahead in 278 of them (80%).

If you had started SPY in January of…

StartBuysInvestedValue (Oct 2026)Return
202522$2,200$2,555+16%
202434$3,400$4,309+27%
202346$4,600$6,543+42%
202258$5,800$8,869+53%
202170$7,000$11,202+60%
202082$8,200$14,345+75%
201994$9,400$17,872+90%
2018106$10,600$21,618+104%
2017118$11,800$25,934+120%
2016130$13,000$31,061+139%
2015142$14,200$36,377+156%
2014154$15,400$42,195+174%
2013166$16,600$49,216+196%
2012178$17,800$57,669+224%
2011190$19,000$66,999+253%

The 15 most recent of 33 start years are shown; the summary above covers every start year since 1993.

How it's calculated

Average buy price (cost basis)

avg buy price = total invested ÷ total SPY shares acquired

Each contribution buys shares at that day's close. Cheap months buy more shares, which pulls your dollar-weighted average below the simple average of prices.

Assumptions
  1. 01Buys execute at the next trading day's close (weekends and market holidays roll forward).
  2. 02Fractional shares are allowed, so every dollar is invested, as most modern brokers now support.
  3. 03Contributions are constant nominal USD, with no inflation adjustment.
  4. 04No commissions or spread. Prices are dividend-adjusted closes, so dividends count as reinvested on their pay dates.
Limitations
  1. 01Dividends are reinvested at no cost and no tax. In a taxable account, tax on each dividend would trim the result.
  2. 02The S&P 500's long record of compounding is a strong base rate, not a guarantee. Decade-long flat stretches (2000–2009) have happened.
  3. 03Forecast mode assumes constant growth. Real sequences of returns matter, especially near retirement.
Questions people ask

How much would $100 a month in the S&P 500 be worth after 10 years?

In our SPY data, $100 once a month from October 2016 (121 buys, $12,100 in total) was worth $27,172 at the end of October 2026, a +125% return with dividends reinvested, before fees and taxes. Set your own dates in the calculator to test any other window.

Has dollar cost averaging into the S&P 500 ever lost money?

Yes, over shorter horizons. Of 346 rolling 5-year monthly plans in SPY since January 1993, 44 (13%) ended below the amount invested. The worst, started in March 2004, stood at -40% in March 2009. Dividends are already counted, because the series uses adjusted closes.

Is DCA into SPY better than picking individual S&P 500 stocks?

Usually, in our data. With the same $100 a month over 10 years, only 34.3% of 467 current S&P 500 stocks beat SPY's +123%, and 8.8% lost money. The full per-stock dataset is in our S&P 500 DCA study.

How far back can I backtest the S&P 500 with this calculator?

To January 1993, the first month of SPY trading. Pick any start and end date between then and October 2026 and a daily, weekly, bi-weekly or monthly schedule, and the calculator replays every buy on real closes.

Is dollar cost averaging into the S&P 500 a good strategy?

It's the default most credible research supports for people investing from income: broad diversification, no timing decisions and payroll-friendly automation. Its historical weakness shows up only against investing a lump sum you already have, because markets rise more often than they fall.

SPY, VOO or an index fund: does the choice matter for DCA?

For backtesting they track the same index almost identically. In practice pick the cheapest vehicle your broker offers (expense ratios: SPY 0.09%, VOO/IVV 0.03%), because over decades the fee gap compounds.

Does this calculator include dividends?

Yes. It uses SPY's dividend-adjusted closes, so every result is a total return with dividends reinvested, before fees and taxes. SPY's dividend yield has historically been roughly 1.3–2% a year, so a price-only chart would show noticeably less.

Monthly, bi-weekly or weekly for S&P 500 DCA?

Match your paycheck. The return difference between cadences is noise over multi-year horizons; consistency and zero-commission execution matter far more. The calculator runs daily, weekly, bi-weekly and monthly schedules, so you can check it on any window.

Partner Offer

Trade Tokenized Stocks, ETFs & IPOs on Backpack

Buy fractional, 24/7-tradable tokenized equities — Apple, Tesla, NVIDIA, the S&P 500, even SpaceX — alongside crypto, all self-custodied on Solana. Use our referral code at signup.

Sign Up Now

Affiliate link — we may earn a commission at no extra cost to you. Tokenized securities carry risk and aren't available in every jurisdiction. Not financial advice.