Margin calls and maintenance margin in crypto futures, with worked numbers
In crypto futures, the margin you post when you open a trade is not the margin you need to keep it open. The first is the initial margin; the second, much smaller figure is the maintenance margin. When a losing position eats its margin down to the maintenance level, the trade is liquidated. This guide explains both numbers, why crypto exchanges rarely send a traditional margin call, and works through the maths with the flat 0.5% maintenance rate used on the CryptoPaperTrading simulator, so you can practise with virtual money before any of it matters.
Initial margin vs maintenance margin
Initial margin is the collateral you lock up to open a leveraged position. It is set by your leverage: at 10x you post 10% of the position's value, at 20x you post 5%, at 25x you post 4%.
Initial margin = position value / leverage
Maintenance margin is the minimum equity the position must keep to stay open. It is expressed as a percentage of the position's current value and is far lower than the initial margin. On the simulator it is a flat 0.5%. Real exchanges usually use tiers, where larger positions carry a higher maintenance rate, so check your exchange's own margin tiers.
| Initial margin | Maintenance margin | |
|---|---|---|
| What it is | Collateral to open the trade | Minimum equity to keep it open |
| Set by | Your chosen leverage | The exchange (here, 0.5% flat) |
| At 10x on a $6,000 position | $600 (10%) | About $30 (0.5%) |
| If it is not met | The order is rejected (not enough free balance) | The position is liquidated |
The gap between the two is your buffer. Every dollar of unrealised loss comes out of that buffer, and when the position's remaining equity falls to the maintenance level, the buffer is gone. For the bigger picture on how leverage sets the buffer, see leverage and margin.
Margin call vs automatic liquidation
In traditional brokerage, a margin call is a demand to top up your account when equity falls below the maintenance requirement. You are typically given some time to deposit more funds or reduce the position before the broker acts.
Crypto perpetual futures move much faster, and most crypto exchanges work differently. Rather than waiting for you, their risk engines liquidate a position automatically once its equity reaches the maintenance level. Some exchanges send warning notifications as the margin ratio rises, and some let you add margin to a position, but these vary by platform, so check your exchange's own documentation rather than assuming you will get a grace period.
On the CryptoPaperTrading simulator there is no margin call stage. When the last traded price reaches the liquidation price, an isolated position is closed and its margin is lost. Margin is isolated by default, so a liquidation can never take more than that position's own margin. Cross margin is optional: there, all cross positions share your free balance and are liquidated together when the combined equity falls to their combined maintenance margin.
Worked example: a 10x long with 0.5% maintenance
Say BTC is at an illustrative round $60,000 and you go long 0.1 BTC at 10x. The position is worth $6,000, so the initial margin is $600.
Long liquidation = (E*q - M) / (q*(1 - 0.005))
= (60,000 x 0.1 - 600) / (0.1 x 0.995)
= 5,400 / 0.0995
= $54,271.36That is a 9.55% fall from entry. At that price the position is worth $5,427.14, the unrealised loss is $572.86, and the equity left is $27.14, which is exactly 0.5% of $5,427.14. Equity has met maintenance, so the position is liquidated.
A useful way to watch this is the margin ratio: maintenance margin divided by the position's remaining equity. Liquidation happens when it reaches 100%.
| BTC price (illustrative) | Unrealised P&L | Position equity | Maintenance (0.5%) | Margin ratio |
|---|---|---|---|---|
| $60,000 | $0.00 | $600.00 | $30.00 | 5.0% |
| $57,000 | -$300.00 | $300.00 | $28.50 | 9.5% |
| $55,000 | -$500.00 | $100.00 | $27.50 | 27.5% |
| $54,271.36 | -$572.86 | $27.14 | $27.14 | 100% (liquidated) |
Notice how slowly the ratio climbs at first and how quickly it accelerates near the end. The first $3,000 fall only takes it from 5% to 9.5%, while the next $2,728.64 takes it all the way to 100%.
The simulator uses the last traded price as the trigger, a simplification: real exchanges use a separate mark price. See mark price vs last price. Funding payments are not simulated, and the opening taker fee of 0.05% ($3.00 here) is paid from cash on top of the margin.
The same maths for a short
Shorts are liquidated when price rises. Say you short 0.1 BTC at the same illustrative $60,000 with 20x. The position is worth $6,000 and the initial margin is $300.
Short liquidation = (E*q + M) / (q*(1 + 0.005))
= (6,000 + 300) / (0.1 x 1.005)
= 6,300 / 0.1005
= $62,686.57That is a 4.48% rise. At $62,686.57 the position's value is $6,268.66, the loss is $268.66 and the remaining equity of $31.34 equals 0.5% of that value. For a fresh position the shortcut is roughly entry x (1 + 1/L - 0.005), which gives $62,700 here, close to the exact figure. You can check any entry with the liquidation price calculator, which uses the same model.
Adding and removing margin on the simulator
Adding margin to an isolated position raises its equity without changing its size, which pushes the liquidation price further away. Many exchanges support it, and so does the simulator: use Add margin on an isolated position in the Positions table. Using the long above, adding $300 to bring the margin to $900 gives:
Liquidation = (6,000 - 900) / 0.0995 = $51,256.28 (a 14.57% fall) Effective leverage = 6,000 / 900 = 6.67x (with BTC at $60,000)
The money comes from your available balance and adding margin is free on every account. You can later remove margin you added, as long as the position keeps at least its initial margin (quantity x entry / leverage, $600 here) and the new liquidation price stays at least 1% away from the current price. Here you could take back up to the $300. A stop-loss must still sit before the new liquidation price, and each change appears in your order history with no fee. Cross positions have no separate margin to add to, because they already draw on your whole free balance. Other ways to manage the same risk:
- Choose lower leverage at entry. The same 0.1 BTC at 5x posts $1,200 of margin and is liquidated at $48,241.21, a 19.60% fall.
- Close part of the position. A partial close returns a proportional share of the margin and reduces the size by the same share, so the liquidation price stays the same while the money at risk shrinks.
- Add to the position. This adds both size and margin at the position's existing leverage and margin mode, so it does not work like a margin top-up. Buying another 0.1 BTC at $57,000 on the 10x long gives an average entry of $58,500 and a liquidation price of $52,914.57, but your exposure doubles. The order panel shows the new size, average entry and liquidation price before you submit.
- Use a stop-loss so the trade exits on your terms before liquidation. The simulator rejects a stop placed beyond the liquidation price.
Practical habits that keep you away from maintenance
- Decide your risk in dollars first, then size the position from the stop distance with the position size calculator.
- Pick leverage last, and check that the liquidation price sits well beyond your stop.
- Attach a stop-loss when you open the trade rather than planning to add it later.
- Treat a rising margin ratio as information, not a reason to add more exposure.
- Remember that on a real exchange, tiered maintenance rates and mark-price triggers can move the numbers; read their rules before trading real money.
The safest place to learn how fast a margin ratio climbs is with virtual money. Open a few leveraged positions on the crypto futures simulator and watch how far each one sits from its liquidation price.
Frequently asked questions
What is the difference between initial margin and maintenance margin?
Initial margin is the collateral needed to open a position and equals position value divided by leverage. Maintenance margin is the much smaller minimum equity needed to keep it open. On the simulator it is a flat 0.5% of position value.
Do crypto exchanges send margin calls?
Most crypto futures exchanges liquidate positions automatically once equity reaches maintenance, rather than giving you time to top up. Some send warnings or let you add margin; check your exchange's own documentation. The simulator has no margin call stage, but you can add margin to an isolated position at any time.
Can I add margin to a position on CryptoPaperTrading?
Yes, on isolated positions. Use Add margin in the Positions table to move money from your available balance into the position, which pushes the liquidation price away. You can also remove margin you added, as long as the position keeps its initial margin and its liquidation price stays at least 1% from the current price. Cross positions already use your whole free balance, so there is nothing to add.
Why does the simulator use a flat 0.5% maintenance rate?
It keeps the liquidation maths simple and transparent so you can recompute every number by hand. Real exchanges usually use tiered rates that rise with position size, so check their tier tables before trading real money.
What is a margin ratio?
It is maintenance margin divided by the position's remaining equity. It rises as losses grow, and the position is liquidated when it reaches 100%.
Practise this: Practise futures and leverage in the simulator with $10,000 in virtual USD.