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.008932-2.11%

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.008923
$0.008923$0.008923
+1.17%
USD
4 (4) Live Price Chart

Popular Articles

View More
Who Really Owns SpaceX? How Elon Musk Controls 82.4% of the Votes With Just 42% of the Equity

Who Really Owns SpaceX? How Elon Musk Controls 82.4% of the Votes With Just 42% of the Equity

SpaceX is preparing to become the world's most valuable company to debut on public markets, entering its IPO week as the most valuable pre-listing entity in financial history. What fewer people

How SpaceX Reusable Rockets Reshape the Space Economy: From Falcon 9 to Starship, and the Road to SPCX's Trillion-Dollar Valuation

How SpaceX Reusable Rockets Reshape the Space Economy: From Falcon 9 to Starship, and the Road to SPCX's Trillion-Dollar Valuation

Key Takeaways SpaceX reusable rockets fundamentally rewrote the economics of commercial spaceflight: On December 21, 2015, Falcon 9's first-stage booster completed the world's first orbital-class

What is SpaceX? Will SpaceX Become the Most Valuable Company in the World? History, Mission, and 2026 IPO Explained

What is SpaceX? Will SpaceX Become the Most Valuable Company in the World? History, Mission, and 2026 IPO Explained

SpaceX has done something almost no private company has managed before: it turned a moonshot into a real business. Founded in 2002 with barely enough capital to survive its first three rocket

Bitcoin Support Resistance Levels: How to Identify and Trade Key BTC Price Zones

Bitcoin Support Resistance Levels: How to Identify and Trade Key BTC Price Zones

Whether you're a day trader watching the 15-minute chart or a long-term holder tracking weekly structure, understanding Bitcoin support and resistance levels is one of the most practical skills you

Hot Crypto Updates

View More
How to Get Free Dream Coins in OurDream AI: Promo Codes & Glitches Explained

How to Get Free Dream Coins in OurDream AI: Promo Codes & Glitches Explained

Can you really get free Dream Coins on OurDream AI? We tested every promo code, referral method, and so-called glitch circulating in 2026 — here is what actually works. Overview OurDream AI has built

Mastercard Expands Stablecoin Settlement, Moving Toward a 24 7 Economy

Mastercard Expands Stablecoin Settlement, Moving Toward a 24 7 Economy

Mastercard is advancing its strategy to integrate blockchain technology into the global payments ecosystem by expanding its stablecoin settlement capabilities. According to the company's latest

AI-Powered Payments Surpass 100 Million Transactions on Base: Are Stablecoins Becoming the Infrastructure of the AI Economy?

AI-Powered Payments Surpass 100 Million Transactions on Base: Are Stablecoins Becoming the Infrastructure of the AI Economy?

Coinbase's x402 payment protocol has surpassed 100 million transactions on the Base network just nine months after its launch, according to data from Chainalysis. The milestone highlights the rapid

Bitcoin Crashes Below $66K: $1.86B Liquidated — Perfect Storm or Buying Signal?

Bitcoin Crashes Below $66K: $1.86B Liquidated — Perfect Storm or Buying Signal?

Bitcoin crashed to $65,000–$66,000 in 24 hours, triggering over $1.86B in liquidations. Strategy's first BTC sale in 4 years, record ETF outflows, US-Iran tensions, and an AI stock rotation all

Trending News

View More
Ethereum (ETH) Price: ETH Hit $1,500 — Is $1,000 Next or Is the Bottom In?

Ethereum (ETH) Price: ETH Hit $1,500 — Is $1,000 Next or Is the Bottom In?

TLDR Ethereum briefly touched $1,500 in June 2026, roughly 70% below its August 2025 all-time high of $4,953. ETH has fallen harder than Bitcoin due to higher beta

Nikkei 225 Falls 4.2% as Tech Stocks Lead Asia Market Selloff

Nikkei 225 Falls 4.2% as Tech Stocks Lead Asia Market Selloff

The post Nikkei 225 Falls 4.2% as Tech Stocks Lead Asia Market Selloff appeared first on Coinpedia Fintech News Japan’s Nikkei 225 dropped 4.2% in a broad market

Securitize Is Going Public — Here’s What the NYSE Listing Means for Crypto Investors

Securitize Is Going Public — Here’s What the NYSE Listing Means for Crypto Investors

TLDR The SEC approved Securitize’s Form S-4 registration statement, clearing a key step for its SPAC merger with Cantor Equity Partners II Shareholders vote on

Gold Stalls Near $4,300 as Persistent Inflation Revives Fed Rate Hike Bets

Gold Stalls Near $4,300 as Persistent Inflation Revives Fed Rate Hike Bets

BitcoinWorld Gold Stalls Near $4,300 as Persistent Inflation Revives Fed Rate Hike Bets Gold prices remained subdued on Wednesday, hovering near their lowest levels

Related Articles

View More
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

Calculation of Futures Yield and Trading Fees

Calculation of Futures Yield and Trading Fees

When trading futures on MEXC or other major exchanges, your trading PNL is based on three components:Trading Fees: The cost incurred during the transaction.Funding Fees: Periodic settlements based on

Fully understand the MEXC perpetual futures trading model to help you better formulate trading strategies

Fully understand the MEXC perpetual futures trading model to help you better formulate trading strategies

MEXC provides traders with flexible options. Users can choose between U-based or Coin-M perpetual futures according to their personal preferences. At the same time, MEXC supports one-way and two-way p

Sign Up on MEXC
Sign Up & Receive Up to 10,000 USDT Bonus
BTC Below $70K, ETF Outflows
BTC Below $70K, ETF OutflowsBTC Below $70K, ETF Outflows
PCE upside & Strategy trims BTC. Read Alpha Trader