M5Mine to FiveHours after five
An early stock ticker machine under a glass dome

Dollar-Cost Averaging Explained

What dollar-cost averaging is, how it works with a worked share-purchase table, how it compares with investing a lump sum, and when it makes sense.

Dollar-cost averaging (often shortened to DCA) is one of the simplest ideas in investing: you invest a fixed dollar amount on a regular schedule, no matter what the market is doing. $200 on the first of every month, $100 every payday, or a percentage of each paycheck going into a 401(k).

If you contribute to a workplace retirement plan, you are probably already doing it without calling it anything. Each paycheck buys a little more of your chosen funds at whatever the price happens to be that day.

This guide explains how DCA works, walks through a share-by-share example, compares it honestly with investing a lump sum all at once, and covers the mistakes that undermine it. It is educational, not personal advice.

How dollar-cost averaging works

The mechanics are straightforward:

  1. Pick an amount you can invest consistently.
  2. Pick a schedule (weekly, every payday, monthly).
  3. Pick the investment, ideally something diversified like a broad index fund.
  4. Invest that amount on schedule, every time, regardless of headlines or recent prices.

Because the dollar amount is fixed, the number of shares you buy changes with the price. When prices are high, your $200 buys fewer shares. When prices are low, the same $200 buys more. Over time this means you automatically buy more shares when they are cheaper.

Worked example: DCA in a choppy market

Suppose you invest $200 a month for six months into a fund whose price moves around. These prices are made up for illustration.

Month Share price Amount invested Shares bought ($200 / price)
1 $50 $200 4.000
2 $40 $200 5.000
3 $25 $200 8.000
4 $40 $200 5.000
5 $50 $200 4.000
6 $55 $200 3.636
Total $1,200 29.636

Now the key numbers:

  • Your average cost per share: $1,200 / 29.636 shares = about $40.49
  • The average of the six prices: ($50 + $40 + $25 + $40 + $50 + $55) / 6 = $260 / 6 = about $43.33

Your average cost is below the simple average price. That is not a trick: you bought 8 shares in month 3, when the price was lowest, and only 3.636 in month 6, when it was highest. A fixed dollar amount naturally weights your purchases toward the lower prices.

At the end of month 6, with the price at $55, your holding is worth 29.636 x $55 = about $1,630, against $1,200 invested.

The honest comparison: DCA vs lump sum

DCA is often presented as simply “better.” The real picture is more nuanced, and it depends on what situation you are in.

Situation 1: you get paid over time

Most people invest from each paycheck because that is when they have the money. In that case there is no lump sum to compare with. Investing regularly as you earn is just sensible, and DCA is the natural way to do it.

Situation 2: you already have a lump sum

If you receive a bonus, inheritance, or proceeds from a sale, you face a real choice: invest it all now, or spread it out over several months.

Let’s use the same $1,200 and compare.

Same choppy market as above, lump sum in month 1:

  • $1,200 / $50 = 24 shares
  • Value at month 6: 24 x $55 = $1,320
  • DCA ended at about $1,630, so DCA came out ahead here, because prices dipped after the lump sum went in.

A steadily rising market. Now suppose prices go $50, $52, $55, $57, $60, $62.

Month Share price DCA shares bought ($200 / price)
1 $50 4.000
2 $52 3.846
3 $55 3.636
4 $57 3.509
5 $60 3.333
6 $62 3.226
Total 21.550
  • DCA value at month 6: 21.550 x $62 = about $1,336
  • Lump sum in month 1: 24 shares x $62 = $1,488

Here the lump sum wins by about $152, because every month you waited, the price was higher.

What history suggests

Since broad stock markets have historically risen more often than they have fallen over long periods, money invested earlier has usually had more time in the market. Studies of historical data, including a widely cited Vanguard analysis, found that investing a lump sum immediately beat spreading it out over the following months in roughly two out of three periods studied. That is history, not a guarantee: in the other periods, DCA came out ahead, sometimes by a lot, as in our choppy-market example.

So the trade-off for a lump sum looks like this:

