Dollar-Cost Averaging, the Math Behind Your Average Cost
Dollar-cost averaging is often described with a promise that sounds almost too neat: invest the same amount on a schedule and you will pay less, on average, than the average price. That claim is true in a specific, mathematical sense, and false in a few ways people assume. Working through the numbers shows exactly what the strategy does and what it cannot do.
1. What dollar-cost averaging is
Investor.gov defines dollar-cost averaging as investing your money in equal portions, at regular intervals, regardless of the ups and downs in the market. Because the dollar amount stays fixed, you buy more of an investment when its price is low and less when its price is high.
FINRA points out that many people already do this without naming it. If you contribute to a 401(k) from every paycheck, that money is invested on a fixed schedule whatever the market is doing.
2. A four-month example
Assume you invest $200 a month in a fund for four months, and the share price on each purchase date is as shown. These prices are invented for illustration.
| Month | Amount invested | Share price | Shares bought |
|---|---|---|---|
| 1 | $200 | $20 | 10.00 |
| 2 | $200 | $16 | 12.50 |
| 3 | $200 | $25 | 8.00 |
| 4 | $200 | $20 | 10.00 |
| Total | $800 | 40.50 |
Now compare two different "averages":
- Average share price across the four dates: ($20 + $16 + $25 + $20) / 4 = $20.25.
- Your average cost per share: $800 / 40.50 shares = about $19.75.
You paid about 50 cents less per share than the simple average of the prices. Nothing clever happened. The month with the $16 price simply bought more shares, so it carries more weight in your total.
3. Why your average cost is lower
This is a property of averages, not of markets. When you spend a fixed number of dollars each time, your cost per share is what mathematicians call the harmonic mean of the prices. The harmonic mean of a set of positive numbers is always less than or equal to their ordinary average, and the two are equal only when every price is the same.
So the claim holds every time, as long as prices vary at all: a fixed dollar amount on a schedule gives you an average cost at or below the average price on your purchase dates. The more prices bounce around, the bigger the gap.
FINRA phrases the same point carefully: dollar-cost averaging sometimes results in a lower average price per share over time. The comparison that is guaranteed is against the average of the prices you bought at. It is not a guarantee of a profit, or of beating other ways to invest the same money.
4. What it does not promise
4.1. It does not beat a lump sum in a rising market
Suppose you have $800 ready now, and the price climbs steadily: $20, $22, $24, $26.
| Approach | Shares bought | Average cost per share |
|---|---|---|
| $800 all in month 1 | 40.00 | $20.00 |
| $200 a month for four months | 35.12 | about $22.78 |
Spreading the money out still produces an average cost ($22.78) a bit below the average price ($23.00). But investing everything on day one bought almost five more shares. FINRA notes that holding money as cash and investing it gradually has lower risk but often produces lower returns than lump sum investing, especially over longer periods.
4.2. It does not prevent losses in a falling market
Now let the price slide: $20, $18, $16, $14. Spreading $800 over four months buys 47.90 shares at an average cost of about $16.70. At the end, at $14 a share, those shares are worth about $670.56. That is less than the $800 you put in.
A lump sum at $20 would have bought 40 shares, worth $560 at the end. Dollar-cost averaging lost less in this case, which matches FINRA's point that investing gradually can limit losses during significant declines, because the money not yet invested is unaffected by the drop. But it still lost money.
5. Where the strategy earns its place
The strongest case for dollar-cost averaging is not the arithmetic. It is behavior. FINRA describes how a fixed schedule can remove some emotion from investing, so you are less likely to sell in a panic after a drop or rush in after a run-up.
The cash-drag argument against it also disappears in one common situation. When money arrives with each paycheck, as it does in a workplace plan, there is no lump sum sitting idle. Investing as you earn is simply the only option, and the averaging effect comes along for free.
6. Costs to watch
FINRA flags one practical drawback: if you pay a commission or fee on every purchase, more frequent purchases mean more fees. A $5 charge on each $200 purchase is 2.5% of every contribution. In the first example, four such charges total $20, or about 49 cents per share on 40.5 shares, which uses up almost all of the 50-cent advantage. Check what your account charges per transaction before choosing a schedule.
7. Key takeaways
- Dollar-cost averaging means investing equal dollar amounts at regular intervals, regardless of price.
- Because fixed dollars buy more shares at low prices, your average cost is always at or below the average purchase price.
- In the example, $800 spread over four months cost $19.75 per share against an average price of $20.25.
- It does not guarantee a profit, and in a steadily rising market a lump sum buys more shares.
- Per-purchase fees can cancel the averaging benefit, so check transaction costs first.