📖What is PnL and How to Calculate It?

Profit and loss (PnL) is a commonly used term in trading, which refers to the profit or loss generated from a trader's positions. PnL can be either realized or unrealized. When a trader has open positions, the PnL is considered unrealized as it is still subject to change in response to market movements. However, when a trader closes their positions, the unrealized PnL becomes realized PnL.

Realized PnL & Unrealized PnL Explained

The calculation of realized PnL is based on the entry and closing prices of the positions, and it has no direct relation to the mark price. On the other hand, the unrealized PnL constantly changes and is the primary factor for liquidations. The mark price is used to ensure that the calculation of unrealized PnL is accurate. It is important to note that PnL is always denoted in the settlement currency.

PnL Calculation

In order to determine your total PnL, traders must take both realized and unrealized PnL into account.

PnL = (mark price - entry price) * orderPaperSize

ROE= PnL/ position margin

Last updated