This page is for informational purposes only. If you reside in Hong Kong, please refer to your account for the products and services available on OKX HK.

How do I use the liquidation price calculator?

Published on Jul 3, 2024Updated on Jul 3, 20243 min read

What's liquidation price calculator?

Liquidation price calculator can be used to determine your profit, stop loss, and liquidation prices with this tutorial. Follow the steps below to make the most of your calculations.

How do I calculate the required margin, P&L, and P&L ratio?

  1. Select %Calculator located beneath the Buy (long) [crypto]

    liquidation price calculator-web-1

    Kickstart your calculation process

  2. Make sure you're in the PnL section on the pop-up and select Margin Buy or Margin Sell

    liquidation price calculator-web-2

    Select your type of margins

  3. Select the Margin mode

    liquidation price calculator-web-3

    Margin mode has to be selected to proceed to the calculation phase

  4. Insert your Leverage, Entry Price, Exit Price, and Amount

    liquidation price calculator-web-4

    Fill up the necessary details before proceeding to calculate the required margin, P&L, and P&L ratio

  5. Select Calculate for the result

    liquidation price calculator-web-5

    Calculate the result to conclude the calculation

Example:
Margin = face value * number of contracts / open price / leverage
Taker fee = (face value * number of contracts) / open price * Taker fee rate
P&L ratio = P&L / margin

How do I calculate the Exit price?

  1. Select %Calculator located beneath the Buy (long) [crypto] option

  2. Make sure you're in the Exit price section on the pop-up and select Margin Buy or Margin Sell

  3. Select the Margin mode

  4. Insert your Leverage, Entry Price, and PnL%

    liquidation price calculator-web-6

    Fill up the necessary details before proceeding to calculate the exit price

  5. Select Calculate for the result

Example:
Profit and Loss = (face value * number of contracts / open price -- face value * number of contracts / close price)

How do I calculate the estimated liquidation price?

  1. Click on %Calculator located beneath the Buy (long) button

  2. Make sure you're in the PnL section on the pop-up and select Margin Buy or Margin Sell

  3. Select the Margin mode

  4. Insert your Entry Price, Amount, and Additional margin

    liquidation price calculator-web-7

    Fill up the necessary details before proceeding to calculate the estimated liquidation price

  5. Select Calculate for the result

Example:
Estimated liquidation price = (maintenance margin ratio + 1 -- fee rate) / (1 / average open price / leverage + 1 / average open price + added margin / face value / number of contracts)

Visit here to explore more about the liquidation price calculator for your trading.