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
One equal purchase a month
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
Portfolio value
Dollar-cost averaging includes cash still waiting to be invested
Month by Month
| Month | Price | Invested So Far | Shares Bought | Total Shares | DCA Value | Lump Sum Value |
|---|---|---|---|---|---|---|
| Start | $100.00 | $1,000.00 | 10 | 10 | $12,000.00 | $12,000.00 |
| 1 | $100.64 | $2,000.00 | 9.936 | 19.936 | $12,042.41 | $12,076.80 |
| 2 | $101.29 | $3,000.00 | 9.873 | 29.809 | $12,088.23 | $12,154.80 |
| 3 | $101.94 | $4,000.00 | 9.81 | 39.619 | $12,137.29 | $12,232.80 |
| 4 | $102.60 | $5,000.00 | 9.747 | 49.365 | $12,189.95 | $12,312.00 |
| 5 | $103.26 | $6,000.00 | 9.684 | 59.05 | $12,245.86 | $12,391.20 |
| 6 | $103.92 | $7,000.00 | 9.623 | 68.672 | $12,304.96 | $12,470.40 |
| 7 | $104.59 | $8,000.00 | 9.561 | 78.234 | $12,367.89 | $12,550.80 |
| 8 | $105.26 | $9,000.00 | 9.5 | 87.734 | $12,434.01 | $12,631.20 |
| 9 | $105.94 | $10,000.00 | 9.439 | 97.173 | $12,504.14 | $12,712.80 |
| 10 | $106.62 | $11,000.00 | 9.379 | 106.552 | $12,577.45 | $12,794.40 |
| 11 | $107.31 | $12,000.00 | 9.319 | 115.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
Frequently Asked Questions
Related Calculators
Related Articles
More articles in Saving & Investing →- Step-by-step guideDollar-Cost Averaging vs Lump Sum: Which Is Better?Learn how dollar-cost averaging works, why a lump sum usually wins when markets rise, when spreading out your investment pays off and what research says.
- How to Calculate Your Average Cost per Share (and Average Down)Find your average cost per share across several purchases, and work out how many shares it takes to average down to a target price.
- How Much Will My Investment Grow? Contributions, Returns & InflationProject how an investment grows with monthly contributions, yearly increases, inflation and tax, with a worked example and a free investment calculator.
- How Investment Fees Add Up: The Real Cost of a 1% FeeSee how expense ratios and advisory fees compound over decades, how much a 1% fee really costs, and simple ways to keep more of your returns.