Crypto P&L Calculator
Calculate crypto trading profit and loss. Enter buy and sell prices, quantity, and fees to see net P&L, ROI percentage, and break-even price.
Crypto P&L Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Net PnL = (Sell Price - Buy Price) x Quantity - Buy Fee - Sell Fee
Worked example โ Net Profit: $3,468.50 | ROI: 24.78%
Formula
Net PnL = (Sell Price - Buy Price) x Quantity - Buy Fee - Sell Fee
Where Buy Fee = Buy Price x Quantity x Buy Fee%, Sell Fee = Sell Price x Quantity x Sell Fee%. For leveraged positions, Leveraged PnL = Net PnL x Leverage, and Liquidation Price = Buy Price x (1 - 1/Leverage).
Worked Examples
Example 1: Bitcoin Spot Trade Profit
Problem:You buy 0.5 BTC at $28,000 and sell at $35,000 with 0.1% fees on each side. What is your net profit?
Solution:Total Cost = 0.5 x $28,000 = $14,000 Buy Fee = $14,000 x 0.001 = $14.00 Total Revenue = 0.5 x $35,000 = $17,500 Sell Fee = $17,500 x 0.001 = $17.50 Gross PnL = $17,500 - $14,000 = $3,500 Net PnL = $3,500 - $14.00 - $17.50 = $3,468.50 ROI = ($3,468.50 / $14,000) x 100 = 24.78%
Result:Net Profit: $3,468.50 | ROI: 24.78%
Example 2: Leveraged Ethereum Trade
Problem:You open a 5x leveraged long on 2 ETH at $1,800, exit at $1,950 with 0.05% fees. Calculate the leveraged PnL.
Solution:Total Cost = 2 x $1,800 = $3,600 Buy Fee = $3,600 x 0.0005 = $1.80 Total Revenue = 2 x $1,950 = $3,900 Sell Fee = $3,900 x 0.0005 = $1.95 Net PnL = ($3,900 - $3,600) - $1.80 - $1.95 = $296.25 Leveraged PnL = $296.25 x 5 = $1,481.25 Liquidation Price = $1,800 x (1 - 1/5) = $1,440
Result:Leveraged PnL: $1,481.25 | Liquidation Price: $1,440
Frequently Asked Questions
How is cryptocurrency profit and loss calculated?
Crypto PnL is calculated by subtracting the total cost of acquiring your cryptocurrency from the total revenue received when selling it. The formula is: PnL = (Sell Price - Buy Price) x Quantity - Total Fees. For example, if you buy 1 BTC at $30,000 and sell at $35,000 with 0.1% trading fees on each side, your gross profit is $5,000 minus approximately $65 in fees, yielding a net profit of $4,935. Trading fees vary by exchange and can significantly impact returns on frequent trades. Always account for both maker and taker fees when calculating your actual profit or loss from cryptocurrency trading.
What is leverage in crypto trading and how does it affect PnL?
Leverage allows traders to control a larger position than their actual capital by borrowing funds from the exchange. If you use 10x leverage on a $1,000 position, you control $10,000 worth of crypto. This multiplies both gains and losses by the leverage factor. A 5% price increase with 10x leverage yields a 50% return on your margin, but a 5% decrease causes a 50% loss. At a certain price point called the liquidation price, your entire margin is wiped out. For 10x leverage, liquidation occurs roughly at a 10% adverse move. Higher leverage dramatically increases risk, and most professional traders recommend using leverage below 5x for risk management purposes.
What trading fees should I expect on major crypto exchanges?
Crypto exchange fees typically range from 0.01% to 0.50% per trade depending on the platform and your trading volume tier. Major exchanges like Binance charge 0.1% maker and taker fees at the base level, with discounts for using native tokens or reaching higher volume tiers. Coinbase Pro charges between 0.04% and 0.50% based on monthly volume. Kraken charges 0.16% maker and 0.26% taker fees at base level. Some decentralized exchanges like Uniswap charge 0.3% per swap plus blockchain gas fees. Over time, these fees compound significantly for active traders, so choosing a low-fee exchange and optimizing trade frequency can substantially improve overall profitability.
What is the break-even price in crypto trading?
The break-even price is the minimum sell price required to recover your total investment including all trading fees. It is always slightly higher than your buy price because you must cover both the entry and exit trading fees. The formula is: Break-Even = Buy Price x (1 + Buy Fee%) / (1 - Sell Fee%). For instance, if you bought Bitcoin at $30,000 with 0.1% fees on each side, your break-even sell price would be approximately $30,060. This means the price must increase by at least 0.2% just to cover your round-trip trading costs. Understanding your break-even price helps you set realistic profit targets and avoid trades where potential gains are too small to justify the fees.
How do I calculate ROI on my crypto investment?
Return on Investment (ROI) in crypto trading measures the percentage gain or loss relative to your initial investment. The formula is: ROI = (Net Profit / Total Cost) x 100. For example, if you invested $10,000 in Ethereum at $2,000 per coin (5 ETH) and sold at $2,500 with total fees of $25, your net profit is $2,475 and ROI is 24.75%. When using leverage, the leveraged ROI equals the base ROI multiplied by the leverage factor. A 10% base ROI with 5x leverage becomes 50% leveraged ROI. However, it is important to track ROI over time and compare annualized returns to properly evaluate your trading strategy against simple buy-and-hold approaches or traditional investment benchmarks.
What is the difference between realized and unrealized PnL?
Unrealized PnL is the paper gain or loss on a position you still hold, marked at the current market price and changing tick by tick. Realized PnL is locked in only when you close the position, and it is the figure Crypto P&L Calculator produces because it subtracts both the entry and exit fees. The distinction matters for tax reporting in most jurisdictions, where a taxable disposal generally occurs on realization rather than on an unrealized mark, and for margin accounts, where unrealized losses still erode your equity and can trigger liquidation.
How does cost basis accounting affect the gain I report on a crypto sale?
If you bought the same coin at several prices, the buy price used here is really a cost basis choice. FIFO assigns the oldest lots first, LIFO the newest, and average cost blends every purchase into one weighted figure. On a rising market FIFO usually produces the largest reported gain because it pairs an old, cheap lot against a high sale price. The method allowed and any required consistency differ by country, so confirm the rules with a qualified tax professional before relying on one.
Why can a leveraged position be liquidated before price reaches the calculated liquidation level?
The liquidation price shown here, Buy Price x (1 - 1/Leverage), is the point where an adverse move equals your entire initial margin. Exchanges close positions earlier, once equity falls below a maintenance margin requirement, and they also add liquidation or insurance-fund fees and use a mark price derived from an index rather than the last trade on the order book. Treat the figure as the theoretical outer bound and check the exchange's own maintenance margin tiers, which tighten as position size grows.
How do funding rates on perpetual futures change the profit on a leveraged trade?
Perpetual futures have no expiry, so exchanges use a periodic funding payment, commonly every eight hours, to tether the contract to the spot index. When the perpetual trades above the index the funding rate is positive and longs pay shorts; when it trades below, shorts pay longs. That cash flow is separate from the entry and exit fees Crypto P&L Calculator models, so a position held for days can drift meaningfully from the modelled net PnL even if the entry and exit prices are exact.
What is slippage, and why is it not covered by the fee percentages?
Slippage is the gap between the price you expected and the price your order actually filled at, caused by the order book being thinner than your order size. A market order that eats through several price levels fills at a volume-weighted average worse than the top of book. Fees are a fixed percentage of notional; slippage scales with order size and liquidity. To model it, enter your realistic average fill price rather than the quoted price, or split large orders into smaller limit orders.
References
Reviewed for accuracy by Sahil, Senior Finance & Tax Editor ยท Editorial policy
Related Calculators
๐งฎCrypto Profit Calculator
Calculate your cryptocurrency profit, loss, and ROI including exchange fees for Bitcoin, Ethereum, and all digital assets.
๐งฎCrypto Portfolio Rebalance Calculator
Determine how many units to buy or sell to rebalance your crypto portfolio to target allocations.
๐งฎCrypto Capital Gains Tax Calculator
Calculate short-term and long-term capital gains tax on cryptocurrency trades and estimate your crypto tax liability.
๐งฎP/E Ratio Calculator
Calculate pe ratio with inputs, formulas, and instant results.
๐งฎCompound Daily Interest Calculator
Calculate compound interest with daily compounding for savings and crypto staking.
๐งฎBond Duration Convexity Calculator
Calculate bond duration convexity with inputs, formulas, and instant results.
๐งฎBond Price Calculator
Calculate bond price with inputs, formulas, and instant results.
๐งฎBond Yield to Maturity Calculator
Calculate bond yield to maturity with inputs, formulas, and instant results.