Howto · Mar 28, 2026

How to Calculate DCA Strategy Returns

Backtest and project dollar-cost averaging returns: cost basis math, IRR vs simple return, fees, and tax-friendly modeling.

How to Calculate DCA Strategy Returns

Dollar-cost averaging (DCA) is the simplest crypto investing strategy: put a fixed amount in at fixed intervals, regardless of price. It's popular because it works around the impossible problem of timing the market. But calculating returns properly is harder than people expect. Your "average cost basis" isn't a single number once you've made dozens of purchases, and your "return" depends on whether you mean total dollars gained, percentage on capital deployed, or annualized rate.

This guide walks through DCA math step by step. You'll learn how to compute average cost basis, total return, annualized return, and IRR — and how to handle the real-world wrinkles of fees, partial sells, and tax timing. We'll also show how to backtest a DCA plan against historical data so you can see how it would have performed.

Quick Answer / TL;DR

To calculate DCA returns:

  1. Sum your contributions: total USD deployed
  2. Sum tokens acquired: total quantity of the asset bought
  3. Compute average cost basis: total USD / total tokens
  4. Compute current value: total tokens × current price
  5. Total return $: current value − total contributions
  6. Total return %: (current value / total contributions) − 1
  7. Annualized return: properly computed via IRR, not just total % ÷ years

The simple total-return-divided-by-years approach overstates true performance because it ignores the time-weighting of contributions. IRR (internal rate of return) gives a fairer apples-to-apples number.

For taxes: each DCA purchase is a separate lot with its own basis. When you sell, you must choose a lot or use FIFO/specific-ID rules. See Crypto Tax Reporting in the US. This is not financial or tax advice.

🧮 Try it: Crypto DCA Calculator

Step 1: Define Your DCA Schedule

A DCA strategy needs three parameters:

  • Amount per purchase (e.g., $200)
  • Frequency (weekly, biweekly, monthly)
  • Duration (open-ended, fixed-term, or until a trigger)

Example: $250 every Friday into BTC, starting January 1, 2025, for 24 months. That's 104 purchases totaling $26,000.

Step 2: Record Each Purchase

For each purchase, log:

| Date | USD Amount | Price at Purchase | Tokens Bought | Running Total Tokens | Running Total USD |

The tokens bought = (USD Amount − fees) / Price. Fees vary by venue:

  • Coinbase Pro/Advanced Trade: 0.5% or less for makers, slightly higher for takers
  • Strike, River, Swan: optimized for BTC DCA, often very low or 1% range
  • Generic exchanges: 0.1% to 1.5% depending on tier
  • Recurring buy services: sometimes charge premium fees (read fine print)

A $200 purchase with 1% fees actually deploys $198 to the asset.

Step 3: Compute Average Cost Basis

After N purchases:

Average Cost Basis = (Total USD Deployed) / (Total Tokens Acquired)

This is your "blended" entry price. Note: each purchase is still its own tax lot, but for thinking about performance, the average is intuitive.

Example: 12 monthly purchases of $500 each in ETH at varying prices, ending with 4.2 ETH acquired.

  • Total deployed: $6,000
  • Total tokens: 4.2 ETH
  • Avg cost basis: $1,428.57 per ETH

If ETH is currently at $2,000:

  • Current value: 4.2 × $2,000 = $8,400
  • Total return $: $8,400 − $6,000 = $2,400
  • Total return %: 40.0%

Step 4: Annualize Returns Properly (IRR)

Total return percentage doesn't tell you how good the strategy was on an annualized basis — because not all your dollars have been working for the same amount of time. The first contribution has had 2 years to grow; the most recent one has had a week.

The naive calculation is wrong:

WRONG: Annualized return ≈ Total Return % / Years

This understates annualized return because most of your money was deployed late in the period.

The right calculation uses IRR (internal rate of return), which solves for the discount rate that makes the present value of all cash flows equal zero:

Σ [CF_t / (1 + IRR)^(t/365)] = 0

Where CF_t are cash flows (contributions as negative, final value as positive). Spreadsheet tools (XIRR in Excel/Sheets) compute this directly:

=XIRR(values, dates)

Where values is a column of contributions (negative) ending with the current portfolio value (positive), and dates is the corresponding date column.

XIRR will give you a true annualized return that reflects the time-weighted reality of your DCA schedule. It's usually higher than the naive calculation.

Step 5: Compare to Lump-Sum and HODL

A meaningful DCA analysis compares your actual returns against alternatives:

  • Lump-sum at start: what if you'd deployed all $26,000 on day one?
  • Lump-sum at end: what if you'd deployed all $26,000 today (just bought at current price)?
  • HODL from first day: total deployed × (current price / first-day price)

Often DCA beats lump-sum-at-start during bear markets and underperforms during straight-up bull markets. Over long horizons in highly volatile assets, DCA's main benefit is psychological — it makes you actually deploy capital instead of waiting for the perfect entry.

Step 6: Handle Fees Correctly

A purchase fee reduces your tokens bought, not your cost basis denominator (debatable but common). For tax purposes, you can include fees in cost basis. For backtesting, the conservative approach:

Effective Tokens Bought = (Purchase USD − Fee USD) / Price

If you ignore fees in your calculation, you'll overstate returns slightly. For 1% fees over many purchases, you can be off by 1–2% of total return.

Step 7: Handle Partial Sells

If you sell some tokens during the DCA period, the math gets more complex:

  1. Each sell triggers a realized gain or loss based on the lot(s) you assign to that sell
  2. Your "current quantity" is acquired minus sold
  3. Total contributions stay the same, but you have realized P&L to add to unrealized P&L

