Buy Crypto
Markets
Spot
FuturesBTC
Earn
Event Center
More
BTC LaunchpadHOT
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
Apprentissage/Trading Guide/Futures/MEXC Futures Margin and PnL Calculations: Formulas and Worked Examples

MEXC Futures Margin and PnL Calculations: Formulas and Worked Examples

Intermédiaire
Nov 19, 2026MEXC Research Team
8 min
Partager

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.

Opportunité de marché
Logo de MX Token
Cours MX Token(MX)
$1.4
$1.4$1.4
-0.01%
USD
Graphique du prix de MX Token (MX) en temps réel
Cet article est fourni par MEXC Research Team. Ce document est fourni à titre informatif uniquement et ne constitue pas un conseil financier ou d'investissement. Les marchés des cryptomonnaies comportent des risques importants. Veuillez effectuer vos propres recherches ou consulter un professionnel qualifié avant toute décision d'investissement. Les opinions exprimées ne reflètent pas nécessairement celles de MEXC ou de ses Affiliés.

Articles connexes

Voir plus
Bitcoin Taproot : qu'est-ce que c'est, comment ça fonctionne et pourquoi c'est toujours important

Bitcoin Taproot : qu'est-ce que c'est, comment ça fonctionne et pourquoi c'est toujours important

La plupart des mises à niveau de Bitcoin génèrent des débats — Taproot a généré un consensus. Lorsque la mise à niveau Bitcoin Taproot a été activée en novembre 2021, elle a discrètement reconfiguré l

Combien de Bitcoin le Bhoutan possède-t-il ? Avoirs, minage et stratégie de réserve

Combien de Bitcoin le Bhoutan possède-t-il ? Avoirs, minage et stratégie de réserve

La plupart des gens voient le Bhoutan comme un petit royaume enclavé, connu pour le Bonheur National Brut — pas pour le Bitcoin. Pourtant, au cours des dernières années, cette nation himalayenne est d

Scott Bessent et la politique de réserve Bitcoin : la position complète du secrétaire au Trésor sur le BTC

Scott Bessent et la politique de réserve Bitcoin : la position complète du secrétaire au Trésor sur le BTC

Quand le secrétaire au Trésor américain parle de Bitcoin, le marché crypto est à l'écoute. Scott Bessent est devenu l'une des personnalités les plus suivies en matière de politique sur les actifs numé

GameStop Bitcoin : pourquoi GME a acheté 4 710 BTC et ce que cela signifie pour les investisseurs

GameStop Bitcoin : pourquoi GME a acheté 4 710 BTC et ce que cela signifie pour les investisseurs

GameStop a fait la une des journaux en 2025 pour quelque chose que personne n'attendait d'un revendeur de jeux vidéo — un achat de Bitcoin de 500 millions $. Cet article explique ce qui s'est réelleme

Articles populaires

Voir plus
Qu'est-ce que le mode unidirectionnel et le mode de couverture (Hedge mode) dans le trading des contrats à terme ?

Qu'est-ce que le mode unidirectionnel et le mode de couverture (Hedge mode) dans le trading des contrats à terme ?

Lors du trading des contrats à terme sur MEXC, un paramètre important souvent négligé est le mode de position. Celui-ci détermine si vous pouvez détenir simultanément des positions longues et courtes

Mise à niveau de la marque MEXC : Redéfinir la norme mondiale du trading haute vitesse grâce à une révolution du moteur et une liquidité de premier ordre

Mise à niveau de la marque MEXC : Redéfinir la norme mondiale du trading haute vitesse grâce à une révolution du moteur et une liquidité de premier ordre

Aperçu Le 8 avril 2026, MEXC Exchange, plateforme mondiale de trading d'actifs numériques de premier plan, a officiellement célébré son 8e anniversaire accompagné d'un renouvellement complet de sa mar

Tutoriel de trading des contrats à terme (Futures) de MEXC (App)

Tutoriel de trading des contrats à terme (Futures) de MEXC (App)

Le trading de contrats à terme sur MEXC Futures offre aux traders une méthode avancée pour échanger des actifs numériques. Contrairement au trading au comptant, il suit une logique spécifique et possè

À lire absolument ! Qu'est-ce que le trading des contrats à terme ? Découvrez-le en 3 minutes

À lire absolument ! Qu'est-ce que le trading des contrats à terme ? Découvrez-le en 3 minutes

Dans cet article, vous découvrirez les bases du trading des contrats à terme grâce à MEXC Learn. Ce guide simple vous permettra de comprendre le marché des produits dérivés et de découvrir les contrat

S'inscrire sur MEXC
Inscrivez-vous et recevez jusqu'à 10,000 USDT en bonus

Rejoignez la communauté MEXC

Recevez en temps réel les derniers listings, événements et mises à jour, directement depuis notre canal Telegram officiel.

Plus de 25k membres

Contrats à terme

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