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
Trading Incentives Are Not a Strategy: A Self-Check Before You Trade for Rewards

Trading Incentives Are Not a Strategy: A Self-Check Before You Trade for Rewards

A reward can make a trade feel cheaper than it really is. The fee voucher, the bonus or the boosted rate is real, but so are the fees, slippage and risk you take on to collect it, and none of those

5 Things to Check Before Joining a Crypto Trading Campaign: Eligibility, Limits, Settlement and Risk

5 Things to Check Before Joining a Crypto Trading Campaign: Eligibility, Limits, Settlement and Risk

A trading campaign's headline tells you what you might get, but its terms tell you whether you will actually get it. The terms that matter fall into five groups: eligibility, limits, settlement, the

Crypto Exchange Rewards Glossary: Trial Funds, APR Boosters, Futures Bonus and Tiered APR

Crypto Exchange Rewards Glossary: Trial Funds, APR Boosters, Futures Bonus and Tiered APR

Four reward labels show up again and again on exchange pages, and they sound close enough to blur together. They don't behave alike: one is a virtual credit for event predictions, one is a coupon on

Year-End Crypto Reconciliation: How to Total Spot, Futures, Earn and Reward Balances

Year-End Crypto Reconciliation: How to Total Spot, Futures, Earn and Reward Balances

Your balance on December 31 tells you where your account ended up, not how it got there. A year-end crypto reconciliation fills that gap by splitting the change into deposits, realized and unrealized

Popular Articles

View More
EWY and KORU Holdings: South Korea ETF vs 3x Korea ETF and the KORU Stock Split

EWY and KORU Holdings: South Korea ETF vs 3x Korea ETF and the KORU Stock Split

EWY, the iShares MSCI South Korea ETF, holds about 75 South Korean companies, and two of them, Samsung Electronics and SK hynix, made up more than 44% of the fund in October 2026. KORU, the Direxion D

SOXS Reverse Split, Dividend, and Holdings: What Is SOXS and How It Differs From SOXL

SOXS Reverse Split, Dividend, and Holdings: What Is SOXS and How It Differs From SOXL

SOXS, the Direxion Daily Semiconductor Bear 3X ETF, is designed to return three times the opposite of the NYSE Semiconductor Index's move on a single day, before fees. It does this almost entirely wit

What Is TQQQ? Stock Split History, Dividend, Holdings, and Risks

What Is TQQQ? Stock Split History, Dividend, Holdings, and Risks

TQQQ, the ProShares UltraPro QQQ, is an ETF that aims to deliver three times the daily return of the Nasdaq-100 index, before fees. It gets there with a mix of index swaps, Nasdaq-100 futures and stoc

JEPI and JEPQ Dividends: Yield, History, and JEPI vs JEPQ

JEPI and JEPQ Dividends: Yield, History, and JEPI vs JEPQ

JEPI and JEPQ, the two JPMorgan "equity premium income" ETFs, pay dividends every month, and their payouts are large because most of the money comes from selling call options, not from company

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