In Futures trading, unrealized PNL and realized PNL can be confusing. Why does the profit and loss displayed while holding a position differ from the actual PNL after closing it? This article usesIn Futures trading, unrealized PNL and realized PNL can be confusing. Why does the profit and loss displayed while holding a position differ from the actual PNL after closing it? This article uses
Learn/Trading Guide/Futures/PNL Calcula...s Explained

PNL Calculations Explained

Beginner
Jul 16, 2025MEXC
0m
4
4$0.02038-4.62%

In Futures trading, unrealized PNL and realized PNL can be confusing. Why does the profit and loss displayed while holding a position differ from the actual PNL after closing it? This article uses simple formulas and examples to help clarify the difference between the two.


1. Difference Between Unrealized and Realized PNL


1.1 Basic Definition


The key difference between unrealized and realized PNL lies in whether the position has been closed.

Unrealized PNL: This refers to the profit or loss of an open position, which fluctuates in real time with market price changes. On MEXC, unrealized PNL is calculated by default using the fair price. Users can choose the pricing basis for unrealized PNL within their current position settings.


Realized PNL: The actual profit or loss generated after a position is closed. This includes all realized PNL from the position, covering trading fees, funding fees, and the closing PNL. The closing PNL is calculated based on the market price matched by the system at the time of closing.


Note: The fair price is calculated based on a combination of the index price and market price, and it may differ from the last price of the contract. This discrepancy is one of the factors that can cause differences between unrealized PNL and realized PNL.

1.2 Calculation Formula Comparison


Position Type
Unrealized PNL Calculation Formula
Realized PNL Calculation Formula
Long
(Fair Price − Avg Entry Price) x Position x Size
(Avg Close Price − Avg Entry Price) x Position x Size
Short
(Avg Entry Price − Fair Price) x Position x Size
(Avg Entry Price − Avg Close Price) x Position x Size

1.3 Example


Why does the profit decrease after closing a position? Let's look at an example using USDT-M ETHUSDT Futures.

While holding the position:

After closing the position:

Position information:
  • Trading pair: ETHUSDT (Long position: bullish on ETH)
  • Avg entry price: 2721.18 USDT
  • Fair price: 2723.92 USDT
  • Avg close price: 2722.91 USDT
  • Position size: 50 cont. (1 cont. = 0.01 ETH)
  • Opening fee: −0.2722 USDT
  • Closing fee: −0.2722 USDT

Unrealized PNL = (Fair Price − Avg Entry Price) x Position x Size = (2723.92 − 2721.18) x 50 x 0.01 = 1.37 USDT
Current Unrealized Profit = 1.37 USDT

Realized PNL = (Avg Close Price − Avg Entry Price) x Position x Size − Trading Fees − Funding Fees = (2722.91 − 2721.18) x 50 x 0.01 − (0.2722 + 0.2722) − 0 = 0.3206 USDT
Actual Profit = 0.3206 USDT

1.4 Why is PNL Different Before and After Closing a Position?


The following reasons may cause unrealizedPNL and realized PNL to differ:

Reason 1: When the fair price deviates from the market price, it causes unrealized and realized PNL to differ.

Unrealized PNL is calculated based on the fair price by default, while realized PNL is based on the actual matched market price. Large market fluctuations may cause differences between these prices, resulting in discrepancies between unrealized and realized PNL.

Reason 2: Deduction of trading fees and funding fees.

Closing a position deducts fees, so actual realized PNL after fees may differ from unrealized PNL. If the position is held across funding fee periods, funding costs may also apply.

Note: If the funding rate is positive, longs pay funding fees to shorts; if negative, shorts pay longs.

Reason 3: Real-time price fluctuations.

Cryptocurrency prices depend heavily on user trading behaviors. Large buy or sell orders can cause sharp, short-term market price swings. These swings may cause the PNL shown while holding the position to differ from the actual PNL after closing.

