Skip to main content

Dollar-Cost Averaging Average Cost

BeginnerPersonal FinanceAlso known as: regular investing, average cost per share, harmonic mean cost, invest monthly

Finds: your average cost when investing a fixed amount regularly.

When to use it: Use it to see what regular fixed-amount investing does to your average cost. Because the same money buys more shares when prices are low, your average cost is below the average price whenever prices vary. This does not mean DCA beats investing a lump sum at once: if prices rise on average, the lump sum usually wins. Its main benefit is behavioral and matches investing from pay.

The formula

Cˉ\displaystyle \bar{C}=n A∑tA/Pt=n∑t1/Pt\displaystyle =\frac{n\,A}{\sum_{t}A/P_{t}}=\frac{n}{\sum_{t}1/P_{t}}

In words: Average cost per share = total invested / total shares bought = n / (sum of 1 / price). It is the harmonic mean of the prices, which is never above the plain average price

What each symbol means

AFixed amount invested each periodmoney
P_tPrice in period tmoney
nNumber of periodscount

Worked example

You invest 300 at the start of each of six months at prices of 50, 40, 25, 40, 50 and 60.

Shares bought each period6.0000, 7.5000, 12.0000, 7.5000, 6.0000, 5.0000
Total shares44.0000
Total invested1,800
Average cost per share1,800 ÷ 4440.91
Simple average price44.17
Saving versus the average price44.1667 − 40.90913.26
Final price60
Value of the holding44 × 602,640
Gain or loss2,640 − 1,800840
The answer

You buy 44.0000 shares for 1,800, an average cost of 40.91 per share. The simple average price was 44.17, so you paid 3.26 less than that. At the final price of 60 your holding is worth 2,640, a gain of 840.

Want every formula on a few pages?Get the free Cheat Sheet (PDF) →

Calculator

Total shares44.0000
Average cost per share40.91
Simple average price44.17
Gain or loss840

Keep going