Skip to content

How do changing prices affect regular purchases?

Compare three equal purchases at changing prices with one purchase at the first price.

€

€

€

€

Average cost per unit

€7.50

€7.50 on average, against €10 if you had bought everything at the first price.

Units bought
40
Unrealized gain or loss
€100
Better than a single purchase by
€100
Formula

Units = Σ (equal investment ÷ purchase price); average cost = total invested ÷ total units.

Compare three equal purchases at changing prices with one purchase at the first price.

How to use

  1. Enter how much you invest each period and the price you paid at each of the three purchases.
  2. Enter today’s price to see how your purchases compare with it.
  3. Read your average cost per unit, the units you bought and your gain or loss. Copy the link to keep this scenario.

How it works

Dollar-cost averaging invests equal amounts at regular intervals. Enter three purchase prices in chronological order. Each fixed payment buys more units at lower prices and fewer at higher prices.

For equal payment A and prices p₁, p₂ and p₃, total units U = A/p₁ + A/p₂ + A/p₃. Average cost is 3A/U, not the arithmetic mean of the prices. Three payments of 100 at prices 10, 5 and 10 buy 40 units at an average cost of 7.5.

The comparison invests all 3A at the first price and values both portfolios at the same valuation price. It assumes the full amount was available at the start and gives no interest to uninvested cash. Fractional purchases are allowed.

No price forecast is made. Fees, taxes, dividends, spreads and currency conversion are excluded. The comparison can favor either approach and does not guarantee a profit.

Worked example

What average cost comes from three investments of €100?

  1. At prices 10, 5 and 10, buy 10, 20 and 10 units.
  2. Divide 300 invested by 40 units.

€7.50

Frequently asked questions

Why is average cost different from average price?

You buy different numbers of units at each price. Total money divided by total units weights the purchases correctly.

Can I enter weekly rather than monthly prices?

Yes. Use any three equally spaced purchase dates and the same investment on each.

Does the lump-sum comparison assume all cash was available?

Yes. Without that assumption it is not a like-for-like alternative.

Can the investment lose money?

Yes. A valuation price below your average cost produces a loss.

Is dollar-cost averaging better than investing everything at once?

Neither always wins. It buys more units when prices are low, but a lump sum invested early gains more when prices keep rising.

Send feedback