SpreadAtlas

Crypto liquidation price calculator

Enter your entry price, size and leverage to see where a leveraged position would be liquidated, and how far the price has to move to get there.

Read this first. Leveraged crypto products can lose your entire margin, and many regulators restrict or ban them for retail clients. This page is arithmetic on the numbers you enter, not advice or a signal.

Number of coins, not the money value.
At least 1.
On many exchanges the lowest tier is 0.4% to 0.5% for large coins. Check your exchange's table.
Some exchanges subtract a fixed amount for higher tiers. Leave 0 if you do not see one.
Money added to this position after opening it.
Try:

—

Quick formula (difference from exact)
—
Distance from entry
—
Bankruptcy price (margin fully lost)
—
Margin you put in
—
Maintenance margin
—

Educational arithmetic from the numbers you enter. It is not investment advice or a signal, and it does not model exchange tiers, funding, partial liquidation or auto-deleveraging. Your exchange's position panel is the binding figure. Calculations run in your browser; nothing you type is sent or stored.

Advertisement

How it works

On an isolated-margin position the exchange closes you out when the margin you put in no longer covers the maintenance margin. Write E for the entry price, Q for the quantity, N = E × Q for the position value, L for leverage, m for the maintenance margin rate, c for the maintenance amount that some exchanges add, and X for margin you added yourself. The liquidation price is then:

Long: (N − N ÷ L − X − c) ÷ (Q × (1 − m))

Short: (N + N ÷ L + X + c) ÷ (Q × (1 + m))

On cross margin the whole account balance W backs the position, less the unrealised loss O on your other positions, so N ÷ L + X is replaced by W − O. The bankruptcy price is where the margin is gone completely: E × (1 − 1 ÷ L) for a long and E × (1 + 1 ÷ L) for a short. Liquidation comes before bankruptcy because the exchange needs room to close the position and pay its costs.

A popular shortcut, E × (1 − 1 ÷ L + m) for a long, gets close but ignores any margin you add and the (1 − m) divisor. The calculator prints the gap so you can see how much it matters.

Worked example

The page opens with 0.1 BTC bought at 60,000 with 10x leverage and a 0.5% maintenance margin rate. The position is worth 6,000, so the margin is 600. A long is liquidated at (6,000 − 600) ÷ (0.1 × 0.995) = 54,271.36, which is 9.55% below the entry. A short with the same numbers is liquidated at (6,000 + 600) ÷ (0.1 × 1.005) = 65,671.64, which is 9.45% above it.

Liquidation distance by leverage

Entry 60,000, isolated margin, maintenance margin rate 0.5%, no extra margin. Your exchange's tiers may differ.
LeverageLong liquidated atBelow entryShort liquidated atAbove entry
2x30,150.7549.75%89,552.2449.25%
3x40,201.0133.00%79,601.9932.67%
5x48,241.2119.60%71,641.7919.40%
10x54,271.369.55%65,671.649.45%
20x57,286.434.52%62,686.574.48%
50x59,095.481.51%60,895.521.49%
100x59,698.490.50%60,298.510.50%

The distance shrinks roughly in proportion to leverage. At 100x the price only has to move about half a percent against you, a distance ordinary price noise can cover. For the reasoning behind these numbers see what a liquidation price is and how it is set, and isolated versus cross margin for what changes when the whole account backs a position.

Questions

Why does my exchange show a different liquidation price?

Exchanges compare the mark price, not the last traded price, with your liquidation level. Many use maintenance rates that rise with position size, include funding paid so far and open orders, and add a fee for closing. Some subtract a maintenance amount, which you can enter above. Use this page to check the order of magnitude and read the binding figure in your exchange's position panel.

Does adding margin move the liquidation price?

Yes, on isolated margin. Each unit you add moves the liquidation price further from the entry. The price is a risk trade-off, not a free fix: more of your money is then exposed to one position.

What is the maintenance margin rate?

It is the smallest share of the position value that must be left as margin. Below it the exchange liquidates the position. It is usually a fraction of a percent for large coins at small sizes and rises in steps as the position grows.

What happens after a liquidation?

The exchange closes the position at or near the bankruptcy price, and the margin in that position is lost. If the market moves too fast to close it, insurance funds or auto-deleveraging can step in. This calculator does not model those.

More calculators