Investing strategies

Dollar-Cost Averaging (DCA): How It Works, Its Limits and Real Backtests

What dollar-cost averaging is, how it lowers your average cost, how it compares with a lump sum, and live backtests of monthly S&P 500 investing.

Key takeaways

  • Dollar-cost averaging means investing the same dollar amount on a fixed schedule, whatever the price, so each payment buys more shares when prices are low and fewer when they are high.
  • Your average cost per share is the harmonic mean of the prices you paid, which is always at or below their simple average: in the five-month example below, $76.92 against $82.
  • DCA does not prevent losses: $100 a month in the S&P 500 with dividends from January 2000 was still worth about 37% less than the money put in by March 2009.
  • When you already have a lump sum, investing it at once has usually beaten spreading it out, because markets rise more often than they fall.
  • The real strength of DCA is behavioral: an automatic plan keeps you buying through crashes, when most people are tempted to stop.

Dollar-cost averaging (DCA) is the habit of investing a fixed amount of money at regular intervals, for example $500 into an S&P 500 index fund on the first of every month, without trying to guess where prices are heading. Because the amount is fixed and the price is not, you automatically buy more shares when the market is cheap and fewer when it is expensive.

If you contribute to a 401(k) from every paycheck, you are already doing it. This guide shows the arithmetic with exact numbers, what monthly investing in the S&P 500 and Bitcoin actually produced, where the strategy falls short, and how to put it on autopilot.

How does dollar-cost averaging work?

Take $100 invested at the start of each month for five months in a fund whose price moves like this: $100, $80, $50, $80, then back to $100.

MonthPriceInvestedShares bought
1$100$1001.00
2$80$1001.25
3$50$1002.00
4$80$1001.25
5$100$1001.00
Total—$5006.50

You paid $500 for 6.5 shares, an average cost of $76.92 per share. The fund ends exactly where it started, at $100, yet your 6.5 shares are worth $650: a 30% gain on a round trip that went nowhere. The month the price halved is the month your $100 bought twice as many shares.

Why your average cost beats the average price

The simple average of the five prices is $82. Your cost is lower because a fixed dollar amount gives more weight to low prices. Mathematically, the average cost per share under DCA is the harmonic mean of the prices:

Average cost = n ÷ (1/P₁ + 1/P₂ + … + 1/Pₙ) = 5 ÷ (1/100 + 1/80 + 1/50 + 1/80 + 1/100) = 5 ÷ 0.065 = $76.92

The harmonic mean is never higher than the simple average, and it is strictly lower whenever the prices are not all equal. So with a fixed amount you always pay less per share than the average price over the period. That is a real property of the method, but notice what it does not say: it compares DCA with buying a fixed number of shares each month, not with investing all your money on day one.

The case where DCA loses

Now let the price rise steadily: $100, $110, $120, $130, $140. The same $100 a month buys 4.23 shares at an average cost of $118.32, again below the $120 average price. At $140 they are worth $591.63. Had you put all $500 in during month one, you would hold 5 shares worth $700. In a rising market, money waiting on the sidelines misses the climb, and markets have risen in most years.

Why DCA helps investors behave better

The mathematical edge of DCA is modest. Its larger benefit is psychological.

  • It removes the timing decision. No one can reliably call tops and bottoms, and trying usually means sitting in cash waiting for a dip that comes later and from a higher level. Our analysis of what missing the market's best days costs shows why that wait is expensive.
  • It turns crashes into something useful. A falling market feels less threatening when you know your next contribution buys more shares than the last one.
  • It limits regret. Investing everything the week before a 30% drop is painful enough that some people never invest again. Spreading purchases caps the damage of bad luck on any single day.
  • It matches how people earn. Most investors do not hold a lump sum; they have a salary. Investing part of each paycheck is DCA by necessity.

What monthly investing in the S&P 500 actually produced

The table below shows $500 invested on the same day each month in the S&P 500 total-return index (^SP500TR, dividends reinvested) from several start dates up to the latest close. January 2000 and January 2008 are among the worst possible start dates: each was followed within months by a bear market of roughly 50%.

