Buy Crypto
Markets
Spot
FuturesANT
Earn
Event Center
Rewards Hub
More
100%+ PoR
To trade MEXC perpetual futures you need to know three numbers before you open a position: how much margin it locks, how much margin it must keep, and how fees and funding change your final profit orTo trade MEXC perpetual futures you need to know three numbers before you open a position: how much margin it locks, how much margin it must keep, and how fees and funding change your final profit or
Learn/Trading Guide/Futures/MEXC Futures Margin and PnL Calculations: Formulas and Worked Examples

MEXC Futures Margin and PnL Calculations: Formulas and Worked Examples

Intermediate
Nov 19, 2026MEXC Research Team
8 min
Share

To trade MEXC perpetual futures you need to know three numbers before you open a position: how much margin it locks, how much margin it must keep, and how fees and funding change your final profit or loss.

This guide gives the formulas for initial margin, maintenance margin, opening cost, trading fees, funding fees, unrealized and realized PnL, and ROI, for both USDT-M and Coin-M futures.

Every formula comes with a worked example at 10x leverage, using the fee rates on MEXC's official fee page as of November 13, 2026.

 

Key Takeaways

  • USDT-M initial margin = entry price × contracts × contract size ÷ leverage; Coin-M initial margin = contracts × contract size ÷ (leverage × entry price).
  • Maintenance margin = position value × the maintenance margin rate of the contract's risk-limit tier; liquidation starts when the maintenance margin rate reaches 100%.
  • Opening cost is the initial margin plus the expected trading fee, and it is the amount frozen when you place the order.
  • Trading fee = position value × maker or taker rate; for BTCUSDT futures MEXC lists 0% maker and 0.02% taker (November 13, 2026).
  • Funding fee = funding rate × position value at the fair price; when the rate is positive longs pay shorts, and when it is negative shorts pay longs.
  • Realized PnL = closing PnL − trading fees − funding paid (+ funding received), and ROI = PnL ÷ initial margin.

 

USDT-M vs. Coin-M Futures

MEXC offers two kinds of futures: USDT-M futures, which are margined and settled in USDT, and Coin-M futures, which are margined and settled in the coin itself, such as BTC.

The calculation principles are the same, but Coin-M formulas use the inverse of the price because each contract is worth a fixed amount of US dollars.

The examples below use the BTCUSDT perpetual, where one contract is 0.0001 BTC, unless they say Coin-M.

 

1. Margin Basics: Initial Margin, Maintenance Margin and Opening Cost

Margin is the collateral that backs a futures position, and three related amounts matter.

 

1.1 Initial Margin

 

Initial margin is the amount locked to open a position, and it equals the position value divided by the leverage.

USDT-M: Initial Margin = Average Entry Price × Contracts × Contract Size ÷ Leverage.

Coin-M: Initial Margin = Contracts × Contract Size ÷ (Leverage × Average Entry Price).

Example (USDT-M): a long of 10,000 BTCUSDT contracts, or 1 BTC, at 60,000 USDT with 10x leverage has a position value of 60,000 USDT and an initial margin of 60,000 ÷ 10 = 6,000 USDT.

Example (Coin-M): 100 BTCUSD contracts of 100 USD each at 50,000 USD with 10x leverage need 100 × 100 ÷ (10 × 50,000) = 0.02 BTC of initial margin.

 

1.2 Maintenance Margin

 

Maintenance margin is the minimum margin a position must keep to stay open.

USDT-M: Maintenance Margin = Average Entry Price × Contracts × Contract Size × Maintenance Margin Rate.

Coin-M: Maintenance Margin = (Contracts × Contract Size ÷ Average Entry Price) × Maintenance Margin Rate.

The maintenance margin rate is set by position size through each contract's risk-limit tiers, not by leverage, and larger positions carry higher rates.

Tier tables and worked examples are in the MEXC futures liquidation FAQ.

Example: at an illustrative Tier 1 rate of 0.40%, the 1 BTC long above has a maintenance margin of 60,000 × 0.40% = 240 USDT.

