New guide:What is the P/E Ratio? How to Actually Use It
All guides
Investing8 min read

Dollar-Cost Averaging: How the Math Actually Works

DCA is the default advice for long-term investors. Here is the arithmetic behind it, when it beats lump-sum investing, and when it does not.

Use the average cost (DCA) calculator

"Just dollar-cost average into an index fund." It may be the most common piece of investment advice on the internet, and for once the popular advice is mostly right. Few people can explain the arithmetic behind it, though, or the one situation where it reliably comes out behind. This article covers both.

What is Dollar-Cost Averaging?

Dollar-cost averaging (DCA) means investing a fixed amount of money at regular intervals, such as $500 on the first of every month, regardless of what the market is doing.

The alternative is lump-sum investing, which means putting all the available money in at once.

DCA works because of a simple mechanical property. When prices are low, your fixed amount buys more shares, and when prices are high, it buys fewer. Without having to predict anything, you end up buying more near the bottom and less near the top.

The Arithmetic of Buying the Dip

Suppose you invest $300 per month in a fund for four months while the price swings around:

MonthPriceShares Bought
January$3010.0
February$2015.0
March$1520.0
April$2512.0

You invested $1,200 in total and own 57 shares, so your average cost per share is $21.05 ($1,200 ÷ 57).

The average price over those four months, however, was $22.50, which means your average cost came in below the average price. That result isn't luck. Because a fixed dollar amount buys more shares when prices are low, DCA always produces an average cost at or below the average price over the period. Mathematicians call this the harmonic mean effect, and investors describe it as buying the dip automatically.

At April's price of $25, your 57 shares are worth $1,425. That's an 18.75% gain, even though the price itself is down 17% from January, and it comes entirely from accumulating extra shares while the price was at its lowest.

DCA vs. Lump Sum: What the Evidence Shows

The part the brochures leave out is that if you already have the money, lump-sum investing beats DCA about two-thirds of the time.

The reason is unremarkable: markets rise more often than they fall. Money sitting on the sidelines waiting to be averaged in is more likely to miss gains than to avoid a crash. Studies covering decades of market history consistently find lump sum ahead roughly 65–70% of the time, by an average of 1.5–2.5% over the first year.

DCA is still widely recommended, and for three sound reasons.

The first is that most people don't have a lump sum to invest. If you're investing from each paycheck, DCA isn't really a strategy so much as the only option available, and a very good one.

The second is that regret tends to hurt more than missed gains. If you invest a bonus on Monday and the market drops 20% by Friday, there's a real chance you panic-sell and give up on investing altogether. The psychological protection DCA offers has value if it keeps you invested.

The third is that it removes timing decisions. Each day you spend waiting for "a better entry point" is a market-timing decision, and a fixed schedule eliminates that whole category of mistakes.

A fair summary, then, is that DCA is the best approach for money you earn over time, and a reasonable form of insurance, with a modest expected cost, for a lump sum you're nervous about investing all at once.

Averaging Down Is Not the Same Thing

DCA is sometimes confused with averaging down, which means deliberately buying more of a falling stock to lower your average cost. The two are very different bets.

DCA into a broad index works because diversified markets have always recovered eventually. Averaging down into a single stock works only if that particular company recovers, and some never do. Lowering your average cost from $80 to $50 is no comfort if the business goes to zero.

As a rule of thumb, mechanical averaging suits things that can't go to zero, such as broad markets. With individual stocks, buy more only when your original thesis still holds and the price has simply become cheaper, not as a way to repair your average.

Making DCA Work in Practice

  • Automate it. The whole benefit depends on ignoring how you feel about the market, and a standing order on payday takes care of that.
  • Don't pause during crashes. The months that feel worst are exactly when your fixed contribution buys the most shares. Stopping during a downturn switches off the mechanism that makes DCA work.
  • Pick a sensible interval. Monthly is standard. Weekly and monthly schedules produce almost no measurable difference, so consistency matters more than frequency.
  • Track your average cost. Knowing your true cost basis helps you keep daily price moves in perspective and makes tax time easier.

What DCA Can and Can't Do

Dollar-cost averaging won't beat the market, and it isn't designed to. It's a system for turning income into ownership steadily, without forecasts or good timing. The math ensures your average cost stays at or below the average market price over the same period, and automation keeps your own worst instincts out of the process.

For most people, that combination does better than a cleverer strategy they wouldn't stick with.

Run the numbers yourself

Put this guide into practice with the average cost (DCA) calculator. It is free and needs no account.

Open the average cost (DCA) calculator

Keep reading

Investing

What is the P/E Ratio? How to Actually Use It

The price-to-earnings ratio is the most quoted number in investing, and the most misused. Learn what P/E really tells you, when it lies, and how to use it properly.

9 min read