Skip to content

Investing

Dollar Cost Averaging Calculator

Enter your recurring contributions and share prices to find your average cost basis

Plan Your Ongoing Investments

Optionally, add a final share price to see your potential gains

$
$
$
$
$
$
$
$
$
$
$

What this calculator does

Dollar-cost averaging (DCA) is an investment strategy where you invest a fixed amount at regular intervals regardless of market price. Rather than trying to time the market—buying before rallies and avoiding crashes—you invest consistently, buying more shares when prices are low and fewer when prices are high. This mathematically lowers your average cost per share over time compared to lump-sum investing. The strategy is particularly effective for volatile assets like stocks and cryptocurrencies, where it reduces emotional decision-making and sequence-of-returns risk. DCA transforms market volatility from something frightening into an advantage, accumulating shares cheaply during downturns while maintaining discipline during euphoric rallies.

How it works

The calculator tracks your regular investments (monthly, quarterly, or annual) and the price at each investment date. It calculates total shares purchased by dividing each fixed investment by the price at that time. As market prices fluctuate, each fixed dollar buys different quantities—when prices drop, your dollars buy more shares; when prices rise, they buy fewer shares. The calculator determines your total cost basis, final share count, and average cost per share. This average cost per share is typically lower than simply averaging the prices over time because you bought more shares at lower prices (the mathematical benefit of DCA).

Formula

Average Cost Per Share = Total Amount Invested ÷ Total Shares Purchased. Shares Purchased Each Period = Investment Amount ÷ Price at Investment Date. Total Profit/Loss = (Final Price × Total Shares) - Total Amount Invested. This methodology proves that consistent investing through price volatility mathematically lowers average cost per share compared to random lump-sum timing, historically outperforming most active investors.

Tips for using this calculator

  • Start investing as early as possible—DCA benefits compound over decades through more market cycles
  • Use automatic investments (payroll deduction to 401k, automatic transfers to brokerage) to remove emotion and ensure consistency
  • Stay disciplined during market crashes—this is when DCA provides the greatest benefit, accumulating shares cheaply
  • Combine DCA with dividend reinvestment (DRIP) for additional compounding through more frequent share purchases
  • Calculate your average cost basis periodically to understand your true entry point rather than focusing on current price

Frequently asked questions

Is DCA better than investing a lump sum all at once?

Neither is definitively better—it depends on market direction. Lump-sum investing outperforms if markets rise immediately (you had money invested the whole time). DCA outperforms if markets decline first (you buy cheaper shares). Historically, lump-sum investing performs slightly better long-term because markets tend upward. However, DCA provides psychological comfort, ensures you avoid investing entirely in crashes, and performs excellently when dollar-averaging into volatile assets like cryptocurrencies that crash periodically.

How long should I dollar-cost average before switching to lump-sum?

There's no fixed rule, but consider switching to lump-sum once you've accumulated a sizable portfolio (6-12 months of expenses or $50,000+). By then, your average cost basis is established. Additionally, as your portfolio grows, the benefit of regular small additions diminishes. You might continue monthly contributions while recognizing that lump-sum bonuses or inheritances should typically be invested immediately rather than averaged in.

Does DCA work for individual stocks or only index funds?

DCA works for any investment: individual stocks, ETFs, index funds, bonds, or real estate. However, it's most valuable for volatile assets where price fluctuations create buying opportunities. For stable bonds or dividend-aristocrat stocks with predictable growth, the benefit is minimal. For cryptocurrencies or speculative stocks prone to 50% swings, DCA reduces the pain of downturns by ensuring you accumulate cheap shares during crashes, capitalizing on volatility.

Should I DCA if I need the money in 3-5 years?

DCA is less ideal for short timeframes because you might not experience enough market cycles to see average cost basis benefits. If you need $10,000 in 3 years, averaging it in monthly is riskier than keeping it in bonds or savings. However, if you have a 10+ year timeline and expect volatility, DCA is excellent. For intermediate timeframes, it depends on your risk tolerance and whether you can maintain discipline if markets decline right before you need the money.