Cross Margin Requirement
In Cross Margin, the account margin requirement is the total sum of margin requirements across markets :
where can refer to Initial Margin Requirement (IMR) or Maintenance Margin Requirement (MMR)
Initial Margin Requirement (IMR)
Open Size
Open size represents the maximum position size the account can have if all orders on one side or the other are filled :
where the position sign is positive for a long position and negative for a short position
IMR Breakdown
is the account IMR for market and is composed of :
- : This is a fraction of the Open Size value in USD. The fraction is called IMF (Initial Margin Fraction) and is equal to 1 / Leverage. The leverage is set by default to the market maximum leverage but can be updated to a lower level by the user.
- : This is a provision for the amount of entry/exit fees that the account is expected to pay based on open position/orders.
- : This is a provision for orders that are aggressive relative to the mark price and are expected to lead to immediate unrealized loss after they are filled
Net IMR
For perpetual futures, the IMR for each side (buy/sell) is calculated as :
The Market Net IMR is equal to:
Example
User has :
- Short 1 BTC-USD-PERP (the signed position size is -1 BTC)
- 3 Buy BTC-USD-PERP open orders
- 2 Sell BTC-USD-PERP open orders
Assuming :
- BTC-USD-PERP IMF = 2%
- BTC-USD-PERP Mark Price is 90,000 USD
Buy open size = 3 - 1 = 2 BTC
Sell open size = 2 + 1 = 3 BTC
This user’s IMR for BTC-USD-PERP is :
Net IMR = Sell IMR = 2% * 3 * 90,000 = 5,400 USD
Maintenance Margin Requirement (MMR)
The Maintenance Margin Requirement (MMR) only depends on open positions (not impacted by open orders) and is composed of :
- : This is a fraction of the based on
is currently set to for all perpetual futures. This means that Net MMR is half of the Net IMR
- : This is a provision for the position exit fee, so this is equal to
Leverage

Account Leverage in UI shows two numbers :
- Account Effective Leverage
where is the total Open Size expressed in USD and summed across markets
i.e.
- Account Maximum Leverage
This maximum leverage depends on the account maximum leverage per market. It represents the maximum allowed Effective Leverage beyond which the account will be unable to submit new orders that increase open notional.