Skip to main content
All posts

What is Dollar-Cost Averaging? Definition, Formula, and Example

Dollar-cost averaging is the strategy of investing a fixed dollar amount into an asset at regular intervals regardless of price, buying more shares when prices are low and fewer when prices are high.

What is Dollar-Cost Averaging?

Dollar-cost averaging (DCA) is an investment method in which a fixed dollar amount is deployed into an asset on a fixed schedule — weekly, monthly, per paycheck — regardless of the asset's price. Because the dollar amount is constant, each purchase buys more shares when prices are low and fewer when prices are high. The result is an average cost per share below the arithmetic average of the prices paid. DCA is the default mechanism of 401(k) contributions and recurring-buy programs at every major broker.

How the Math Works

For *n* purchases of $D dollars each at prices P₁, P₂, …, Pₙ:

  • Total shares = Σ (D / Pᵢ)
  • Average cost per share = Total invested / Total shares = n·D / Σ(D / Pᵢ) = n / Σ(1/Pᵢ)

This is the harmonic mean of the purchase prices. The harmonic mean is always at or below the arithmetic mean, with the gap widening as price volatility increases. That mathematical property is the entire mechanical edge of DCA: it is a volatility-harvesting effect, not a market-timing signal.

Worked Example: Six Months of QQQ

An investor puts $1,000 per month into QQQ on the first of each month:

MonthPriceShares Bought
1$5201.923
2$5002.000
3$4602.174
4$4402.273
5$4802.083
6$5101.961
  • Total invested: $6,000. Total shares: 12.414.
  • Average cost per share = $6,000 / 12.414 = $483.34
  • Arithmetic average price = $485.00. The harmonic-mean effect saved $1.66 per share.
  • If QQQ trades at $510 after month six, the position is worth $6,331 — a 5.5% gain, even though the current price is below the month-one purchase price of $520. More than 40% of the shares were accumulated below $480 during the dip.

When Investors Use DCA

  • Income-matched investing. Salaried investors invest as they earn; DCA is the natural structure of payroll contributions.
  • Reducing timing regret. Splitting a lump sum into tranches caps the psychological damage of investing everything the day before a 20% drawdown — a real behavioral benefit tied to the disposition effect and loss aversion.
  • Volatile, high-conviction assets. The harmonic-mean benefit scales with volatility, which is why DCA is popular for crypto and high-beta growth stocks.
  • Systematic accumulation plans. Recurring buys into index ETFs automate discipline and remove discretionary timing decisions entirely.

Limitations and Common Misconceptions

  • Lump-sum investing beats DCA most of the time. Because equity markets rise more often than they fall, deploying cash immediately has historically outperformed spreading it out in roughly two-thirds of rolling periods (Vanguard's long-run studies put lump-sum ahead about 68% of the time over 12-month windows). DCA on an existing lump sum is a risk-reduction choice, not a return-maximization choice.
  • DCA is not a free lunch. The harmonic-mean benefit only helps if the asset recovers. Averaging down into a structurally declining asset — a value trap or a delisting candidate — just accumulates a larger losing position.
  • "DCA protects you from crashes" is overstated. It reduces the cost basis of new contributions; it does nothing for the shares already held. A portfolio built over 10 years of DCA still takes the full hit in year 11's bear market.
  • Transaction costs and fractional shares. With commission-free trading and fractional shares this is now minor, but frequent small purchases into wide-spread instruments still leak money through the bid-ask spread.
  • It is a contribution strategy, not an exit strategy. DCA says nothing about rebalancing, valuation, or when to sell.