Maintenance margin is a crucial mechanism in trading designed to prevent forced liquidations. This article provides a detailed explanation of how maintenance margin is calculated for USDT perpetual contracts, helping traders better manage their positions and risk.
What Is Maintenance Margin?
Maintenance margin refers to the minimum amount of equity a trader must maintain in their account to keep a position open. If unrealized losses cause the account equity to fall below this required level, the system will automatically trigger a liquidation.
As the total contract value—comprising both open positions and order value—increases and reaches higher risk limit tiers, the required maintenance margin ratio (MMR) also rises. Each trading pair has a base MMR, which adjusts according to these predefined risk tiers.
For instance, consider a BTCUSDT position. If the position value is below 2,000,000 USDT, the MMR might be 0.5% of the position value. Should the value increase to 2,600,000 USDT, the MMR could rise to 0.56%.
👉 Learn more about risk management strategies
How Maintenance Margin Ratio (MMR) Is Calculated
The maintenance margin ratio for each position is determined using a tiered calculation method based on the total position value. When the value exceeds a specific risk limit tier, the excess amount is subject to the MMR of the new tier.
Illustrative Example
The table below outlines sample margin parameters for a hypothetical XYZUSDT contract.
| Tier | Risk Limit (USDT) | Maintenance Margin Ratio |
|---|---|---|
| 1 | 0 - 1,000 | 2% |
| 2 | >1,000 - 2,000 | 2.5% |
| 3 | >2,000 - 3,000 | 3% |
| 4 | >3,000 - 4,000 | 3.5% |
| 5 | >4,000 - 5,000 | 4% |
Assume a trader buys 100 contracts at 35 USDT each with 10x leverage. The total position value is calculated as:
Position Value = Number of Contracts × Entry Price
= 100 × 35 = 3,500 USDT
Initial Margin = Position Value / Leverage
= 3,500 / 10 = 350 USDT
Maintenance Margin = (1,000 × 2%) + (1,000 × 2.5%) + (1,000 × 3%) + (500 × 3.5%)
= 20 + 25 + 30 + 17.5 = 92.5 USDT
Thus, the maximum unrealized loss this position can withstand before liquidation is 257.5 USDT (350 - 92.5).
Simplified Calculation Formula
For larger position values, manual tier-by-tier calculation can be cumbersome. To simplify, use the following formula:
Maintenance Margin (MM) = (Position Value × MMR) - Maintenance Margin Deduction
Where:
MM Deduction for Tier n = [Risk Limit of Tier (n-1) × (MMR of Tier n - MMR of Tier (n-1))] + MM Deduction of Tier (n-1)
Traders can find detailed parameters, including MMR and deduction values for each tier, on their exchange’s margin parameters page.
Practical Example: ETHUSDT
Consider the following sample parameters for ETHUSDT:
| Tier | Risk Limit (USDT) | Max Leverage | MMR | MM Deduction |
|---|---|---|---|---|
| 1 | 0 - 100,000 | 25x | 2% | 0 |
| 2 | >100,000 - 200,000 | 20x | 2.5% | 500 |
| 3 | >200,000 - 300,000 | 16.67x | 3% | 1,500 |
| 4 | >300,000 - 400,000 | 14.29x | 3.5% | 3,000 |
| 5 | >400,000 - 500,000 | 12.5x | 4% | 5,000 |
Note: These are illustrative values. Always refer to official sources for current parameters.
Example 1
Trader A opens a long position of 100 ETH at 4,000 USDT each with 10x leverage.
- Position Value: 100 × 4,000 = 400,000 USDT (Tier 4)
- Initial Margin: 400,000 / 10 = 40,000 USDT
- Maintenance Margin: (400,000 × 3.5%) - 3,000 = 14,000 - 3,000 = 11,000 USDT
Maximum allowable unrealized loss before liquidation: 40,000 - 11,000 = 29,000 USDT.
Example 2: Including Open Orders
Trader B has:
- An open long position: 50 ETH at 4,000 USDT (10x leverage)
- A limit order: Buy 50 ETH at 3,000 USDT
For the open position:
- Position Value: 50 × 4,000 = 200,000 USDT (Tier 2)
- Maintenance Margin: (200,000 × 2.5%) - 500 = 5,000 - 500 = 4,500 USDT
For the limit order:
- Order Value: 50 × 3,000 = 150,000 USDT
- Combined Value (Position + Order): 200,000 + 150,000 = 350,000 USDT (Tier 4 → MMR 3.5%)
- Order Maintenance Margin: 150,000 × 3.5% = 5,250 USDT
Total Maintenance Margin Required: 4,500 + 5,250 = 9,750 USDT
After the order executes:
- Average Entry Price: [(50×4,000) + (50×3,000)] / 100 = 3,500 USDT
- New Position Value: 100 × 3,500 = 350,000 USDT (Tier 4)
- Initial Margin: 350,000 / 10 = 35,000 USDT
- Maintenance Margin: (350,000 × 3.5%) - 3,000 = 12,250 - 3,000 = 9,250 USDT
Maximum allowable loss becomes 35,000 - 9,250 = 25,750 USDT.
👉 Explore advanced margin calculation tools
Frequently Asked Questions
What happens if my maintenance margin is not met?
If your account equity falls below the maintenance margin requirement due to unrealized losses, your position will be liquidated automatically to prevent further losses.
Can the maintenance margin ratio change?
Yes, the MMR is tier-based and increases with higher position values. It is specific to each trading pair and can also be adjusted by the exchange based on market conditions.
How does leverage affect maintenance margin?
Higher leverage means a lower initial margin but the same maintenance margin requirement. This increases the risk of liquidation if the market moves against your position.
Are pending orders considered in margin calculations?
Yes, open orders contribute to your total contract value, which determines the risk tier and thus the MMR used for both positions and orders.
How can I avoid liquidation?
Monitor your margin levels closely, use stop-loss orders, avoid over-leveraging, and maintain sufficient equity to cover market fluctuations.
Where can I find current margin parameters?
Most exchanges provide a dedicated margin parameters page listing risk tiers, MMR, and deduction values for each contract.
Conclusion
Understanding maintenance margin is essential for effective risk management in USDT perpetual contracts. By mastering these calculations, traders can make informed decisions, optimize their strategies, and significantly reduce the risk of forced liquidations. Always refer to official resources for the most accurate and up-to-date information.