Dollar-Cost Averaging Calculator

Compare investing a lump sum all at once with spreading it out in equal monthly purchases, along a price path you choose

Your Plan

$
months

One equal purchase a month

% a year

E.g. a money market fund

Lump sum comes out ahead by

$251.18

Lump sum $13,996.80 vs dollar-cost averaging $13,745.62 after 24 months, with the price at $116.64

Lump sum

$13,996.80

120 shares bought at $100.00

Dollar-cost averaging

$13,745.62

115.871 shares + $230.42 interest on waiting cash

Average cost per share

$103.56

vs an average price of $103.61 on the buying dates

Each purchase

$1,000.00

12 monthly purchases

Price path

Purchases in the first 12 months

Loading chart…

Portfolio value

Dollar-cost averaging includes cash still waiting to be invested

Loading chart…

Month by Month

MonthPriceInvested So FarShares BoughtTotal SharesDCA ValueLump Sum Value
Start$100.00$1,000.001010$12,000.00$12,000.00
1$100.64$2,000.009.93619.936$12,042.41$12,076.80
2$101.29$3,000.009.87329.809$12,088.23$12,154.80
3$101.94$4,000.009.8139.619$12,137.29$12,232.80
4$102.60$5,000.009.74749.365$12,189.95$12,312.00
5$103.26$6,000.009.68459.05$12,245.86$12,391.20
6$103.92$7,000.009.62368.672$12,304.96$12,470.40
7$104.59$8,000.009.56178.234$12,367.89$12,550.80
8$105.26$9,000.009.587.734$12,434.01$12,631.20
9$105.94$10,000.009.43997.173$12,504.14$12,712.80
10$106.62$11,000.009.379106.552$12,577.45$12,794.40
11$107.31$12,000.009.319115.871$12,654.96$12,877.20
12$108.00$12,000.00—115.871$12,735.63$12,960.00
13$108.69$12,000.00—115.871$12,816.31$13,042.80
14$109.39$12,000.00—115.871$12,898.14$13,126.80
15$110.10$12,000.00—115.871$12,981.14$13,212.00
16$110.81$12,000.00—115.871$13,064.14$13,297.20
17$111.52$12,000.00—115.871$13,147.15$13,382.40
18$112.24$12,000.00—115.871$13,231.31$13,468.80
19$112.96$12,000.00—115.871$13,315.48$13,555.20
20$113.69$12,000.00—115.871$13,400.81$13,642.80
21$114.42$12,000.00—115.871$13,486.14$13,730.40
22$115.15$12,000.00—115.871$13,571.47$13,818.00
23$115.89$12,000.00—115.871$13,657.96$13,906.80
24$116.64$12,000.00—115.871$13,745.62$13,996.80

The highlighted row is the last purchase. DCA value includes cash not yet invested and the interest it has earned.

Lump Sum or Dollar-Cost Averaging?

Dollar-cost averaging means investing a fixed amount at regular intervals instead of all at once. Because a fixed amount buys more shares when prices are low, your average cost ends up below the average price. But money waiting in cash misses any rise in the market.

Vanguard's 2023 study of several markets from 1976 to 2022 found a lump sum beat cost averaging between 61.6% and 73.7% of the time, because markets rise more often than they fall. Averaging did better in the worst downturns.

The Formulas

Shares bought = purchase ÷ price that month

Average cost = total invested ÷ shares

Value = shares × last price + cash

Cash waiting to be invested earns the interest rate you enter, compounded monthly.

Choosing an Approach

  • •If prices tend to rise, investing sooner usually wins
  • •Spreading out a windfall can make a sharp early drop easier to live with
  • •Investing from each paycheck is dollar-cost averaging by default
  • •Keep waiting cash in an account that pays interest
  • •Set a fixed schedule in advance so you don't time the market