Lump sum now Spread out with DCA
Expected result, historically Often higher, because more money is invested sooner Often slightly lower
Regret if the market drops right after High Lower
Emotional ease Harder for many people Easier for many people
Risk of never finishing Low; it is done Some; people sometimes pause when markets fall

If spreading a windfall over, say, six to twelve months is what lets you invest it at all rather than sitting in cash for years, that can be a reasonable choice. A plan you follow beats a theoretically better one you abandon.

Why DCA helps in practice

The biggest benefit of DCA is behavioral, not mathematical.

  • It removes market timing. Nobody reliably knows when the market will rise or fall. DCA makes the question irrelevant for your regular contributions.
  • It turns downturns into something less frightening. When prices fall, your fixed amount buys more shares. That framing makes it easier to keep going.
  • It builds a habit. Automatic contributions mean investing happens whether or not you feel motivated that month.
  • It works with small amounts. Combined with fractional shares, even $25 a month can go into a diversified fund. Our guide to starting with $100 covers how to set this up.

What DCA does not do

  • It does not prevent losses. If an investment falls and stays down, DCA means you kept buying something that kept losing value. The investment choice still matters, which is why DCA is usually paired with diversified funds rather than single stocks. See index funds vs individual stocks.
  • It does not guarantee a profit. Regulators’ investor education materials make the same point: a periodic investing plan cannot ensure a profit or protect against loss in a declining market.
  • It does not replace an emergency fund. If you have to sell during a downturn to cover an expense, the averaging benefit is lost.

How to set it up

  1. Choose your account. A 401(k) through payroll is DCA by default. For an IRA or taxable account, most brokerages offer automatic transfers and automatic investments.
  2. Pick the amount. Start with what you can sustain through a tight month. You can raise it later.
  3. Match the schedule to your income. Investing a day or two after payday reduces the chance the money gets spent first.
  4. Choose diversified investments. A broad index fund or a target-date fund is a common choice for regular contributions. Our guide on building a simple portfolio explains how to pick a mix.
  5. Check fees. Make sure recurring purchases do not trigger a transaction fee each time. A $5 fee on a $100 monthly purchase is a 5% cost.
  6. Review once or twice a year, not every week. Increase the amount when your income rises.

Common mistakes

  • Pausing when the market drops. This is the most damaging mistake, because it skips exactly the purchases that buy the most shares.
  • “Enhancing” DCA with timing. Doubling up when you feel prices are low and skipping when you feel they are high turns a simple system into guesswork.
  • Using DCA on a single speculative asset. Averaging into one volatile stock or coin does not remove the risk that the asset itself fails.
  • Spreading a lump sum over too long a period. Stretching a windfall over several years leaves a lot of money in cash with little plan.
  • Ignoring the account type. Regular contributions to a tax-advantaged account such as a 401(k) or IRA may have advantages a taxable account does not; see our retirement accounts guide.

Key takeaways

  • Dollar-cost averaging means investing a fixed amount on a regular schedule, regardless of price.
  • A fixed amount buys more shares when prices are low, which can pull your average cost below the average price.
  • If you invest from each paycheck, DCA is simply the natural way to invest.
  • With a lump sum already in hand, investing it all at once has historically come out ahead more often, but not always.
  • The main benefit is behavioral: it keeps you investing through ups and downs.
  • DCA does not prevent losses or guarantee profits.

Next steps

  1. Set up an automatic monthly or per-paycheck investment, even a small one.
  2. Pair it with a diversified fund rather than a single stock.
  3. Write a one-line rule for yourself: “I do not pause contributions because of market news.”
  4. Read the SEC’s investor education material at Investor.gov for more on long-term investing basics.

This article is for general education only and is not financial, investment, tax or legal advice. All investing involves risk, including the possible loss of the money you invest. Consider speaking with a qualified professional about your own situation. See our editorial policy and disclaimer. Spotted an error? Email hello@minetofive.com.

James SmithWriter, Investing and Financial Freedom

James covers long-term investing, retirement accounts and the math behind financial independence. He writes for beginners who want to understand the why, not just the what.