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.008427-7.59%

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.008427
$0.008427$0.008427
-5.76%
USD
4 (4) Live Price Chart

Popular Articles

View More
Will SPCX Soar to $227 or Crash to $63? Here Is the Real SpaceX Stock Price Prediction

Will SPCX Soar to $227 or Crash to $63? Here Is the Real SpaceX Stock Price Prediction

SpaceX stock is already trading well above what most Wall Street analysts think it is worth. SPCX shares touched an all time high of $225.64 in their first week on the Nasdaq, yet the average analyst

Who Is Kevin Warsh? Is He Hawkish or Dovish? What the New Fed Chair's Monetary Policy Views Mean for Market

Who Is Kevin Warsh? Is He Hawkish or Dovish? What the New Fed Chair's Monetary Policy Views Mean for Market

Kevin Warsh is chairing his first Federal Open Market Committee meeting today as the 17th Federal Reserve Chair, and every market from Bitcoin to the Nasdaq is watching his next move. Bitcoin has

Could CRWV Climb to $140 or Higher? CoreWeave Price Target and Analyst Forecast

Could CRWV Climb to $140 or Higher? CoreWeave Price Target and Analyst Forecast

CoreWeave has turned into one of the most argued-about stocks on Wall Street this year. One week it jumps double digits on an Nvidia chip announcement. The next, it slides after a multibillion-dollar

Will IREN Reach $100 After Its 725% Rally? The Full Analyst Price Target Breakdown

Will IREN Reach $100 After Its 725% Rally? The Full Analyst Price Target Breakdown

IREN Limited (NASDAQ: IREN) has surged roughly 725% from its 52-week low to trade near $60 in mid-June 2026, turning a niche bitcoin miner into one of Wall Street's most-watched AI infrastructure

Hot Crypto Updates

View More
XRPL 3.2.0 Is Live: The End of rippled, and What XRP Holders Actually Need to Do

XRPL 3.2.0 Is Live: The End of rippled, and What XRP Holders Actually Need to Do

XRP Ledger's v3.2.0 mainnet upgrade activated on June 15, 2026, renaming the core server software from rippled to xrpld and cutting node memory usage by up to 40%. Here's what it means for XRP

US-Iran Peace Framework: How Falling Oil Prices Are Boosting Crypto Liquidity

US-Iran Peace Framework: How Falling Oil Prices Are Boosting Crypto Liquidity

On June 15, 2026, the United States and Iran announced a preliminary peace framework agreement aimed at ending months of military conflict and reopening the Strait of Hormuz, one of the most

UK FCA Proposes Limited Crypto Exposure for Retail Investment Funds: Here's What You Need to Know

UK FCA Proposes Limited Crypto Exposure for Retail Investment Funds: Here's What You Need to Know

1.Introduction The United Kingdom financial regulator is considering a significant policy shift that could expand access to cryptocurrency-linked investments for everyday investors. The Financial

ZEC Plunges on Infinite Mint Fears: Analyzing the Market Fallout of the Orchard Bug

ZEC Plunges on Infinite Mint Fears: Analyzing the Market Fallout of the Orchard Bug

Overview Zcash (ZEC) lost roughly half its value in 48 hours in early June 2026, falling from a June 4 peak near $624 to about $309 on June 5 after Shielded Labs disclosed a critical soundness flaw

Trending News

View More
Gold Holds Ground Near $4,327 as U.S.-Iran Agreement Dampens Inflation Concerns

Gold Holds Ground Near $4,327 as U.S.-Iran Agreement Dampens Inflation Concerns

Gold steadies at $4,327 as U.S.-Iran peace deal lowers oil prices and eases inflation. Traders await Fed's rate decision under new Chair Kevin Warsh. The post Gold

Gold Holds Above $4,300 as Traders Eye Fed Rate Decision for Next Move

Gold Holds Above $4,300 as Traders Eye Fed Rate Decision for Next Move

BitcoinWorld Gold Holds Above $4,300 as Traders Eye Fed Rate Decision for Next Move Gold prices have extended their range-bound trading pattern above the $4,300

XRP News Today: CLARITY Act Targets July 4 Signing as ETF Inflows Hit $1.44B and XRP Holds $1.19 Into FOMC Decision

XRP News Today: CLARITY Act Targets July 4 Signing as ETF Inflows Hit $1.44B and XRP Holds $1.19 Into FOMC Decision

XRP price is $1.19 on June 17. CLARITY Act targets July 4 signing, XRP ETF inflows hit $1.44B. Full XRP news update with FOMC outlook.

A16z-Linked Wallet Withdraws $6.4 Million in HYPE Tokens, Extending Accumulation Run

A16z-Linked Wallet Withdraws $6.4 Million in HYPE Tokens, Extending Accumulation Run

BitcoinWorld A16z-Linked Wallet Withdraws $6.4 Million in HYPE Tokens, Extending Accumulation Run A cryptocurrency wallet address linked to venture capital giant

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
Predict World Cup, Share 8M USDT
Predict World Cup, Share 8M USDTPredict World Cup, Share 8M USDT
Share 200K USDT daily. Win more with streaks