DCA Inputs

$
Fixed dollar amount invested each period
Minimum 2, maximum 60 periods
Used for period labels and explanation text
Regular contributions compare DCA with a hypothetical lump-sum path.
$
Defaults to the last scheduled purchase price
$
$
$
$
$
$
DCA Formula
Average Cost = Total Invested / Total Shares
For equal fixed-dollar contributions, average cost is the harmonic mean of the purchase prices.
Ryan O'Connell, CFA
Calculator by Ryan O'Connell, CFA

DCA Results

DCA Average Cost $45.77 DCA Ahead

DCA bought more shares during lower-price periods and ended ahead in this sample path.

Total Invested $3,000
DCA Shares 65.5479
Simple Avg Price $46.17
Cost Discount $0.40
DCA Ending Value $3,408.49 +13.62%
Lump-Sum Ending Value $3,120.00 +4.00%
Difference +$288.49 DCA wins this path

Average Cost by Purchase

Formula Breakdown

Shares Bought = Contribution / Period Price
Average Cost = Total Invested / Total Shares

Period-by-Period Schedule

Period Price Investment Shares Bought Cumulative Shares Running Avg Cost
Model Assumptions
  • Each period invests the same fixed dollar amount.
  • All scheduled prices and final/current price must be greater than zero.
  • Lump-sum comparison invests the same total dollars at the first scheduled price.
  • No dividends, taxes, commissions, bid-ask spreads, slippage, stock splits, or cash interest modeled.
  • Results are deterministic scenario math, not a forecast of future returns.
  • Regular contributions are different from holding a windfall in cash before gradual deployment.

For educational purposes. Not financial advice. Market conventions simplified.

Understanding Dollar-Cost Averaging

Video Explanation

Video: Dollar-Cost Averaging Explained | Better Than Timing the Market?

What is Dollar-Cost Averaging?

Dollar-cost averaging is a fixed-dollar investing schedule. You invest the same amount each period regardless of whether the market is up or down. When prices are low, that fixed amount buys more shares. When prices are high, it buys fewer shares.

Key Formula
Average Cost per Share = Total Invested / Total Shares Purchased
For equal fixed-dollar purchases, this is the harmonic mean of the purchase prices.

DCA vs Lump Sum

This calculator compares DCA with a lump-sum path using the same total dollars. If prices fall after the first purchase and later recover, DCA may win because it bought more shares at lower prices. If prices rise steadily, lump-sum investing usually wins because more capital was invested earlier.

Regular Contributions

Paycheck investing
DCA is often the natural approach when money becomes available over time through wages, 401(k) contributions, or monthly savings.

Windfall Deployment

Cash available now
Gradual investing can reduce regret risk, but delaying investment also creates opportunity cost if markets rise.

When to Use This Calculator vs. Stock Average Calculator

Use this calculator to test a recurring fixed-dollar DCA schedule and compare it with a lump-sum scenario. Use the Stock Average Calculator when you already have arbitrary historical purchase lots and simply need cost basis.

For the full strategy discussion, see the guide to dollar-cost averaging.
Download This Calculator as an Excel Template Interactive model with editable formulas — customize, save, and share.
Get Excel Template

Frequently Asked Questions

Dollar-cost averaging is an investment strategy where you invest the same dollar amount at regular intervals, regardless of market price. This causes you to buy more shares when prices are low and fewer shares when prices are high.

Divide total dollars invested by total shares purchased. For equal fixed-dollar contributions, this average cost is the harmonic mean of the purchase prices, which is less than or equal to the simple average price when prices vary.

Not necessarily. Lump-sum investing often has higher expected returns because more money is invested sooner. DCA may be useful for regular paycheck investing, reducing timing anxiety, or gradually deploying a windfall when the investor is concerned about short-term downside risk.

The comparison uses the same total dollars and shows what would have happened if all money was invested at the first price instead of spread across the schedule. It is a scenario comparison, not a prediction about which strategy will win in the future.

No. DCA does not guarantee profit or protect against loss. If the investment declines and does not recover, the strategy can still lose money. DCA changes the timing and average cost of purchases, not the underlying investment risk.

The Stock Average Calculator computes cost basis from arbitrary purchases. This calculator models a regular fixed-dollar contribution schedule, creates each period's share purchase automatically, and compares the schedule with a lump-sum investment.
Disclaimer

This calculator is for educational purposes only and does not constitute investment advice. It uses hypothetical prices and does not account for dividends, taxes, fees, bid-ask spreads, stock splits, or cash interest. Actual investment results will vary, and past performance does not guarantee future returns.