Dollar-Cost Averaging
Calculator
Compare DCA vs lump sum investing and see how your portfolio grows over time, with price simulation, volatility modelling, and side-by-side return comparison.
—
Dollar-Cost Averaging (DCA) Calculator: Compare Investment Strategies
The most common reason people don’t invest is fear of timing the market wrong. What if I invest today and the market drops tomorrow? What if I put my savings in at the worst possible time, like the market peaks before a crash? Dollar-cost averaging (DCA) is the strategy that directly addresses this fear: by spreading investments over time rather than committing everything at once, investors systematically reduce their exposure to any single market entry point. This free DCA calculator lets you model exactly how regular investing performs versus lump sum investing across different market scenarios and time horizons.
Quick example: Investing $500/month for 36 months (total $18,000) into an asset averaging 8% annual return produces approximately $20,400 in portfolio value, a return of about 13%. The same $18,000 as a lump sum at the start produces approximately $22,700. DCA underperforms lump sum in steadily rising markets, but with 20% volatility, the outcomes converge and DCA sometimes wins. Enable the volatility simulation above to see this effect.
What Is Dollar-Cost Averaging (DCA)?
Dollar-cost averaging is an investment strategy where you invest a fixed amount of money at regular intervals (weekly, monthly, quarterly) regardless of the current price of the asset. When prices are high, your fixed contribution buys fewer units. When prices are low, the same contribution buys more units. Over time, this naturally produces an average purchase price that tends to be lower than the average market price during the investment period, the “cost averaging” effect.
The strategy was formalized by economist Benjamin Graham in his 1949 book The Intelligent Investor and has since been validated by decades of behavioral finance research as one of the most psychologically sustainable investing approaches for individual investors.
DCA vs Lump Sum Investing: The Research
Academic research on DCA vs lump sum investing consistently reaches a nuanced conclusion:
Key research finding (Vanguard, 2012): In Vanguard’s research on cost averaging across US, UK, and Australian markets over rolling 10-year periods, lump sum investing outperformed DCA approximately 67% of the time when comparing equal amounts of capital. On average, lump sum produced returns 1.5 to 2.4% higher than DCA over 12-month deployment periods. However, DCA produced lower maximum drawdowns and significantly lower variance of outcomes, making it superior for risk-averse investors and those without a lump sum to invest.
The mathematics explain why: in markets that rise more often than they fall (as equity markets do historically), deploying capital immediately captures more of the uptrend. Cash waiting to be DCA’d into the market earns a lower return than invested capital. However, this lump sum advantage disappears or reverses in volatile, sideways, or declining markets, scenarios where DCA systematically buys more at lower prices.
How Dollar-Cost Averaging Works
| Month | Investment | Price per unit | Units purchased | Total units | Portfolio value |
|---|---|---|---|---|---|
| 1 | $500 | $100 | 5.000 | 5.000 | $500 |
| 2 | $500 | $80 | 6.250 | 11.250 | $900 |
| 3 | $500 | $90 | 5.556 | 16.806 | $1,513 |
| 4 | $500 | $110 | 4.545 | 21.351 | $2,349 |
| 5 | $500 | $105 | 4.762 | 26.113 | $2,742 |
| 6 | $500 | $120 | 4.167 | 30.280 | $3,634 |
Total invested: $3,000. Total units: 30.280. Average purchase price: $99.08, compared to the simple average of the 6 prices ($100.83). DCA’s average cost is lower because more units were purchased when prices were lower (at $80, the investor bought 6.25 units vs 4.17 at $120). This is the fundamental cost-averaging mechanic.
How the DCA Calculator Formula Works
This calculator measures what a series of fixed-amount purchases, made at whatever price the asset happens to trade at each period, ends up worth once all the purchased units are valued at the final price. It runs the same underlying math shown in the table above, just automated across however many periods you choose and, optionally, against a simulated price path with realistic volatility.
| Step | Formula | Units |
|---|---|---|
| Units per period | Investment per period ÷ Price that period | units |
| Total units | Sum of units purchased across all periods | units |
| Final portfolio value | Total units × Final period’s price | currency |
| Return | (Final value − Total invested) ÷ Total invested × 100 | % |
| Average cost per unit | Total invested ÷ Total units | currency/unit |
The lump sum comparison, when you enter an amount, uses the same logic in a single step: it buys as many units as your lump sum affords at the starting price, then values that fixed unit count at the final price.
Step-by-step calculation walkthrough
Step 1: Identify the inputs. Investment per period: $500. Frequency: Monthly. Number of periods: 36. Expected annual return: 8%. Starting price: $100. Volatility: off (a clean, deterministic scenario for this walkthrough).
Step 2: Apply the formula. With volatility off, each period’s price grows by the same per-period rate, derived from the 8% annual return compounded monthly. Units per period = $500 ÷ that period’s price. Final value = Total units accumulated × the price in period 36.
Step 3: Perform the calculation. Running this across all 36 months: Total invested = $500 × 36 = $18,000. Total units accumulated ≈ 160.22. Final price after 36 months of 8% annual growth ≈ $125.97. Final portfolio value ≈ 160.22 × $125.97 ≈ $20,183. Return = (20,183 − 18,000) ÷ 18,000 × 100 ≈ 12.1%.
Step 4: Interpret the result. Contributing $500 a month for 3 years grew $18,000 in contributions into roughly $20,183, a 12.1% total return over the period. Compare this to investing the same $18,000 as a lump sum at the start: at a steady 8% annual growth with no volatility, the lump sum reaches roughly $22,675 (about 26.0%), since all the capital benefits from the full 36 months of growth rather than being phased in gradually.
📐 Enabling the volatility toggle changes this calculation in one specific way: instead of a smooth, constant per-period growth rate, each period’s price also receives a random fluctuation drawn from a normal distribution sized by your chosen volatility percentage. The units-purchased, total-invested, and final-value formulas themselves stay exactly the same, only the sequence of prices they’re applied to changes. This is also why re-running the calculator with volatility enabled and identical inputs produces a different result each time, the simulated price path is randomized.
Assumptions and limitations: the deterministic (no-volatility) case is an exact calculation, but real markets always have some volatility, so it’s a simplified baseline rather than a realistic forecast. With volatility enabled, the simulation uses a simplified random walk model (geometric Brownian motion), which captures the general shape of market randomness but doesn’t replicate the specific patterns, crashes, or recoveries of any real market. Treat every run, with or without volatility, as one possible scenario among many, not a prediction of what your actual investment will do.
Why DCA Reduces Market Timing Risk
Market timing, predicting when prices are low enough to buy and high enough to sell, is extraordinarily difficult even for professional investors. Studies consistently show that missing just the 10 best trading days in a 20-year period reduces returns by 50% or more. The problem for individual investors: the best and worst days are often clustered together around market corrections, making it impossible to capture one without risking the other.
DCA eliminates market timing entirely. By committing to a fixed investment schedule regardless of market conditions, DCA investors:
- Automatically buy more shares when prices are low (improving average cost)
- Never experience the regret of investing a large lump sum at a market peak
- Remove emotion from investment decisions: one of the most powerful advantages in investing
- Develop consistent saving and investing habits that compound wealth over decades
When Lump Sum Investing Performs Better
Lump sum investing outperforms DCA in the scenario that statistically describes most periods in equity markets: a gradually rising market with normal volatility. If you have a windfall (an inheritance, a bonus, the proceeds from selling property), the data suggests investing it all immediately produces better expected outcomes than spreading it over 12 to 24 months, simply because equity markets rise more often than they fall over any given period.
However, this mathematical advantage comes with a significant psychological cost. Investing a life-changing lump sum and watching it immediately decline 20 to 30% (which happens regularly in normal corrections) causes many investors to panic-sell at the worst possible time, turning a paper loss into a permanent one. For most individual investors, the emotional resilience required to withstand this experience makes DCA the practically superior strategy even if it’s not mathematically optimal in every scenario.
DCA for Beginners: Practical Implementation
Automate your investments
Set up automatic monthly purchases of an index ETF on the same date each month, payday is ideal. Remove the decision from your hands entirely. Automation prevents the most common DCA mistake: skipping contributions during market downturns when you’re most tempted to stop.
Choose low-cost index funds
DCA into a broad market index ETF (MSCI World, S&P 500, or a total market fund) rather than individual stocks. A 1% fund expense ratio compounded over 30 years can reduce your final portfolio by 25% compared to a 0.1% alternative. Fund cost matters enormously.
Invest on a consistent schedule
The specific day of the month matters less than the consistency. Monthly, bi-weekly, and weekly DCA schedules all produce similar long-term results. Choose the frequency that aligns with your pay cycle and makes automation simplest.
Don’t stop during downturns
Market crashes feel terrifying in the moment, and they’re precisely when DCA works best. Continuing to invest during corrections means you’re buying at discounted prices that enhance future returns. The investors who benefit most from DCA are those who never paused.
3 Real-Life Examples
Three different investor profiles, calculated the way the tool above does it.
| Situation | Inputs | Result | What it means |
|---|---|---|---|
| New investor starting small | $200/month, 60 periods (5 years), 8% expected annual return, no volatility. | Final value: approximately $14,589. Invested: $12,000. Return: approximately 21.6%. | Even a modest $200/month builds meaningful wealth over 5 years, and the deterministic (no-volatility) result gives a clean sense of what steady, constant growth would look like before adding realistic market noise. |
| Retirement saver comparing DCA to a lump sum | $1,000/month, 240 periods (20 years), 10% expected annual return, no volatility, compared against a $240,000 lump sum invested on day one. | DCA final value: approximately $718,259 (199.3% return). Lump sum final value: approximately $1,614,600 (572.7% return). | Over a long, steadily rising 20-year period with no volatility, the lump sum’s head start compounding from day one produces a dramatically larger final value, illustrating exactly the mathematical case for lump sum investing when markets trend upward. |
| Volatile asset with volatility simulation enabled | $500/month, 60 periods (5 years), 20% expected annual return, 60% annual volatility (crypto-style preset). | One simulation run: final value approximately $35,552 from $30,000 invested (18.5% return). | Because volatility is randomized, running this exact scenario again produces a different result each time. This example is illustrative of one possible outcome, not a reproducible calculation, which is itself an important feature of how volatile assets actually behave. |
These are illustrative calculations using the same DCA and lump sum formulas the calculator above applies. They’re a planning tool, not a guarantee of investment performance.
Important Notes
- With volatility enabled, results are randomized and will differ each time you calculate. The price simulation uses a random walk, so running identical inputs twice with volatility turned on produces two different outcomes. This mirrors real markets, where no one can predict the exact price path in advance, but it does mean the specific numbers shown aren’t reproducible on demand.
- The no-volatility case is the only fully deterministic scenario. With volatility set to 0%, the calculation is exact arithmetic and will produce the same result every time for the same inputs.
- Rounding. Currency figures round to the nearest whole unit (or abbreviate to M/B for large values); unit counts display to four decimal places.
- The price simulation is a simplified model, not a market forecast. It uses a standard random walk (geometric Brownian motion) to generate a plausible price path from your expected return and volatility inputs, which captures general market randomness but won’t replicate any specific historical or future market pattern.
- Fees, taxes, and transaction costs aren’t included. Real DCA investing usually involves brokerage fees per transaction and tax on realized gains, both of which reduce your actual return below the calculator’s projection.
- Dividend reinvestment and inflation adjustments apply as simplified flat rates. Enabling either toggle adds a constant annual adjustment to the effective return, rather than modeling variable dividend payments or inflation year by year.
- Data privacy. All calculations run in your browser. Your inputs aren’t sent to a server, and the PDF is generated locally on your device.
Related Investment Calculators
Frequently Asked Questions
Model your DCA investment strategy
Compare DCA vs lump sum, simulate market volatility, and see your portfolio grow, free and instant.
Run DCA simulation ↑