Liquidation Calculator
Calculate liquidation risks for DCA trading strategies. Optimize your position sizing and leverage to avoid liquidation in cryptocurrency futures trading.
DCA Strategy Parameters
Risk Factors
Liquidation Price
Price level where your position gets automatically closed
Margin Usage
Percentage of balance used as collateral
DCA Strategy
Dollar-cost averaging with increasing position sizes
Crypto Liquidation Calculator: How to Avoid Getting Liquidated on Leveraged Trades#
Liquidation is the worst-case scenario in leveraged trading. It means the exchange forcibly closes your position because your losses have consumed your margin. You don't just lose a trade — you lose your entire collateral for that position.
This crypto liquidation calculator helps you understand exactly where your liquidation price sits based on your leverage, entry price, and position size — whether you're trading Bitcoin or altcoins. Knowing your bitcoin liquidation price before entering a trade is the difference between controlled risk and a blown account.
What Is Liquidation in Crypto Trading?#
When you open a leveraged position on a crypto exchange, you're borrowing funds to trade with more capital than you actually have. The collateral you put up is called margin.
Liquidation happens when your unrealized losses approach or exceed your margin. The exchange doesn't let you go into debt — it closes your position automatically when your margin ratio hits the maintenance threshold.
For example:
- You open a $10,000 long position on Bitcoin with 10x leverage
- Your actual margin (collateral) is $1,000
- If BTC drops ~10%, your $1,000 margin is wiped out
- The exchange liquidates your position to prevent further losses
The exact liquidation price depends on your leverage, the exchange's maintenance margin rate, and whether you're using cross or isolated margin.
How to Calculate Crypto Futures Liquidation Price#
The basic liquidation price formula for a long position with isolated margin:
Liquidation Price = Entry Price × (1 − (1 ÷ Leverage) + Maintenance Margin Rate)
For a short position:
Liquidation Price = Entry Price × (1 + (1 ÷ Leverage) − Maintenance Margin Rate)
In practice, each exchange has its own maintenance margin tiers that change based on position size. Larger positions require higher maintenance margins, which means their liquidation price is closer to the entry price.
The calculator above handles these calculations for you — enter your parameters and see your exact liquidation price, margin requirements, and how much room you have before liquidation.
Understanding Leverage and Liquidation#
The relationship between leverage and liquidation distance is straightforward but brutal:
| Leverage | Approximate Liquidation Distance (Long) |
|---|---|
| 2x | ~50% price drop |
| 3x | ~33% price drop |
| 5x | ~20% price drop |
| 10x | ~10% price drop |
| 20x | ~5% price drop |
| 50x | ~2% price drop |
| 100x | ~1% price drop |
| 125x | ~0.8% price drop |
These are approximate — the actual distance is slightly less due to maintenance margin requirements and fees.
Bitcoin moves 5-10% in a single day regularly. This means 10x leverage gives you about one day of adverse movement before liquidation. At 50x, a normal 2% swing can end your position.
BTC Liquidation Calculator: Bitcoin-Specific Risks#
Bitcoin is the most common asset for leveraged crypto trading, and it has specific characteristics that affect liquidation risk:
- Flash wicks: BTC can spike 3-5% in seconds during liquidation cascades, then recover. If your liquidation price is within that wick range, you get liquidated on a move that reverses immediately. This is common and costly.
- Funding rate impact: On perpetual futures, negative funding rates on longs (or positive on shorts) gradually reduce your margin, pushing your liquidation price closer over time.
- Exchange-specific engines: Different exchanges have different liquidation engines. Some use mark price (index average), others use last price. Mark price is safer as it's harder to manipulate.
Crypto Leverage Calculator: Choosing the Right Leverage#
The question isn't "how much leverage can I use" but "how much leverage should I use." The answer comes from your stop loss:
- Calculate your position size based on risk management (e.g., 1% risk per trade).
- Determine your stop loss distance.
- Your leverage should place your liquidation price well below your stop loss — at least 2-3× further away.
For example:
- Entry: $60,000 BTC, Stop loss: $58,800 (2% below)
- Your liquidation price should be at $57,000 or lower (5% below)
- This means maximum ~20x leverage
If your stop loss and liquidation price are close together, a flash wick can skip past your stop and liquidate you directly. Always leave a buffer.
Isolated vs Cross Margin#
The margin mode you choose fundamentally changes your liquidation risk:
Isolated Margin#
- Each position has its own dedicated margin
- Liquidation only affects that position's collateral
- Your other funds are safe
- Better for risk management — you know your maximum loss upfront
Cross Margin#
- Your entire account balance serves as margin for all open positions
- Liquidation price is further away (more margin available)
- But if liquidation hits, you can lose your entire account
- Profitable positions offset losing ones, but a sudden crash can liquidate everything
Recommendation: Use isolated margin unless you have a specific reason for cross margin. The slightly closer liquidation price is worth the protection of knowing your maximum loss.
How to Avoid Getting Liquidated#
1. Use the Calculator Before Every Leveraged Trade#
Enter your intended leverage, entry price, and position size. Check the liquidation price. If it's too close to current price, reduce leverage.
2. Set Stop Losses Above Liquidation#
Your stop loss should always trigger before liquidation. Place it at least 20-30% of the distance before your liquidation price, not at it.
3. Monitor Margin Ratio#
Most exchanges show your margin ratio in real-time. If it's climbing toward 80-90%, consider adding margin or reducing the position.
4. Account for Fees and Funding#
Opening fees, closing fees, and accumulated funding rates all eat into your margin. A position that looks safe when opened can drift toward liquidation purely from fee accumulation. Use the funding rate calculator to estimate these costs.
5. Don't Add to Losing Positions Without Recalculating#
Averaging down on a leveraged position changes your liquidation price. Recalculate after every addition.
6. Reduce Leverage During High Volatility#
Before major events (CPI data, FOMC, token unlocks), reduce leverage or close positions. Volatility spikes are when most liquidations occur.
Liquidation Cascades: The Domino Effect#
Liquidations don't happen in isolation. When a large number of leveraged longs get liquidated, their forced sell orders push price down further, triggering more liquidations. This creates a liquidation cascade — a waterfall of forced selling that can crash prices 10-20% in minutes.
This is why crypto flash crashes are often so extreme: the leverage in the system creates self-reinforcing selling pressure.
Understanding this dynamic is important for two reasons:
- Don't be part of the cascade. Keep your liquidation price far from obvious liquidation clusters (round numbers, recent lows).
- Cascades create opportunities. The flash wicks from liquidation cascades often produce the best DCA bot entries and grid trading opportunities. Use paper trading to practice catching these moves risk-free.
Futures Liquidation Calculator for Different Exchanges#
Each exchange calculates liquidation slightly differently:
- Binance: Uses mark price (weighted average of index prices), tiered maintenance margin rates
- Bybit: Uses mark price, tiered maintenance margin, auto-deleveraging when insurance fund depletes
- OKX: Uses mark price with multi-tier risk limits
- Hyperliquid: Uses oracle-based mark price, partial liquidation above certain position sizes
Always check your specific exchange's liquidation rules. This calculator uses standard formulas, but exchange-specific maintenance margins and fee structures may shift the actual liquidation price slightly.
Risk Management for Leveraged Crypto Trading#
Use backtesting to stress-test your leverage strategies against historical data before going live. Understanding how your positions would have performed during past crashes is invaluable.
Leverage amplifies everything — profits, losses, and the speed at which they happen. The traders who survive leveraged trading are the ones who:
- Size positions based on risk, not leverage — Use the position size calculator first
- Always know their liquidation price before entering a trade
- Use isolated margin to cap maximum loss
- Keep total leveraged exposure under 20% of account as a general rule
- Accept that some opportunities aren't worth the leverage risk
The goal of this calculator is simple: know exactly where your line in the sand is before you commit capital. No surprises.
Other tools you may find useful
Explore more handy calculators and risk tools to complement your trading workflow.
DCA Calculator
Plan safety orders, visualize average price changes, and compute the exact DCA volume required to reach your target price—just like inside the Gainium bot UI.
Liquidation Calculator
Calculate liquidation risks for DCA trading strategies. Optimize your position sizing and leverage to avoid liquidation in cryptocurrency futures trading.
Win Rate Calculator
Simulate trading strategies with Monte Carlo analysis. Test different win rates, risk-reward ratios, and position sizes to optimize your trading performance.
Position Sizing Calculator
Calculate optimal position sizes based on your risk tolerance, account balance, and trading strategy. Manage risk effectively with proper position sizing.
Funding Rate Calculator
Calculate funding costs for perpetual futures positions. Understand the impact of funding rates on your long-term trading strategies.