Time-to-Liquidation Calculator & Visualizer

    Funding costs silently eat into your margin every 8 hours. Combined with adverse price movement, they can push you toward liquidation faster than you expect. This tool visualizes exactly how long your position can survive.

    Watch your margin decline over time on the chart. Get early warnings when you're approaching danger zones, and understand how price drops accelerate the timeline to liquidation.

    PerpsRisk

    Your deposited collateral

    Total notional position value

    Funding rate you're paying

    Exchange's maintenance margin requirement

    Price move against your position (0 = flat)

    Time to Liquidation

    Days Until Liquidation

    316.7 days

    Warning LevelSAFE
    Hours Until Liquidation7600
    Effective Leverage10.0x
    Daily Funding Cost$3.00
    Margin Remaining$950.00

    Margin Over Time

    Shows margin balance declining due to funding costs over time

    Want to understand this better?Read our perps guide

    Want these limits enforced automatically?

    Jungle Rebounder helps execute structured strategies with hard caps.

    See Jungle Rebounder

    How It Works

    Calculation Methodology

    Liquidation can occur from two sources: price movement against your position, or funding costs consuming your margin over time. This tool estimates how long you have before liquidation under different scenarios.

    Step 1: Calculate Available Margin
    availableMargin = collateral - maintenanceMargin
    // Margin available before liquidation
    Step 2: Calculate Price Movement Loss
    priceLoss = positionSize × (priceDecline / 100)
    remainingMargin = availableMargin - priceLoss
    Step 3: Calculate Funding Cost per Payment
    fundingPerPayment = positionSize × (fundingRate / 100)
    Step 4: Calculate Time to Liquidation
    paymentsUntilLiquidation = remainingMargin / fundingPerPayment
    daysUntilLiquidation = (paymentsUntilLiquidation × fundingInterval) / 24
    // Time if only funding consumes margin
    Step 5: Account for Price Movement
    If price moves against position, margin depletes faster
    Chart shows margin depletion over time with both factors

    Key Insight: Funding costs can liquidate you even without price movement. With $1,000 margin on a $10,000 position paying 0.05% funding ($5 per 8h), you have ~66 days before margin is consumed. High funding rates (0.1%+) can liquidate you in weeks.

    Learn more about perpetual contracts:

    Perps basics guide

    Example Scenario

    Setup: $1,000 margin, $10,000 position, 0.05% funding, 8-hour interval

    Funding per Payment: $5
    Payments per Day: 3
    Daily Funding: $15
    Days to Liquidation: ~66 days
    (No price movement)

    What this means: Without any price movement, funding costs consume your margin at $15/day. After 66 days, margin is gone and you're liquidated. The chart shows how margin depletes over time.

    Warning: If price moves 5% against you, that's $500 loss immediately, leaving only $500 margin. Liquidation time drops to ~33 days. Price movement accelerates liquidation.

    Common Mistakes & Warnings

    • Ignoring funding during sideways markets: Even if price doesn't move, funding consumes margin. Sideways markets can still liquidate you.
    • Not monitoring positions during high funding: High funding rates (0.1%+) can liquidate you in 2-3 weeks. Check positions daily.
    • Overleveraging when funding is elevated: High funding + high leverage = fast liquidation. Reduce leverage or avoid positions during high funding.
    • Assuming price won't move: This tool shows "time if no price movement." In reality, price usually moves, accelerating liquidation.
    • Not accounting for funding rate changes: Funding rates change every 8 hours. A spike to 0.2% can cut your time to liquidation in half.

    Example Scenarios

    Try these realistic scenarios to understand how funding and price movement affect time to liquidation.

    Scenario 1: Low Funding, No Price Movement

    Low funding rate with stable price. Long time to liquidation from funding alone.

    Margin: $1,000
    Position Size: $10,000
    Funding Rate: 0.005%
    Price Decline: 0%

    Step-by-Step Calculation:

    1. Available margin: $1,000 - ($10,000 × 0.5%) = $950
    2. Funding per payment: $10,000 × 0.00005 = $0.50
    3. Payments per day: 24 ÷ 8 = 3
    4. Daily funding: $0.50 × 3 = $1.50
    5. Days to liquidation: $950 ÷ $1.50 = 633 days

    What this means: With low funding (0.005%) and no price movement, you have 633 days before funding alone consumes your margin. This is very safe - funding has minimal impact over short to medium terms.

    Scenario 2: Normal Funding with Price Decline

    Standard funding rate with moderate price movement. Realistic scenario.

    Margin: $2,000
    Position Size: $10,000
    Funding Rate: 0.01%
    Price Decline: 3%

    Step-by-Step Calculation:

    1. Available margin: $2,000 - ($10,000 × 0.5%) = $1,950
    2. Price loss: $10,000 × 3% = $300
    3. Remaining margin: $1,950 - $300 = $1,650
    4. Funding per payment: $10,000 × 0.0001 = $1
    5. Daily funding: $1 × 3 = $3
    6. Days to liquidation: $1,650 ÷ $3 = 550 days

    What this means: After a 3% price decline, you have $1,650 margin remaining. With normal funding, you have 550 days before liquidation. Price movement reduces your buffer, but funding alone won't liquidate you quickly.

    Scenario 3: High Funding with Price Decline

    High funding rate with price movement. Dangerous combination. ⚠️ High risk

    Margin: $1,000
    Position Size: $10,000
    Funding Rate: 0.05%
    Price Decline: 5%

    Step-by-Step Calculation:

    1. Available margin: $1,000 - ($10,000 × 0.5%) = $950
    2. Price loss: $10,000 × 5% = $500
    3. Remaining margin: $950 - $500 = $450
    4. Funding per payment: $10,000 × 0.0005 = $5
    5. Daily funding: $5 × 3 = $15
    6. Days to liquidation: $450 ÷ $15 = 30 days

    What this means: After a 5% price decline, you have only $450 margin remaining. With high funding (0.05%), you have only 30 days before liquidation. This is dangerous - high funding + price movement = fast liquidation.

    Edge Case Warning: If price declines another 2-3%, you'll be liquidated immediately. High funding rates make positions extremely fragile - any additional price movement or funding rate increase will liquidate you quickly.

    What If Variations

    Explore how changing parameters affects time to liquidation:

    What if funding rate doubles from 0.01% to 0.02%?

    Using Scenario 2: Daily funding doubles from $3 to $6. Days to liquidation halves from 550 to 275 days. Funding rate changes have immediate linear impact on liquidation time.

    What if price declines another 2%?

    Using Scenario 2: Price loss increases from $300 to $500. Remaining margin drops from $1,650 to $1,450. Days to liquidation drops from 550 to 483. Price movement accelerates liquidation.

    What if funding interval is 1 hour instead of 8 hours?

    Using Scenario 2: Payments per day increases from 3 to 24. Daily funding becomes $24 instead of $3. Days to liquidation drops from 550 to 69 days. More frequent payments dramatically reduce liquidation time.

    Frequently Asked Questions

    What triggers liquidation?

    Liquidation occurs when your margin falls below the maintenance margin requirement. This can happen from price moves, funding payments, or both.

    How can I extend time to liquidation?

    Add more margin, reduce position size, or close part of your position. You can also switch to the opposite side to collect funding instead of paying.

    Is this calculation exact?

    This is an estimate. Real liquidation timing depends on exact price movements, funding rate changes, and exchange-specific rules.

    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