Buy Crypto
Markets
Spot
FuturesBTC
Earn
Event Center
Rewards Hub
More
MEXC offers two kinds of contracts: USDT-M and COIN-M contracts. The USDT-M contract is quoted in USDT and settled in USDT while the COIN-M contract is quoted in USDT and settled in BTC. TheMEXC offers two kinds of contracts: USDT-M and COIN-M contracts. The USDT-M contract is quoted in USDT and settled in USDT while the COIN-M contract is quoted in USDT and settled in BTC. The
Learn/Trading Guide/Futures/Margins & PNL Calculations

Margins & PNL Calculations

Nov 28, 2026MEXC Learn Team
4 min
Share


MEXC offers two kinds of contracts: USDT-M and COIN-M contracts. The USDT-M contract is quoted in USDT and settled in USDT while the COIN-M contract is quoted in USDT and settled in BTC. The principle of calculation is similar but there are some slight differences. Please note that during the calculation, trading fee and other complex components will not be taken into account. The aim is to explain how margin is calculated to users.

1. Margins Explained


All MEXC perpetual contracts require a certain amount of margin to open a position.
Successful margin trading requires an understanding of the following concepts:

1.1 Starting Margin


This minimum margin required to open a position. Your starting margin is dependent on margin rate requirements.

1.2 Maintenance Margin


The minimum margin requirement for maintaining a position below which additional funds will have to be deposited or forced liquidation may occur.

1.3 Opening Cost


The total amount of funds required to open a position, including the initial margin for opening a position and transaction fees.

2. Margin calculation


In perpetual contracts, the order cost is the margin required to open a position. The actual cost is determined by whether the order is executed by a maker or taker because varying fees apply.

2.1 COIN-M contract


Order cost (margin) = number of open positions * futures size / (leverage multiplier * avg. entry price)

2.2 USDT-M contract


Order cost (margin) = avg. entry price * number of open positions * futures size / leverage multiplier

Examples:

  • COIN-M Contracts

If a trader wants to purchase 100 BTC/USDT perpetual contracts at the price of 7,000USD with a leverage multiplier of 25, and the value of each contract is 100 USD, then the margin required = 100x100 / (7000x25 ) = 0.0571BTC.

  • USDT-M Contracts

If a trader wants to purchase 10,000 BTC/USDT perpetual contracts at the price of 7,000USDT with leverage multiplier of 25, and the value of each contract is 0.0001BTC, then the margin required = 10000x0.0001x7000/25 = 280 USDT.

3. PNL Calculation


PNL calculation includes fee income or expenditure, funding fee income or expenditure, and PNL upon closing a position.

3.1 Fee


The expenditure of the taker = Position value * Taker fee

The expenditure of the maker = Position value * Maker fee

3.2 Funding fee


According to the negative or positive funding fee rate and the long or short position held, the trader will pay or receive funding fee.

Funding fee = funding fee rate * position value

  • Note: The position value is calculated from the fair price when the funding fee rate is settled.

3.3 Calculating PNL


3.3.1 Closing PNL


  • USDT-M Contract

Long position = (exit price - avg. entry price) * number of holding positions * futures size

Short position = (avg. entry price - exit price) * number of holding positions * futures size

  • COIN-M Contract

Long position = (1/avg. entry price - 1/avg. exit price) * number of holding positions * futures size

Short position = (1/avg. exit price - 1/avg. entry price) * number of holding positions * futures size

3.3.2 Floating PNL


  • USDT-M Contract

Long position = (fair price - avg. entry price) * number of holding positions * futures size

Short position = (avg. entry price - fair price) * number of holding positions * futures size

  • COIN-M Contract

Long position = (1/avg. entry price - 1/fair price) * number of holding positions * futures size

Short position = (1/fair price - 1/avg. entry price) * number of holding positions * futures size

For example, a trader purchases 10,000 cont. long for BTC/USDT perpetual contract at the price of 7,000USDT as a taker. If the taker fee is 0.06%, the maker fee is 0.02%, the funding fee rate is -0.025%, and the current fair price is 7000USDT, then the trader shall pay a taker fee of:

7000*10000*0.0001*0.06% = 4.2USDT

and the trader pays a funding fee of:

7000*10000*0.0001*-0.025% = -1.75USDT

In this situation, the negative value means that the trader receives the funding fee instead.