For tax accuracy, use specific identification — pick the highest-cost lots to sell first to minimize gains (HIFO). For US filers, you must document this choice at the time of sale. See Tax-Loss Harvesting in Crypto.

Step 8: Backtest Against Historical Data

To see how a DCA strategy would have performed historically, you need price data. Free sources:

  • CoinGecko historical price API
  • Kaiko, CryptoCompare, Messari (paid for deep data)
  • Yahoo Finance for BTC/ETH

Workflow:

  1. Pull daily close prices for your asset over the backtest window
  2. Identify your buy dates (e.g., every Monday)
  3. For each buy date, compute tokens = $amount / price
  4. Sum tokens and USD across all buys
  5. Compute end-of-period value at final price
  6. Compute total return and XIRR

Pre-built backtesters (DCA-CC, dcaBTC.com, our own calculator) automate this, but rolling your own in a spreadsheet teaches you the mechanics.

🧮 Try it: Crypto DCA Calculator

Worked Example: 2-Year Weekly DCA into BTC

Assumptions for illustration only (numbers are stylized, not real):

  • $100 per week for 104 weeks
  • Total deployed: $10,400
  • Average price during period: ~$45,000 per BTC
  • Tokens acquired: ~0.235 BTC
  • Average cost basis: $44,255 per BTC
  • Current BTC price: $60,000

Calculations:

  • Current value: 0.235 × $60,000 = $14,100
  • Total return $: $14,100 − $10,400 = $3,700
  • Total return %: 35.6%
  • Naive annualized: 35.6% / 2 = 17.8% (wrong)
  • XIRR-based: roughly 30–35% (depends on the actual price path; XIRR is sensitive to timing)

The XIRR difference is significant. Always use XIRR for honest comparisons.

Step 9: Account for Tax Drag

If you're going to sell, taxes reduce your real return:

  • Short-term gains (held ≤1 year): ordinary rates (10–37% federally)
  • Long-term gains (held >1 year): 0%, 15%, or 20% federally
  • State taxes add 0–13.3% depending on your state

For a DCA strategy in the US, lots from the first 12 months of buying may qualify for long-term treatment if you hold each lot more than a year before selling. This favors taking gains in tax-efficient ways (HIFO, harvesting losses, qualified opportunity zones, etc.). Not tax advice.

Step 10: Stress-Test Your Plan

Before committing to a multi-year DCA, model worst-case scenarios:

  • 50% drawdown halfway through: can you keep buying?
  • 80% drawdown at the end: are you comfortable still holding?
  • Best-case rocket ship: do you have a sell plan, or will you HODL?

A DCA strategy you abandon during a drawdown is worse than one you never started. The math only works if you actually follow the schedule.

Common Mistakes and Tips

Mistake 1: Conflating average cost basis with realized return. Average cost tells you your entry; return tells you what you've made. They're different numbers.

Mistake 2: Using simple-division annualization. Total return / years dramatically understates annualized DCA performance. Use XIRR.

Mistake 3: Ignoring fees. 1% per purchase compounds across hundreds of purchases.

Mistake 4: Stopping during drawdowns. The whole point of DCA is buying when prices are low. Pausing during the dips defeats it.

Mistake 5: Comparing to lump-sum after the fact. "I would have done better lump-summing in March 2020!" Hindsight is 20/20. The relevant comparison is to a strategy you'd actually execute in real time.

Tip: Automate your buys. Manual execution leads to skipped weeks and second-guessing.

Tip: Track each lot for tax purposes from day one. Reconstruction after the fact is painful.

Tip: Set a rebalance trigger or sell rule. DCA in without an exit plan is just hope.

FAQ

Q: Does DCA always beat lump-sum?

No. Historical analysis of stock and crypto markets shows lump-sum-at-start outperforms DCA most of the time when the asset is in a long-term uptrend — because more of your capital is working for longer. DCA tends to outperform in flat or declining markets and offers better risk-adjusted returns due to reduced timing risk.

Q: How often should I DCA?

Weekly, biweekly, and monthly all work. The exact frequency matters less than consistency. Daily DCA into very small amounts adds friction and fees without meaningfully improving outcomes; quarterly DCA risks bigger timing impact per purchase. Weekly or monthly is a sweet spot for most people.

Q: Should I DCA a fixed dollar amount or fixed token amount?

Fixed dollar amount is the standard DCA. Fixed token amount (buying 0.01 BTC weekly regardless of price) is different — your contributions vary. Fixed dollar averaging is preferred because it naturally buys more when cheap and less when expensive.

Q: What's "value averaging" vs DCA?

Value averaging adjusts contributions so your portfolio grows by a fixed amount each period — you invest more when prices fall and less (or sell) when prices rise. It can outperform DCA mathematically but requires more discipline and capital flexibility.

Q: Are DCA buys taxable events?

Each buy is not a taxable event by itself in the US. Only sales, swaps, and other disposals trigger taxes. Each buy creates a separate tax lot with its own cost basis and acquisition date.

Conclusion

DCA returns are simple to compute if you keep proper records and use the right annualization method. Sum your contributions and tokens, calculate average cost basis and total return, then use XIRR for an honest annualized number. Backtest against historical data to set realistic expectations, model the tax impact, and stress-test your willingness to keep buying through drawdowns.

For quick projections — and to compare strategies side by side — a dedicated calculator beats a spreadsheet every time.

🧮 Try it: Crypto DCA Calculator

Last updated: February 2027

Related Calculators