Yesterday in crypto, explained

Cost Basis Calculator

Track multiple buys across exchanges. Get your average cost basis, unrealized P&L, and a partial sale comparison under FIFO, LIFO, or HIFO.

Buy lots

DateQuantityPrice / coin (USD)Fees (USD)ExchangeCostRemove
—
—

CSV import format

date,quantity,price_per_coin,fees_usd,exchange 2022-01-15,1000,0.75,2.50,Coinbase 2022-06-01,500,0.38,1.25,Kraken

Note: Starting in 2025, the IRS requires per-wallet basis tracking rather than pooled basis across exchanges. This calculator uses pooled basis for simplicity. Consult a tax professional for per-wallet tracking. Fees are added to cost basis in these calculations.

Educational only. Not financial, investment, tax, or legal advice. Do your own research. Read the full disclaimer.