The process of calculating your realized PnL varies based on the type of contract you hold. Below are all of the relevant equations for each type of possible contract.
PnL Calculations
Inverse Contract Long
To help clarify the equations, we will use our BTCUSD Inverse Contract as the base for these examples. The PnL for this type of contract is calculated as such:
PnL = Open Value – Close Value = [(Contract Quantity x Contract Size)/Open Price] – [(Contract Quantity x Contract Size)/Close Price]
For example: If a trader buys 1000 BTCUSD contracts at $6000 and sells these at $7000, the profit will be:
[(1000 x 1)/6000] – [(1000 x 1)/7000] = 0.0238 BTC
Inverse Contract Short
For a Short Position Inverse Contract, the PnL is calculated as such:
PnL = Close Value – Open Value = [(Contract Quantity x Contract Size)/Close Price] – [(Contract Quantity x Contract Size)/Open Price]
For example: If a trader sells 1000 BTCUSD contracts at $6000 and then buys these at $5000, the profit will be:
[(1000 x 1)/5000] – [(1000 x 1)/6000] = 0.0333 BTC
Linear Contract Long
To clarify Linear Contract equations, we will use our ETHUSD and XRPUSD Linear Contracts as the basses for these examples. The PnL for a Long Position Linear Contract is calculated as such:
PnL = Close Value – Open Value = Contract Quantity x Contract Size x Close Price – Contract Quantity x Contract Size x Open Price
For example: If a trader buys 500 ETHUSD Contracts at $120 and sells these at $130, the profit will be:
PnL = 500 x 0.005 x 130 – 500 x 0.005 x 120 = 25 USD
Linear Contract Short
For a Short Position Linear Contract, the PnL is calculated as such:
PnL = Open Value – Close Value = Contract Quantity x Contract Size x Open Price – Contract Quantity x Contract Size x Close Price
For example: If a trader sells 500 XRPUSD Contracts at $0.15 and buys these at $0.14. The profit will be:
PnL = 500 x 5 x 0.15 – 500 x 5 x 0.14 = 25 USD
For any inquiries contact us at support@phemex.com.
Follow our official Twitter account to stay updated on the latest news.
Join our community on Telegram to interact with us and other Phemex traders.
Phemex, Trade Simple