Skip to content
Calixo

Crypto DCA (Average Cost) Calculator

Find your average cost basis across all your crypto purchases and see your current unrealized profit or loss against today's price.

Inputs

Paste this into any page — the widget stays live and updates automatically as this calculator improves. Using WordPress or Notion? See the embed guide.

Saved Scenarios

— select 2+ to compare
Inputs updated · Results recalculated · Just now

Average Cost Basis

$33,333.33

Unrealized Profit/Loss

$1,300.00

ROI

26.00%

Current Value

$6,300.00

Spark says

How it's calculated
Detailed close-up of silver Bitcoin coins showcasing digital currency concepts.
Photo by crazy motions on Pexels
A seamless pattern of various cryptocurrency coins in gold and silver tones.
Photo by DS stories on Pexels

Formula

AvgCost=TotalInvestedTotalCoinsAvgCost = \dfrac{TotalInvested}{TotalCoins}
TotalInvested
— Sum of every purchase amount across all your buys
TotalCoins
— Sum of every coin/token quantity acquired across all your buys

What is the Crypto DCA (Average Cost) Calculator?

This calculator finds your true average cost basis by dividing everything you've spent by everything you've acquired — the correct way to track cost basis across multiple purchases at different prices, which is exactly what happens with a dollar-cost averaging strategy.

Use this when tracking your true average entry price across multiple crypto purchases made at different times and prices, checking your unrealized profit or loss at the current market price, or deciding whether to continue, pause, or stop a recurring dollar-cost-averaging purchase plan.

How to use it

  1. 1 Add up every amount you've spent buying the asset and enter the total.
  2. 2 Add up every unit of the asset you've acquired across all those purchases and enter the total.
  3. 3 Enter the current market price to see your unrealized profit or loss.

Understanding Crypto DCA (Average Cost) Calculator

Dollar-cost averaging (DCA) — investing a fixed amount at regular intervals regardless of price, rather than attempting to time a single large purchase at what might turn out to be the best available price — is a widely used, deliberately simple strategy for accumulating a volatile asset like crypto over time, and understanding why average cost basis (not any single purchase price) is the correct reference point for evaluating a DCA strategy's performance is genuinely important for interpreting your own results correctly.

The core mathematical insight behind DCA's appeal is that buying a fixed dollar amount at regular intervals automatically acquires more units of the asset when the price is low and fewer units when the price is high — a mechanical, emotion-free response to price movement that happens purely as an arithmetic consequence of buying a fixed dollar amount rather than a fixed unit quantity at each interval. Over a series of purchases spanning both higher and lower prices, this naturally weights your average cost basis toward the lower prices at which more units were acquired, rather than toward the higher prices at which fewer units were bought — this is exactly why a DCA strategy's true average cost basis is generally somewhat lower than the simple, unweighted average of the purchase prices themselves would suggest, and why calculating it correctly (total spent divided by total acquired, not average of the prices) genuinely matters for an accurate picture of your actual position.

This distinction between weighted average cost basis and simple price averaging is worth internalizing clearly, since the two calculations can diverge meaningfully whenever purchase amounts vary across buys — which happens with genuine DCA (fixed dollar amount, so unit quantity naturally varies with price) even more than with irregular manual buying. Consider two purchases: $100 at a price of $10 per unit (acquiring 10 units) and $100 at a price of $50 per unit (acquiring 2 units). A naive average of the two prices gives $30, but the correct weighted average cost basis — $200 total spent divided by 12 total units acquired — gives about $16.67, meaningfully lower than the naive price average, because the larger unit quantity was acquired at the lower price. This isn't a subtle rounding difference; it's a fundamentally different, and fundamentally more accurate, way of answering the question 'what did I actually pay, on average, per unit of this asset.'

The genuine appeal of DCA as an investing approach, beyond this favorable weighting effect, is largely psychological and practical rather than a guarantee of mathematically superior returns compared to a well-timed lump-sum purchase — DCA removes the extremely difficult, arguably impossible task of correctly timing a single optimal entry point in a genuinely volatile market, replacing that high-stakes, high-anxiety decision with a mechanical, automatic, emotion-free purchasing schedule that many investors find both easier to actually stick with and psychologically easier to tolerate through periods of price decline, since any individual purchase's poor timing is diluted across the many other purchases made at different, uncorrelated points in time.

