Crypto
Popular S complexity

Crypto Cost Basis & Average Down Calculator.

Interactive crypto cost basis and average down calculator. Compute volume-weighted average price across multiple buy tranches, track unrealized P&L in your local currency, and solve for the exact capital required to lower your breakeven entry.

Free Runs in your browser Data: Client-Side Math (No API)
Trading & Calculation Currency:
Historical Benchmark Portfolios:
Blended Cost Basis (BTC)
$31,945.45

True volume-weighted acquisition price including all execution fees.

Total Coins: 1.1000 BTCTranches: 3 Buys
1. Total Invested
$35,140.00
Fees: $40.00
Total fiat capital committed
2. Current Bag Value
$71,500.00
@ $65,000.00 / coin
Valued at benchmark market price
3. Unrealized P&L
+$36,360.00
+103.47%
Net profit or loss vs cost basis
Tranche Capital Allocation Breakdown:3 Buys Tracked
$

Buy Tranche Ledger (3 Purchases)

Amounts entered in USD ($)
Tranche / LabelDateQuantity (BTC)Buy Price ($)Fee ($)Total Cost ($)Action
$10,512.00
$9,110.00
$15,518.00
Weighted Lot Method: Adjusted Cost Base (ACB / Pooled Average)
Total Coins: 1.1000 BTCAverage Cost: $31,945.45
Specification & Methodology

Understanding your results.

A rigorous breakdown of the mathematical equations, market assumptions, and step-by-step calculations powering this tool.

Executive Summary · Cost Basis & Portfolio Breakeven

Your true cryptocurrency cost basis is not a simple arithmetic mean of entry prices. Because traders purchase variable token amounts across market cycles, your true financial breakeven is the volume-weighted average cost: the cumulative sum of all fiat invested (including exchange fees and gas) divided by your total token holdings. Understanding this baseline is essential for establishing tax-loss harvesting strategies, avoiding premature panic selling, and calculating the exact capital required to average down.

Accounting Foundation: Volume-Weighted Adjusted Cost Base (ACB) Tax Lot Parity: FIFO / LIFO / HIFO Compatible
Mathematical Specification

Portfolio Cost Basis & Allocation Equations

01 · Weighted Cost Basis Volume-Weighted
P_avg = Σ(Q_i × P_i + F_i) ÷ ΣQ_i
Sums the exact fiat cash flow committed across all purchase tranches (price × quantity plus acquisition fees) and divides by total cumulative coins accumulated.
02 · Average Down Solver Capital Requirement
C_new = [Q_curr × (P_avg - P_target) × P_dip] ÷ (P_target - P_dip)
Solves the precise dollar amount needed at a discounted market price to compress your average breakeven price from its existing high to your target recovery valuation.
03 · Unrealized P&L Net Valuation
P&L = (Q_total × P_market) - C_total
Subtracts cumulative capital invested from your total current asset value at live market rates. Positive represents paper gains; negative represents unrealized drawdown.
Real-World Simulation

Worked Example: Staggered Bitcoin Bear Market Accumulation

STEP 01
Tranche 1: Cycle Peak Purchase Bought 0.50 BTC at $60,000 per coin
0.50 × $60,000 + $20 Fee = $30,020 Invested
STEP 02
Tranche 2: Mid-Bear Market Accumulation Bought 0.75 BTC at $30,000 per coin
0.75 × $30,000 + $15 Fee = $22,515 Invested
STEP 03
Tranche 3: Capitulation Bottom Add Bought 1.00 BTC at $18,000 per coin
1.00 × $18,000 + $15 Fee = $18,015 Invested
STEP 04
Total Capital & Volume-Weighted Average Blended cost across 2.25 total BTC accumulated
$70,550 Total ÷ 2.25 BTC = $31,355 / BTC
STEP 05
Net Outcome at $65,000 Market Price Unrealized profit across the full position
2.25 × $65k = $146,250 (+$75,700 / +107.3% Gain)
Key Strategic Takeaway: Despite the initial purchase occurring near the all-time high of $60,000, disciplined averaging down at $30,000 and $18,000 slashed the investor's breakeven threshold from $60,000 down to $31,355. Consequently, Bitcoin only needed to reach $32,000 for the portfolio to turn profitable, rather than waiting for a complete retest of the previous cycle peak.
Operational Guide

How to use this tool.

Step-by-step workflow instructions to get the most accurate calculations for your trading strategy.

  1. Enter buy tranches: Input the date, coin quantity, unit price, and execution fee for each purchase round, or load a historical benchmark preset.
  2. Inspect blended cost basis: Check your volume-weighted average acquisition price, total capital invested, and net coin accumulation.
  3. Set market benchmark: Enter the current spot price to track paper gains, unrealized ROI percentage, and portfolio valuation.
  4. Simulate average down targets: Switch to the Average Down Solver tab to calculate the precise fresh capital needed to lower your entry to a target price.

CoinLedger Tax & Cost Basis

Tax Compliance

Automatically import trades across 500+ exchanges and wallets to track official FIFO/HIFO cost basis and generate IRS Form 8949 reports.

Track on CoinLedger

Ledger Hardware Security

Self-Custody

Store your long-term accumulated crypto tranches offline on a Secure Element chip, immune to exchange insolvency and online wallet drainers.

Secure with Ledger

How we choose partners. Tax regulations vary by jurisdiction. Always verify calculations with a certified tax professional. We may earn an affiliate commission at no extra cost to you.

Privacy & safety.

Client-side privacy guarantee: All cost basis equations, multi-tranche allocations, and forward average down calculations execute 100% locally in your web browser. No transaction quantities, purchase prices, wallet addresses, or portfolio balances are ever sent to remote servers or stored in any database.

Frequently asked questions.