Quick Answer
Crypto profit or loss is calculated as (Sell Price − Buy Price) × Quantity, minus any trading fees paid on both the buy and sell transactions.
What Is Crypto P&L?
A crypto profit and loss (P&L) calculator helps traders and investors quickly determine how much they gained or lost on a cryptocurrency trade, after accounting for the entry price, exit price, position size, and exchange fees, which are often overlooked but can meaningfully affect real returns, especially on smaller trades or high-frequency trading.
Unlike traditional markets, cryptocurrency exchanges typically charge a percentage-based fee on both the buy and sell side of every trade (commonly between 0.1% and 0.5% per side, though this varies by exchange and trading volume tier). On a small price movement, fees alone can turn an apparent profit into a net loss if not properly accounted for.
This calculator is useful for spot trades, evaluating whether a closed position was actually profitable after fees, and for planning ahead, for example, figuring out what price movement is needed just to break even after fees on both sides of a trade.
How to Use
- 1Enter your buy (entry) price per unit of the cryptocurrency.
- 2Enter your sell (exit) price per unit.
- 3Enter the quantity of the cryptocurrency you traded.
- 4Optionally enter the trading fee percentage charged by your exchange.
- 5The calculator returns your gross profit/loss, total fees paid, and net profit/loss.
Formula
Gross P&L = (Sell Price − Buy Price) × QuantityNet P&L = Gross P&L − (Buy Fee + Sell Fee)Example: Buying 0.5 BTC at $60,000 and selling at $65,000, with 0.1% fee per side
- Buy price = $60,000, Sell price = $65,000, Quantity = 0.5
- Gross profit = (65,000 − 60,000) × 0.5 = $2,500
- Buy fee = 60,000 × 0.5 × 0.1% = $30
- Sell fee = 65,000 × 0.5 × 0.1% = $32.50
- Total fees = $62.50
Tips & Things to Know
- Always factor in fees on both the buy and the sell side, many traders only think about the exit fee and underestimate their true cost basis.
- For very short-term or high-frequency trading, cumulative fees across many trades can become a significant drag on overall returns, track this separately from individual trade P&L.
- Remember that realized P&L (from a completed buy-and-sell) may have different tax treatment than unrealized gains on a position you still hold, tax rules vary significantly by country.
- Slippage (the difference between expected and actual execution price, especially during high volatility) is not captured by this calculator, your actual fill price may differ from the price you intended to trade at.