Account

What new tool do you want?

Investing & Retirement

Dollar-Cost Averaging Calculator

See the result of investing a fixed amount at regular intervals: shares bought, average cost per share and gain — compared with investing a lump sum at the start.

For information and education only — not financial advice. Results are estimates based on the numbers you enter; check important decisions with a qualified professional.

How to use

  1. 1Enter the amount you invest each period.
  2. 2Enter the price at each purchase (one per line) and today's price.

How it's calculated

Shares each period = amount ÷ price. Average cost = total invested ÷ total shares (the harmonic mean of the prices), which is always ≤ the average price.

Frequently asked questions

Is DCA better than investing a lump sum?

Historically a lump sum has beaten DCA about two-thirds of the time because markets tend to rise. DCA reduces the regret of investing right before a drop.

Why is my average cost below the average price?

A fixed amount buys more shares when prices are low and fewer when high, which pulls the average cost down.

Does this work for crypto?

Yes — enter prices in any currency; fractional shares or coins are handled.

Why DCA's average cost is mathematically guaranteed to be at or below the average price

Because a fixed dollar amount buys more units when the price is low and fewer when it's high, the resulting average cost per unit (total invested divided by total units bought) is the harmonic mean of the purchase prices — which is always less than or equal to the simple arithmetic average of the same prices, a mathematical property that holds regardless of which direction the price actually moved over the period.

Worked example: Dollar-Cost Averaging Calculator

Investing $100 at $50 and then $100 at $100 (two purchases): the simple average price is $75, but the actual shares bought — 2 at the first purchase and 1 at the second, for 3 total — gives an average cost of $200 invested ÷ 3 shares = $66.67, noticeably below the simple $75 average. At today's $100 price, those 3 shares are worth $300, a $100 gain on the $200 invested — compared against what a $200 lump sum invested entirely at the first $50 price would have grown to: $400, meaningfully more than the DCA outcome in this specific rising-price scenario.

Why DCA's real advantage is psychological, not mathematical

This worked example shows DCA actually underperforming a lump sum when prices simply rise steadily — a pattern that holds historically for roughly two-thirds of historical periods, since markets have tended to rise over time. DCA's genuine benefit isn't a mathematical edge; it's reducing the very real risk of regret and poor decision-making that comes from investing a large lump sum right before a sudden drop, which is a behavioral advantage worth having even when it doesn't win on pure expected returns.

Where DCA actually wins: a falling-then-partially-recovering price

Investing $100 at $100 and then another $100 after the price fell to $80, with the price recovering partway to $90: DCA produces 2.25 shares worth $202.50 today, a $2.50 gain — while a $200 lump sum invested entirely at the original $100 price would be worth only $180 at that same $90 recovery price, a $20 loss. This is the exact scenario where spreading purchases out genuinely helps: a dip followed by a partial recovery, rather than the steady uptrend in the first example.

Related tools

More: Investing & Retirement