Crypto PnL Explained: From Unrealized Gains to Net Profit

Crypto PnL Explained: From Unrealized Gains to Net Profit

N
News Editor 01
2026-07-24 05:55:17
A deep dive into profit and loss in crypto trading, covering realized vs unrealized PnL, spot/futures differences, leverage effects, and accurate tracking methods.

A crypto position can look profitable one minute and turn red the next. Fees, funding, leverage, slippage, and mark price all affect the number on an exchange dashboard. Understanding PnL isn't just for active traders—it helps you see actual profit or loss clearly, separate paper gains from locked-in results, and make better decisions when markets move fast.

What Is PnL in Crypto?

PnL stands for profit and loss. In crypto trading, it shows whether a trade, open position, bot, asset, or portfolio is making money or losing money relative to entry price, cost basis, margin, or invested amount. A positive PnL means profit; negative means loss; near zero after fees and costs means breakeven. PnL isn't a single fixed number—it can be realized or unrealized, gross or net, displayed as dollar value or percentage, and calculated differently across spot, futures, perpetuals, bots, and trackers.

Realized vs. Unrealized PnL

Most platforms split PnL into two categories: realized PnL from closed trades and unrealized PnL from open positions or unsold holdings. Unrealized PnL (paper profit or loss) changes with the market. If you bought BTC at $90K and the current price is $95K, you have unrealized profit; if it drops to $85K, you have unrealized loss. On derivatives platforms, unrealized PnL affects equity, collateral, margin requirements, and liquidation risk. Realized PnL is locked in after a position is closed. For example, buying 1 ETH at $3K and selling at $3.4K gives a realized profit of $400 before fees. Realized PnL typically affects your wallet balance and is the cleaner metric for reviewing completed trades and total gains.

Basic PnL Calculation

The core compares what you paid with current or exit value. Key inputs are entry price, exit price, quantity, and costs. A basic spot formula: PnL = (Exit Price × Quantity) − (Entry Price × Quantity) − Fees. Example: buy 2 SOL at $150 each, sell at $180, total fees $4 → net PnL = ($180−$150)×2−$4 = $56. For open holdings, unrealized PnL = Current Market Value − Cost Basis. Positive PnL means profit; negative means loss; breakeven is near zero after all costs. Fees, funding, spread, and slippage can turn a seemingly profitable trade into a net loss.

Long vs. Short Position PnL

Long positions profit when price rises: Long PnL = (Current or Exit Price − Entry Price) × Quantity − Costs. Short positions profit when price falls: Short PnL = (Entry Price − Current or Buyback Price) × Quantity − Costs. Example: short 5 units at $100, close at $80 → gross PnL = ($100−$80)×5 = $100. Shorts are common in derivatives and margin trading but carry high risk if price moves against the position.

PnL Differences in Spot, Futures, and Perpetuals

Spot PnL is based on actual held crypto; profit changes with market value and is locked upon sale. Futures PnL reflects contract exposure with leverage, margin, and mark price, often affected by funding rates. Perpetual contracts have no expiry; their PnL involves periodic funding payments between longs and shorts. Mark price differs from last price, affecting unrealized PnL and liquidation thresholds. Funding fees are added to realized or net PnL. Leverage amplifies PnL swings and liquidation risk. Displayed PnL may differ from final PnL due to fees deducted at close, pending funding, mark vs. last price divergence, slippage, partial closes altering average entry, and spread effects in low liquidity.

Tracking PnL Accurately

Traders can track PnL via exchange dashboards, portfolio trackers, spreadsheets, or API/CSV exports. Clean transaction history by accounting for fees, transfers, and missing data. Understanding why final PnL differs from displayed numbers helps avoid mistaking paper figures for actual profit.

This article was originally published by Bit.Fan. For more cryptocurrency news and market insights, visit www.bit.fan.
8300

Disclaimer:

The market information, project data, and third-party content displayed on this platform are for industry information sharing only and do not constitute any form of investment advice or return commitment.

Cryptocurrency trading carries high risks. Users should fully assess their risk tolerance and make independent decisions. All profits, losses, and legal responsibilities are borne by the users themselves.