Reminder:
  • The fair price mechanism reduces the impact of market manipulation, but the actual realized PNL depends on the market price when the order is matched.
  • In Futures trading, unrealized losses may trigger liquidation, so controlling position risk is crucial.

2. How to Calculate the PNLRate


2.1 Calculation Formula


In Futures trading, the PNL rate is a key metric to measure trade performance:
PNL Rate = (PNL / Initial margin) x 100%
Initial Margin = (Avg Entry Price x Contracts x Size) / Leverage
ROI = Unrealized PNL / Initial margin
The ROI only depends on current leverage, not on margin increases or decreases.

2.2 Example

Position Information
  • Trading pair: ETHUSDT (Long position – bullish on ETH)
  • Leverage: 500x
  • Direction: Long (bullish)
  • Entry price: 2697.30 USDT
  • Real-time fair price: 2703.67 USDT
  • Position size: 50 cont. (1 cont. = 0.01 ETH)
  • Trading fee = 0.2697 USDT
  • Funding fee = 0 USDT

Initial Margin = (Avg Entry Price x Contracts x Size) / Leverage = (2697.30 x 50 x 0.01) / 500 = 2.6973 USDT

PNL= Unrealized PNL − Trading fees − Funding Fees = 3.185 − 0.2697 − 0 = 2.9153 USDT

PNL Rate = (PNL / Initial Margin) x 100% = (2.9153 / 2.6973) x 100% = 108%

Disclaimer: This information does not provide advice on investment, taxation, legal, financial, accounting, consultation, or any other related services, nor does it constitute advice to purchase, sell, or hold any assets. MEXC Learn provides information for reference purposes only and does not constitute investment advice. Please ensure you fully understand the risks involved and exercise caution when investing. MEXC is not responsible for users' investment decisions.

Market Opportunity
4 Logo
4 Price(4)
$0.02038
$0.02038$0.02038
-6.60%
USD
4 (4) Live Price Chart

Popular Articles

View More
Is Claude Max Worth $200 a Month? The Claude Max Price, Limits and Who Needs 20x

Is Claude Max Worth $200 a Month? The Claude Max Price, Limits and Who Needs 20x

You are deep in a project when Claude tells you the limit is reached and to try again in a few hours. That is the moment the Claude Max price starts to look interesting. This guide covers what the

LITEON vs LITE: What's the Difference Between Tokenized Lumentum and Lumentum Stock?

LITEON vs LITE: What's the Difference Between Tokenized Lumentum and Lumentum Stock?

Summary LITE and LITEON are both connected to Lumentum Holdings Inc., but they are different financial instruments. LITE is Lumentum's common stock listed on Nasdaq. LITEON, also styled LITEon, is an

Are Tokenized Deposits Real Bank Deposits? Canada’s OSFI Gives Banks a Clear Answer

Are Tokenized Deposits Real Bank Deposits? Canada’s OSFI Gives Banks a Clear Answer

If a bank takes a conventional customer deposit and represents it as a token on blockchain infrastructure, what does the customer actually own? A crypto token? A stablecoin? Or the same bank deposit

MEXC On-Chain Daily Report: U.S. House Ways and Means Committee to Review Two Crypto Tax Bills

MEXC On-Chain Daily Report: U.S. House Ways and Means Committee to Review Two Crypto Tax Bills

Updated: September 14, 2026, 09:30 (UTC+8) | Author: MEXC Headlines U.S. House committee to review two crypto tax bills SEC reviews Grayscale Litecoin Trust conversion into an ETF On-chain RWA market

Hot Crypto Updates

View More
U.S. Pre-Market Briefing on Sept. 15: Semis Slide 4% as Tenable (TENB) Surges 16.51%; Trip.com Reports Tonight — Why Was 17% Growth Guided Down to 3%?

U.S. Pre-Market Briefing on Sept. 15: Semis Slide 4% as Tenable (TENB) Surges 16.51%; Trip.com Reports Tonight — Why Was 17% Growth Guided Down to 3%?

