> For the complete documentation index, see [llms.txt](https://guides.delta.exchange/delta-exchange-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.delta.exchange/delta-exchange-user-guide/trading-guide/profit-loss-math.md).

# Profit Loss Math

All open positions on Delta are marked at the [fair price](/delta-exchange-user-guide/trading-guide/fair-price-marking.md) of the Futures contract. Thus, Unrealized PnL and Liquidation Prices are computed using Fair Prices, while Realized PnL is based on actual entry and exit prices.

PnL for a long/ short position in a Vanilla Futures

$$PnL = ± n*m*(Fut\_CurrentPrice - Fut\_EntryPrice)$$&#x20;

PnL for a long/ short position in an Inverse Futures

$$PnL = ± n*m*(1/ Fut\_EntryPrice - 1/ Fut\_CurrentPrice)$$&#x20;

where $$m$$ is the multiplier and $$n$$ is the position size (i.e. number of contracts).

If a position is acquired at multiple entry prices, an average entry price is computed and used for PnL computation.
