Skip to content
Menu

Dollar-Cost Averaging (DCA) Calculator

By Chad Smith · Updated

On this page
  1. How to use it
  2. The formula
  3. Worked example
  4. What the result means
  5. Why DCA suits regular savers
  6. Common mistakes
  7. Related lessons and tools

A dollar-cost averaging (DCA) calculator shows how a fixed amount invested at regular intervals grows over time, and what average price you end up paying. It can use a steady assumed return or a series of real or hypothetical prices. It also compares DCA with investing the same total as a lump sum at the start.

Dollar-cost averaging calculator

USD
USD

The last price is used as the final price.

%
Final value
USD 7,112.37
Total invested
USD 6,000.00
Units bought
59.2698
Average cost per unit
USD 101.23
Gain or loss
USD 1,112.37

How to use it

  1. Enter the amount invested each period and the frequency, such as monthly.
  2. Enter the number of periods or years.
  3. Choose a growth model: a steady annual return, or a list of prices for each purchase date.
  4. Optionally enter a fee per purchase.
  5. Read the total invested, the final value, the average cost per unit and the comparison with a lump sum.

The formula

With a list of prices:

Units bought each period = (Amount − Fee) ÷ Price

Total units   = Σ Units bought
Total invested = Amount × Number of periods

Average cost per unit = Total invested ÷ Total units

Final value   = Total units × Final price

With a steady return r per period (investing at the start of each period):

Final value = A × ((1 + r)^N − 1) ÷ r × (1 + r)

Worked example

This is an illustrative example with simple numbers, not real prices.

You invest 300 a month for four months, with no fees, at prices of 30, 25, 20 and 30.

Month 1: 300 ÷ 30 = 10.0 units
Month 2: 300 ÷ 25 = 12.0 units
Month 3: 300 ÷ 20 = 15.0 units
Month 4: 300 ÷ 30 = 10.0 units

Total units    = 47.0
Total invested = 1,200
Average cost   = 1,200 ÷ 47 = 25.53
Simple average of prices = (30 + 25 + 20 + 30) ÷ 4 = 26.25
Final value at 30 = 47 × 30 = 1,410

The price ended where it started, but the account is up 210 because more units were bought when the price was low.

What the result means

The average cost shows what you really paid per unit. With DCA, it is always at or below the simple average of the purchase prices, because fixed amounts buy more when prices are lower. The final value shows the result of both the price path and the discipline of investing every period.

The lump-sum comparison is a reminder that DCA is mainly a way to manage timing risk and to invest from income, not a way to beat the market. In a steadily rising market, money invested earlier has more time to grow.

Why DCA suits regular savers

For most people, DCA is not a choice between strategies but simply how money arrives: a share of each pay check, invested each month. Its real benefits are behavioral. A fixed plan removes the temptation to guess the best day to buy, and it keeps you investing through falls, when buying feels hardest but prices are lower. Automating the purchase with a broker's regular investment feature makes the plan easier to keep. The calculator helps you see what a steady habit can build over years.

Common mistakes

  • Stopping during falls. DCA works because it keeps buying when prices are low; pausing removes that benefit.
  • Ignoring fees. A fixed fee on a small monthly purchase can take a large share of each amount.
  • Assuming DCA prevents losses. If the price falls and stays down, the account still loses value.
  • Using an unrealistic steady return. Real markets move unevenly; treat projections as illustrations.
  • Comparing with a lump sum you did not have. If the money arrives monthly, DCA is the natural approach.

Frequently asked questions

What is dollar-cost averaging?

Dollar-cost averaging means investing a fixed amount at regular intervals, such as every month, regardless of the price. You buy more shares when prices are low and fewer when they are high.

Is DCA better than investing a lump sum?

Not always. If markets rise over time, investing a lump sum earlier often ends higher, because more money is invested for longer. DCA reduces the risk of investing everything just before a fall, and suits people investing from regular income.

Why is my average price lower than the average of the prices?

Because a fixed amount buys more units when the price is low. The average cost per unit is the harmonic mean of the prices, which is never higher than the simple average.

Do fees matter for DCA?

Yes. Fixed fees per purchase can take a large share of small regular investments. A broker with no minimum fee or with fractional shares suits DCA better.