Is the displayed Realised and Unrealised PnL calculated using the actual entry and exit prices, the previous day’s closing price and exit price, or another calculation method?
The Realised P&L and Unrealised P&L are calculated differently based on whether a position has been closed or is still open.
Realised P&L
Realised P&L applies to a position that has been exited/closed. It is calculated using the actual entry price and actual exit price of the trade, along with the executed quantity.
For example:
-
Entry price: ₹100
-
Exit price: ₹120
-
Quantity: 65
Realised P&L = (Exit Price − Entry Price) × Quantity
So, in this example:
(₹120 − ₹100) × 65 = ₹1,300 profit
For a short position, the calculation works in the opposite direction, where the difference between the entry and exit prices determines the realised profit or loss.
Unrealised P&L
Unrealised P&L applies to a position that is currently open and has not yet been exited.
It is calculated using the entry price and the current Last Traded Price (LTP) of the position.
For example:
-
Entry price: ₹100
-
Current LTP: ₹115
-
Quantity: 65
Unrealised P&L = (Current LTP − Entry Price) × Quantity
So:
(₹115 − ₹100) × 65 = ₹975 unrealised profit
Since the position is still open, this amount can change as the market price changes. Once the position is exited, the P&L becomes Realised P&L, based on the actual exit price.
In simple terms
| P&L Type | Calculation Based On |
|---|---|
| Realised P&L | Actual Entry Price & Actual Exit Price |
| Unrealised P&L | Actual Entry Price & Current LTP |
I hope this provides clarity.
