Library · Trading Mechanics
P&L: Realized & Unrealized
Unrealized P&L is the gain or loss on a position that is still open and changes with price; realized P&L is the gain or loss locked in when a position is closed.
Why it matters
P&L stands for profit and loss. A trading account shows two versions of it, and they are easy to confuse. One is a running estimate that changes every second. The other is a finished fact.
Mixing them up leads to two opposite errors: treating a gain as already earned when it can still vanish, and treating a loss as not real because the position has not been closed.
How it works
UNREALIZED
The position is still open.
- Calculated from the current price
- Changes with every tick
- Can grow, shrink or change sign
- Also called paper or floating P&L
REALIZED
The position, or part of it, has been closed.
- Calculated from the exit fill
- Fixed and final
- Added to or taken from the account balance
- Later price moves do not change it
Unrealized P&L belongs to an open position. It answers the question “what would the result be if this were closed at the current price?” It is recalculated whenever the price changes.
Realized P&L belongs to a closed position, or to the part of a position that has been closed. It is the actual result of an entry and an exit, and it no longer moves.
In plain words
Suppose you own a house and a neighbour’s identical house sells for more than you paid. On paper you are ahead. But you have not sold, and next year the street’s prices could be lower. The gain is real only on the day you sell. The same is true, in reverse, of a fall in value.
How it is calculated
Long: profit or loss = (price - entry price) x quantityA long gains when price is above the entry.Short: profit or loss = (entry price - price) x quantityA short gains when price is below the entry. In both formulas, use the current price for the unrealized figure and the exit price for the realized one. Divide by entry price x quantity for a percentage.| Question | Answer |
|---|---|
| Which entry price is used? | The average entry price of the position |
| Which current price is used? | The last traded price on spot. On many derivatives exchanges the mark price |
| What if only part is closed? | That part becomes realized. The rest stays unrealized |
| Are costs included? | Often not in the headline number. See gross and net below |
Going deeper
Gross and net
The price difference is the gross result. The net result subtracts trading fees on both fills, plus funding on perpetual futures or interest on borrowed funds. Platforms differ in whether the P&L they display is gross or net.
Three different percentages
The same result can be quoted against three bases, and the numbers differ widely:
- as a percentage of the position (the price move itself);
- as a percentage of the margin behind a leveraged position, often labelled ROE or ROI;
- as a percentage of the whole account.
With leverage of 10x, a 6% move on the position is a 60% change on the margin. Nothing about the trade changed, only the denominator.
Unrealized losses have real effects
On a margin or derivatives account, unrealized P&L is counted in the account’s equity: balance plus unrealized gains, minus unrealized losses. Equity is what the exchange compares with its margin requirements. A loss does not need to be realized to trigger a liquidation. See margin and collateral.
The psychology of the two states
People tend to treat an unrealized loss as less real than a realized one, and can be reluctant to close a losing position because closing makes the loss final. This tendency is discussed under loss aversion. The arithmetic does not share it: an open position is worth what it could be closed for.
One hypothetical long, followed from entry to exitHypothetical illustration
A trader buys 10 units at 100.
- Price rises to 104. Unrealized P&L: +4%.
- Price falls to 97. Unrealized P&L: -3%.
- Price rises to 108. Unrealized P&L: +8%.
- The trader sells all 10 units at 106. Realized P&L: +6% gross.
With a hypothetical fee of 0.10% on each fill, costs come to about 0.2% of the position, so the net result is about +5.8%.
The +8% was never received, and the -3% was never paid. Only the last line changed the account balance. If the same position had been held on 10x leverage, the same path would have read +40%, -30%, +80% and +60% against the margin.
What it does NOT mean
- An unrealized gain is not money earned. It is an estimate that lasts only as long as the price does.
- An unrealized loss is not harmless. It reduces equity immediately and counts toward liquidation on leveraged accounts.
- Realized P&L is not the same as net result. Fees, funding and interest may be reported separately.
- A large ROE figure does not mean a large price move. It may be a small move multiplied by leverage.
Common mistakes
- Counting open gains as final. They can reverse before the position is closed.
- Believing a loss is not real until it is realized. The position’s current value is already lower.
- Comparing percentages with different bases. A percentage of margin, of position and of account are three different numbers.
- Ignoring costs. Many small gross gains can add up to a net loss once fees and funding are subtracted.
Risks and limitations
- Unrealized P&L assumes the position could be closed at the displayed price. In a thin or fast market the real exit can be worse.
- The mark price and the last price can differ, so the displayed figure depends on which one the platform uses.
- Displayed P&L may leave out fees, funding or interest.
- A record of realized results describes the past. It says nothing about future trades.
Key takeaway
Unrealized P&L is a moving estimate on an open position. Realized P&L is the fixed result of a closed one. Only closing turns the first into the second, and costs come off either way.
Sources and further reading
- Options, Futures, and Other Derivatives, John C. Hull. Daily settlement, margin accounts and gains and losses on futures positions
- Futures Glossary (opens in a new tab), U.S. Commodity Futures Trading Commission. Glossary entry Open Trade Equity: the unrealized gain or loss on open positions