Leverage & Margin Guide: Calculate Requirements & Avoid Liquidation

    12 min readEducational Guide

    Complete leverage and margin guide: calculate margin requirements, leverage ratios, liquidation price. Learn margin calls, isolated vs cross margin, and risk management for leveraged trading.

    Leverage amplifies both gains and losses. Understanding how leverage and margin work is essential for trading perpetual contracts safely. This guide covers everything you need to know about leverage mechanics, margin requirements, and how to avoid liquidation.

    Most traders understand leverage conceptually but don't understand the mechanics. They see "10x leverage" and think it's safe. They don't calculate where they'll get liquidated. This guide fixes that.

    What is leverage?

    Leverage lets you control a larger position than your capital would normally allow. 10x leverage means $1,000 controls $10,000 of exposure.

    Key point: Your profits and losses are calculated on the full position size, not your margin. This is why leverage amplifies both gains and losses.

    Leverage Example

    You have $1,000 and use 10x leverage to open a $10,000 long position on BTC at $50,000:

    • Position size: $10,000 (0.2 BTC)
    • Margin required: $1,000
    • If price goes to $52,500 (+5%): Position worth $10,500, profit = $500 (50% of margin)
    • If price goes to $47,500 (-5%): Position worth $9,500, loss = $500 (50% of margin)

    Notice how a 5% price move becomes a 50% move on your margin. This is the power and danger of leverage.

    Understanding margin

    Types of margin

    Margin is the collateral you put up to open a leveraged position. There are several types:

    • Initial margin: What you need to open the position. For 10x leverage, this is typically 10% of the position size (plus a small buffer for fees).
    • Maintenance margin: The minimum required to keep the position open. This is usually 0.5-2% of the position size, depending on the exchange.
    • Isolated margin: Margin allocated to a specific position. If that position is liquidated, only that margin is lost.
    • Cross margin: Margin shared across all positions. One position can use margin from another, but liquidation risk is shared.

    Margin ratio

    Margin ratio = (Margin / Position Value) × 100%

    When your margin ratio falls below the maintenance margin requirement, liquidation occurs. Most exchanges show your margin ratio in real-time. Keep it well above the maintenance level.

    Margin Ratio Calculation

    You open a $10,000 position with $1,000 margin:

    • Initial margin ratio: ($1,000 / $10,000) × 100% = 10%
    • Maintenance margin: 0.5% (exchange requirement)
    • If price drops 5%: Position worth $9,500, margin = $500
    • New margin ratio: ($500 / $9,500) × 100% = 5.26% (still safe)
    • If price drops 9.5%: Position worth $9,050, margin = $50
    • New margin ratio: ($50 / $9,050) × 100% = 0.55% (close to liquidation)

    Use our Liquidation Distance Tool to calculate exactly where you'll get liquidated.

    Leverage levels and risk

    Common leverage levels

    • 2-3x: Conservative. Good for beginners. Wide liquidation buffer.
    • 5-10x: Moderate. Most common for experienced traders.
    • 20-50x: Aggressive. Requires precise risk management.
    • 100x+: Extremely risky. Not recommended for most traders.

    Liquidation by leverage

    Higher leverage = closer liquidation = less room for error:

    • 5x leverage: Liquidation at ~19% adverse move
    • 10x leverage: Liquidation at ~9.5% adverse move
    • 20x leverage: Liquidation at ~4.5% adverse move
    • 50x leverage: Liquidation at ~1.5% adverse move
    • 100x leverage: Liquidation at ~0.5% adverse move
    This is why high leverage is dangerous. A small adverse move can wipe you out. Use leverage conservatively — 3-5x is often enough.

    Margin calls vs. liquidation

    Margin call

    A margin call is a warning that your margin ratio is getting low. Some exchanges will notify you when your margin ratio approaches the maintenance level. This is your chance to add more margin or close the position.

    What to do: If you get a margin call, you can:

    • Add more margin to the position
    • Close the position to realize the loss
    • Close other positions to free up margin (if using cross margin)

    Liquidation

    Liquidation occurs when your margin ratio falls below the maintenance requirement. The exchange automatically closes your position to prevent further losses. You lose most or all of your margin.

    Important: Liquidation is automatic and immediate. You don't get a warning. Once your margin ratio hits the maintenance level, your position is closed.

    Calculating liquidation price

    Liquidation price depends on:

    • Entry price: Where you opened the position
    • Leverage: Higher leverage = closer liquidation
    • Position side: Long or short (opposite directions)
    • Maintenance margin: Exchange-specific (typically 0.5-2%)
    • Trading fees: Which reduce your margin

    For a long position with 10x leverage and 0.5% maintenance margin:

    • Initial margin: 10% of position value
    • Liquidation occurs when margin = 0.5% of position value
    • You can lose 9.5% of your margin before liquidation
    • Price needs to drop ~9.5% from entry (accounting for fees)

    Use our Liquidation Distance Tool to calculate your exact liquidation price.

    Best practices

    • Use leverage conservatively: 3-5x is often enough. Higher leverage increases risk without proportional benefit
    • Always calculate liquidation price: Know exactly where you'll get liquidated before opening a position
    • Set stops well above liquidation: Give yourself a buffer (1-2% minimum) to avoid liquidation from gaps or slippage
    • Monitor margin ratio: Check regularly and set alerts. Don't let it get too close to maintenance
    • Use isolated margin for testing: When learning, use isolated margin to limit risk to a single position
    • Factor in fees: Trading fees reduce your margin. Account for them in your calculations

    Key takeaways

    • Use leverage conservatively (3-5x is often enough) — higher leverage means closer liquidation
    • Always calculate your liquidation price before opening a position — don't guess
    • Set stop losses well above liquidation price to avoid gaps and slippage
    • Monitor your margin ratio regularly — don't let it get too close to maintenance

    Frequently asked questions

    What's the difference between isolated and cross margin?

    Isolated margin is allocated to a specific position. If that position is liquidated, only that margin is lost. Cross margin is shared across all positions. One position can use margin from another, but liquidation risk is shared. Use isolated margin when learning or testing strategies.

    Can I get liquidated if price moves in my favor?

    No. Liquidation only happens when price moves against you. For longs, liquidation occurs when price drops. For shorts, liquidation occurs when price rises.

    What's the safest leverage to use?

    There's no universal answer, but 3-5x leverage is generally considered safe for most traders. It provides enough amplification without excessive liquidation risk. Higher leverage should only be used by experienced traders with precise risk management.

    How do I calculate my exact liquidation price?

    Use our Liquidation Distance Tool. It accounts for entry price, leverage, position side, maintenance margin, and fees to give you the exact liquidation price.

    What if price gaps through my liquidation price?

    If price gaps through your liquidation price, you'll be liquidated at the liquidation price, not the gap price. However, if the gap is very large, you might face additional losses from the liquidation process itself (liquidation fees, etc.).

    Tools to help

    Use our Liquidation Distance Tool to calculate exactly where you'll get liquidated. Our Time-to-Liquidation Visualizer shows how price movement and funding costs reduce margin over time.

    Trading tools & calculators for structured decisions

    Model outcomes, sanity-check setups, and plan execution — without hype.

    29tools9categories6guides
    Free to useNo signup requiredFast calculations

    Why MarketKit exists

    Our philosophy on building tools that help, not hype

    Clarity before execution

    Know your numbers before you click. Understand exposure, risk, and worst-case scenarios.

    Tools, not predictions

    No signals, no guarantees. Just calculators to help you model what matters.

    Built to be shared

    Results are designed to be screenshot-friendly and easy to share in communities.

    Free to use forever
    No signup required
    Fast calculations
    Built by traders