When said trader closes 10,000 cont. BTC/USDT perpetual contract at 8,000USDT, then the closing PNL is:

(8000-7000) *10000*0.0001 = 1000 USDT

And the closing fee can be calculated as follows:

8000*10000*0.0001*0.02% = 1.6 USDT

Hence, the realized PNL of the trader = 1000+1.75-4.2-1.6 = 995.95 USDT


4. Conclusion


  • In MEXC perpetual futures, a certain amount of margin is required to open a position. Initial margin is the minimum amount of margin required for opening a position and is reflected by your leverage multiplier. Maintenance margin is the minimum requirement to keep the position open. Falling below this threshold may result in forced liquidation. The cost of opening a trade includes the initial margin and possible trading fees. The calculation of order costs depends on the futures type and price.


  • Your PNL results from fees paid or received, funding fees paid or received, and closing PNL. As a market liquidity taker, you need to pay a trading fee equal to the position value multiplied by the taker fee rate.


  • As a market liquidity provider, you need to pay a trading fee equal to the position value multiplied by the maker fee rate. Depending on the funding rate and the direction of the position, users will receive or pay funding fees equal to the funding rate multiplied by the position value. Note: When settling funding fees, the position value is determined by the current fair price calculation.

Related Articles

View More
What Is TTWOON? A Complete Guide to Take-Two Interactive (Ondo Tokenized Stock)

What Is TTWOON? A Complete Guide to Take-Two Interactive (Ondo Tokenized Stock)

Grand Theft Auto VI (GTA 6) launches on November 19, 2026, and many traders want exposure to the company behind it. That company is Take-Two Interactive (Nasdaq: TTWO), the parent of Rockstar Games.

Anthropic Stock (ANT): IPO Price, Ticker, Nasdaq Listing and How to Buy

Anthropic Stock (ANT): IPO Price, Ticker, Nasdaq Listing and How to Buy

Anthropic stock is listed on the Nasdaq Global Select Market under the ticker ANT, and its first trading day is November 19, 2026. The IPO priced on November 18 at $83.00 per share for 980,000,000

Dario Amodei's Net Worth After the Anthropic IPO: What the Co-Founders' Stakes Are Worth at $83 a Share

Dario Amodei's Net Worth After the Anthropic IPO: What the Co-Founders' Stakes Are Worth at $83 a Share

Dario Amodei's Anthropic stake was worth about $19.69 billion on paper after the IPO: he kept 237,259,602 shares after selling 3,378,378 at the $83 IPO price set on November 18, 2026. At ANT's $97.17

When Can I Buy Anthropic Stock? What Time ANT Starts Trading Around the World

When Can I Buy Anthropic Stock? What Time ANT Starts Trading Around the World

You can buy Anthropic stock now. ANT started trading on Nasdaq on Thursday, November 19, 2026, and its first trade came at 11:50 a.m. ET at $111.50 per share, about 34% above the $83.00 IPO price.

Popular Articles

View More
DRAM ETF Holdings: What the Roundhill Memory ETF Owns and How It Works

DRAM ETF Holdings: What the Roundhill Memory ETF Owns and How It Works

DRAM ETF Holdings: What the Roundhill Memory ETF Owns and How It WorksThe Roundhill Memory ETF (ticker DRAM) is an actively managed fund that holds memory chip and storage companies through a mix of s

S&P 500 Futures: What They Are and How to Read Futures Prices

S&P 500 Futures: What They Are and How to Read Futures Prices

S&P 500 futures are contracts whose price follows the S&P 500 index, and they trade almost around the clock, including hours when the U.S. stock market is closed. That is why financial news quotes the

SMH Holdings 2026: VanEck Semiconductor ETF Top 25 Holdings and Weights

SMH Holdings 2026: VanEck Semiconductor ETF Top 25 Holdings and Weights

The VanEck Semiconductor ETF (SMH) holds 25 semiconductor stocks plus a small cash line, chosen and weighted by the MVIS US Listed Semiconductor 25 Index. As of November 26, 2026, its largest holdings

What Is an Index Fund? Index Funds vs. ETFs Explained

What Is an Index Fund? Index Funds vs. ETFs Explained

An index fund is a mutual fund or exchange-traded fund (ETF) that tries to match the return of a market index, such as the S&P 500, instead of trying to beat it. The fund buys the stocks or bonds in t

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

Futures

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