# How do I use the liquidation price calculator?

## 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]

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

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

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

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

5. Select Calculate for the result

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%

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. Select %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

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)