Buy Crypto
Markets
Spot
FuturesZEC
Earn
Event Center
Rewards Hub
More
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 Calculations Explained

PNL Calculations Explained

Beginner
Nov 25, 2026MEXC Learn Team
4 min
Share

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
Lagrange Logo
Lagrange Price(LA)
$0.03423
$0.03423$0.03423
-5.52%
USD
Lagrange (LA) Live Price Chart

Related Articles

View More
MEXC On-Chain Daily Report: 800 BTC Moves After Nearly 17 Years of Dormancy, Bringing Post-Quantum Security Into Focus

MEXC On-Chain Daily Report: 800 BTC Moves After Nearly 17 Years of Dormancy, Bringing Post-Quantum Security Into Focus

Updated: December 4, 2026, 09:30 (UTC+8) | Author: MEXC Headlines 800 BTC moves for the first time after nearly 17 years of dormancy BNB Chain targets post-quantum migration within 4 to 8 weeks Zcash

Why Year-End Exchange Rewards Focus on Derivatives and Fees

Why Year-End Exchange Rewards Focus on Derivatives and Fees

If you have noticed how many exchange rewards arrive as futures bonuses, fee vouchers or volume tasks, there is a plain business reason behind it. It starts with how crypto exchanges make money, and

MEXC On-Chain Daily Report: Ethereum Targets Quantum Resistance by the End of 2027 as Blockchain Security Upgrades Accelerate

MEXC On-Chain Daily Report: Ethereum Targets Quantum Resistance by the End of 2027 as Blockchain Security Upgrades Accelerate

Updated: December 3, 2026, 09:30 (UTC+8) | Author: MEXC Headlines Ethereum Foundation supports achieving quantum resistance by the end of 2027 South Korea officially brings cross-border crypto

MEXC On-Chain Daily Report: Malaysia’s First Spot Bitcoin ETF to Launch, Opening a New Investment Channel for Retail Investors

MEXC On-Chain Daily Report: Malaysia’s First Spot Bitcoin ETF to Launch, Opening a New Investment Channel for Retail Investors

Updated: December 1, 2026, 09:30 (UTC+8) | Author: MEXC Headlines Malaysia’s first spot Bitcoin ETF to list on December 2 Circle mints 1.5 billion USDC on Solana within 24 hours Sberbank begins

Popular Articles

View More
Oura Competitors: Samsung, Apple and the Smart Ring Market

Oura Competitors: Samsung, Apple and the Smart Ring Market

Oura's competitors fall into three groups, according to its IPO prospectus: smartwatch makers such as Apple, Google and Samsung; fitness wearables such as Garmin, Coros and Whoop; and software-only

Is Oura Profitable? Revenue, Business Model and Valuation

Is Oura Profitable? Revenue, Business Model and Valuation

Yes, Oura is profitable on a net income basis. Its IPO prospectus shows net income of $60.8 million on revenue of $1.21 billion in the nine months to June 30, 2026. The $924.3 million loss in some

From Crypto to Stocks: The MEXC Stock Trading Handbook

From Crypto to Stocks: The MEXC Stock Trading Handbook

The MEXC Stock Trading Handbook is a practical guide for crypto traders who want to trade stocks and stock-linked products. It explains what changes when the underlying asset is a company rather than

Rate Hike Lands, BTC Hits 8-Month High — Bad News Priced In or a Short-Squeeze Rally? | MEXC Alpha Trader Weekly Research

Rate Hike Lands, BTC Hits 8-Month High — Bad News Priced In or a Short-Squeeze Rally? | MEXC Alpha Trader Weekly Research

Week 3 of September 2026 Statistics Period: September 16 – September 22, 2026 Data Cutoff: September 22, 2026 Core Narrative Over the past week, crypto markets moved through a full cycle of

Hot Crypto Updates

View More
Why Is GitLab (GTLB) Stock Up After Earnings? AI Agents and Revenue Growth Explained

Why Is GitLab (GTLB) Stock Up After Earnings? AI Agents and Revenue Growth Explained

GitLab (NASDAQ: GTLB) shares extended their post-earnings gains on December 2, 2026, after the software development platform reported stronger-than-expected third-quarter fiscal 2027 results and

Why Is Salesforce (CRM) Stock Down 11% After Q3 FY2027 Earnings?

Why Is Salesforce (CRM) Stock Down 11% After Q3 FY2027 Earnings?

Salesforce (NYSE: CRM) shares fell approximately 10.7% in after-hours trading on December 2, 2026, after the enterprise software company reported stronger-than-expected third-quarter fiscal 2027

Why Is Nvidia (NVDA) Stock Up Today? SpaceX Partnership and Kyber Galaxy Explained

Why Is Nvidia (NVDA) Stock Up Today? SpaceX Partnership and Kyber Galaxy Explained

Nvidia (NASDAQ: NVDA) shares rose approximately 2.8% on December 1, 2026, as semiconductor stocks extended their recovery and the company announced a new space computing platform developed in

Why Are Cybersecurity Stocks Up Today? NET, PANW and CIBR Rally on AI Encryption Concerns

Why Are Cybersecurity Stocks Up Today? NET, PANW and CIBR Rally on AI Encryption Concerns

Cybersecurity stocks rallied on November 30, 2026, after Anthropic's AI-assisted cryptographic research raised new questions about the long-term resilience of certain post-quantum security standards.

Sign Up on MEXC
Sign Up & Receive Up to 10,000 USDT Bonus

Join the MEXC Community

Get the latest listings, events, and updates in real time, straight from our official Telegram channel.

25k+ members

Futures

BTC/USDT
ETH/USDT
GOLD(XAU)/USDT