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

This tool simulates a dollar-cost averaging (DCA) strategy by taking a fixed dollar amount you would have invested per month and applying it to historical price data for an asset. It calculates how many shares or units you would have purchased each month, the average cost per share, and the total value of your position at the end of the period. The results show whether steady monthly investments would have outperformed a lump-sum investment made at the start, and by how much.

When to use it

Use this calculator when you want to see how a DCA strategy would have performed historically for a specific asset, whether you are evaluating a future DCA plan or rationalizing a lump-sum versus DCA decision you face today. The tool is especially valuable when you have a windfall or bonus and need to decide whether to invest it all at once or spread it over months. It is also useful for comparing DCA performance across different time horizons or market conditions (bull markets, bear markets, sideways markets).

How to interpret results

The backtest shows your total investment (monthly amount × number of months), the final portfolio value, the gain or loss, and the average cost per share. Compare the DCA result to a hypothetical lump-sum investment made on the first day of the period: if the lump sum wins, it means the asset trended upward during the period and you paid higher prices each month by waiting. If DCA wins, it means the asset declined or stayed flat early in the period, allowing you to buy more shares cheaply before a later recovery. DCA is not a return-maximizing strategy; it is a regret-minimizing strategy.

Worked example

Asset: S&P 500. Period: Jan 2020 to Dec 2022. Monthly investment: $1,000. Total invested: $36,000 over 36 months. DCA final value: $41,200. Gain: $5,200 (14.4%). Lump sum ($36,000 invested Jan 2020): $43,800. Gain: $7,800 (21.7%). The lump sum outperformed because the S&P recovered sharply after the March 2020 crash and DCA kept buying at higher prices throughout 2021. If the period had started in Jan 2021 (peak) and ended in Dec 2022 (trough), DCA would have outperformed by buying more shares during the decline.

Key definitions

Dollar-cost averaging (DCA) is an investment strategy where you invest a fixed dollar amount at regular intervals, buying more shares when prices are low and fewer when prices are high.

DCA typically underperforms lump-sum investing in rising markets because you delay full exposure, but it outperforms in declining or volatile markets by lowering your average cost per share.

DCA wins when the asset price declines early in the investment period and recovers later, allowing you to accumulate shares cheaply before the rebound.

DCA reduces regret and prevents the psychological trap of trying to time the market, making it easier to stick with an investment plan during volatility.

Frequently asked questions

  • Is DCA better than lump-sum investing?

    No, not on average. Historical data shows that lump-sum investing outperforms DCA roughly 66% of the time because markets trend upward more often than they decline. DCA wins when you invest during a prolonged downturn followed by recovery. The real benefit of DCA is psychological: it eliminates the timing decision and reduces regret if you invest right before a crash.

  • How long should I DCA for?

    Most research suggests 6 to 12 months. Spreading a lump sum over longer periods increases the probability that you underperform a full lump-sum investment because you stay out of the market longer. If you have a windfall today, DCA over 6 months is a reasonable compromise between timing risk and opportunity cost. If you are investing from income, DCA indefinitely as cash becomes available.

  • What if the asset never recovers?

    DCA does not protect you from permanent capital loss. If you DCA into an asset that declines and never recovers, you lose money just like a lump-sum investor, but you spread the pain over many months instead of taking it all at once. DCA is a deployment strategy, not a hedge against bad investments. Use fundamental analysis or diversification to reduce the risk of permanent loss.

  • Can I use DCA for individual stocks?

    Yes, but individual stocks carry company-specific risk that DCA does not solve. A stock can go to zero; an index cannot. DCA works best with diversified assets like index funds or ETFs. If you DCA into a single stock, you are still exposed to bankruptcy, fraud, or sector collapse. Consider whether the asset is suitable for long-term accumulation before committing to a DCA plan.

  • What is value averaging and how does it compare to DCA?

    Value averaging adjusts your monthly investment amount to reach a target portfolio value path. If the market rises, you invest less; if it falls, you invest more. Value averaging can outperform DCA by forcing you to buy more aggressively during declines, but it requires flexible cash flow and discipline. DCA is simpler and more predictable. The OnSumo net worth tracker can help you monitor either strategy over time.

  • Should I pause DCA during a crash?

    No. Pausing DCA during a crash defeats the purpose. The biggest advantage of DCA is that it forces you to keep buying when prices are low and fear is high. If you stop during a downturn, you miss the opportunity to accumulate shares cheaply. Automate your DCA contributions so you cannot second-guess yourself during volatility.

  • How does DCA interact with market timing?

    DCA is the opposite of market timing. Market timing tries to predict highs and lows; DCA assumes you cannot predict them and buys steadily regardless. If you can reliably time the market, lump-sum investing at bottoms beats DCA every time. Since most investors cannot time the market, DCA is a safer default strategy that removes the timing decision entirely.

  • Does DCA work for crypto?

    DCA works for any asset with a price history, including crypto. Crypto is more volatile than stocks, which means DCA can accumulate shares at widely varying prices. Backtests show that DCA into Bitcoin or Ethereum over multi-year periods produced positive returns despite severe drawdowns, but past performance does not predict future results. Crypto DCA requires the same discipline as stock DCA: never stop buying during crashes.

  • What if I miss a month?

    Missing one month is not catastrophic. You can either double the next month's investment to catch up, or skip it and continue with the regular schedule. The key is consistency over the long term. Missing months during a bull market costs you upside; missing months during a bear market costs you cheap shares. Automate your DCA plan to avoid the temptation to skip.

  • How do taxes affect DCA versus lump sum?

    DCA spreads your cost basis across multiple purchase dates, which can complicate tax-loss harvesting and creates multiple tax lots with different holding periods. Lump-sum investing creates a single tax lot with one purchase date. For tax-advantaged accounts (401k, IRA), this distinction does not matter. For taxable accounts, consult a tax professional to understand how DCA affects your specific situation. The OnSumo take-home pay calculator can help you estimate after-tax cash available for investing.

Related tools