Start Invested Value Gain
$161,500 $936,113 +480%
$113,500 $487,816 +330%
$65,500 $148,770 +127%
$35,500 $53,768 +51%
$500 invested in S&P 500 with dividends reinvested on the same day every month, valued at the close of . Before fees and taxes. Run your own simulation

Even the investor who began at the peak of the dot-com bubble has a large multiple of the money put in. The path, though, was rough. Running the same plan with $100 a month from January 2000, the account held about $7,000 on March 9, 2009 against $11,100 contributed, a loss of roughly 37% after more than nine years of disciplined saving. It only moved above the amount invested for good in July 2010.

The headline index, ^GSPC, ignores dividends and would show smaller numbers. For the long-run returns behind these figures, see S&P 500 Historical Returns and Annual Performance.

And with Bitcoin?

DCA is often promoted for Bitcoin because its swings are so violent. The same mechanics apply, but so does the same caveat: buying every month into an asset that falls 80% still leaves you deeply in the red for a while. The $100-a-month Bitcoin backtest shows the results from the worst start dates, including the 2017 and 2021 peaks.

Simulate a monthly S&P 500 plan

What are the limits of dollar-cost averaging?

It does not protect against losses

DCA lowers your cost relative to the average price; it does not guarantee that the average price was a good one. If the asset falls and never recovers, a steady buyer simply accumulates more of a losing position. Japan's Nikkei 225 took more than three decades to regain its 1989 peak in price terms. DCA works on assets that rise over time, which is why it pairs naturally with broad, diversified index funds rather than single stocks.

A lump sum usually wins

If you already have the money, spreading it over a year has usually left you with less. Our backtest on the S&P 500 with dividends found that investing at once beat a 12-month DCA in about three start months out of four between 1989 and 2015. The full method and results are in Lump Sum vs. Dollar-Cost Averaging.

Costs and taxes still apply

Most US brokers charge no commission on stock and ETF trades, so small monthly purchases are cheap. Fractional shares let a fixed dollar amount be invested fully. Where commissions or spreads remain, as on many crypto apps, frequent small buys can cost noticeably more than one large one.

How to set up an automatic investment plan

The best DCA plan is the one that runs without you. Practical steps:

  1. Start with your 401(k). Payroll contributions are dollar-cost averaging by design: the same percentage of each paycheck goes in, whatever the market did that week. If your employer matches contributions, capturing the full match comes first.
  2. Automate an IRA or taxable account. Most large brokers let you schedule a recurring transfer and an automatic purchase of a fund or ETF on a fixed day each month. Contribution limits for IRAs and 401(k)s change most years; check the current figures with the IRS.
  3. Pick a broad, low-cost fund. An S&P 500 ETF such as Vanguard S&P 500 ETF (VOO), with an expense ratio around 0.03% a year, or a total-market or global fund. If you are new to funds, read What Is an ETF? How ETFs Work, Explained.
  4. Choose an amount you can keep paying in a bad year. A plan you cancel in a recession loses its main advantage, which is buying when prices are low.
  5. Leave it alone. Review once a year, raise the amount when your income rises, and resist pausing it when the news is grim.

Watch the cash, not just the purchases. Some accounts move money in automatically but leave it uninvested until you place an order. Check that the recurring transfer is paired with a recurring purchase.

FAQ

Is dollar-cost averaging a good strategy?

For money you earn over time, yes: investing each paycheck as it arrives is both natural and historically effective with diversified index funds. For a lump sum you already have, investing it at once has usually produced more, though DCA can still be a reasonable way to limit regret.

How often should I dollar-cost average, weekly or monthly?

The frequency matters far less than consistency. Monthly is the most common because it lines up with pay schedules; weekly or biweekly purchases give very similar results over the long run when trading is commission-free.

Does DCA work in a bear market?

It keeps you buying at lower prices, which pays off when the market recovers. But the account can show losses for years: a plan started in January 2000 was still below the money invested as late as July 2010.

Can you lose money with dollar-cost averaging?

Yes. DCA spreads out your entry points but does not change what the asset ultimately does. If it falls and stays down, a regular buyer loses money too.

This article is for education only and is not investment advice. Past performance does not guarantee future results. Live figures are computed from daily closing prices and can lag the market by a day or more.

Instruments in this article

Keep reading