Lump Sum vs Dollar-Cost Averaging: Does Timing Really Matter?

๐Ÿ’ฐ Lump Sum vs Dollar-Cost Averaging

Finance & Data Science
Monte Carlo Simulation ยท Compounding ยท Investment Timing ยท Python

๐Ÿ’ก The Question

Suppose I have โ‚ฌ34,000 to invest over a 10-year horizon.

Is it better to invest everything immediately or gradually enter the market?

To explore this question, I compared two strategies:

  • Lump Sum (PIC): โ‚ฌ34,000 invested immediately.
  • Dollar-Cost Averaging (PAC): โ‚ฌ10,000 initially + โ‚ฌ200/month for 10 years.

1. The Simulation

I generated 20,000 Monte Carlo scenarios under the following assumptions:

ParameterValue
Total Capitalโ‚ฌ34,000
Horizon10 years
Expected Annual Return7%
ReturnsMonthly, lognormal

Both strategies experience exactly the same simulated market path within each scenario.

The only difference is when capital enters the market.


2. The Results

ย Lump SumDCA
Mean Final Wealthโ‚ฌ74,544โ‚ฌ58,279
Median Final Wealthโ‚ฌ66,717โ‚ฌ54,403
5th Percentileโ‚ฌ30,676โ‚ฌ31,464
95th Percentileโ‚ฌ144,966โ‚ฌ98,036
Standard Deviationโ‚ฌ37,036โ‚ฌ21,347

The gradual strategy outperformed the lump-sum investment in only 2,332 out of 20,000 simulations (~12%).

Lump Sum produced higher expected wealth, but also a much wider distribution of outcomes.


3. Why Does Lump Sum Usually Win?

The reason is relatively simple.

If the asset has a positive expected return, investing earlier gives more capital more time to compound.

Lump Sum
โ‚ฌ34,000 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ†’
          exposed for ~10 years

DCA
โ‚ฌ10,000 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ†’
       + โ‚ฌ200
          + โ‚ฌ200
             + โ‚ฌ200 ...

DCA reduces the amount exposed to the market early on.

That protects against investing everything immediately before a downturn, but also reduces participation in rising markets.


4. The Role of Return Sequence

The gradual strategy introduces another interesting effect: the order of returns matters.

With Lump Sum and no additional cash flows, rearranging the same set of returns does not change final wealth:

(1+rโ‚)(1+rโ‚‚)...(1+rโ‚™)

With DCA, however, each contribution experiences a different subset of future returns.

Therefore, two market paths with similar overall performance can produce different outcomes depending on when positive and negative returns occur relative to contributions.

In my simulations, some of the worst DCA outcomes followed an interesting pattern:

Strong returns early, followed by large losses later.

By the time the downturn arrives, much more capital has been accumulated and is exposed to the decline.


Distribution of final wealth

Distribution of final wealth

๐ŸŽฏ Key Takeaways

  • Lump Sum generated higher wealth in roughly 88% of simulations.
  • DCA produced a narrower distribution of outcomes.
  • Investing earlier maximizes exposure to compound growth.
  • Gradual investing reduces entry-timing risk, but sacrifices part of the potential upside.
  • Return sequence matters for DCA because capital enters the market at different points in time.

The trade-off is therefore not simply:

Safe vs Risky

but rather:

Reducing timing risk vs maximizing time in the market.


๐Ÿงฐ Tools & Methods

Python ยท NumPy ยท Monte Carlo Simulation ยท Statistics ยท Compounding ยท Sequence of Returns


โš ๏ธ Disclaimer

This is a simplified simulation created for educational purposes while studying personal finance.

It is not financial advice, and real markets are considerably more complex than the assumptions used here.