# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.delta.exchange/delta-exchange-user-guide/trading-guide/profit-loss-math.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
