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.
Reviewed for accuracy by Sahil, Senior Finance & Tax Editor
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 a crypto wallet and which type should I use?
A wallet stores your private keys. Hot wallets (software) are convenient for frequent trading. Cold wallets (hardware like Ledger or Trezor) are more secure for long-term storage. Never share your seed phrase.
What is dollar-cost averaging in crypto?
DCA means buying a fixed dollar amount of crypto at regular intervals regardless of price. This reduces the impact of volatility and removes the stress of timing the market. It is widely recommended for long-term crypto investors.
What is APY vs APR in crypto yield?
APR is the simple annual rate without compounding. APY includes the effect of compounding. A 10% APR compounded daily equals roughly 10.52% APY. Always compare APY to APY for accurate yield comparisons.
What risks should I consider before investing in crypto?
Key risks include extreme price volatility, regulatory changes, exchange hacks, smart contract vulnerabilities, rug pulls in new projects, and loss of access if you lose your private keys. Never invest more than you can afford to lose.
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.