Liquidation starts when the position's maintenance margin rate reaches 100%, as explained in our guide to how liquidation works.

 

1.3 Opening Cost

 

Opening cost is the total frozen when you place an order: the initial margin plus the trading fee expected on opening.

Example: opening the 1 BTC long as a taker at 0.02% costs a 12 USDT fee, so the opening cost is about 6,000 + 12 = 6,012 USDT.

 

2. Fair Price, Last Price and Close Price

Three prices appear in these formulas, and mixing them up is the most common source of confusion.

The fair price is the reference price MEXC uses for unrealized PnL, funding and liquidation, so that a brief spike on one market does not decide your position; our guide to the index, fair and last price explains how each is built.

The last price is the most recent trade on MEXC's order book.

The close price, shown as the average close price when a position is closed in several fills, is the price at which your closing orders actually executed.

 

3. Trading Fees

Every opening and closing trade pays a fee based on the position value and whether the order adds liquidity (maker) or takes it (taker).

Taker fee = Position Value × Taker Fee Rate.

Maker fee = Position Value × Maker Fee Rate.

On November 13, 2026, MEXC's fee page listed BTCUSDT and ETHUSDT futures at 0% maker and 0.02% taker, and rates differ by contract.

Example: opening the 60,000 USDT position as a taker costs 60,000 × 0.02% = 12 USDT, and closing it as a maker at 66,000 costs 66,000 × 0% = 0 USDT.

 

4. Funding Fees

Perpetual futures have no expiry, so longs and shorts exchange a fee set by the funding rate at set intervals to keep the contract price close to the spot market.

Funding Fee = Funding Rate × Position Value, where Position Value = Contracts × Contract Size × Fair Price.

When the funding rate is positive, longs pay shorts; when it is negative, shorts pay longs; and if you close before the settlement time, you neither pay nor receive that round.

Example: with a +0.01% funding rate and a fair price of 62,000, the 1 BTC long pays 62,000 × 0.01% = 6.2 USDT, and the matching short receives it.

If the rate were −0.01%, the long would receive 6.2 USDT instead, which some calculations show as a negative cost of −6.2.

 

5. PnL Formulas

Profit and loss on a futures position comes from three parts: the price change, trading fees and funding fees.

 

5.1 Unrealized PnL (Open Positions)

 

Unrealized PnL is the estimated profit or loss of an open position, marked to the fair price.

USDT-M long: (Fair Price − Average Entry Price) × Contracts × Contract Size; USDT-M short: (Average Entry Price − Fair Price) × Contracts × Contract Size.

Coin-M long: (1 ÷ Average Entry Price − 1 ÷ Fair Price) × Contracts × Contract Size; Coin-M short: (1 ÷ Fair Price − 1 ÷ Average Entry Price) × Contracts × Contract Size.

Example: if the fair price of the 1 BTC long reaches 63,000, its unrealized PnL is (63,000 − 60,000) × 1 = 3,000 USDT.

 

5.2 Closing PnL

 

Closing PnL is the profit or loss from the price change alone, using the average close price.

USDT-M long: (Average Close Price − Average Entry Price) × Contracts × Contract Size; USDT-M short: (Average Entry Price − Average Close Price) × Contracts × Contract Size.

Coin-M long: (1 ÷ Average Entry Price − 1 ÷ Average Close Price) × Contracts × Contract Size; Coin-M short: (1 ÷ Average Close Price − 1 ÷ Average Entry Price) × Contracts × Contract Size.

 

5.3 Realized PnL

 

Realized PnL is what you actually make or lose after closing: Realized PnL = Closing PnL − Opening Fee − Closing Fee − Funding Paid + Funding Received.

Example: closing the 1 BTC long at 66,000 as a maker gives a closing PnL of 6,000 USDT, and after the 12 USDT opening fee, the 6.2 USDT funding paid and a 0 USDT closing fee, the realized PnL is 5,981.8 USDT.

 

5.4 ROI

 

ROI = PnL ÷ Initial Margin, so the 3,000 USDT unrealized PnL above on 6,000 USDT of margin is an ROI of 50%.

