Dollar Cost Averaging (DCA) Calculator
Calculate your average cost basis investing the same amount regularly.
See how DCA reduces risk over time with total invested versus current portfolio value.
What dollar-cost averaging actually does
Dollar Cost Averaging (DCA) means investing a fixed dollar amount at regular intervals (monthly, biweekly), regardless of market conditions. The strategy was popularized in the 1949 book The Intelligent Investor by Benjamin Graham — Warren Buffett’s mentor.
The formula for future value of a regular contribution stream:
FV = P × (1+r)^n + PMT × [(1+r)^n − 1] ÷ r
Where P is initial lump sum, PMT is per-period contribution, r is per-period rate, n is number of periods.
This is the future value of an “annuity due” — a series of payments made at regular intervals.
The mechanic: more shares when cheap, fewer when expensive
The key DCA insight: a fixed dollar amount buys more shares when prices are low and fewer when prices are high. Over time, this automatically lowers your average cost per share compared to lump-sum buying at the average price.
Example: invest $1,000 monthly for 5 months, share prices: $20, $15, $10, $15, $20
- Month 1: $1,000 ÷ $20 = 50 shares
- Month 2: $1,000 ÷ $15 = 66.67 shares
- Month 3: $1,000 ÷ $10 = 100 shares
- Month 4: $1,000 ÷ $15 = 66.67 shares
- Month 5: $1,000 ÷ $20 = 50 shares
- Total invested: $5,000
- Total shares: 333.33
- Average cost: $15.00
- Average market price during period: $16.00
DCA bought you shares at $15 average when the market traded at $16 average. The difference is the “DCA advantage” — small but real over many periods.
Lump sum vs DCA — the surprising historical winner
Despite intuition, lump-sum investing usually beats DCA when you have all the money available. Vanguard’s 2012 study analyzed historical data from US, UK, and Australia markets from 1926-2011:
| Comparison | Lump-sum wins | DCA wins |
|---|---|---|
| US market | 66% | 34% |
| UK market | 64% | 36% |
| Australian market | 68% | 32% |
Why does lump-sum usually win? Because markets are positive most of the time. By delaying investment, DCA leaves money in cash (lower returns) waiting for market dips that often don’t come.
When DCA wins: in periods of declining or sideways markets, or when timing happens to be poor.
The honest case for DCA
Despite the math favoring lump-sum, DCA has real-world advantages:
-
You usually don’t have a lump sum: most investors save monthly from a paycheck. DCA fits naturally with how money arrives.
-
Psychological insurance: a 30% market crash right after lump-sum investment feels terrible. DCA’s emotional comfort might be worth the slight expected-return loss.
-
Reduces market timing pressure: removes the “is this a good time?” anxiety.
-
Automatic and disciplined: set up auto-investment from paycheck; can’t be talked out of it during scary headlines.
-
Captures market downturns: most psychologically rewarding when prices fall — you buy more shares cheaper.
The honest framing: lump-sum is mathematically better; DCA is behaviorally better for most investors.
The 401(k) is DCA by default
If you contribute to a 401(k), 403(b), or other paycheck-funded retirement plan, you’re already doing DCA whether you call it that or not. Every paycheck buys a fixed dollar amount of investments at whatever the market price is that day.
This is the simplest, most powerful DCA setup most Americans participate in. The fact that it happens automatically — and that the money is deducted before you see it in your checking account — is what makes it so effective.
Real-world DCA returns
S&P 500 long-term returns with continuous monthly investing:
| Period | Total invested | Final value | CAGR |
|---|---|---|---|
| 20 years ($500/mo) | $120,000 | ~$430,000 | ~9.5% |
| 30 years ($500/mo) | $180,000 | ~$1,100,000 | ~9.8% |
| 40 years ($500/mo) | $240,000 | ~$2,700,000 | ~10.1% |
These are approximate based on long-run average S&P 500 returns. The “Roth IRA millionaire” path is essentially DCA into broad-market index funds for 30-40 years.
Periodic DCA frequency — does it matter?
In practice, DCA frequency has small impact:
| Frequency | Practical effect |
|---|---|
| Daily | Maximum smoothing; minimal real difference vs weekly |
| Weekly | Common for active traders |
| Bi-weekly (every 2 weeks) | Matches typical paycheck cycle in US |
| Monthly | Standard for retirement accounts |
| Quarterly | Slightly worse market smoothing |
| Annually | Loses most DCA benefit |
For most investors, monthly contributions from paycheck are the practical sweet spot.
Common DCA mistakes
-
Stopping during downturns: this is the worst time to stop. DCA’s biggest advantage is buying cheap shares during crashes.
-
Inconsistent amounts: skipping months or reducing contributions during scary times defeats the strategy.
-
Picking individual stocks: DCA on a single company that goes to zero loses the entire investment, no matter how disciplined. Use diversified index funds.
-
Excessive trading: don’t sell and re-buy chasing dips. Just keep contributing on schedule.
-
High-cost vehicles: DCA + 1.5% expense ratio mutual fund eats much of the advantage. Stick with low-cost index funds (Vanguard, Fidelity, Schwab — expense ratios 0.03-0.10%).
Value averaging — the variant
A related strategy is Value Averaging (Michael Edleson, 1991). Instead of investing a fixed dollar amount each month, you invest enough to make your portfolio grow by a fixed dollar amount. This means investing more during downturns and less (or even selling) during runs.
In theory, value averaging produces slightly better returns. In practice, it requires:
- Discipline to invest significantly more during scary downturns
- The cash on hand to make those larger investments
- The willingness to sometimes sell when markets are euphoric
Most investors lack one or all of these. DCA’s simplicity wins for behavioral reasons.
Tax considerations
DCA in taxable accounts:
- Each contribution is its own cost basis
- Complicates tax-loss harvesting (specific identification helps)
- Brokerages should track basis automatically since 2011
DCA in tax-advantaged accounts (IRA, 401k):
- No tax accounting needed
- Best place to DCA most of your investment
DCA in international funds:
- Foreign tax withholding on dividends (typically recovered via foreign tax credit)
- Some funds (VTIAX, VXUS) handle this automatically
The DCA + index fund combination
The simplest, most evidence-supported retirement strategy:
- Automatic monthly contributions to retirement accounts
- Invested in total-market index funds (US + international)
- Low expense ratios (under 0.10%)
- Asset allocation appropriate to age
- Hold for decades
This boring strategy has outperformed roughly 90% of actively-managed funds over 20+ year periods. Warren Buffett himself recommends this for his own family in his will.
Bottom line
DCA is mathematically slightly worse than lump-sum for investors with cash on hand (lump-sum wins ~66% of the time historically). But DCA fits the way most people earn and invest, removes market-timing anxiety, and enforces discipline. Combine DCA with low-cost index funds in tax-advantaged accounts and you have the simplest evidence-supported wealth-building strategy. Most importantly: keep contributing through downturns — that’s when DCA does its best work.