Best Deal Financial Planning PRO Bundle
✓ Financial Planning✓ Net Worth Tracker✓ Monthly Budgeting✓ Travel Budget Planner✓ Annual Budgeting Planner
View Details →
beginner Investment

Dollar Cost Averaging

Calculate your average cost per share when investing a fixed amount regularly.

Formula
=total_invested / total_shares

How It Works

Dollar cost averaging (DCA) means investing a fixed amount at regular intervals regardless of price. This formula helps track your true average cost per share - which will be lower than the average price if prices fluctuate.

Syntax

=total_amount_invested / total_shares_owned

Example

Monthly $500 Investment:

MonthPriceShares Bought
Jan$5010.00
Feb$4511.11
Mar$559.09
Apr$4012.50
May$5010.00
Jun$608.33
Total61.03

Average Price: =AVERAGE(50,45,55,40,50,60) = $50.00

Your Average Cost: =$3,000 / 61.03 = $49.15

You paid less than the average price because you bought more shares when prices were low.

Building a DCA Tracker

DateAmountPriceSharesRunning TotalAvg Cost
1/1$500$50.0010.0010.00$50.00
2/1$500$45.0011.1121.11$47.37
3/1$500$55.009.0930.20$49.67
4/1$500$40.0012.5042.70$46.84

Formulas:

  • Shares: =B2/C2
  • Running Total: =E1+D2 (or =SUM($D$2:D2))
  • Avg Cost: =SUM($B$2:B2)/E2

DCA vs. Lump Sum

Which is better? Compare:

Scenario: $6,000 to invest

Lump Sum (January):

  • Buy 120 shares at $50
  • June value: 120 × $60 = $7,200

DCA ($500/month):

  • Buy 61.03 shares over 6 months
  • June value: 61.03 × $60 = $3,662

In this rising market, lump sum won. But:

Scenario: Market drops then recovers

MonthPrice
Jan$50
Feb$40
Mar$30
Apr$35
May$45
Jun$50

Lump Sum: 120 shares × $50 = $6,000 (break even)

DCA: $3,000 buys 85.2 shares → worth $4,260 at $50

DCA wins when prices are volatile.

Calculating Future Value

Project DCA investment growth:

=FV(monthly_return, months, -monthly_investment, -starting_amount)

Example: $500/month, 7% annual return, 20 years:

=FV(7%/12, 240, -500, 0)

Result: $260,464

The Math Behind DCA’s Advantage

DCA produces a lower average cost due to buying more shares when cheap:

Price$500 Buys
$2520 shares
$5010 shares
$1005 shares

Total: $1,500 buys 35 shares Average price: $58.33 Average cost: $42.86

The “buying more when cheap” effect is called harmonic mean - always lower than arithmetic mean when values vary.

DRIP: Dividend Reinvestment

Track dividend reinvestment as part of DCA:

DateTypeAmountPriceShares
1/1Buy$500$5010.00
1/15Div$10$520.19
2/1Buy$500$4810.42
2/15Div$10.40$490.21

Average cost with DRIP:

=SUM(Amount) / SUM(Shares)

Automation Formula

Calculate how much to invest per paycheck for a monthly target:

=monthly_target / paychecks_per_month

Example: $600/month goal, paid biweekly (26 paychecks/year):

=$600 * 12 / 26 = $277 per paycheck

Pro Tips

  1. Automate it - set up automatic investments to remove emotion and timing temptation

  2. Stick to the plan - DCA works best when you don’t skip months, especially during downturns

  3. Consider employer match - 401(k) with match is forced DCA with free money

  4. Track cost basis - you’ll need this for taxes when you sell

  5. Don’t check daily - frequent monitoring leads to emotional decisions

Common Errors

  • Stopping during drops: This is when DCA works best - you buy more shares
  • Confusing average price with average cost: They’re different when amounts vary
  • Ignoring fees: High transaction fees can erode DCA benefits - use commission-free platforms

Want More Than a Formula?

Our premium spreadsheet templates do the heavy lifting for you - with automatic calculations, visual charts, and everything pre-built. One-time purchase, no subscriptions.

Private & secure

Your financial data stays on your device. We never see it.

Learn more →

Need help?

Check our guides or reach out with questions.

View FAQ →