DCA vs Lump Sum Calculator
Compare dollar-cost averaging versus lump sum investing side by side. Enter your total capital and expected return to see which strategy produces a higher ending balance, and by how much. Includes a year-by-year comparison chart.
Updated
Educational purposes only.
This comparison uses a constant return rate for illustration. Actual market returns fluctuate, which affects both strategies differently. Past performance does not indicate future results.
Educational purposes only. These calculators illustrate concepts and do not constitute investment advice. Read our disclaimer
StockCram is not a broker-dealer, investment adviser, or financial institution. All content is for educational and informational purposes only and should not be construed as personalized investment advice. Consult a qualified financial professional before making investment decisions. Past performance does not guarantee future results.Embed this calculator on your site
Free to use on any site, including in a classroom. Please keep the attribution link.
<iframe
src="https://www.stockcram.com/embed/calculators/dca-vs-lump-sum-calculator"
title="DCA vs Lump Sum Calculator"
width="100%"
height="720"
style="border:1px solid #e5e7eb;border-radius:12px;max-width:100%"
loading="lazy"
></iframe>
<p style="font-size:12px">
<a href="https://www.stockcram.com/tools/calculators/dca-vs-lump-sum-calculator" target="_blank" rel="noopener">DCA vs Lump Sum Calculator</a>
by <a href="https://www.stockcram.com" target="_blank" rel="noopener">StockCram</a>
</p>What is DCA vs Lump Sum?
Dollar-cost averaging spreads a fixed sum into the market across several purchases; lump sum invests it all at once. The comparison is about how long the money sits uninvested, and about the average price paid across the purchases rather than the price on any single day.
The formula
Average cost per share = total invested ÷ total shares bought- total invested = sum of every installment
- total shares = Σ (installment ÷ price at that installment)
Four monthly installments of $1,000 at prices of $50, $40, $25 and $50 buy 20, 25, 40 and 20 shares: 105 shares for $4,000, an average cost of about $38.10. The simple average of those four prices is $41.25. Buying a fixed dollar amount purchases more shares when the price is low and fewer when it is high, so the average cost lands below the average price whenever prices vary.
Why average cost sits below average price
This is not a market effect; it is arithmetic. Buying a fixed dollar amount makes the number of shares inversely proportional to the price, so the average cost is a harmonic mean of the prices rather than an arithmetic one, and the harmonic mean of a varying set is always lower.
The two are equal only when every purchase price is identical. The wider the spread of prices, the larger the gap. That is the mechanical property people are describing when they say averaging works better in volatile markets.
The trade-off is uninvested time
Money not yet deployed is not exposed to the market. Over a period when prices rise, installments buy progressively higher and the uninvested balance misses that rise, so lump sum ends ahead. Over a falling period, later installments buy lower and averaging ends ahead.
Historically, markets have risen over most multi-year windows, so the uninvested balance usually gives up return it could have earned. Vanguard's research across US, UK and Australian data found lump sum ahead of a 12-month averaging schedule in roughly 68% of historical periods, by about 2.3% on average. That is a statement about the frequency of past outcomes, not about any particular future period.
| Price path | DCA average cost | Lump sum price | Lower cost |
|---|---|---|---|
| $50 → $40 → $25 → $50 | $38.10 | $50.00 | DCA |
| $50 → $55 → $60 → $65 | $56.95 | $50.00 | Lump sum |
| $50 → $50 → $50 → $50 | $50.00 | $50.00 | Neither |
Illustrative price paths chosen to show the mechanic. Past performance does not indicate future results.
Two things share the same name
Contributing from each paycheck is often called dollar-cost averaging, but it is a different situation. There, the money does not exist yet: investing it on arrival is the only option, and nothing is being held back.
The comparison on this page is the other case: a sum already available, where the choice is whether to deploy it now or in installments. Only in that second case is there uninvested money to account for.
What this calculator does not account for
- No transaction costs are applied. Several installments incur more of them than one purchase where commissions exist.
- Uninvested cash is assumed to earn nothing while it waits.
- Installments are treated as perfectly regular and equal.
- Taxes are not modeled, and multiple purchase dates create multiple cost bases and holding periods.
- Price paths are illustrative arithmetic, not a forecast of any market.
Deploying a sum you already hold is the question here. The stock average calculator answers a later one, blending the cost basis of purchases already made. Stock Average Calculator
How It Works
Enter total capital
Type the total amount you have available to invest. DCA will spread this evenly over your chosen time period.
Set your expected return
Choose an annual return rate. The calculator applies this rate equally to both strategies for a fair comparison.
Choose your time period
Select how many years to compare. Lump sum invests everything on day 1; DCA invests monthly over the full period.
Compare the results
See which strategy produces a higher ending balance and by how much. View the year-by-year chart and table.
Frequently Asked Questions
Dollar-cost averaging is an investment strategy where you invest a fixed amount at regular intervals (usually monthly) rather than investing all your money at once. For example, investing $500 per month instead of $6,000 all at once. This approach naturally buys more shares when prices are low and fewer when prices are high.
Historical data shows that lump sum investing has produced higher returns about two-thirds of the time, because markets tend to rise over time. However, DCA can reduce the risk of investing right before a downturn and is often preferred for behavioral reasons. It avoids the stress of committing a large sum at once. The best strategy depends on your risk tolerance and comfort level.
DCA tends to outperform in declining or highly volatile markets because it averages your purchase price over time. If you invest a lump sum just before a major market drop, DCA would have produced better results. However, since markets rise more often than they fall, lump sum investing wins more often historically.
Not exactly. DCA specifically refers to taking a lump sum you already have and investing it gradually over time. If you are investing from each paycheck as you earn it, that is regular periodic investing. You do not have the choice to invest it all at once because the money does not exist yet. Both approaches result in regular investments, but the decision context is different.
Common DCA periods range from 3 to 12 months. Shorter periods (3-6 months) get your money invested sooner, while longer periods (12+ months) provide more averaging. Research from Vanguard suggests that shorter DCA periods tend to perform closer to lump sum because the money is invested sooner.
This calculator uses a constant annual return rate for illustration. Real markets fluctuate daily, which is exactly why DCA exists — to smooth out the impact of that volatility. The comparison shows the mathematical difference assuming steady returns. In practice, the gap between DCA and lump sum narrows in volatile markets.