Pricing and execution

Realized and unrealized PnL

Learn how profit and loss changes while a perpetual position is open and what becomes realized when exposure is closed.

Also called: PnL, profit and loss, open PnL, closed PnL

Definition

Realized and unrealized PnL — Profit and loss, or PnL, measures how a position’s value has changed. Unrealized PnL is the estimated gain or loss on exposure that remains open, usually calculated with a venue-defined mark. Realized PnL records the result assigned when exposure is closed or settled, with fees and funding handled according to venue rules.

In plain English

Unrealized PnL answers, “What gain or loss does the open position currently show under the venue’s accounting price?” Realized PnL answers, “What result has been locked into the account by closing or settling exposure?”

An unrealized gain can disappear before the position closes. A realized gain can still be offset by fees, funding, earlier losses, or a change in collateral value.

How it works

For a simple linear long position, directional PnL can be expressed as:

quantity × (current or exit price − entry price)

For a short, the price difference reverses. Unrealized PnL commonly uses the mark price; realized trading PnL uses the actual closing execution or settlement price. Inverse contracts and average-entry calculations require different formulas.

Why it matters

Unrealized losses reduce the equity supporting a position and can move it toward liquidation. Unrealized gains can increase equity but should not be treated as spendable, final profit until the venue allows them to be realized or used. The net account result should reconcile trading PnL, fees, funding, and collateral changes.

Worked example

A trader opens a 0.25 ETH long at $3,000. When the mark reaches $3,120, simplified unrealized PnL is 0.25 × ($3,120 − $3,000) = $30.

The trader then closes half the quantity—0.125 ETH—at $3,120. That realizes $15 before costs. If the remaining half is still marked at $3,120, it shows another $15 unrealized.

How it works on Lynx

Lynx distinguishes three PnL views. Gross PnL measures the leveraged price move. Trading PnL includes funding and interest. Net PnL includes all fees and is the value used for the trader’s final result and liquidation accounting.

These values are measured and settled in the selected collateral asset. The collateral token’s own market-price movement is not part of Lynx position PnL.

Common misconception

A green unrealized PnL number is not the same as net profit in the wallet. Execution, fees, funding, price impact, and settlement still stand between the estimate and the final result.

Continue learning

Related definitions and practical guides.

Sources and review

Written by Lynx Editorial. Reviewed by Lynx Protocol Team on July 31, 2026. Review policy.

  1. Perpetual-style futures settlement and other mechanicsCoinbase
  2. Futures GlossaryU.S. Commodity Futures Trading Commission
  3. Frequently Used Terms in LynxLynx Finance

Ready when you are

Make your move.

Trade perpetual markets or put your market instincts to the test.

Perpetual futures are complex. Leveraged trading can lead to rapid losses.