More games at WuGames.ioSponsoredDiscover free browser games — play instantly, no download, no sign-up.Play

Crypto Profit/Loss Calculator

Calculate crypto trading profit, loss, and ROI instantly. Include buy/sell fees, break-even price, and net returns for any cryptocurrency trade.

$
$
$
Or enter investment amount instead of quantity
%
%

What is Crypto Profit/Loss Calculator?

This calculator helps you determine the profit or loss from a cryptocurrency trade. Enter your buy price, sell price, and quantity (or investment amount) to see your net returns after accounting for trading fees. It also calculates your ROI percentage and the break-even price you need to sell at to avoid a loss.

How is crypto profit and loss (P&L) calculated?

Crypto P&L equals (sell price - buy price) * quantity, minus all transaction fees on both sides. For example, buying 0.5 BTC at $40,000 ($20,000 cost basis) with a $50 entry fee and selling at $50,000 ($25,000 proceeds) with a $50 exit fee gives a net P&L of $25,000 - $20,000 - $50 - $50 = $4,900, or 24.5% return on the original $20,000. Percentage return = (P&L / cost basis) * 100. Always include exchange fees, network fees (gas on Ethereum, sats on Bitcoin), and spread costs — these can convert a marginal trade from profitable to losing. For futures or leveraged positions, P&L also includes funding rates paid or received over the holding period.

What is unrealized vs realized profit/loss?

Unrealized P&L is the paper gain or loss on positions you still hold, calculated against current market price. It fluctuates every second the market moves and does not trigger a taxable event in most jurisdictions. Realized P&L is locked in when you actually sell, swap, or otherwise dispose of the asset — at that moment the gain becomes taxable (in the US, UK, EU, AU). For example, BTC bought at $30,000 currently worth $50,000 shows $20,000 unrealized profit per coin; only when you sell do you owe capital gains tax on the realized $20,000. Tax-loss harvesting exploits this distinction: realize losses before year-end to offset realized gains. Not tax or financial advice.

How do I calculate ROI vs APY for crypto positions?

ROI (Return on Investment) is the simple total percentage gain: (current_value - cost_basis) / cost_basis * 100. APY (Annual Percentage Yield) annualizes the ROI accounting for compounding: APY = (1 + ROI)^(365/days_held) - 1. A 20% gain over 90 days annualizes to (1.20)^(365/90) - 1 = ~99.6% APY. APY assumes the return would compound at the same rate continuously, which is rarely realistic for crypto's mean-reverting volatility. ROI is honest for completed trades; APY is useful for comparing staking, yield farming, and short-term gains on a like-for-like basis. For staking specifically, distinguish APR (simple, no compounding) from APY (compounded) — Lido's stETH advertises ~3% APR, which compounds to slightly higher APY if rewards auto-restake. Not financial advice.

Why does my exchange show a different P&L than my calculation?

Exchanges compute P&L using their preferred cost-basis method (typically FIFO, sometimes average cost) and may include or exclude fees, funding payments, withdrawals, and airdrops differently than your manual tally. Common discrepancies: (1) average-cost method blends all buys into one price, while you may track individual lots; (2) exchanges deduct fees from the asset side (you receive 0.0995 BTC instead of 0.1) which changes the effective cost basis; (3) internal transfers between sub-accounts or wallets reset cost basis on some platforms; (4) staking rewards arrive at zero cost basis on most exchanges but require their FMV at receipt for accurate tax reporting. Always download raw CSV history and reconcile in dedicated tools (Koinly, CoinTracker) for definitive numbers.

Crypto Profit/Loss Calculator — Calculate crypto trading profit, loss, and ROI instantly. Include buy/sell fees, break-even price, and net returns for a
Crypto Profit/Loss Calculator

Are crypto profits taxable, and how are they classified?

In most major jurisdictions yes: the US IRS, UK HMRC, EU member states, Canada, and Australia treat crypto as property or capital asset, so disposals (sell, swap, spend, gift over allowance) trigger capital gains tax on the difference between proceeds and cost basis. Short-term gains (held under 1 year in US) are taxed as ordinary income (10-37%); long-term gains (1+ year) at preferential rates (0/15/20% US). Crypto-to-crypto swaps are taxable events in the US — swapping ETH for SOL realizes ETH gains even though no USD was received. Mining and staking rewards are income at FMV when received, then create a new cost basis for future capital gains. Germany exempts crypto held over 1 year; Portugal historically exempted private crypto gains. Always verify with a local tax professional. Not tax or financial advice.

How do fees impact my actual crypto P&L?

Fees compound across the trade lifecycle: maker/taker fees (0.1-1% on centralized exchanges), spread (often 0.05-0.5% on the order book), gas fees on DEXs ($5-100+ on Ethereum mainnet, cents on Solana/Polygon), slippage on large orders (0.1-5%+), and withdrawal fees (flat per chain). A round-trip trade on a 1% taker exchange already costs 2% before any price move, meaning the asset must rise 2% just to break even. On Uniswap V3 Ethereum mainnet, a $100 swap could lose $20 to gas + fees + slippage (effectively a 20% one-way cost). High-frequency strategies are particularly fee-sensitive — many traders see profitable strategies on paper that fail in practice purely because their backtest ignored realistic fee assumptions. Always include all-in costs in your P&L calculations.

How does leverage amplify both profit and loss?

Leverage borrows additional exposure: 10x leverage on $1,000 controls $10,000 of crypto, so a 1% price move generates 10% P&L on your $1,000 margin. The math is symmetric but the downside is asymmetric in practice: a 10% adverse move at 10x leverage liquidates your entire position (margin = 0), and you cannot "wait it out" like a spot holder. On perpetual futures (Binance, Bybit, dYdX, Hyperliquid) you also pay funding rates every 8 hours — sometimes 100%+ APR during euphoria — that bleed your margin even on flat prices. Liquidation cascades in Mar 2020, May 2021, Nov 2022, and Aug 2024 wiped out billions in leveraged positions in hours. Most retail leveraged traders lose money over time; the 80-90% loss rate is consistent across major venues' public statistics. Not financial advice.

What is impermanent loss and how does it affect LP profits?

Impermanent loss (IL) is the difference in value between holding two tokens passively versus depositing them as liquidity in a constant-product AMM pool (Uniswap V2 style). When the price ratio between the pool's two tokens changes, the AMM rebalances by selling the appreciating asset and accumulating the depreciating one — the opposite of what a directional trader wants. For Uniswap V2: a 2x price change in one token versus the other causes ~5.7% IL; a 4x change causes ~20% IL; a 5x change causes ~25.5% IL. The loss is "impermanent" only if prices return to the original ratio; if you withdraw at the new ratio, the loss is realized. LP profitability = trading fees earned + token incentives - impermanent loss - gas costs. Concentrated liquidity (Uniswap V3) amplifies both fees and IL within the chosen range. Not financial advice.

Example Calculations

  • Buy 0.5 BTC at $30,000, sell at $45,000, 0.1% fee → Profit: $7,455 (ROI: +49.6%)
  • Buy $1,000 of ETH at $2,000, sell at $1,500, 0.1% fee → Loss: -$251.50 (ROI: -25.1%)
  • Buy 1000 DOGE at $0.10, sell at $0.15, 0.1% fee → Profit: $49.75 (ROI: +49.5%)