It's worth being honest, though, that DCA doesn't guarantee a better outcome than lump-sum investing in every scenario — in a market that trends persistently upward over the DCA period, a single lump-sum investment made at the very start would, in hindsight, have acquired more total units at the lowest average price available across that period, outperforming a DCA strategy that necessarily buys some units at the higher prices reached later in an uptrend. DCA's genuine strength is specifically in reducing the risk and psychological difficulty of a single poorly-timed entry during a genuinely volatile or uncertain period, not in mathematically guaranteeing a superior average cost compared to any and all alternative timing — a nuance worth understanding honestly rather than treating DCA as a strategy that mechanically 'beats the market' by design.

Worked examples

Advantages

  • Correctly averages cost basis across any number of purchases, without needing to track and weight each individual buy manually.
  • Shows real-time unrealized profit/loss and ROI once you enter the current market price.
  • Works for any asset and any purchase pattern — lump sum, recurring DCA, or irregular manual buys.
  • Simple two-number input (total spent, total acquired) rather than requiring a full transaction-by-transaction ledger.

Limitations

  • Requires accurate totals across all your purchases — doesn't itself track individual transactions, so you'll need your own records (exchange history or a spreadsheet) to arrive at the correct totals.

Common mistakes

  • ⚠️ Simply averaging the purchase prices themselves (adding up prices and dividing by number of purchases) instead of averaging total spent divided by total acquired, which is wrong whenever purchase amounts differ across buys.
  • ⚠️ Forgetting to include a purchase in the running total, understating either total invested or total coins acquired and producing an inaccurate average cost basis.
  • ⚠️ Not accounting for exchange fees paid on each purchase as part of the true amount invested, when fees should generally be included in cost basis for both accurate profit tracking and, in many jurisdictions, tax reporting purposes.

Tips

  • 💡 How is average cost basis different from just averaging the purchase prices? Simple price averaging ignores that you likely bought different dollar amounts at each price — dividing total spent by total coins acquired correctly weights each purchase by its actual size.
  • 💡 Include trading fees in your total invested amount for a more accurate cost basis, since fees are a real cost of acquiring the asset and often count toward cost basis for tax purposes too.
  • 💡 Recalculate periodically as you make new purchases, since each new buy at a different price shifts your overall average cost basis up or down.
  • 💡 Use your average cost basis, not any single purchase price, as your reference point for deciding whether your overall position is currently profitable.

Real-life uses

  • Tracking your true average entry price across multiple crypto purchases made at different times and prices
  • Checking your unrealized profit or loss at the current market price
  • Deciding whether to continue, pause, or stop a recurring dollar-cost-averaging purchase plan
  • Preparing cost basis figures for tax reporting on crypto holdings

Frequently asked questions

How is average cost basis different from just averaging the purchase prices?

Simple price averaging ignores that you likely bought different dollar amounts at each price — dividing total spent by total coins acquired correctly weights each purchase by its actual size, which is the mathematically correct way to find your true average cost.

Why does DCA tend to produce a lower average cost basis than simply averaging the prices?

Because a fixed dollar amount buys more units when the price is low and fewer units when the price is high, naturally weighting the average toward the lower-priced, higher-quantity purchases.

Should trading fees be included in total invested?

Yes, generally — fees are a real cost of acquiring the asset and are often included in cost basis for both accurate profit tracking and tax reporting purposes in many jurisdictions.

Does DCA always outperform a single lump-sum purchase?

No — in a market that trends persistently upward, a lump-sum investment made at the start would have acquired more units at the lowest average price. DCA's real strength is reducing the risk and psychological difficulty of a single poorly-timed entry, not guaranteeing a mathematically superior average cost in every scenario.

How often should I recalculate my average cost basis?

Recalculate after every new purchase, since each buy at a different price shifts your overall average cost basis — keeping it current gives an accurate picture of your real unrealized profit or loss at any point in time.