Dollar-Cost Averaging
calculator.
Find your average cost per share and return from buying the same amount on a schedule.
Buying the same amount each time got more shares when the price was low, so your average cost is $0.49 below the simple average price. On these prices, averaging finished $56.65 ahead of investing it all at the first price, because it ended up with more shares.
Purchase by purchase
Drag the handle to pick a purchasePrices ran from $41.00 to $58.00. After purchase 12 at $58.00, the average cost is $49.60. Drag the handle or use the purchase slider to pick a purchase.
- Purchase 12 price
- $58.00
- Shares bought then
- 8.62069
- Average cost after 12
- $49.60
- Invested by then
- $6,000
Prices and fees
| # | Price ($) |
|---|---|
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 |
Against a lump sum
Both invest $6,000 and are valued at the last price of $58.00. The lump sum's yearly return is 17.6%, against 39.3% for averaging. Which one wins depends on the prices that follow, which nobody knows in advance.
A regular plan does not assure a profit or protect against loss in a falling market (FINRA Notice 98-83). Spreading purchases out usually lowers risk and often lowers returns compared with a lump sum (FINRA).
If the price moved from here
| Gainreturn | Return | ||
|---|---|---|---|
| $34.80 | $4,210 | −$1,790−29.8% | −29.8% |
| $46.40 | $5,613 | −$387−6.4% | −6.4% |
| $49.60(break-even) | $6,000 | $00% | 0% |
| $52.20 | $6,315 | $3155.2% | 5.2% |
| $58.00(last price) | $7,017 | $1,01716.9% | 16.9% |
| $63.80 | $7,718 | $1,71828.6% | 28.6% |
| $69.60 | $8,420 | $2,42040.3% | 40.3% |
| $81.20 | $9,823 | $3,82363.7% | 63.7% |
The same shares at 40% below to 40% above the last price. Above the break-even price, the average cost, the holding is worth more than you put in. These are not forecasts.
Every purchase
| Average cost | Value | Shares bought | Total shares | ||
|---|---|---|---|---|---|
| 1 | $50.0010 bought10 total | $50.00$500 value | $500 | 10 | 10 |
| 2 | $46.0010.869565 bought20.869565 total | $47.92$960 value | $960 | 10.869565 | 20.869565 |
| 3 | $41.0012.195122 bought33.064687 total | $45.37$1,356 value | $1,356 | 12.195122 | 33.064687 |
| 4 | $44.0011.363636 bought44.428324 total | $45.02$1,955 value | $1,955 | 11.363636 | 44.428324 |
| 5 | $48.0010.416667 bought54.84499 total | $45.58$2,633 value | $2,633 | 10.416667 | 54.84499 |
| 6 | $53.009.433962 bought64.278952 total | $46.67$3,407 value | $3,407 | 9.433962 | 64.278952 |
Average cost so far is everything invested, fees included, divided by the shares held after that purchase.
How it's worked out
Dollar-cost averaging means investing the same amount at regular times, whatever the price. Each purchase buys the amount, less any fee, divided by that day's price. A low price buys more shares and a high price buys fewer. Your average cost is everything you spent divided by all the shares:
With no fees, that average cost is the harmonic mean of the prices, which is never above their simple average. That is the whole effect: the fixed amount leans toward the cheap purchases. The value is your shares times the last price.
The yearly return is money-weighted. Each purchase counts from its own date, and the tool solves for the one rate that makes all the purchases grow to the final value, the internal rate of return. For the lump sum, the tool invests the same total, less one fee, at the first price.
Worked examples
Sam's index fund
Sam invests $500 on the first of each month for a year, at prices from $41.00 to $58.00. That buys 120.98 shares for $6,000, an average cost of $49.60 against a simple average price of $50.08. At the last price of $58.00 the shares are worth $7,016.65, a gain of 16.9%. All $6,000 at the first price of $50.00 would be worth $6,960.00, so averaging came out $56.65 ahead on these prices. Open this example in the tool
A falling market
On the example path that falls 1% a purchase, $200 a month for 24 months from $100 invests $4,800 and ends worth $4,286.44, a loss of $513.56. A lump sum at the first price would be worth $3,809.35. Averaging lost less here, but it still lost money: a regular plan does not protect against a falling market. Open this example in the tool
Weekly bitcoin buys with a fee
$100 of bitcoin every week for 8 weeks, with a $1.50 fee each time, gives an average cost of $61,281.23. That is above the simple average price of $60,562.50, because $12.00 of the $800 went to fees. Without the fee it would have been $60,362.01. Open this example in the tool
Reading your result
An average cost below the last price means the holding is worth more than you put in; the price what-if table shows this break-even point. The gap between your average cost and the simple average price shows how much the fixed amount helped, and fees work against it.
The lump-sum card answers a backward-looking question: on these exact prices, which would have ended with more? It says nothing about the next prices. Vanguard's 2012 study of US, UK and Australian markets found that investing a lump sum at once beat averaging it in about two-thirds of the time, because markets rose more often than they fell. Averaging did better when prices dropped soon after the start.
FINRA notes that spreading purchases out usually lowers risk but often lowers returns compared with a lump sum, and that more purchases can mean more fees (FINRA, the benefits and limitations of dollar-cost averaging). FINRA's rules also require any sales material on a regular plan to say it does not assure a profit or protect against loss in a declining market (Notice to Members 98-83).
Common mistakes
- Averaging the prices. The simple average of your prices is not your cost. Divide what you spent by the shares you hold.
- Leaving out fees. A flat fee on a small purchase is a large share of it, as the weekly example shows.
- Reading a yearly return from a few weeks. A small gain over two months turns into a large yearly rate. Wait for a year of purchases.
- Mixing the order. Enter prices oldest first. The last price is the one used to value the holding.
- Forgetting reinvested dividends. They buy shares too. Add them as extra purchases, or use the DRIP calculator for a dividend stock.
Questions people ask
Sources
- Vanguard Research, Dollar-cost averaging just means taking risk later (2012)
- U.S. Securities and Exchange Commission, Investor.gov glossary: dollar cost averaging
- Internal Revenue Service, Publication 550, Investment Income and Expenses: basis of identical shares and average basis
- FINRA, The Benefits and Limitations of Dollar-Cost Averaging
- FINRA, Notice to Members 98-83