Dollar-Cost Averaging Calculator

See what investing the same amount on a schedule really buys.

Your numbers

Your plan
$
Prices at each purchase

Example prices are made up. Use the real prices from your statements or a price history to test a past period.

Paste or type one price per purchase, separated by commas, spaces or new lines. Up to 240. The last price is used for today's value.

Results update as you type. Nothing you enter leaves your browser.

Your results

Value at the last price

$7,230

$6,000 invested over 12 purchases (+$1,230).

Your average cost per share
$46.48
Average of the prices
$47.00
Shares owned
129.099
All at the first price instead
$6,720

Because a fixed amount buys more shares when the price is low, your average cost ($46.48) is below the average price ($47.00). Investing it all at the first price would be worth $6,720 today, $510 less than spreading it out.

See the full breakdown

Estimates based on your inputs and the assumptions listed below. Not tax, financial or lending advice. Disclaimer

Your full breakdown

Invested vs. value over time

$500 each month. The gap between the lines is your gain or loss at each point.

ValueInvested
$0$2K$4K$6K$8K#1#3#5#7#9#11#12#1: Value $500, Invested $500#2: Value $960, Invested $1K#3: Value $1.4K, Invested $1.5K#4: Value $2K, Invested $2K#5: Value $2.2K, Invested $2.5K#6: Value $2.9K, Invested $3K#7: Value $3.8K, Invested $3.5K#8: Value $4.1K, Invested $4K#9: Value $5.1K, Invested $4.5K#10: Value $5.4K, Invested $5K#11: Value $6.5K, Invested $5.5K#12: Value $7.2K, Invested $6K

Each purchase

Lower prices buy more shares for the same money.

Show all 12 purchases
PurchasePriceShares boughtTotal sharesInvestedValue
#1$50.0010.00010.000$500$500
#2$46.0010.87020.870$1,000$960
#3$41.0012.19533.065$1,500$1,356
#4$44.0011.36444.428$2,000$1,955
#5$39.0012.82157.249$2,500$2,233
#6$42.0011.90569.154$3,000$2,904
#7$47.0010.63879.792$3,500$3,750
#8$45.0011.11190.903$4,000$4,091
#9$51.009.804100.707$4,500$5,136
#10$49.0010.204110.911$5,000$5,435
#11$54.009.259120.170$5,500$6,489
#12$56.008.929129.099$6,000$7,230

Spread out vs. all at once

Which one comes out ahead depends entirely on the path of prices. When prices mostly rise, investing sooner tends to win; when they fall first, spreading out tends to win.

ApproachInvestedSharesValue nowReturn
Dollar-cost averaging$6,000129.099$7,23020.5%
All at the first price$6,000120.000$6,72012%

Good to know

  • Dollar-cost averaging means investing equal amounts at regular intervals, whatever the market is doing. Paycheck contributions to a 401(k) work this way.
  • It doesn't guarantee a profit or protect against a loss in a falling market. Its main benefit is that it takes timing decisions off the table.
  • Average cost = total invested / total shares = $6,000 / 129.099 = $46.48.
  • Fees per purchase eat into small, frequent investments. Check whether your broker charges per trade.

Short answer

Dollar-cost averaging means investing the same amount at regular intervals, whatever the price. A fixed amount buys more shares when prices are low and fewer when they're high, so your average cost per share ends up at or below the average of the prices. It doesn't guarantee a profit.

Example

Investing $500 at each of 12 prices buys 129.10 shares at an average cost of $46.48, worth $7,230 at the last price.

How it's calculated

Shares bought each time = amount / price. Average cost = total invested / total shares. Value = total shares x last price. Lump sum comparison = total invested / first price x last price.

Assumptions

  • No fees per purchase.
  • Prices are the ones you enter, in order, oldest first.

Frequently asked questions

What is dollar-cost averaging?

Investing equal amounts at regular intervals regardless of market ups and downs, such as every paycheck. It adds money on a consistent schedule instead of trying to time the market.

Why is my average cost lower than the average price?

Because the same dollars buy more shares at low prices. Those cheaper shares count for more in your average, which pulls it down. The two match only when every price is the same.

Is dollar-cost averaging better than a lump sum?

It depends on how prices move. When prices mostly rise, investing sooner tends to come out ahead; when they fall first, spreading purchases tends to. Use your own prices here to compare.

Sources

  1. Dollar Cost Averaging Investor.gov (SEC)

Formulas and figures last checked Nov 5, 2026.

Go deeper

Related guides and calculators