

The liquidation price is a crucial metric in margin trading. It marks the exact point where your position will be automatically closed to safeguard both counterparties in the transaction. Every trader using cross margin or isolated margin needs to understand this formula.
To calculate the liquidation price for margin trades involving currency "i," you need to consider several key elements:
Liquidation happens when the risk ratio hits its preset threshold. Calculate the risk ratio as: risk ratio = total assets / (total loan amount + interest owed). This ratio is vital for monitoring the overall health of your margin position.
For currency "i," the relationship between the price index and the reference liquidation price is given by: (liquidation price - price index) / price index. This helps traders gauge how much buffer remains before automatic liquidation is triggered.
Most trading platforms offer proprietary Margin Calculator tools that quickly and accurately estimate your liquidation price. You can also use retroactive calculation methods to cross-check your results.
Here’s a practical example: In a cross margin setup, the liquidation ratio is set at 1.1, meaning the asset-to-liability ratio must equal 1.1. User A deposits 10,000 USDT as collateral and borrows 20,000 USDT to buy 1 BTC at 30,000 USDT. The margin position now holds 1 BTC (asset) and 20,000 USDT (debt).
The liquidation price calculation proceeds as follows:
So, in this scenario, BTC’s estimated liquidation price is 22,000 USD. If BTC falls to this price, the position will be liquidated automatically.
For a more detailed look, consider this complex example: User C moves 100 USDT to their 5X Cross Margin account and borrows 0.4 ETH (ETH/USDT price at 1,000 USD). The initial margin level is 1.25; the liquidation margin level is 1.1.
Margin level calculation:
Suppose ETH interest is 0.01% per hour. After 4 hours, User C has accrued 0.00004 ETH in interest (0.4 ETH × 0.01% × 4 hours). At the same time, they place a sell order for 0.4 ETH at 1,100 USD, but the order hasn't executed yet. The ETH liquidation price in USDT is calculated as:
Later, User C sells 0.4 ETH for 440 USDT at an ETH/USDT price of 1,100 USD. The new ETH liquidation price in USDT is:
This calculation applies only after the sell order is executed and positions updated. Continuing, after additional time, User C accrues 0.00288 ETH in interest (0.4 ETH × 0.01% × 72 hours). The updated ETH liquidation price in USDT is:
This example illustrates how the liquidation price shifts as positions change and interest accrues—a key principle for understanding T zero and the effects of settlement periods in margin trading.
Sometimes, the liquidation price for a position may be shown as "/" or "--". This happens because the liquidation price for each token is calculated assuming that the asset values of other positions stay constant.
If the asset value of certain positions cannot trigger liquidation—even if those positions have a value of 0 USD—the liquidation price isn't displayed. For example: User A has 10,000 USDT as collateral and borrows 20,000 USDT to buy 1 BTC at 29,000 USD and 1 ETH at 1,000 USD. The margin position currently holds 1 BTC and 1 ETH (assets) and 20,000 USDT (debt).
BTC’s liquidation price in USDT, assuming ETH stays at 1,000 USD:
ETH’s liquidation price in USDT, assuming BTC stays at 29,000 USD:
In this case, even if the ETH position drops to 0 USD, there is still 29,000 USD in BTC collateral against only 20,000 USDT debt. Liquidation won't occur. So, ETH’s liquidation price is shown as "/" or "--", signifying that no meaningful liquidation point exists for this asset under current conditions.
Margin liquidation price calculation is a rigorous process that blends asset value, loan balances, accrued interest, and price index data. Mastering this formula and its variables is essential for every margin trader, enabling better risk management and smarter decision-making. Trading platform calculators provide a practical way to verify your calculations, while real-world examples reveal how position changes and interest accumulation constantly impact liquidation prices. Remember: in some specific scenarios, the liquidation price won't be shown when positions are fully covered—reflecting the overall strength of your margin portfolio.
T 0 is the initial moment—the zero point of reference. In crypto and finance, it marks the start of a transaction or event, establishing the base time for all subsequent calculations and settlements.
T1, T2, and T3 indicate transaction settlement periods. T1 means the transaction settles the next day, T2 in two business days, and T3 in three business days after execution. These periods define when assets and funds are actually transferred between counterparties.











