Home/Crypto & Blockchain/DeFi & Yield Farming/Perpetual Futures Unrealized PnL

Formula & Calculator

Perpetual Futures Unrealized PnL

Calculates the unrealized profit or loss on an open perpetual futures position based on current market price versus entry price.

CryptoDerivativesPerpetual Futures

Unrealized PnL Calculator Perpetual Futures

P = S × (XPEP) / EP
P = Unrealized PnL  ·  S = Position Size  ·  XP = Exit Price  ·  EP = Entry Price
⟹ Solve P, S, XP, EP
contracts
$
$
$
Please fix the errors above.
Solve for:
Presets:
Unrealized PnL
S: EP: XP: P:
✓ Copied!
PnL Gauge
Loss (< $0) Small Profit ($0–$10) Large Profit (> $10)
P = S × (XP − EP) / EP  ·  Positive PnL indicates profit, negative indicates loss.

Interpretation

PnL = Position Size × (Exit Price − Entry Price) / Entry Price. The unrealised profit or loss of a futures position.

PnL = Position Size * (Exit Price - Entry Price) / Entry Price
Perpetual Futures Unrealized PnL

Variables

SymbolQuantityUnit
PnLUnrealized profit or losscurrency
Position SizeNotional position sizecurrency
Exit PriceCurrent market pricecurrency
Entry PricePosition entry pricecurrency

What it means

Unrealised PnL is the current profit or loss on an open position, calculated based on the current price. It becomes realised when the position is closed. This is used by traders to monitor their positions and to decide when to take profit or cut losses. Understanding this helps in risk management.

Worked example

Perpetual Futures Unrealized PnL – Two Detailed Examples

Real‑World
Scenario: A trader opens a long position with $10,000 notional at entry price $60,000. Current price is $63,000. Unrealized PnL = Position Size × (Current Price - Entry Price) / Entry Price = 10000 × (63000 - 60000) / 60000 = 10000 × 3000 / 60000 = 10000 × 0.05 = $500. This is the profit if the position were closed now.
ParameterValue
Position Size$10,000
Entry Price$60,000
Current Price$63,000
1PnL = 10000 × (63000 - 60000) / 60000 = 10000 × 0.05 = $500
Result $500 ✓ Unrealized profit
Scenario: A short position of $5,000 at entry $3,000, current price $2,850. Unrealized PnL = 5000 × (2850 - 3000) / 3000 = 5000 × (-150/3000) = 5000 × (-0.05) = -$250. The negative value indicates a loss if closed now. The trader decides whether to hold or cut the loss.
ParameterValue
Position$5,000
Entry$3,000
Current$2,850
1PnL = 5000 × (2850 - 3000) / 3000 = 5000 × (-0.05) = -$250
Result -$250 ✓ Unrealized loss
Insight: Unrealized PnL is the current profit or loss on an open position, calculated based on the entry and current prices. It becomes realized when the position is closed.

Common mistakes

  • Unrealised PnL: The profit or loss on open positions.
  • Position size: The quantity of the asset.
  • Exit price: The current market price.
  • Entry price: The price at which the position was opened.
  • For longs: Profit if exit > entry; for shorts, opposite.

Applications

Perpetual futures unrealised PnL calculates the profit or loss on an open position based on the current price compared to the entry price. This is used to track the floating profit/loss of trades. Traders use it to manage risk and to decide when to take profit or cut losses. Understanding unrealised PnL is crucial for active trading.

  • Monitoring the profitability of open positions
  • Setting take‑profit and stop‑loss levels
  • Risk management and position adjustment
  • Calculating margin requirements
  • Educational understanding of futures PnL

Frequently Asked Questions

Q01How do I calculate the unrealized profit or loss on my open perpetual futures position based on current price versus entry price?
A01

PnL = Position Size × (Exit Price - Entry Price) / Entry Price. For example, a $10,000 long position at $60,000 with current price at $63,000 gives PnL = 10000 × (3000/60000) = $500. This is the unrealized gain.

Q02Does unrealized PnL include the funding rate payments?
A02

No, unrealized PnL only reflects the price difference. Funding payments are separate and may be realized as they are credited or debited.

Q03How does leverage affect unrealized PnL?
A03

Leverage multiplies both the position size and the PnL. If you use 10x leverage, a 1% price move results in a 10% PnL on your margin. The formula uses notional position size.

Q04Is unrealized PnL the same as the equity change in my account?
A04

Not exactly. Equity includes unrealized PnL plus your margin. As PnL changes, your equity changes. The unrealized PnL is a component of your total account value.

Q05Can unrealized PnL be negative?
A05

Yes, if the price moves against your position, the PnL is negative. This reduces your equity and may trigger liquidation if it reaches the maintenance margin.

Q06How often should I check my unrealized PnL?
A06

Active traders monitor it continuously. For longer-term positions, checking at least daily is recommended to manage risk.

Q07What is the difference between unrealized PnL and realized PnL?
A07

Unrealized PnL is paper profit/loss on open positions. Realized PnL is locked in when you close the position and the profit/loss is credited to your account.

Q08Does the formula account for trading fees?
A08

No, fees are separate costs. To get net PnL, subtract entry and exit fees from the gross PnL.