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.008672+2.30%

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.008669
$0.008669$0.008669
+3.19%
USD
4 (4) Live Price Chart

Popular Articles

View More
Can You Trade Stocks and Crypto in One App? Best Platforms Compared (2026)

Can You Trade Stocks and Crypto in One App? Best Platforms Compared (2026)

Yes, you can trade stocks and crypto in one app, but your real options depend on where you live. US residents can pick from Robinhood, Coinbase, Kraken, or Crypto.com. UK and EU investors have eToro

How to Buy Stocks Online Without a Broker: 6 Ways Banks Won't Tell You About

How to Buy Stocks Online Without a Broker: 6 Ways Banks Won't Tell You About

Yes, you can buy stocks online without a broker. US investors can use direct stock purchase plans, dividend reinvestment plans, or employer plans, while zero-commission apps remove the human

MSFT Price Target: Zero Sell Ratings and a $100 Billion Azure Year, So Why Won't Microsoft Stock Close the Gap?

MSFT Price Target: Zero Sell Ratings and a $100 Billion Azure Year, So Why Won't Microsoft Stock Close the Gap?

Microsoft (NASDAQ: MSFT) just closed its fiscal year with a quarter that beat Wall Street on every headline number — and the stock still trades roughly 24% below where the average analyst says it

Are Tokenized Stocks Backed by Real Shares? What MEXC, Kraken, Bybit, and Bitget Actually Hold

Are Tokenized Stocks Backed by Real Shares? What MEXC, Kraken, Bybit, and Bitget Actually Hold

Are tokenized stocks backed by real shares? It depends on the issuance structure: 1:1 custodial tokens are backed by real shares held with a regulated custodian, while synthetic tokens track a

Hot Crypto Updates

View More
Microsoft FY2026 Q4 Earnings Beat Estimates as Azure Growth Accelerates and MSFT Stock Jumps

Microsoft FY2026 Q4 Earnings Beat Estimates as Azure Growth Accelerates and MSFT Stock Jumps

When Were the Microsoft Q4 FY2026 Earnings Released? Microsoft announced its fiscal fourth-quarter 2026 earnings after the U.S. market closed on Wednesday, July 29, 2026. The quarter covered the

SPY Price Prediction 2026–2030: Bull, Base and Bear Market Scenarios

SPY Price Prediction 2026–2030: Bull, Base and Bear Market Scenarios

Summary SPY closed at $740.86 on July 28, 2026. State Street reported a forward P/E of 21.59x and estimated three-to-five-year portfolio earnings growth of 17.38%. The following ranges are

STM Stock Price Prediction 2026–2030: Bull, Base and Bear Scenarios

STM Stock Price Prediction 2026–2030: Bull, Base and Bear Scenarios

Summary STM closed near $53.45 on July 27, 2026 after falling sharply following Q2 earnings. The stock had previously reached approximately $81.42 in early June, illustrating the unusually wide range

All Eyes on the Fed: What Today’s Interest Rate Decision Could Mean for Bitcoin and Crypto

All Eyes on the Fed: What Today’s Interest Rate Decision Could Mean for Bitcoin and Crypto

The Federal Reserve will announce its interest rate decision today at 2:00 PM ET, and crypto markets are holding their breath. The federal funds rate has sat at 3.50%–3.75% since December 2025, and

Trending News

View More
Samsung Q2 Profit Jumps 19x, But Shares Fall: Why AI Memory Stocks Face a Higher Bar

Samsung Q2 Profit Jumps 19x, But Shares Fall: Why AI Memory Stocks Face a Higher Bar

Samsung Electronics recently guided its Q2 2026 revenue at approximately KRW 171 trillion with an operating profit of KRW 89.4 trillion—an astonishing 19-fold jump from a year earlier. On paper, this

Tesla Q1 2026 Earnings Review: Deliveries Rebounded, But Margin Quality Remains the Real Test

Tesla Q1 2026 Earnings Review: Deliveries Rebounded, But Margin Quality Remains the Real Test

Tesla reported its Q1 2026 financial results on April 22, 2026, after the U.S. market close. The company delivered 358,023 vehicles in the quarter, generated total revenue of $22.4 billion, and report

Apple FY2026 Q2 Earnings Review: iPhone Revenue and Services Growth Keep EPS Story Intact

Apple FY2026 Q2 Earnings Review: iPhone Revenue and Services Growth Keep EPS Story Intact

Apple reported fiscal 2026 second-quarter results on April 30, 2026, covering the quarter that ended March 28, 2026. Revenue reached $111.2 billion, up 17% year over year, while diluted EPS rose 22% t

Hyperliquid Open Interest Hits $11.5 Billion: Are On-Chain Perpetuals Expanding into U.S. Equity Markets?

Hyperliquid Open Interest Hits $11.5 Billion: Are On-Chain Perpetuals Expanding into U.S. Equity Markets?

Hyperliquid’s open interest has reached approximately $11.5 billion, a new high for 2026, with HIP-3 markets contributing nearly $4 billion. The S&P 500-linked contract has become the largest HIP-3 ma

Related Articles

View More
Zero Threshold, Zero Slippage: How to Trade U.S. Stock Futures on MEXC

Zero Threshold, Zero Slippage: How to Trade U.S. Stock Futures on MEXC

Recently, AI concept stocks have surged dramatically, with tech giants' valuations reaching record highs, placing the U.S. stock market firmly in the spotlight for global investors. However, most cryp

How to Rearrange the Open Position Information Columns in Futures Trading

How to Rearrange the Open Position Information Columns in Futures Trading

In Futures trading, once you have opened a position, it will appear under Open Position. The Open Positions list includes Trading Pair, Position, Avg Entry Price, Fair Price, Est. Liq Price, Margin Ra

How to Export Futures Position History Data

How to Export Futures Position History Data

In futures trading, mastering and analyzing your historical trade data is the first step toward becoming a more experienced trader. MEXC's newly launched Futures Position History data export feature p

What is Add Margin?

What is Add Margin?

Understanding the mechanism of margin calls is a required lesson for every futures trader, from beginner to expert. A margin call is not only a passive requirement set by the platform, but also a crit

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