Futures price movements can leave an account or position with insufficient margin. This article explains how liquidation works under cross margin and isolated margin on Toobit, so you can better understand futures trading risks and manage your margin and positions effectively.
1. What is liquidation?
Liquidation is an automatic risk management mechanism in Toobit futures trading. When the margin ratio of an account or position reaches the 100% liquidation threshold, the system triggers liquidation and takes appropriate risk management actions based on the account mode and overall risk level.
Toobit uses the mark price to determine liquidation risk. On the trading page, you can switch between [Mark price] and [Last price] to view unrealized P&L and ROI calculated at different prices. The price display option does not change the basis for determining liquidation.
-
Isolated margin: Liquidation is triggered when the position margin ratio reaches 100%.
-
Cross margin: Liquidation is triggered when the account margin ratio reaches 100%.
2. How is the margin ratio calculated?
The margin ratio measures the liquidation risk of an account or position. The higher the ratio, the closer the account or position is to liquidation.
Isolated margin ratio = (Maintenance margin of the isolated contract + Closing fee) ÷ (Position margin + Unrealized P&L) × 100%
Cross margin ratio = (Sum of maintenance margin for all cross-margin contracts + Sum of closing fees for all cross-margin contracts) ÷ (Wallet balance − Margin occupied by all isolated positions + Unrealized P&L of all cross-margin positions) × 100%
For liquidation risk calculation, the closing fee above is calculated at the 0.08% liquidation fee rate. Maintenance margin requirements may vary with position value and the applicable risk limit tier.
For example, suppose an isolated position has a maintenance margin of 100 USDT and an estimated closing fee of 8 USDT:
|
Position margin + Unrealized P&L |
Margin Ratio |
Result |
|
200 USDT |
(100+8)÷ 200 × 100%=54% |
Liquidation threshold not reached |
|
108 USDT |
(100+8)÷ 108 × 100%=100% |
Liquidation process triggered |
The above is only to illustrate how the margin ratio is calculated.
For cross-margin contracts, maintenance margin and closing fees are calculated based on positions and open orders. Maintenance margin is the minimum margin required to maintain a position; the specific requirement depends on position value and the applicable risk limit tier.
We recommend monitoring changes in your margin ratio and paying attention to risk notifications via email, in-app messages, SMS, and other channels.
3. Liquidation process
Once liquidation is triggered, the system will take measures such as canceling orders, partially reducing positions, or closing positions based on the account mode and risk situation. For positions in higher risk limit tiers, the system may also reduce risk by adjusting the tier. If the margin ratio falls below 100% after these measures, the system will stop further liquidation processing; otherwise, it may continue.
3.1 Isolated margin
When an isolated position's margin ratio reaches or exceeds 100%, the system will process it as follows:
1. Freeze the relevant position. During liquidation, the user cannot adjust the margin for that position or place orders for it.
2. Liquidate the isolated position based on the calculated bankruptcy price.
3.2 Cross margin
When the account margin ratio reaches or exceeds 100%, the system will process it as follows:
1. Freeze the corresponding margin account. During processing, deposits, withdrawals, transfers, order placement, and order cancellation will be restricted.
2. Cancel open orders under that margin account. If the margin ratio falls below 100%, liquidation stops.
3. Self-match long and short positions in the same contract at the mark price. If the margin ratio falls below 100%, liquidation stops.
4. If the margin ratio is still at or above 100%, the system will process cross-margin positions one by one at the calculated bankruptcy price, in ascending order of unrealized P&L, until the margin ratio falls below 100% or all relevant cross-margin positions are liquidated.
4. What is the estimated liquidation price?
The estimated liquidation price is the mark price at which the margin ratio would reach 100%, based on current account and position data. It helps you gauge how close your position is to liquidation.
For long positions, a decline in the mark price may bring the position closer to liquidation; for short positions, a rise in the mark price may bring the position closer to liquidation. The calculation includes maintenance margin and estimated liquidation fees.
The estimated liquidation price changes with margin, positions, funding fees, trading fees, and maintenance margin tiers. Whether liquidation is triggered is determined by the margin ratio calculated by the system in real time. Once triggered, the system submits an order at the bankruptcy price; the actual fill price will depend on the execution result.
4.1 Isolated margin
Under isolated margin, long and short positions use their own position margin, so different positions in the same contract may show different estimated liquidation prices.
The estimated liquidation price may change when you adjust position margin, increase or decrease your position, settle funding fees, or when the applicable maintenance margin requirement changes.
4.2 Cross margin
Under cross margin, long and short positions in the same contract offset each other and jointly affect the estimated liquidation price for that contract. The unrealized P&L, maintenance margin, and estimated liquidation fees of other cross-margin positions also affect the account’s overall risk.
As a result, the estimated liquidation price may change when you open or adjust other positions, transfer funds into or out of the account, incur trading fees, settle funding fees, or when the applicable maintenance margin requirement changes.
5. Estimated liquidation price calculation under isolated margin
Under the isolated margin, long and short positions are calculated separately.
Opening value = Average entry price × Position quantity
|
Position side |
Estimated liquidation price formula |
|
Long |
(Entry Value − Isolated Margin) ÷ [(1 − Maintenance Margin Ratio − Liquidation Fee Rate) × Position Size] |
|
Short |
(Entry Value + Isolated Margin) ÷ [(1 + Maintenance Margin Ratio + Liquidation Fee Rate) × Position Size] |
The following uses BTCUSDT as an example. Assume the average entry price is 80,000 USDT, the position quantity is 0.1 BTC, and the isolated margin is 800 USDT. For demonstration purposes, assume maintenance margin is calculated at 0.5% of mark value and the liquidation fee rate is 0.08%.
Opening value = 80,000 × 0.1 = 8,000 USDT
5.1 Isolated long position
Estimated liquidation price =(8,000-800)÷[(1-0.5%-0.08%)× 0.1]≈ 72,420.04 USDT
Under the example assumptions above, when the BTC mark price falls to approximately 72,420.04 USDT, the long position's margin ratio reaches 100%.
5.2 Isolated short position
Estimated liquidation price =(8,000+800)÷[(1+0.5%+0.08%)× 0.1]≈ 87,492.54 USDT
Under the example assumptions above, when the BTC mark price rises to approximately 87,492.54 USDT, the short position's margin ratio reaches 100%.
The 0.5% above is only a calculation example and is not the maintenance margin standard applicable to all BTCUSDT positions.
6. Estimated liquidation price calculation under cross margin
Under cross margin, relevant positions share the account margin. When calculating the estimated liquidation price for a contract, the system takes into account the long and short positions in that contract, as well as the unrealized P&L, maintenance margin, and estimated liquidation fees of other cross-margin contracts.
Estimated liquidation price = (Wallet balance − Margin used by all isolated positions + Unrealized P&L of other contracts − Total maintenance margin for cross-margin positions − Total estimated liquidation fees for other contracts − Long entry value + Short entry value) ÷ [Short position size × (1 + Liquidation fee rate) − Long position size × (1 − Liquidation fee rate)]
Long and short position sizes and entry values are based on the current positions in the futures. Any side not held is treated as zero.
Calculation example
Assume a user has a wallet balance of 1,600 USDT and trades BTCUSDT under cross margin at an average entry price of 80,000 USDT, with a liquidation fee rate of 0.08%. The account has no other futures, isolated positions, or open orders.
The three scenarios below are calculated independently. For illustration, assume the cross-margin maintenance margin is 40 USDT, 40 USDT, and 60 USDT in the three scenarios, respectively.
|
Formula input |
Scenario 1: Long only |
Scenario 2: Short only |
Scenario 3: Both Long and Short |
|
Wallet balance |
1,600 USDT |
1,600 USDT |
1,600 USDT |
|
Margin used by all isolated positions |
0 |
0 |
0 |
|
Unrealized P&L of other futures |
0 |
0 |
0 |
|
Total cross-margin maintenance margin (Assumed for illustration) |
40 USDT |
40 USDT |
60 USDT |
|
Total estimated liquidation fees for other futures |
0 |
0 |
0 |
|
Long position size |
0.1 BTC |
0 |
0.1 BTC |
|
Short position size |
0 |
0.1 BTC |
0.05 BTC |
|
Long entry value |
8,000 USDT |
0 |
8,000 USDT |
|
Short entry value |
0 |
8,000 USDT |
4,000 USDT |
|
Liquidation fee rate |
0.08% |
0.08% |
0.08% |
1. Only a 0.1 BTC long position
The user opens a 0.1 BTC long position at 80,000 USDT. The long entry value is:
80,000 × 0.1 = 8,000 USDT
The short position size and short entry value are both zero. Substituting into the formula:
Estimated liquidation price = (1,600 − 0 + 0 − 40 − 0 − 8,000 + 0) ÷ [0 × (1 + 0.08%) − 0.1 × (1 − 0.08%)]
=(-6,440)÷(-0.09992)
≈ 64,451.56 USDT
Under the assumptions above, the estimated liquidation price for the long position is approximately 64,451.56 USDT.
2. Only a 0.1 BTC short position
The user opens a 0.1 BTC short position at 80,000 USDT. The short entry value is:
80,000 × 0.1 = 8,000 USDT
The long position size and long entry value are both zero. Substituting into the formula:
Estimated liquidation price = (1,600 − 0 + 0 − 40 − 0 − 0 + 8,000) ÷ [0.1 × (1 + 0.08%) − 0 × (1 − 0.08%)]
=9,560 ÷ 0.10008
≈ 95,523.58 USDT
Under the assumptions above, the estimated liquidation price for the short position is approximately 95,523.58 USDT.
3. Both a 0.1 BTC long position and a 0.05 BTC short position
The user opens a 0.1 BTC long position and a 0.05 BTC short position at 80,000 USDT. The entry values are:
Long entry value = 80,000 × 0.1 = 8,000 USDT
Short entry value = 80,000 × 0.05 = 4,000 USDT
Both sides are included in the calculation, and the total cross-margin maintenance margin is assumed to be 60 USDT. Substituting into the formula:
Estimated liquidation price = (1,600 − 0 + 0 − 60 − 0 − 8,000 + 4,000) ÷ [0.05 × (1 + 0.08%) − 0.1 × (1 − 0.08%)]
=(-2,460)÷(-0.04988)
≈ 49,318.36 USDT
Under the assumptions above, the estimated liquidation price for the futures is approximately 49,318.36 USDT.
The maintenance margin amounts above are assumptions for illustration only, and the calculation results are for reference only. The estimated liquidation price will also change when parameters such as wallet balance, positions, and maintenance margin change. Whether liquidation is actually triggered is determined by the margin ratio calculated by the system in real time.
7. What is the bankruptcy price?
The bankruptcy price is the price at which the position's margin would be completely depleted to zero. After a contract triggers liquidation, the system will place a liquidation order at the bankruptcy price. Because the liquidation process does not go through the matching engine, the bankruptcy price is not displayed on the candlestick chart, and it is not the same as the actual liquidation execution price.
For details, see: Perpetual futures | What is bankruptcy price in futures trading?
8. Risk Protection Fund
The Risk Protection Fund covers losses arising from liquidation, as follows:
-
Market price better than the bankruptcy price: If the actual fill price is better than the bankruptcy price, the remaining margin is transferred to the Risk Protection Fund.
-
Market price worse than the bankruptcy price: If the fill price is worse than the bankruptcy price or the position cannot be executed, the loss is borne by the Risk Protection Fund. If the fund is insufficient or is depleted quickly, the system triggers Auto-Deleveraging (ADL).
Example:
Suppose User A holds a long position with a liquidation price of 10,100 USDT, and liquidation is triggered when the mark price falls to that level. If the position’s bankruptcy price is 10,000 USDT, the system places a closing order at the bankruptcy price.
-
If the market price rebounds and the actual fill price is 10,010 USDT, no bad debt arises, and the 10 USDT difference is transferred to the Risk Protection Fund.
-
If the market price continues to fall to 9,000 USDT and the actual fill price is 9,000 USDT, a bad-debt loss of 1,000 USDT arises. The platform will use the Risk Protection Fund to cover it. If compensation reaches the cap and is still insufficient, the system triggers ADL: profitable short positions are auto-deleveraged in sequence and matched against User A’s bad-debt position to balance market risk.
9. How are liquidation fees calculated?
Toobit’s liquidation fee rate is 0.08%. When liquidation occurs, the fee is calculated at this rate; the standard Maker or Taker rate does not apply. If the rate is adjusted, the latest platform announcement will prevail.
Liquidation fee due = Liquidation size × Actual fill price after liquidation is triggered × 0.08%
The amount actually charged is capped at the non-negative remaining margin:
Liquidation fee charged = min[Liquidation fee due, max(Remaining margin, 0)]
For example, assume a liquidation order has a liquidation size of 0.1 BTC and an actual fill price of 80,000 USDT:
Liquidation fee due = 0.1 × 80,000 × 0.08% = 6.4 USDT
|
Remaining margin (Non-negative) |
Liquidation fee charged |
|
10 USDT |
6.4 USDT |
|
3 USDT |
3 USDT |
|
0 USDT |
0 USDT |
The 80,000 USDT here is a hypothetical liquidation price used only to illustrate the fee calculation and is not the same position as the estimated liquidation price examples above. The estimated liquidation fee is used to calculate the margin ratio and does not mean the fee has actually been charged. The estimated fee may differ from the amount ultimately charged.
10. How can you reduce liquidation risk?
1. Monitor your margin ratio. The closer the ratio is to 100%, the higher the liquidation risk. Keep an eye on changes to your account or positions.
2. Add margin. Under cross margin, you can transfer funds to your futures account; under isolated margin, you can add margin to a specific position or enable auto margin addition.
3. Reduce effective leverage. Adding margin or reducing position size gives your position more room to absorb price fluctuations.
4. Reduce or close positions in advance. When your account or position is approaching liquidation, you can adjust your positions according to your risk tolerance.
Risk Warning
Futures trading involves significant risk. Leverage magnifies both potential gains and losses. In extreme market conditions, you may lose some or all of your margin; during rapid market movements or low liquidity, actual liquidation results may also be affected by price volatility and slippage. Please fully understand liquidation and related trading rules, set leverage and position sizes reasonably, and trade prudently. This explanation is intended only to introduce Toobit's liquidation mechanism and does not constitute investment, financial, legal, or tax advice. Specific rules and actual handling results are subject to Toobit's latest announcements, trading rules, and page displays.