Because ROI is measured against margin rather than position value, leverage magnifies it in both directions: the same 5% price move is a 50% gain or loss at 10x.

 

6. Why Your PnL Can Differ From What You Expected

Unrealized PnL is an estimate, and three things can make the realized result different.

First, unrealized PnL uses the fair price, while realized PnL uses your actual fill price, which can differ in fast or thin markets.

Second, unrealized PnL does not include the closing fee, which is charged only when you close.

Third, funding fees paid or received while you hold the position change the final result.

 

7. Worked Example: One Trade From Open to Close

StepCalculationResult (USDT)
Position value at open60,000 × 10,000 × 0.000160,000
Initial margin at 10x60,000 ÷ 106,000
Opening fee (taker 0.02%)60,000 × 0.02%12
Maintenance margin (0.40%, illustrative)60,000 × 0.40%240
Funding paid (+0.01%, fair price 62,000)62,000 × 0.01%6.2
Unrealized PnL at fair price 63,000(63,000 − 60,000) × 13,000
Closing PnL at 66,000(66,000 − 60,000) × 16,000
Closing fee (maker 0%)66,000 × 0%0
Realized PnL6,000 − 12 − 6.2 − 05,981.8

These results are for illustration; actual fees, funding rates and maintenance margin rates depend on the contract and on MEXC's current rules.

 

 

FAQ

 

How do I calculate initial margin on MEXC futures?

For USDT-M futures, divide the position value, which is entry price × contracts × contract size, by your leverage.

 

What is the difference between initial margin and maintenance margin?

Initial margin is what you lock to open a position, while maintenance margin is the minimum it must keep before liquidation starts.

 

Are trading fees included in unrealized PnL?

No, unrealized PnL excludes the closing fee, which is deducted only when you close the position.

 

How is the funding fee calculated?

The funding fee is the funding rate times the position value at the fair price, paid by longs when the rate is positive and by shorts when it is negative.

 

Why is my realized PnL lower than my unrealized PnL was?

Realized PnL uses your actual fill price and deducts closing fees and any funding paid, while unrealized PnL uses the fair price before those costs.

 

How is ROI calculated on MEXC futures?

ROI is PnL divided by the initial margin, so leverage magnifies it compared with the price change.

 

Summary

Margin, fees and funding together decide what a futures trade really costs and returns.

Initial margin is the position value divided by leverage, maintenance margin is the position value times the tier's rate, and opening cost adds the expected fee.

Realized PnL is the closing PnL minus trading fees and funding paid, plus any funding received, and ROI measures it against your margin.

Leverage magnifies both gains and losses, and the formulas in this guide show how quickly margin can be used up.

 

Related Articles

 

Trading crypto assets is high-risk; prices can be highly volatile and you may lose everything you put in. No security measure removes all risk, and MEXC does not promise principal protection or absolute security. This article is not investment advice.

Market Opportunity
MX Token Logo
MX Token Price(MX)
$1.4109
$1.4109$1.4109
+0.01%
USD
MX Token (MX) Live Price Chart
This article is provided by MEXC Research Team for informational purposes only and does not constitute financial or investment advice. Cryptocurrency markets involve significant risk. Please conduct independent research or consult a qualified professional before making any investment decisions. The views expressed do not necessarily represent those of MEXC or its affiliates.

Related Articles

View More
Anthropic Lock-Up Expiration Schedule: When Insiders Can Sell ANT Shares

Anthropic Lock-Up Expiration Schedule: When Insiders Can Sell ANT Shares

There is no single Anthropic lock-up expiration date. Insider shares are released in stages: the first batch on ANT's first trading day, November 19, 2026, and the last no later than day 365,

MEXC On-Chain Daily Report: Fed Officials Expect Further Rate Hikes — Will Crypto Liquidity Face More Pressure?

MEXC On-Chain Daily Report: Fed Officials Expect Further Rate Hikes — Will Crypto Liquidity Face More Pressure?

Updated: November 19, 2026, 09:30 (UTC+8) | Author: MEXC Headlines Injective Veyra upgrade scheduled for November 24 Polymarket US adds crude oil and natural gas markets Hyperliquid Policy Center

