OnSumo Tools

Dollar-Cost Averaging (DCA) Calculator

Model pacing vs lump-sum using whatever growth story you dare type, overlays show optimistic and pessimistic parallels with the identical contribution cadence baked in, all synthetic.

This is a projection tool, not a historical backtest using real ticks.

100% client-side, nothing leaves your tab.

Changing region applies typical local defaults (contribution amount, horizon) so projections match that market, same DCA math everywhere.

Base-case terminal value

$90,062.14

Total contributed

$60,000

Total gain

$30,062.14

ROI

50.10%

Annualized ROI

4.15%

Corridor vs base trajectory

The shaded band is illustrative volatility, not a forecast. Past ranges do not guarantee future returns.

How this tool works

Dollar-cost averaging (DCA) invests a fixed amount at regular intervals regardless of price. When prices are high, contributions buy fewer units; when prices are low, they buy more, naturally lowering the average cost per unit over time. The tool projects a DCA strategy using the future-value-of-annuity formula: FV = PMT × [((1 + r)^n − 1) ÷ r], where PMT is your periodic contribution, r is the periodic return rate (annual rate ÷ periods per year), and n is the total number of contribution periods. Total contributed = PMT × n. Total gain = FV − total contributed. Return on invested capital = gain ÷ total contributed × 100. The volatility input generates a confidence band: an optimistic path adds one standard deviation to the annual return, and a pessimistic path subtracts one, floored at 0% to prevent negative terminal values. Key assumption: the formula assumes a constant rate of return each period, not actual historical price paths. Edge case: the constant-return assumption understates sequence-of-returns risk; a portfolio that suffers large losses early in the contribution window recovers more slowly than the formula suggests, because fewer units are purchased at high prices early on and more at low prices later.

Worked example

Monthly contribution: $500. Period: 10 years. Expected annual return: 8%. Volatility: 15%. Base case final value using the future value of annuity formula: approximately $91,500. Total contributed: $60,000. Total gain: $31,500. ROI: 52.5%. Optimistic path (23% annual return): approximately $165,000. Pessimistic path (-7% annual return, floored at 0%): approximately $60,000.

Frequently asked questions

  • What is dollar-cost averaging?

    Dollar-cost averaging means investing a fixed dollar amount at regular intervals regardless of market conditions. Because you invest the same amount each period, you automatically buy more shares when prices are low and fewer when prices are high. Over time, this reduces your average cost per share compared to buying a fixed number of shares at each interval.

  • Is DCA better than lump-sum investing?

    Academic research (including a widely cited Vanguard study) shows that lump-sum investing outperforms DCA roughly two-thirds of the time when markets trend upward. That makes sense: money invested earlier has more time to compound. DCA wins when markets fall shortly after you invest, and it helps investors who would otherwise delay investing or panic-sell. For most people, the psychological benefit of DCA is the real advantage: not the math.

  • What expected return should I use?

    The S&P 500 has returned approximately 10% per year on average over long periods before inflation, or about 7% after inflation (based on data from Ibbotson and the CRSP database). For a conservative plan, use 6-7%. For a broad stock market projection, 8-10% is commonly used. No return is guaranteed; past performance does not predict future results.

  • Why does this calculator not use real historical prices?

    Backtesting with real historical data for any specific asset (such as the S&P 500) would require licensing that data and would create an implicit endorsement of past performance continuing. This tool projects a hypothetical asset at your chosen parameters so you can model any expected return scenario. For real historical backtesting of specific assets, use a dedicated backtesting platform.

  • How does compounding work in DCA?

    Each month's portfolio value earns the monthly return on the entire balance, including prior contributions and prior gains. The monthly return is not one-twelfth of the annual return: it is the rate that compounds to the annual return over 12 months, which is (1 plus annual return)^(1/12) minus 1. This distinction matters over long periods.

  • What is annualized ROI and why is it lower than the expected return?

    Annualized ROI in this calculator measures the return on your total contributions, not on a single starting balance. Because contributions come in monthly rather than all at once, the earlier contributions compound for the full period but later contributions compound for only a month. The blended annualized ROI on all contributions is always lower than the underlying annual return assumption.

Related tools