How to Calculate Contract PNL

1. Unrealized PNL

The unrealized PNL refers to the profit and loss of the position held from the last settlement (0:00, 8:00, 16:00, UTC) to the current moment, also known as Paper profit or Paper loss, which is estimated at the Mark price or the latest price.

Please note that the Unrealized PNL is only an estimated value and will not affect the settlement PNL.

 

2. Realized PNL

Realized PNL refers to the final profit and loss of your closed positions, including trading fees, funding fees, settlement PNL, and trading PNL of reducing or closing positions.

Calculations of Settlement PNL:

(1) Linear Contract

(Long) Settlement PNL = Position Amount * (Current Settlement Price - Last Settlement Price)

(Short) Settlement PNL = Position Amount * (Last Settlement Price - Current Settlement Price)

(2) Inverse Contract

(Long) Settlement PNL = Position Amount * Contract Value * (1 / Last Settlement Price  - 1 / Current Settlement Price)

(Short) Settlement PNL = Position Amount * Contract Value * (1 / Current Settlement Price - 1 / Last Settlement Price)

 

Calculations of trading PNL when closing or reducing positions:

(1) Linear Contract

(Long) Trading PNL = Position Amount * (Closing Price - Settlement Price)

(Short) Trading PNL = Position Amount * (Settlement Price - Closing Price)

(2) Inverse Contract

(Long) Trading PNL = Contract Amount * Contract Value * (1 / Settlement Price - 1 / Closing Price)

(Short) Trading PNL = Contract Amount * Contract Value * (1 / Closing Price - 1 / Settlement Price)

Note: Please refer to What's Settlement Price for how to calculate Settlement Price when Pyramiding Auto-Settlement is enabled. When disabled, Settlement Price = Avg. Opening Price.

 

3. Funding Fee

Funding Fee = Position Size * Mark Price * Funding Rate

The funding fee is generated every 8 hours, respectively at 0:00, 8:00, and 16:00 (UTC).

You only receive or pay the fee if you hold a position at these time points. For details, please refer to What’s Futures Funding Fee.

 

4. Trading Fee

The trading fee will be charged when buying or selling contracts. The calculations are as follows.

Linear Contract Trading fee = Fee Rate * Position Amount * Limit Price to Buy or Sell

Inverse Contract Trading fee = Fee Rate * Position Amount * Contract Value / Limit Price to Buy or Sell

 

 

Related articles:

Introduction to PNL Analysis

How to Profit From Futures Trading

How to Activate and View My PNL Analysis