MEXC On-Chain Daily Report: Bitcoin Shows Historic Capitulation Signal — Can $62,000 Support Hold?

MEXC On-Chain Daily Report: Bitcoin Shows Historic Capitulation Signal — Can $62,000 Support Hold?

Updated: November 18, 2026, 09:30 (UTC+8) | Author: MEXC Headlines Standard Life calls for tokenized UK government bonds to open to retail investors Codex raises $30 million in Series A funding

MEXC On-Chain Daily Report: Zelle Chooses Solana for ZelleUSD — Is a Trillion-Dollar Payment Network Moving On-Chain?

MEXC On-Chain Daily Report: Zelle Chooses Solana for ZelleUSD — Is a Trillion-Dollar Payment Network Moving On-Chain?

Updated: November 17, 2026, 09:30 (UTC+8) | Author: MEXC Headlines Solana validators urged to patch Linux kernel vulnerability Luxor rotates keys and hardens infrastructure after attacks Kalshi plans

Popular Articles

View More
MEXC Fees Explained: Complete Trading, Futures & Withdrawal Fees Guide

MEXC Fees Explained: Complete Trading, Futures & Withdrawal Fees Guide

MEXC charges 0% maker fees on every spot pair and a standard 0.05% spot taker fee, higher on some Special Rate pairs, while BTCUSDT perpetual futures cost 0% maker and 0.02% taker; funding passes

Crypto Token Buybacks Hit Record $640M: Do Buybacks Actually Create Long-Term Value?

Crypto Token Buybacks Hit Record $640M: Do Buybacks Actually Create Long-Term Value?

Crypto projects have spent a record amount buying their own tokens in 2026. According to data from blockchain analytics firm Allium Labs reported by the Financial Times, crypto groups spent

Best Crypto Airdrop Platforms: 8 Programmes Compared, One Opens at 5 MX

Best Crypto Airdrop Platforms: 8 Programmes Compared, One Opens at 5 MX

MEXC is our top pick among the crypto airdrop platforms in this comparison, on one number: Kickstarter eligibility opens at 5 MX held for 24 hours. That verdict needs a distinction the search results

How to Play MEXC Referral Game Box: Open a Box First, Then Invite — Both Sides Earn Futures Bonus

How to Play MEXC Referral Game Box: Open a Box First, Then Invite — Both Sides Earn Futures Bonus

Referral Game Box is the lowest-barrier entry point in MEXC's referral lineup. Three steps: open a box, invite a friend, both of you collect. Every friend who completes their tasks unlocks another

Hot Crypto Updates

View More
Crypto Exchange Fees in 2026: Who Actually Lets You Keep More?

Crypto Exchange Fees in 2026: Who Actually Lets You Keep More?

A no-fluff breakdown of the lowest-fee crypto exchanges in 2026 — spot rates, futures charges, withdrawal costs, and the hidden fees most comparisons miss. Overview Every crypto exchange claims to

KPI (KPI) MEXC Spot Trading Fee: Complete Guide for Beginners

KPI (KPI) MEXC Spot Trading Fee: Complete Guide for Beginners

Understanding MEXC spot trading fees is crucial when trading KPI (KPI). MEXC operates on a maker-taker fee structure with 0% fees for makers and 0.05% fees for takers. This competitive fee structure

Molten (MOLTEN) MEXC Spot Trading Fee: Complete Guide for Beginners

Molten (MOLTEN) MEXC Spot Trading Fee: Complete Guide for Beginners

Understanding MEXC spot trading fees is crucial when trading Molten (MOLTEN) tokens. MEXC operates on a maker-taker fee structure with 0% fees for makers and 0.05% fees for takers. This competitive

Brevis (BREV) MEXC Spot Trading Fee: Complete Guide for Beginners

Brevis (BREV) MEXC Spot Trading Fee: Complete Guide for Beginners

Understanding MEXC spot trading fees is crucial when trading Brevis (BREV). MEXC operates on a maker-taker fee structure with 0% fees for makers and 0.05% fees for takers. This competitive fee

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