Crypto Profit/Loss Calculator
Calculate profit or loss on a crypto trade including fees
About This Tool
Crypto P/L is the difference between exit value and entry cost basis, after fees on both sides. For a single trade: profit = (sell_qty × sell_price) - (buy_qty × buy_price) - buy_fee - sell_fee.
Enter buy price, sell price, position size, and exchange fees on each leg. Output includes absolute profit or loss, percentage return, break-even price after fees, and the price you'd need to exit at to lock in a target gain.
The math is identical to any commission-based asset trade. Cost basis is the total spent acquiring the asset (purchase price × quantity + fees + on-chain costs). Proceeds are the total received on disposal (sale price × quantity - fees). P/L is proceeds minus cost basis. Percentage return is P/L divided by cost basis. Break-even is the price at which proceeds exactly equal cost basis after both legs of fees — for symmetric percentage fees of f per side, break-even sits at (1 + f) / (1 - f) times entry, which for a 0.1% per-side schedule means about 0.2% above entry, and for a 1% AMM swap roughly 2% above.
A worked example. Buy 1.5 ETH at $2,400 with a 0.1% maker fee. Cost basis: 1.5 × 2,400 + (1.5 × 2,400 × 0.001) = $3,600 + $3.60 = $3,603.60. Three months later, sell at $2,950 with a 0.1% taker fee. Proceeds: 1.5 × 2,950 - (1.5 × 2,950 × 0.001) = $4,425 - $4.43 = $4,420.57. P/L: $816.97 absolute, 22.7% return. Break-even price: about $2,404.80. The fee impact looks tiny on a winning trade but it's the difference between break-even and a small loss on flat trades.
Limitations worth knowing. The calculator handles a single round-trip with simple percentage fees. Real-world tax compliance requires tracking every lot under FIFO, LIFO, or specific identification, with separate short-term (held under a year) and long-term capital gains treatment. DeFi adds wrinkles: gas fees paid in ETH at variable USD prices, slippage on DEX swaps, MEV losses on sandwich attacks, impermanent loss on LP positions, and staking or airdrop receipts taxable as income at fair market value when received. None of these show up in a simple buy/sell P/L. For the IRS or HMRC, use software that ingests every transaction (Koinly, CoinTracker, ZenLedger) and handles the lot accounting properly. The calculator is a quick check, not a tax return.
The about text and FAQ on this page were drafted with AI assistance and reviewed by a member of the Coherence Daddy team before publishing. See our Content Policy for editorial standards.