Back to Blog

The Complete Guide to Leveraged Trading and Liquidation: Understanding the Math Behind It

The Complete Guide to Leveraged Trading and Liquidation: Understanding the Math Behind It
December 20, 2024

Trading with leverage can significantly amplify your trading potential, but it's crucial to understand exactly how it works. In this comprehensive guide, we'll break down leveraged trading into simple concepts using real-world examples and step-by-step calculations.

Part 1: Understanding Leverage Through Simple Examples

What is Leverage? Think of leverage like a multiplier for your trading power. Here's a simple example:

Without Leverage: Your capital: $1,000 Maximum position size: $1,000 If price increases 10%: Profit = $100 (10% of $1,000)

With 5x Leverage: Your capital: $1,000 Maximum position size: $5,000 ($1,000 × 5)

If price increases 10%: Profit = $500 (10% of $5,000)

Real-World Example: Trading Bitcoin Let's say Bitcoin is trading at $50,000:

Scenario 1: No Leverage Your capital: $10,000 You can buy: 0.2 BTC ($10,000 ÷ $50,000)

If BTC rises to $55,000 (+10%): Position value: $11,000 (0.2 BTC × $55,000) Profit: $1,000

Scenario 2: 5x Leverage Your capital: $10,000 You can buy: 1 BTC ($50,000 × 5 leverage) If BTC rises to $55,000 (+10%): Position value: $55,000 Profit: $5,000

Part 2: Deep Dive into Position Sizing and Margin

Understanding Position Size Calculation Let's break down how position size is calculated with different leverages:

Example with $1,000 capital:

Position Size = Your Capital × Leverage

1x leverage: $1,000 × 1 = $1,000 5x leverage: $1,000 × 5 = $5,000 10x leverage: $1,000 × 10 = $10,000 20x leverage: $1,000 × 20 = $20,000

Required Margin Calculation

Your required margin is the amount you need to maintain your position: Required Margin = Position Size ÷ Leverage

Example: $10,000 Position 5x leverage: $10,000 ÷ 5 = $2,000 margin required 10x leverage: $10,000 ÷ 10 = $1,000 margin required 20x leverage: $10,000 ÷ 20 = $500 margin required

Part 3: Understanding Liquidation Price

The Basic Formula For Long Positions:

Liquidation Price = Entry Price × (1 - 1/leverage)

For Short Positions: Liquidation Price = Entry Price × (1 + 1/leverage)

Step-by-Step Examples

Example 1: Long Position with 5x Leverage

Entry Price: $100 Leverage: 5x

Step 1: Calculate 1/leverage

1 ÷ 5 = 0.2 (or 20%)

Step 2: Subtract from 1

1 - 0.2 = 0.8

Step 3: Multiply by entry price

$100 × 0.8 = $80 (Liquidation Price) This means you'll be liquidated if price drops by 20%

Example 2: Short Position with 10x Leverage

Entry Price: $1,000 Leverage: 10x

Step 1: Calculate 1/leverage 1 ÷ 10 = 0.1 (or 10%)

Step 2: Add to 1

1 + 0.1 = 1.1

Step 3: Multiply by entry price

$1,000 × 1.1 = $1,100 (Liquidation Price)

This means you'll be liquidated if price rises by 10%

Part 4: Why Lot Size Doesn't Affect Liquidation Price

Let's analyze three different lot sizes with the same leverage:

Scenario A: 1 Lot

Entry Price: $100 Leverage: 5x Lot Size: 1 Position Value: $100 Required Margin: $20 ($100 ÷ 5)

Liquidation Price: $80 ($100 × 0.8)

Scenario B: 2 Lots

Entry Price: $100 Leverage: 5x Lot Size: 2 Position Value: $200 Required Margin: $40 ($200 ÷ 5) Liquidation Price: $80 ($100 × 0.8)

Scenario C: 5 Lots

Entry Price: $100 Leverage: 5x Lot Size: 5 Position Value: $500 Required Margin: $100 ($500 ÷ 5) Liquidation Price: $80 ($100 × 0.8)

Notice how the liquidation price remains $80 in all scenarios because it's determined by the entry price and leverage, not the position size.

Part 5: Practical Trading Examples

Example 1: ETH Long Position

Asset: Ethereum (ETH) Entry Price: $2,000 Leverage: 10x Your Capital: $1,000

Position Size = $1,000 × 10 = $10,000 Amount of ETH = $10,000 ÷ $2,000 = 5 ETH Liquidation Price = $2,000 × (1 - 1/10) = $1,800

Profit/Loss Scenarios:

If ETH rises to $2,200 (+10%): Profit = $1,000 If ETH falls to $1,900 (-5%): Loss = $500 If ETH falls to $1,800 (-10%): Liquidation

Example 2: BTC Short Position

Asset: Bitcoin (BTC) Entry Price: $50,000 Leverage: 5x Your Capital: $5,000

Position Size = $5,000 × 5 = $25,000 Amount of BTC = $25,000 ÷ $50,000 = 0.5 BTC Liquidation Price = $50,000 × (1 + 1/5) = $60,000

Profit/Loss Scenarios:

If BTC falls to $45,000 (-10%): Profit = $2,500 If BTC rises to $52,500 (+5%): Loss = $1,250 If BTC rises to $60,000 (+20%): Liquidation

Part 6: Risk Management Calculator

Here's a simple way to calculate your risk based on position size and leverage: Risk Percentage = (Entry Price - Liquidation Price) ÷ Entry Price × 100

Example: Entry Price: $1,000 Leverage: 4x Liquidation Price: $750 Risk = ($1,000 - $750) ÷ $1,000 × 100 = 25%

Try Our Liquidation Calculators

Now that you understand how liquidation prices work, you can use our free calculators to quickly determine liquidation prices for your trades:

  1. General Trading Liquidation Calculator :Perfect for calculating liquidation prices for any trading instrument. Simply input your entry price, leverage, and position type.
  2. Crypto Trading Liquidation Calculator: Specifically designed for cryptocurrency trading with common crypto-specific leverage options and margin requirements.
  3. Bitcoin Liquidation Calculator : Tailored for Bitcoin traders with BTC-specific features and current market data integration.

Using these calculators, you can:

  • Instantly calculate liquidation prices.
  • Compare different leverage scenarios.
  • Plan your position sizes safely.
  • Understand your risk before trading.
  • Save time on manual calculations.

We recommend bookmarking these tools for quick access during your trading activities. Remember to always calculate your liquidation price before entering any leveraged position!

Conclusion: Key Takeaways

  1. Higher leverage means:
  • Larger position size.
  • Higher potential profits.
  • Higher potential losses.
  • Closer liquidation price to entry.
  1. Remember these relationships:
  • 2x leverage = 50% move to liquidation.
  • 5x leverage = 20% move to liquidation.
  • 10x leverage = 10% move to liquidation.
  • 20x leverage = 5% move to liquidation.
  1. Position management tips:
  • Always calculate your liquidation price before trading.
  • Set stop losses before your liquidation price.
  • Consider using lower leverage for volatile assets.
  • Monitor your margin ratio regularly.

Disclaimer: This guide is for educational purposes only. Leveraged trading carries significant risks and may not be suitable for all investors. Always conduct thorough research and risk assessment before trading.