Dollar-cost averaging
Investing a fixed amount at regular intervals instead of all at once.
4 min readLesson 50 of 57Interactive
In short
The same dollars buy more shares when prices are low and fewer when they're high. Investing a lump sum at once usually ends higher, because markets rise more often than they fall, but spreading it out softens the regret of buying right before a drop.
Why it matters
Most people don't have a big pile of money to invest on day one. They have a paycheck, and they invest a slice of it every month. That's dollar-cost averaging, whether they call it that or not, and it's how most ordinary investors build wealth.
It also answers a common worry. If you do have a lump sum, putting all of it in the day before a crash feels awful. Spreading it out means no single bad day decides your result. That comfort has a price, though, and it's worth knowing what it is.
How it works
You pick a fixed amount and a schedule, say $500 on the first of every month, and stick to it whatever the price. Because the amount is fixed, it buys more shares when the price is low and fewer when it's high. The result is that your average cost per share ends up below the simple average of the prices you paid.
When you already have a lump sum, the choice is different. Investing it all at once puts the whole amount to work right away. Spreading it out keeps part of it in cash for months, and since markets rise more often than they fall, that waiting money usually misses gains. Dollar-cost averaging tends to win only when prices fall during the months you're buying.
In MarketLab's backtester, the starting cash is split into the number of installments you choose. It buys on the first day and then at the start of each month, each time spending an equal share of the cash that's left, so the last purchase uses it all up.
Average cost per share = total amount invested ÷ total shares bought
What each share cost you on average, which beats the average price because cheap months buy more shares.
A worked example
You invest $100 a month for five months. The price goes $50, $40, $25, $40, $50: a dip, then back to where it started.
- Shares each month: $100 ÷ $50 = 2, $100 ÷ $40 = 2.5, $100 ÷ $25 = 4, $100 ÷ $40 = 2.5 and $100 ÷ $50 = 2.
- Total: $500 bought 2 + 2.5 + 4 + 2.5 + 2 = 13 shares.
- Average cost: $500 ÷ 13 ≈ $38.46 a share, below the average price of ($50 + $40 + $25 + $40 + $50) ÷ 5 = $41.
- At the end: 13 × $50 = $650, a 30% gain. The same $500 invested all at once at $50 would have bought 10 shares, worth $500 at the end.
Result: Here dollar-cost averaging won, because the price dipped while it was buying. If the price had climbed steadily instead, the lump sum would have won, because it bought everything at the lowest price.
Try it
All at once, or a bit each month?
Investing all at once ends at $13,586; spreading it over 12 months ends at $13,718.
All at once
$13,586
Monthly
$13,718
Average cost per share
$99.04
Average price paid on: $99.41
$12,000 over a year and a half of generated prices.
How to read it
- Steadily rising market
- Lump sum wins. Every month you wait, the price is higher, so the later installments buy fewer shares.
- Market that dips, then recovers
- Dollar-cost averaging wins. The cheap months buy extra shares, and the average cost ends below where you started.
- Choppy, sideways market
- The two end up close. The average cost lands near the middle of the range either way.
In the real world
- Workplace retirement plans such as a 401(k) take a slice of every paycheck and invest it automatically. That's dollar-cost averaging in practice, and it's why millions of people keep buying through crashes without having to decide to.
- Studies of US markets comparing the two ways to invest a lump sum have found that investing it all at once came out ahead about two-thirds of the time, because markets rose in most periods. The gap was usually modest.
- Many advisers still suggest spreading a large windfall over several months for people who'd otherwise not invest at all. The goal there is getting started without regret, not a higher return.
Common mistakes
- Thinking it lowers risk for good. Once all the money is in, you hold exactly what a lump-sum investor holds. It only changes the timing of getting there.
- Stopping the purchases when prices fall. The low months are where the strategy earns its advantage, so pausing then throws it away.
- Ignoring trading costs. With a fixed fee per trade, many small purchases cost more than one big one.
See it in MarketLab
Test yourself
Optional: 4 quick questions on the words, using the idea, and how it plays out in real markets.
Loading your answers…