Finance

Dollar Cost Averaging Calculator

Calculate how dollar cost averaging builds wealth over time. Compare DCA to lump sum investing and project your portfolio growth.

$
$
years
%
Future portfolio value
$91,473

Strong returns

You'll earn $31,473 in gains

Your monthly $500 investments add up to $60,000 over 10 years. With a 8% return, you gain 52% on your contributions.

Total contributions
$60,000
Investment gains
$31,473
Total return
52.5%
Annual contribution
$6,000
Number of investments
120

Dollar cost averaging spreads investment over time, reducing the impact of volatility. The gap between portfolio value and contributions represents your investment gains.

What is dollar cost averaging?

Dollar cost averaging (DCA) is an investment strategy where you invest a fixed amount of money at regular intervals, regardless of market conditions. Instead of trying to time the market with one large purchase, you spread your investments over time, buying more shares when prices are low and fewer when prices are high.

This approach is the foundation of most retirement investing—every 401(k) contribution you make is dollar cost averaging in action. The strategy removes emotion from investing and builds wealth systematically over time.

How DCA works

The principle is simple:

  1. Choose an amount — Decide how much to invest each period ($500/month, for example)
  2. Set a schedule — Weekly, bi-weekly, monthly, or quarterly
  3. Invest consistently — Buy regardless of whether the market is up or down
  4. Ignore market noise — Don't try to time peaks and valleys

Example

Imagine investing $1,000 monthly in an index fund:

MonthShare PriceShares BoughtTotal SharesTotal Invested
Jan$502020$1,000
Feb$402545$2,000
Mar$4522.267.2$3,000
Apr$5518.285.4$4,000

Your average cost per share: $46.84 (vs. $47.50 average price)

By buying more shares when prices dropped, you ended up with a lower average cost than the average price would suggest.

DCA vs lump sum investing

A common debate: should you invest all at once or spread it out?

Lump sum advantages

  • Markets rise more often than fall (~70% of years are positive)
  • Money is invested longer, capturing more compound growth
  • Historically produces higher returns about 2/3 of the time
  • Lower transaction costs

DCA advantages

  • Reduces regret if market drops after investing
  • Smooths out volatility in your entry price
  • Psychologically easier for nervous investors
  • Works well when you don't have a lump sum

When each approach makes sense

Use lump sum when:

  • You receive an inheritance or windfall
  • You're comfortable with short-term volatility
  • You won't panic and sell if markets drop
  • Your time horizon is 10+ years

Use DCA when:

  • You're investing regular income (salary, etc.)
  • You're nervous about current market valuations
  • You'd lose sleep over a market drop after investing
  • You don't have a lump sum to invest

The math behind DCA

DCA's power comes from its interaction with volatility. When you buy regularly:

  • In rising markets: You buy fewer shares as prices climb, but your earlier shares appreciate
  • In falling markets: You buy more shares at lower prices, reducing average cost
  • In volatile markets: You naturally buy more when cheap, fewer when expensive

This creates a weighted average cost that's typically lower than the simple average price over the period.

Time in the market beats timing the market

A famous study by Fidelity found that the best-performing accounts belonged to investors who had either:

  1. Forgotten about their accounts entirely
  2. Died and left the accounts untouched

The lesson? Consistent investing over time beats attempting to time market highs and lows—a feat almost no one can accomplish reliably.

Setting up a DCA strategy

Step 1: Determine your investment amount

  • Calculate what you can consistently invest after expenses
  • Consider starting with 10-20% of income for retirement
  • Any amount is better than nothing

Step 2: Choose your frequency

FrequencyBest for
WeeklyMaximizing time in market, paycheck alignment
Bi-weeklyPaycheck alignment for many workers
MonthlySimple scheduling, most common choice
QuarterlyLower-frequency investors, larger amounts

Step 3: Select your investments

For long-term DCA, consider:

  • Index funds — Low cost, broad diversification (S&P 500, total market)
  • Target-date funds — Automatic rebalancing as you age
  • ETFs — Similar to index funds with intraday trading

Avoid individual stocks for DCA—diversification matters more when investing blindly to market conditions.

Step 4: Automate everything

Set up automatic transfers from your bank to your brokerage. Automation removes the temptation to skip contributions or time the market.

Common DCA mistakes

1. Stopping during market drops

This is the worst time to stop! You're buying discounted shares that will appreciate when markets recover. Missing the best days in the market devastates long-term returns.

2. DCA into poor investments

Dollar cost averaging into a bad investment just averages you into a loss. Stick to diversified, low-cost index funds.

3. Over-complicating the strategy

Some investors try to "enhance" DCA by increasing contributions when markets drop. This adds complexity and rarely improves outcomes meaningfully.

4. Too short a time horizon

DCA works best over 10+ year periods. Over short horizons, lump sum typically wins.

DCA and volatility

Volatility is your friend when dollar cost averaging. Higher volatility means:

  • More shares bought at low prices
  • Lower average cost per share
  • Better long-term results (assuming eventual recovery)

This is why DCA works particularly well for:

  • Volatile assets like stocks
  • Extended bear markets
  • Younger investors with long time horizons

Tax considerations

Tax-advantaged accounts

Prioritize DCA into tax-advantaged accounts:

  1. 401(k) — Especially if employer matches
  2. IRA/Roth IRA — Tax-free or tax-deferred growth
  3. HSA — Triple tax advantage if used for medical

Taxable accounts

In taxable brokerage accounts:

  • DCA may create tax lots at different prices
  • Consider tax-loss harvesting opportunities
  • Long-term capital gains rates apply after 1 year

Historical perspective

If you had invested $500 monthly in the S&P 500 from 2000-2020, you would have:

  • Invested through the dot-com crash
  • Invested through the 2008 financial crisis
  • Invested through the 2020 pandemic drop
  • Still ended up with substantial gains

The investors who stopped during these crises missed the eventual recoveries. Those who continued DCA through the downturns accumulated shares at bargain prices.

DCA for different goals

Retirement (20-40 years)

  • Aggressive stock allocation
  • Maximize tax-advantaged accounts
  • Ignore short-term volatility

College savings (10-18 years)

  • Shift to conservative as deadline approaches
  • 529 plans offer tax advantages
  • Consider age-based portfolios

Medium-term goals (5-10 years)

  • Balanced stock/bond allocation
  • More frequent rebalancing
  • Lower risk tolerance appropriate

Short-term goals (under 5 years)

  • DCA may not be ideal—consider lump sum into safer assets
  • High-yield savings or CDs
  • Bonds or money market funds