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.008838-4.12%

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.008838
$0.008838$0.008838
-2.38%
USD
4 (4) Live Price Chart

Popular Articles

View More
How to Use Technical Indicators in Stock Trading: When MACD, RSI, and Moving Averages Help (or Trap You)

How to Use Technical Indicators in Stock Trading: When MACD, RSI, and Moving Averages Help (or Trap You)

For many beginner traders, discovering technical indicators feels like finding a cheat code to the stock market. You load up a chart, overlay the MACD, add an RSI, plot three moving averages, and

Could Bitcoin Fall to $54,000? Inside the $10.6B BTC Options Gamma Trap

Could Bitcoin Fall to $54,000? Inside the $10.6B BTC Options Gamma Trap

More than $10.6 billion in Bitcoin options are settling today, and the market is not where bulls expected it to be. Traders who spent months positioning for BTC above $80,000 are watching those

Q2 2026 Earnings Preview: The Biggest Earnings Season Since the AI Revolution — Five Critical Takeaways for Retail Investors

Q2 2026 Earnings Preview: The Biggest Earnings Season Since the AI Revolution — Five Critical Takeaways for Retail Investors

The Q2 2026 earnings season has officially kicked off. This is not just another ordinary earnings cycle - it may be the most important and decisive earnings season since the rise of the artificial

Can QCOM Reach $280? Qualcomm Share Price Prediction and 2030 Outlook

Can QCOM Reach $280? Qualcomm Share Price Prediction and 2030 Outlook

Qualcomm has not had a catalyst like this in a long time. On June 24, 2026, the company walked into its annual Investor Day and announced targets aggressive enough to move the stock 9% in a single

Hot Crypto Updates

View More
MoneyGram Becomes a Solana Validator When Traditional Remittance Companies Start Building Blockchain Infrastructure

MoneyGram Becomes a Solana Validator When Traditional Remittance Companies Start Building Blockchain Infrastructure

MoneyGram has officially become a validator on the Solana network, marking a new milestone in the blockchain strategy of one of the world's largest money transfer companies. The move comes just weeks

How Qualcomm and Micron Sparked a $400 Billion AI Stock Surge

How Qualcomm and Micron Sparked a $400 Billion AI Stock Surge

The artificial intelligence (AI) investment boom received a powerful new boost on June 24, 2026, when semiconductor giants Qualcomm and Micron Technology delivered forecasts that reignited investor

Bending the Chart: How SpaceX's 4% Float Turned a Bond Filing Into a $920 Billion Liquidity Drain

Bending the Chart: How SpaceX's 4% Float Turned a Bond Filing Into a $920 Billion Liquidity Drain

Overview SpaceX shares fell to $154.60 at Monday's close on June 22, capping a three-session reversal that erased roughly $600 billion from the stock's closing peak and, measured from the June 16

The Day MSTR Traded Below Its Own Bitcoin: STRC's Broken Peg and the Reflexive Risk Loop Inside Strategy

The Day MSTR Traded Below Its Own Bitcoin: STRC's Broken Peg and the Reflexive Risk Loop Inside Strategy

Overview Strategy's common stock broke below $100 on June 24 for the first time since March 2024, touching an intraday low near $92 and trading at roughly two-thirds of the net asset value of the

Trending News

View More
New Crypto: Pepeto Crosses $10.33M as Ethereum Foundation Fires 20% of Staff While Ethereum Price Prediction Builds Toward Recovery

New Crypto: Pepeto Crosses $10.33M as Ethereum Foundation Fires 20% of Staff While Ethereum Price Prediction Builds Toward Recovery

The ethereum price prediction is being tested hard as ETH trades near $1,565, down 68% from its $4,953 high after the Ethereum Foundation fired 54 employees and

Aave V4 Targets $4.6 Trillion Securities Lending Market With Tokenized Stocks

Aave V4 Targets $4.6 Trillion Securities Lending Market With Tokenized Stocks

TLDR: Aave V4 will enable onchain securities lending for tokenized stocks, removing broker intermediaries entirely. The global securities lending market holds $

Gold Holds Above $4,000 as US PCE Data Cools Near-Term Fed Rate Hike Bets

Gold Holds Above $4,000 as US PCE Data Cools Near-Term Fed Rate Hike Bets

BitcoinWorld Gold Holds Above $4,000 as US PCE Data Cools Near-Term Fed Rate Hike Bets The price of gold remained steady above the $4,000 per ounce mark on Friday

4.02 million ADA connected to SecondFi hack tracked in single wallet! What are the latest steps for Cardano holders?

4.02 million ADA connected to SecondFi hack tracked in single wallet! What are the latest steps for Cardano holders?

🛡️ 4.02 million ADA linked to the SecondFi hack are under surveillance in a single wallet. ⚠️ Users are warned not to reuse recovery phrases as attackers can still

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 MEXC Futures Earn?

What is MEXC Futures Earn?

1. What is MEXC Futures Earn?Futures Earn is a financial product offered by MEXC for Futures users. Once activated, eligible funds in your Futures account will automatically enroll in this exclusive E

MEXC AI Strategy for Beginners: How AI Quant Trading Works

MEXC AI Strategy for Beginners: How AI Quant Trading Works

Key Takeaways:MEXC AI Strategy is officially live, allowing users to generate futures trading strategies using natural language, making it easy for beginners to get started. It integrates social media

How to change the K-line layout in MEXC futures trading? Better serve your futures trading

How to change the K-line layout in MEXC futures trading? Better serve your futures trading

Investing in cryptocurrency often involves focusing on multiple tokens. In daily trading, it is common to pay attention to the trend of tokens at different time periods and perform peer-to-peer operat

Sign Up on MEXC
Sign Up & Receive Up to 10,000 USDT Bonus
Kickoff Fest! Win Up to $500K!
Kickoff Fest! Win Up to $500K!Kickoff Fest! Win Up to $500K!
4 rewards! 1st trade bonus & 0-fee limit orders!