Dollar-Cost Averaging Calculator

A fixed monthly contribution is easy to run and hard to judge, because the result depends on the order the prices arrive in, not just the average return. This calculator runs 2,000 simulated price paths at the return and volatility you enter, so you see a median outcome, a bad-decade outcome, and how far your average cost per share drifted below the average price you paid. Same inputs always produce the same output: the random seed is fixed.

Result:

2,000 paths, lognormal monthly returns, contributions at month end. Volatility is the annual standard deviation of returns — 15% to 18% is typical for a broad US equity index.

How the Calculator Works

The contribution side is simple arithmetic. Total invested equals the starting amount plus the monthly contribution times the number of months. Under a constant 7% return with no fluctuation, each contribution compounds for however many months remain, which is an ordinary annuity:

Future value = C × [((1 + r)n - 1) ÷ r], where r is the monthly rate and n the number of months.

At $500 a month for 20 years at 7%, n is 240, r is 0.005833, and the bracket works out to 520.93. Multiply by $500 and you get $260,463 on $120,000 contributed — a multiple of 2.17. Raise the contribution to $1,000 and everything doubles: $520,927. Stretch the same $500 to 30 years and the ending value is $609,985 on $180,000, because the last decade's contributions compound on top of two decades of gains.

The realistic version is not a smooth line. Each simulated month draws a return from a distribution centred on your expected return, with spread set by your volatility input. A path is a sequence of 240 such draws, and the portfolio is marked to that path. Two thousand paths give a distribution of outcomes rather than one number, which is the point: the median tells you what is likely, and the tenth percentile tells you what a bad run looks like.

Worked example: $500 a month for 20 years at 7% expected return with 16% volatility produces a median of about $228,900, a tenth-percentile outcome near $129,400 and a ninetieth percentile around $416,800. Contributions total $120,000 in every one of those paths. The gap between the tenth and ninetieth percentile is the honest price of not knowing the order in which future returns arrive.

What a Monthly Contribution Actually Builds

Steady 7% return, contributions at month end, no starting balance. Every figure below is arithmetic you can reproduce on a spreadsheet.

Monthly10 years20 years30 years
$300$36,000 → $51,925$72,000 → $156,278$108,000 → $365,991
$500$60,000 → $86,542$120,000 → $260,463$180,000 → $609,985
$1,000$120,000 → $173,085$240,000 → $520,927$360,000 → $1,219,971

Return matters as much as time, and the two are not interchangeable. Holding $500 a month at 20 years fixed and moving the return from 4% to 10% changes the ending value from $183,387 to $379,684 — more than double, from the same $120,000 of deposits. A 2-point difference in what your funds actually earn, after fees, is worth more than several extra years of saving at a small contribution.

Annual returnEnding value, $500/mo for 20 yearsGrowth on deposits
4%$183,387$63,387
5%$205,517$85,517
6%$231,020$111,020
7%$260,463$140,463
8%$294,510$174,510
9%$333,943$213,943
10%$379,684$259,684

Why Your Average Cost Per Share Beats the Average Price

This is the one mechanical advantage dollar-cost averaging really has, and it is a small one that gets oversold. A fixed dollar amount buys more shares when prices are low. Spend $100 at $10 a share and you own 10 shares; spend another $100 at $5 and you own 20 more. You paid $200 for 30 shares, so your cost basis is $6.67, while the average price across your two purchases was $7.50. The cost sits 11% below the average price, and no forecasting was involved.

Mathematically your cost per share is the harmonic mean of the prices, which sits at or below the arithmetic mean whenever prices move. Read the ratio the calculator prints carefully, though. On a rising path with 16% volatility it typically shows cost 13% below average price, and almost all of that gap is simply trend: the early purchases happened at lower prices. Strip the trend out and the pure volatility component is under 1% at that input. The harmonic-mean effect is real, but it is not where the money comes from.

What it does not do is create return. Every share is still bought at a market price, and the shares bought cheap are only cheap in hindsight.

What Volatility Costs You

A return sequence matters, not just its average. Lose 50% then gain 50% and you are down 25%, because the second move applies to a smaller base. Two decades of that asymmetry produce the gap between the steady projection and the simulated median in this tool.

The practical reading: a portfolio with an 8% average return and 20% volatility compounds closer to 6% over long periods. That is not a fee anyone charges you; it is arithmetic, and it is why the calculator asks for volatility at all rather than just a return figure. If you leave volatility at zero you get the smooth annuity result, which is a useful sanity check but a poor forecast.

Common Usage

The Case Against Dollar-Cost Averaging

The honest version: if you already hold cash you intend to invest, spreading it over twelve months usually loses to investing it now. Markets rise more often than they fall, so the expected cost of waiting is positive. Studies that compare lump-sum against staged entry on historical US data typically find lump sum ahead in roughly two-thirds of rolling windows.

Dollar-cost averaging earns its place for a different reason. It fits how people actually get paid — a salary arrives monthly, so the contribution is monthly — and it removes the timing decision that causes most investors to buy late and sell early. The behavioural benefit is real and large; the mathematical edge is small and often negative. Be clear about which one you are buying.

Two more limits worth stating. Fees per trade can erase the benefit of frequent small purchases, so a commission-free structure matters. And the projection assumes your contribution rises with nothing — no raises, no inflation. A $500 contribution in year twenty buys far less than it does today, so treat the ending value as nominal dollars and discount it mentally before planning a lifestyle around it.

Frequently Asked Questions

Does dollar-cost averaging beat investing a lump sum?

On average, no. With a positive expected return, money invested earlier compounds longer. Lump sum wins most rolling windows in US data; DCA wins when the market falls early, which is exactly what you cannot predict. Choose DCA for discipline and cash-flow fit, not for expected outperformance.

Why is average cost per share lower than the average share price?

Fixed dollar amounts buy more shares at low prices. Your cost per share is the harmonic mean of the prices paid, which sits at or below the arithmetic mean whenever prices move. The gap the calculator prints on a rising path is mostly trend, because early purchases happened at lower prices; the volatility-only part is under 1% at 16% volatility.

Why is the median result below the steady 7% projection?

Volatility drag. A 50% loss needs a 100% gain to recover, so a volatile series compounds to less than the same average return applied smoothly. The simulated median sits below the annuity value for that reason, and the gap grows with both volatility and time horizon.

Should expense ratios and dividends go into the expected return?

Enter a net number. A fund with a 9% gross return, a 0.05% expense ratio and 1.5% dividend yield reinvested is roughly 8.5% net. Using a gross figure quietly overstates every projection by the cost of owning the fund.

Is weekly better than monthly for dollar-cost averaging?

Barely. Four $125 buys spread prices a little better than one $500 buy, but the annual difference is usually well under half a percentage point and disappears entirely if your broker charges per trade. Match the schedule to your pay cycle instead.

What happens if I pause contributions during a crash?

You skip the cheapest shares in the sample, which is the entire source of the average-cost advantage. Pausing after a 30% drawdown removes the purchases that would have lowered your basis, and the plan stops behaving like dollar-cost averaging at the moment it matters most.