Dollar-Cost Averaging Calculator

Average cost per share and what a monthly investing plan could grow to

$
The same dollar amount every period — that is what dollar-cost averaging means.
One price per purchase, oldest first. Example values.
$
Most U.S. brokers charge $0 for online ETF and stock trades — enter yours if not.
$
Example value.
years
%
Example value only — returns are not guaranteed and can be negative.
%
Annual fee charged by the fund, shown on its fact sheet.
Average cost per share—
Total invested—
Shares bought—
Value today—
Gain / loss—
If everything had been invested at the first price—
🎰 15 Global Lotteries + 12 Smart Number Pickers
Powerball · Mega Millions · EuroMillions · UK Lotto — Zodiac, Birthday, Dream, AI & more

What dollar-cost averaging is

The SEC’s Investor.gov describes dollar-cost averaging as investing your money in equal portions, at regular intervals, regardless of the ups and downs in the market. Contributing to a 401(k) from every paycheck, or setting up an automatic monthly purchase of an index fund at your broker, are the most common examples in the U.S.

Because the dollar amount stays the same, you automatically buy more shares when prices are low and fewer when they are high. That is why your average cost per share is usually lower than the simple average of the prices you paid.

How the average cost is calculated (example)

Average cost = total invested ÷ total shares bought.

Example: you invest $500 six times at $52.10, $47.80, $44.25, $49.60, $55.30 and $58.90. You get 9.6 + 10.46 + 11.3 + 10.08 + 9.04 + 8.49 ≈ 58.97 shares for $3,000, so your average cost is $50.88 — below the simple average of the six prices ($51.33). At a current price of $57 the position is worth about $3,361, a gain of roughly 12.04%.

Dollar-cost averaging vs. lump sum

If you already have the full amount, investing it all at once can come out ahead or behind — it depends on what prices do afterwards. In the example above, investing $3,000 at the first price ($52.10) would be worth $3,282 today, less than the DCA result, because prices dipped after the first purchase. If prices had risen steadily, the lump sum would have won. The calculator shows both so you can see the difference for your own prices.

The monthly plan mode

  • Enter a monthly amount, a number of years and an example return. The calculator compounds monthly and subtracts the fund’s expense ratio each year.
  • With $500 a month for 20 years at 7% and a 0.05% expense ratio, you contribute $120,000 and could end up with about $252,332 — but real returns vary from year to year and are never guaranteed.
  • Results are before taxes. In a taxable brokerage account you may owe tax on dividends and on gains when you sell — see the capital gains tax calculator.

For one-time deposits plus interest, use the compound interest calculator. If you are buying more of a position that is down, the average down calculator shows your new break-even price.

Sources

Last checked: 2026-10-30

Frequently Asked Questions

How do I calculate my average cost per share with dollar-cost averaging?
Divide the total amount you invested (including fees) by the total number of shares you bought. Because a fixed dollar amount buys more shares at lower prices, this is usually lower than the simple average of the purchase prices.
Is dollar-cost averaging better than investing a lump sum?
Not always. If prices rise after you invest, a lump sum does better; if they fall first, DCA does better. DCA mainly reduces the risk of putting everything in at a bad moment and makes investing a habit.
Does dollar-cost averaging guarantee a profit?
No. If the price keeps falling, a DCA position loses money too. It changes your average entry price, not the direction of the market.
Is contributing to my 401(k) every paycheck dollar-cost averaging?
Yes. Investing the same amount from every paycheck into the same funds is a classic example of investing in equal portions at regular intervals.
How often should I invest — weekly or monthly?
For long-term investors the difference is usually small. Choose a schedule that matches your paycheck and check that your broker does not charge a fee for each purchase.

Bookmarks