Backtesting Dollar-Cost Averaging vs. Lump Sum Investing
# Backtesting Dollar-Cost Averaging vs. Lump Sum Investing
If you receive a large sum of money, should you invest it all immediately or spread your investments over time? This question generates endless debate in investing communities. We settle it with comprehensive backtesting across every possible starting point in market history, examining not just average outcomes but the full distribution of results.
Defining the Comparison
Lump sum investing (LSI) means investing the entire amount on day one. Dollar-cost averaging (DCA) means spreading the investment equally over a defined period. We tested DCA periods of 3, 6, 12, and 24 months, investing equal amounts monthly. The uninvested portion earns the prevailing T-bill rate. We compare final portfolio values after both approaches are fully invested and have been left to compound for at least 5 years.
The Data
We used monthly S&P 500 total return data from 1926 to 2024, providing 1,182 possible starting months. For each starting month, we calculated the outcome of both LSI and DCA over the subsequent 5, 10, and 20-year periods. This exhaustive approach eliminates cherry-picking and reveals the true probability distribution of outcomes for both strategies.
Headline Result: Lump Sum Wins Two-Thirds of the Time
Across all starting points, lump sum investing outperformed 12-month DCA approximately 68% of the time over subsequent 5-year periods. The average outperformance when LSI won was 3.2%, while the average underperformance when LSI lost was 2.8%. Both the probability and magnitude favor lump sum investing. This result is consistent across the 5, 10, and 20-year evaluation horizons.
Why Lump Sum Usually Wins
The explanation is straightforward: markets go up more often than they go down. Since 1926, the S&P 500 has delivered positive annual returns approximately 73% of the time. By delaying investment through DCA, you are statistically likely to buy at higher prices as the market trends upward during your investment period. The opportunity cost of holding cash while the market rises is the primary driver of DCA underperformance.
When DCA Wins: The Bear Market Cases
DCA outperforms in the 32% of cases where the market declines shortly after the potential investment date. Starting in January 2000, DCA over 12 months outperformed lump sum by 12% because the dot-com crash reduced prices throughout the DCA period. Starting in October 2007, DCA outperformed by 18%. These are precisely the scenarios investors fear, which is why DCA remains psychologically appealing despite its statistical disadvantage.
Risk Reduction: The Real Argument for DCA
While DCA underperforms on average returns, it meaningfully reduces worst-case outcomes. The worst 5-year outcome for LSI (starting October 2007) was a -6% total return. The worst 5-year outcome for 12-month DCA was +2%. DCA eliminated the possibility of the worst outcomes by ensuring you never invest the entire sum at an absolute peak. For investors whose primary concern is avoiding catastrophic timing, DCA provides genuine insurance.
The Volatility Drag Problem
Extended DCA periods introduce a hidden cost: the uninvested cash earns below-market returns, creating a drag on compound growth. During our test period, the average opportunity cost of 12-month DCA was 4.1% (the foregone market return on cash). During the 2020-2021 period when money market rates were near zero, this drag was even more painful because the cash earned essentially nothing while the market rallied 40%+.
Optimal DCA Duration
If you choose DCA, how long should the investment period be? Our backtesting shows diminishing risk reduction beyond 6 months. A 6-month DCA captures 80% of the risk reduction benefit of 12-month DCA while sacrificing less expected return. A 24-month DCA provides negligible additional protection beyond 12 months but costs an additional 2% in expected return. Six months represents the optimal balance between risk reduction and opportunity cost.
What About Value-Adjusted DCA?
We tested a modification: invest more when the market is below its 200-day moving average and less when above. This value-adjusted DCA improved outcomes by approximately 0.8% annualized compared to standard DCA. By concentrating purchases during pullbacks, this approach partially addresses the core weakness of DCA (buying at progressively higher prices during uptrends). However, it still underperformed lump sum the majority of the time.
The Behavioral Reality
Academic evidence shows that investors who use DCA and then see markets rise during their investment period often abandon the plan and lump sum the remainder early, capturing the worst of both approaches. Conversely, investors who lump sum and immediately face a decline often panic-sell. The best strategy is the one you can actually execute without emotional interference. For many investors, the psychological comfort of DCA enables them to invest at all rather than keeping cash permanently on the sideline.
Our Recommendation
If you can tolerate short-term volatility and will not panic-sell during a drawdown, lump sum investing is statistically superior. If market timing anxiety would prevent you from investing at all, use 6-month DCA as a behavioral compromise that sacrifices minimal expected return. For very large sums (relative to your existing portfolio), a 3-6 month DCA plan provides meaningful risk reduction with modest opportunity cost. Never extend DCA beyond 12 months, as the risk reduction diminishes while the opportunity cost continues to accumulate.
Conclusion
The data is clear: lump sum investing wins approximately two-thirds of the time because markets trend upward more often than not. However, DCA provides genuine protection against the worst-case scenarios of investing at a market peak. The choice ultimately depends on your personal risk tolerance, behavioral tendencies, and the size of the investment relative to your total portfolio. Backtesting provides the probabilities; only you can determine which probability distribution you can live with psychologically.