Dollar-Cost Averaging Calculator
Calculate DCA investment results. Compare cost basis with market price to see the advantage of systematic investing across price fluctuations.
Dollar-cost averaging strategy
DCA advantage
$0.00
Total invested
$0.00
Shares acquired
Market avg price
$0.00
Average cost basis
$0.00
Savings vs arithmetic mean
$0.00
Dollar-Cost Averaging Formulas
DCA shows how investing a fixed amount regularly at varying prices results in a lower average cost basis than the arithmetic mean price.
-
Periodic InvestmentFixed dollar amount invested each period -
Purchase PricesStock price at each investment period -
Total SharesSum of shares purchased across all periods -
Average Cost BasisTotal invested divided by total shares (effective per-share cost) -
Average Market PriceSimple average of all purchase prices -
DCA AdvantageSavings from buying more shares at lower prices
DCA works because you buy more shares when prices are low and fewer when prices are high, naturally favoring the lower prices.
Understanding Dollar-Cost Averaging
Dollar-cost averaging (DCA) is investing a fixed amount of money at regular intervals, regardless of the asset’s price. It’s one of the most effective and emotionally sustainable investing strategies.
The Core Idea
Instead of trying to time the market, you invest the same dollar amount every month (or week, or quarter), buying more shares when prices are low and fewer when prices are high.
The Math Behind DCA
Here’s the power: imagine investing $100 monthly into a stock priced at $50, $100, and $75 over three months.
Traditional thinking: Average of prices = ($50+$100+$75) ÷ 3 = $75
DCA result: Your average cost basis is lower:
- Month 1 at $50: Buy 2 shares
- Month 2 at $100: Buy 1 share
- Month 3 at $75: Buy 1.33 shares
- Total: 4.33 shares for $300 invested = $69.30 per share
You paid $69.30 average while the price averaged $75. That’s a 7.7% advantage just from the volatility!
A Worked Example
You commit to investing $500 every quarter:
| Quarter | Price | Shares |
|---|---|---|
| Q1 | $40 | 12.50 |
| Q2 | $35 | 14.29 |
| Q3 | $50 | 10.00 |
| Q4 | $45 | 11.11 |
| Total | 47.90 shares |
- Total invested: $2,000
- Your average cost: $2,000 ÷ 47.90 = $41.75/share
- Price average: ($40+$35+$50+$45) ÷ 4 = $42.50/share
The market averaged $42.50, but you paid $41.75. In volatile markets, this advantage compounds.
When DCA Shines
- Volatile markets: More price swings = more opportunity to buy low
- Long holding periods: Time for volatility to work in your favor
- Emotional investors: Removes the paralysis of “Am I buying at the peak?”
- Limited capital: Spread investment risk across multiple price points
The Downsides
- Slower entry: You don’t own full position immediately
- Market headwind: In strong bull markets, you miss gains by investing gradually
- Discipline required: You must stick to the plan during downturns
DCA in Real Life
Your 401(k) or 403(b) already does DCA automatically—payroll deduction every pay period, buying mutual funds regardless of price.
Index fund investors using regular contributions are practicing DCA without realizing it.
How to Implement DCA
- Set monthly target: What can you afford? $100? $500? $1,000?
- Choose investment: Stock index fund, specific stock, ETF?
- Automate: Set up automatic transfers to your brokerage
- Stay consistent: Don’t pause when markets drop (that’s when DCA works best)
- Review annually: Increase contribution as income grows
Related Calculators
Track your investment growth with the investment return calculator and compound interest calculator. See if DCA beats lump-sum with the stock return calculator.
Advanced DCA Concepts
Systematic Investing Plans (SIPs)
Most mutual fund families and brokers offer SIPs, which automate DCA for you. You set a monthly contribution amount (e.g., $500) and it automatically invests into your chosen fund or ETF on a set date each month. This removes emotion and timing stress from the equation.
Popular SIP platforms:
- Employer 401(k): Automatically deducts from paycheck, invests into funds
- Roth IRA: Contribute monthly via automatic transfers
- Brokerage auto-invest: Many brokers (Fidelity, Schwab, Vanguard) offer automatic investment plans
- Target-date funds: Automatically rebalance as you approach retirement
DCA in Down Markets
DCA shines during bear markets. When prices are falling, many investors panic and stop contributing. DCA investors keep investing systematically, buying more shares at lower prices. This is when DCA’s advantage is greatest.
Example during a 30% market downturn:
- Lump-sum investor: Bought $10,000 at peak (ouch)
- DCA investor: Bought $1,000/month for 10 months, averaging down through the decline
- When market recovers, DCA investor’s lower average cost produces outsized gains
Psychologically, DCA makes downturns bearable because you’re acquiring assets at bargain prices, rather than watching a lump sum lose value.
DCA vs. Lump-Sum Empirical Data
Academic studies comparing DCA to lump-sum investing in broad markets (e.g., S&P 500) show mixed results:
- Bull markets (rising prices): Lump-sum wins (~68% of time historically). You’d rather own the full position from the start.
- Volatile/sideways markets: DCA wins or ties. Your lower average cost pays off.
- Average market conditions: Similar performance, with DCA offering psychological and risk-management benefits.
The key finding: In most realistic market scenarios over 10+ years, DCA and lump-sum produce similar returns. DCA’s real benefit is emotional stability and forced discipline, not mathematical superiority.
Psychological Benefits of DCA
Beyond numbers, DCA addresses behavioral finance shortcomings:
- Removes timing pressure: No anxiety about “buying at the peak”
- Enforces discipline: Automatic contributions prevent procrastination
- Reduces regret: Averaging removes the “if only I’d waited” feeling
- Makes volatility irrelevant: Price swings don’t matter; you’re buying regularly regardless
- Builds long-term thinking: Monthly/quarterly contributions orient you toward years ahead, not day-to-day noise
DCA Pitfalls
DCA isn’t perfect for all scenarios:
- Requires capital availability: You must have funds to invest monthly. If you receive money in lump sums (bonus, inheritance), DCA forces you to hold cash and deploy slowly, potentially missing upside.
- Doesn’t eliminate market risk: In a 10-year bear market, DCA just means you lost consistently over time instead of all at once.
- Dilutes diversification: If deploying to a single stock via DCA, you’re taking concentrated risk throughout. Consider diversifying across many stocks/funds.
- Complexity in tax-advantaged accounts: Some tax-deferred accounts (401k, IRA) limit contribution frequency or timing.
Enhanced DCA Strategies
-
Variable investing: Invest more when markets are down, less when up. This turbocharges DCA advantage but requires discipline to buy when prices are scary.
-
Sector rotation: DCA across different sectors or asset classes (stocks, bonds, real estate, commodities) instead of one investment.
-
Global DCA: Invest regularly in international funds to reduce currency risk and geographic concentration.
-
Dividend reinvestment: If your investment pays dividends, reinvest them automatically. This creates compounding DCA—you’re buying more shares with both contributions and dividends.
DCA Implementation Checklist
- Choose your investment(s): index fund, ETF, specific stock(s)?
- Determine contribution frequency: monthly (most common), weekly, quarterly?
- Set contribution amount: What can you afford? $100/month? $500?
- Automate: Set up automatic transfer or brokerage auto-invest
- Commit: Plan to invest for at least 5–10 years minimum
- Rebalance annually: Check allocation, rebalance if drifted
- Increase contributions annually: As income grows, boost monthly amount by 5–10%
- Review tax implications: Are dividends reinvested efficiently? Any tax-loss harvesting opportunities?
Related calculators: Track performance with the investment return calculator, understand long-term growth potential with compound interest calculator.
Disclaimer: The examples and calculations provided here are for educational purposes. For current benchmark rates, please refer to authoritative sources such as the Federal Reserve (2025) or your local financial institution.\n
Invest $100 at prices $50, $100, $75
3 purchases, 3.52 shares, $85.23 cost basis, 3.67% advantage
Shares: $100÷$50 + $100÷$100 + $100÷$75 = 2+1+1.33=4.33. Cost basis = $300÷4.33=$69.30. Market avg = ($50+$100+$75)÷3=$75. Advantage = $75−$69.30=$5.70.
Invest $500 at prices $20, $50, $30, $60
4 purchases, 60 shares, $33.33 cost basis vs $40 market avg
Shares = $500÷$20 + ... = 25+10+16.67+8.33=60. Cost basis=$2000÷60=$33.33. Market avg=$40. You bought many shares at $20, few at $60.
Stock price steady at $100, invest $1000 each month
No price variation, no DCA advantage
You buy 10 shares monthly at $100. Average cost = $100. Average price = $100. DCA advantage only works with price volatility.
Related calculators
Results are estimates for educational purposes only and may not reflect all factors in your specific situation. This is not financial advice. Consult a qualified financial adviser for personalised guidance.