Unrealized Profit and Loss (Unrealized PnL)
Paper gain or loss on an open position, real only when you close it.
Basically
In plain words, unrealized PnL is the gain or loss on an open position calculated by comparing entry price to current market price.
Key Takeaways
- Unrealized PnL measures the paper gain or loss on a position that has not yet been closed. It is calculated by comparing the entry price to the current mark price and only becomes real (realized) when the position is closed.
- Unrealized PnL directly affects margin calculations and liquidation risk: exchanges add unrealized PnL to account equity, meaning a large unrealized loss can trigger forced liquidation even if the trader has not sold.
- In most jurisdictions, unrealized gains are not taxed until a disposal event occurs. This distinction between unrealized and realized PnL shapes cost basis tracking and tax planning strategies like tax-loss harvesting.
What Is Unrealized PnL?
Unrealized profit and loss (unrealized PnL) is the theoretical gain or loss on an open position, calculated by comparing the price at which the position was entered to the current market price. Because the position has not been closed, the gain or loss remains "on paper" and can still change as the market moves. Traders also refer to unrealized PnL as floating PnL, open PnL, or paper profit/loss.
The counterpart is realized PnL: the actual profit or loss locked in once a position is closed, stop-loss or take-profit orders execute, liquidation occurs, or a futures contract expires. Realized PnL accounts for all trading fees, funding payments, and slippage incurred during the trade. Unrealized PnL, by contrast, typically reflects only the raw price movement between entry and the current reference price.
Understanding the difference is essential for anyone trading spot, perpetual futures, or DeFi positions. A large unrealized gain is not profit until the position is closed, and a large unrealized loss can worsen rapidly if market conditions deteriorate.
How It Works
The basic formula for unrealized PnL depends on whether the position is long (betting on a price increase) or short (betting on a price decrease):
Long Position Formula
If a trader buys 2 BTC at $60,000 and the current price is $65,000:
Short Position Formula
If a trader shorts 2 BTC at $60,000 and the current price drops to $55,000:
In both cases, the PnL is unrealized because the position is still open. The trader has not locked in the gain by closing.
Inverse (Coin-Margined) Contracts
Exchanges that offer coin-margined (inverse) contracts use a different formula because the contract is denominated in USD but settled in crypto:
This formula produces a PnL denominated in the base asset (e.g., BTC) rather than a stablecoin. The non-linear relationship between price and PnL means gains and losses are asymmetric: a 50% price increase yields less profit (in BTC terms) than a 50% decrease yields in losses.
Which Price Is "Current Price"?
Exchanges use different reference prices for calculating unrealized PnL, and the choice matters:
Unrealized PnL and Margin
For leveraged positions, unrealized PnL is not just an informational number: it directly determines whether a position survives or gets liquidated. Exchanges calculate account equity as:
When equity falls to the maintenance margin level, the exchange triggers liquidation. This means a trader with a $10,000 balance and $9,500 in unrealized losses has only $500 in effective equity, regardless of whether they have "actually lost" anything.
Cross Margin vs. Isolated Margin
The impact of unrealized PnL depends on the margin mode:
Traders using high leverage should monitor unrealized PnL closely. A liquidation price calculator can help estimate at what price level a position would be forcibly closed.
Unrealized PnL in DeFi
Unrealized PnL appears in decentralized finance in several forms beyond simple spot holdings:
Tax Implications
In most jurisdictions, unrealized gains and losses are not taxable events. The U.S. Internal Revenue Service classifies cryptocurrency as property under Notice 2014-21, meaning capital gains tax applies only when a disposal occurs: selling, trading, or spending the asset. Simply holding an asset that has appreciated does not create a tax liability.
This distinction has practical consequences:
A notable exception under discussion involves the U.S. corporate alternative minimum tax, which could require certain large corporations to pay taxes on unrealized crypto gains reported under FASB fair-value accounting rules. As of 2026, the IRS is still drafting implementation rules, and this does not apply to individual taxpayers.
Unrealized PnL vs. Realized PnL
Why It Matters
Unrealized PnL is not just a display number: it drives real-time risk management decisions. Traders use it to decide when to take profits, cut losses, or adjust position sizes. Portfolio managers track aggregate unrealized PnL across all holdings to assess overall exposure and risk-adjusted returns.
For Bitcoin holders and spot traders, the MVRV ratio is a network-wide measure of aggregate unrealized PnL. When MVRV is significantly above 1, the average holder is sitting on unrealized gains, which historically correlates with increased selling pressure. Understanding unrealized PnL at both the individual and market level provides insight into likely participant behavior.
In the context of stablecoin-denominated portfolios, unrealized PnL is straightforward: the difference between the dollar value at entry and now. For Bitcoin-native platforms like Spark, where users may hold BTC and stablecoin assets like USDB, unrealized PnL depends on which denomination the user is tracking against: sats, dollars, or both.
Risks and Considerations
Psychological Traps
Unrealized PnL creates cognitive biases that can lead to poor trading decisions. The disposition effect causes traders to sell winning positions too early (to "lock in" unrealized gains) while holding losing positions too long (hoping unrealized losses will recover). Studies consistently show this behavior reduces overall portfolio returns.
Liquidation Cascades
In leveraged markets, widespread unrealized losses across many traders can trigger liquidation cascades. As prices drop, positions with large unrealized losses get forcibly closed, which pushes prices down further and triggers more liquidations. This feedback loop can amplify market moves far beyond what fundamental supply and demand would produce.
Mark Price Divergence
Because unrealized PnL is calculated against a reference price rather than an actual trade, it can be misleading. A large position may show a favorable unrealized PnL based on the mark price, but attempting to close the position could move the market due to slippage and market depth limitations, resulting in a realized PnL significantly worse than the unrealized figure suggested.
Funding Rate Impact
On perpetual futures platforms, the funding rate is typically excluded from unrealized PnL calculations. A position may show a positive unrealized PnL while the trader has been paying substantial funding fees that erode the actual return. Always consider total PnL (unrealized PnL plus cumulative funding payments and fees) when evaluating position performance.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.