Dollar Cost Averaging Calculator
Simulate dollar cost averaging with this DCA calculator. See your average cost basis, total units, and projected returns over any time period.
Dollar cost averaging (DCA) is one of the most popular investment strategies, especially for volatile assets like crypto and index funds. Instead of investing a lump sum at one price, you invest a fixed amount at regular intervals. This calculator simulates that process and shows your average cost basis, total position value, and net profit or loss across daily, weekly, or monthly purchases.
For informational purposes only. Not financial advice. Calculations are estimates and may not reflect your exact situation. Consult a qualified financial adviser for personalised guidance.
About Dollar Cost Averaging Calculator
How DCA Works
When you invest a fixed dollar amount, you automatically buy more units when prices are low and fewer when prices are high. The mathematical effect is that your average cost basis ends up closer to the harmonic mean of the prices you bought at, not the simple arithmetic mean. That is why DCA usually beats a naive "buy the same number of units each period" approach in volatile markets.
Worked example: You invest $500 every month for 5 months. The asset price moves from $100 down to $60 and back up to $100:
| Period | Price | Amount Invested | Units Bought | Running Avg Cost |
|---|---|---|---|---|
| Month 1 | $100 | $500 | 5.00 | $100.00 |
| Month 2 | $80 | $500 | 6.25 | $88.89 |
| Month 3 | $60 | $500 | 8.33 | $76.53 |
| Month 4 | $80 | $500 | 6.25 | $77.42 |
| Month 5 | $100 | $500 | 5.00 | $81.30 |
Total invested: $2,500. Total units: 30.83. The price ended where it started ($100), but the average cost basis is $81.30. Final value of 30.83 units at $100 is $3,083 - a profit of $583 (23.3% ROI) purely from buying heavier when prices were low.
How the Simulation Works
The calculator uses a linear price path between your starting and ending prices. Real markets are far more volatile - this is a smoothed approximation useful for modelling the average-in effect, not a backtest. For each period, the price is calculated as sp + (ep - sp) * (i / (n - 1)) where sp is start price, ep is end price, i is the period index, and n is the number of purchases.
| Input | What It Controls |
|---|---|
| Investment per period | Fixed dollar amount invested each interval (the "cost" in cost averaging) |
| Frequency | Daily, weekly, or monthly - for reference only, does not affect the price path |
| Number of periods | How many individual purchases are made |
| Starting price | Asset price at the first purchase |
| Ending price | Asset price at the final purchase (linear interpolation between) |
What Does the Research Say About DCA vs Lump Sum?
Vanguard's 2012 study "Dollar-cost averaging just means taking risk later" analysed rolling 10-year periods in the US, UK, and Australia and found that lump-sum investing beat dollar cost averaging roughly 67% of the time, with lump-sum returning an average of 2.3-2.4% more than a 12-month DCA schedule. Vanguard's updated 2023 research "Cost averaging: Invest now or temporarily hold your cash?" extended the dataset to rolling one-year windows from 1976-2022 and found lump-sum winning between 61.6% and 73.7% of the time depending on market and allocation.
| Factor | DCA | Lump Sum |
|---|---|---|
| Timing risk | Low - spread across many entry points | High - all in at one price |
| Psychological comfort | Easier to commit to regular small amounts | Stressful if the price drops immediately after buying |
| In a rising market | Returns lower (buying at progressively higher prices) | Better returns (got in at the lowest price) |
| In a falling then recovering market | Better returns (bought heavily at low prices) | Worse returns (all money at the high point) |
| Historical win rate (Vanguard) | Wins ~33% of the time vs lump sum | Wins ~67% of the time over 10-year rolling windows |
| Best for | Regular income investing, volatile assets, risk-averse investors | Windfall or inheritance, strong bull market conviction |
The headline finding has a caveat: lump-sum wins because markets trend up over the long term, so being in sooner captures more of that drift. The higher the equity allocation and the longer the DCA window, the bigger the lump-sum advantage. For 60/40 portfolios over 6-month DCA windows, the gap narrows to under 1%. If you do not have a lump sum to invest (most people don't), the question is moot - you are DCA'ing by necessity when you invest every paycheque.
How DCA Performs for Bitcoin
Bitcoin is the poster child for DCA because of its volatility. Buying on any single day in the last decade could leave you up 10x or down 80% depending on timing. A weekly or monthly DCA smooths that out. As of early 2026, a $100/month DCA into Bitcoin starting January 2014 (a 12-year window) would have turned $14,600 of contributions into roughly $995,000 at spot prices, according to DCA tracking data from public calculators like dcabtc.com. Shorter windows look very different - investors who started DCA'ing during the 2024-2025 bull run near cycle highs are currently sitting on unrealised losses, while those who kept buying through the 2022 bear market captured the recovery.
| Asset | 10-year annualised return (to Feb 2026) | Volatility profile | DCA suitability |
|---|---|---|---|
| S&P 500 (with dividends) | ~15.6% per macrotrends.net | Moderate (annual drawdowns of 10-40%) | Good - reduces regret in corrections |
| Bitcoin | Highly variable (50%+ drawdowns common) | Very high (daily moves of 5%+ routine) | Excellent - volatility rewards averaging |
| Total UK Stock Market (FTSE All-Share) | ~5-6% real | Moderate | Good for monthly ISA contributions |
| Bond index funds | ~1-3% | Low | Less benefit - DCA has little to smooth |
Common DCA Strategies
| Strategy | Frequency | Amount | Best For |
|---|---|---|---|
| Paycheck investing | Monthly or bi-weekly | Fixed percentage of salary (10-20%) | Long-term wealth building in 401(k)s, ISAs, index funds |
| Crypto accumulation | Weekly or daily | Fixed dollar amount | Building a Bitcoin or ETH position through multiple halving cycles |
| Value averaging | Monthly | Variable (adjust to hit a target portfolio value) | More aggressive - buys more in dips, less in rallies |
| Aggressive DCA in bear markets | Weekly | Higher than normal amount | Conviction buyers who want to load up at low prices |
| Lump-sum with emergency cushion | Once, after building 6-month cash reserve | All available capital | Investors with a windfall who are confident in the long-term trend |
Common Mistakes With DCA
DCA is not magic. A few pitfalls to avoid:
- DCA'ing into a single stock that goes to zero. The strategy cannot save you if the underlying asset fails. Diversification still matters - DCA'ing into a total-market index fund is safer than DCA'ing into any single name.
- Stopping DCA when the price drops. The whole point of DCA is to keep buying through bear markets. Pausing contributions in a 30% correction defeats the lower-average-cost benefit entirely.
- Treating DCA as "safer" than lump sum with a lump sum in hand. If you have $50,000 in cash ready to invest, spreading it over 12 months statistically hurts returns. The true safer choice is to pick an allocation you will not panic out of.
- Ignoring transaction fees. Daily DCA with $10 purchases and $1 flat fees burns 10% on entry. Stick to providers with zero or low per-trade fees (most major brokers and crypto exchanges now offer fractional, free-fee recurring buys).
- Forgetting tax basis tracking. Each DCA purchase is a separate tax lot. In the US and UK, this matters for capital gains reporting when you eventually sell. Our Stock Average Calculator is useful for cost-basis tracking across multi-lot positions.
What Frequency Should You Use - Daily, Weekly, or Monthly?
The frequency of your purchases has a smaller effect on returns than most investors assume. A 2019 analysis from the CFA Institute comparing daily, weekly, and monthly DCA into the S&P 500 over 40 years found the difference in annualised returns was under 0.1 percentage points. What matters far more is total time in the market, the total amount contributed, and sticking to the plan.
| Frequency | Pros | Cons |
|---|---|---|
| Daily | Smoothest average, handles intraday volatility | Fee-sensitive, mentally exhausting, overkill for stable assets |
| Weekly | Good balance, matches weekly paycheques in some countries | Slightly more friction than monthly |
| Monthly | Matches most paycheques and standing orders, easy to automate | Can feel "lumpy" in volatile assets like Bitcoin |
| Quarterly | Minimal admin, low transaction costs | Higher timing risk per purchase, more cash drag between buys |
For most people investing out of salary, monthly DCA aligned with payday is the right answer. Daily or weekly can make sense for crypto where volatility is extreme and fees are near zero on modern exchanges.
Reading the Results
The summary cards show total invested, current portfolio value, average cost per unit, and ROI percentage. Green means profit, red means loss. Expand the purchase breakdown to see each individual buy with its price and units acquired - useful for sanity-checking the simulation against how the asset actually moved. The average cost basis on the main panel is the same number your broker or exchange would report for the position.
To see how a single lump-sum investment would have performed instead, try the Crypto Profit Calculator. For projecting how your accumulated position might grow with compound returns, the Compound Interest Calculator is a good next step. If you are DCA'ing toward a specific target (e.g. a house deposit or retirement number), the Savings Goal Calculator will tell you how long it takes. All calculations here run locally in your browser.
Sources
Frequently Asked Questions
What is dollar cost averaging?
Dollar cost averaging (DCA) means investing a fixed amount at regular intervals regardless of the asset's price. You buy more units when prices are low and fewer when prices are high. Over time this tends to lower your average cost basis compared to investing a lump sum at a single point.
How does the price simulation work?
The calculator uses a linear price path between your starting and ending prices. While real markets are more volatile, this gives you a useful approximation of how DCA performs when an asset moves from one price level to another.
Is DCA better than lump sum investing?
It depends on market conditions. Studies show lump sum investing outperforms DCA about two-thirds of the time in rising markets, since your money is invested longer. DCA works well psychologically and reduces the risk of buying at a peak. It is especially popular for volatile assets like crypto.
What does average cost basis mean?
Your average cost basis is the total amount invested divided by total units purchased. If you bought 0.5 BTC at $30,000 and 0.5 BTC at $40,000, your average cost basis is $35,000 per BTC. You profit when the current price exceeds your cost basis.
Can I use this for stocks or just crypto?
This works for any asset with a fluctuating price, including stocks, ETFs, crypto, or commodities. The math is the same regardless of what you are buying.
Related Tools
Link to this tool
Copy this HTML to link to this tool from your website or blog.
<a href="https://toolboxkit.io/tools/dca-calculator/" title="Dollar Cost Averaging Calculator - Free Online Tool">Try Dollar Cost Averaging Calculator on ToolboxKit.io</a>