Skip to main content

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.

Share this calculator

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\nBuy Fee = $14,000 x 0.001 = $14.00\nTotal Revenue = 0.5 x $35,000 = $17,500\nSell Fee = $17,500 x 0.001 = $17.50\nGross PnL = $17,500 - $14,000 = $3,500\nNet PnL = $3,500 - $14.00 - $17.50 = $3,468.50\nROI = ($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\nBuy Fee = $3,600 x 0.0005 = $1.80\nTotal Revenue = 2 x $1,950 = $3,900\nSell Fee = $3,900 x 0.0005 = $1.95\nNet PnL = ($3,900 - $3,600) - $1.80 - $1.95 = $296.25\nLeveraged PnL = $296.25 x 5 = $1,481.25\nLiquidation Price = $1,800 x (1 - 1/5) = $1,440

Result: Leveraged PnL: $1,481.25 | Liquidation Price: $1,440

Frequently Asked Questions

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.

References