The last session was Monday, September 14. All three indices closed lower, with the S&P 500 down 0.48% at 7,620.25, the Nasdaq Composite down 0.56% and the Dow Jones Industrial down 0.29%. Rates did

Why Is CrowdStrike Stock Up 14%? AI Safety Fears Spark Cybersecurity Rally

Why Is CrowdStrike Stock Up 14%? AI Safety Fears Spark Cybersecurity Rally

Overview Global equity markets witnessed a decisive structural repricing as enterprise software decoupled from broader technology benchmarks, highlighted by a sudden 14% surge in shares of

Solana Sets Record With More Than 263,000 SPL Tokens in One Day: Pump.fun Dominates Launchpads

Solana Sets Record With More Than 263,000 SPL Tokens in One Day: Pump.fun Dominates Launchpads

Solana has just recorded more than 263,000 new SPL tokens created in a single day, setting a new all-time high for daily token issuance on the network, according to Solscan data cited by

Tether and Fasanara Launch $400 Million StableFund: USDT Moves Deeper Into Private Credit

Tether and Fasanara Launch $400 Million StableFund: USDT Moves Deeper Into Private Credit

Tether and Fasanara Capital announced the launch of StableFund on September 9, 2026, an evergreen private credit fund jointly sponsored by the two companies, with $400 million in initial

Trending News

View More
Pons Trading Volume Passes $4 Billion on Robinhood Chain

Pons Trading Volume Passes $4 Billion on Robinhood Chain

Pons has passed $4 billion in cumulative trading volume on Robinhood Chain, but fee revenue and repeat activity matter more for PONS.

Gold Price Falls Toward $4,300 as Rate-Hike Expectations Return

Gold Price Falls Toward $4,300 as Rate-Hike Expectations Return

Gold has fallen toward $4,300 per ounce as rising Treasury yields, a stronger dollar and renewed Fed rate-hike expectations pressure prices.

Outcome.xyz HIP-4 Prediction Market Tops $11 Million in Its First Week

Outcome.xyz HIP-4 Prediction Market Tops $11 Million in Its First Week

Outcome.xyz reportedly exceeded $11 million in HIP-4 trading volume during its first week. Here is what drove the growth and what traders should watch next.

Solana Transaction v1 Brings Larger Transactions to the Network

Solana Transaction v1 Brings Larger Transactions to the Network

Solana Transaction v1 raises the size limit to 4,096 bytes, enabling larger atomic operations while requiring infrastructure upgrades.

Related Articles

View More
The Complete Guide to Coin-M Perpetual Futures on MEXC

The Complete Guide to Coin-M Perpetual Futures on MEXC

In cryptocurrency derivatives, Futures trading enables investors to apply leverage to increase potential returns and to take positions in both rising and falling markets. MEXC offers two primary types

What Is the Long/Short Ratio? How to View Long/Short Ratio Data in Futures Trading?

What Is the Long/Short Ratio? How to View Long/Short Ratio Data in Futures Trading?

BSL refers to long/short closing data. Currently, on the MEXC platform, both candlestick charts and line charts in Futures trading support the display of historical order data for long/short ratios. I

Why Choose MEXC Futures?

Why Choose MEXC Futures?

Cryptocurrency futures trading has attracted countless investors with its promise of high leverage and high returns. Choosing the right exchange is the first step on the journey to successful futures

How to Trade Crypto-Forex Perpetual Futures on MEXC

How to Trade Crypto-Forex Perpetual Futures on MEXC

Crypto-Forex perpetual futures are financial derivatives that allow investors to speculate on the price movements of cryptocurrencies, both upward and downward, without actually owning or transferring

Sign Up on MEXC
Sign Up & Receive Up to 10,000 USDT Bonus
Is Your Stablecoin Truly Safe?
Is Your Stablecoin Truly Safe?Is Your Stablecoin Truly Safe?
Know the risks of USDT, USDC, OpenUSD & USD1