Article

# Liquidation Price Calculator Tutorial

Learn how to use the Liquidation Price Calculator to determine your profit, stop loss, and liquidation prices with this tutorial. Follow the steps below to make the most of your calculations.

## Calculate Required Margin, P&L, and P&L Ratio

1. Choose Type: long or short.
2. Enter the Leverage level.
3. Input Open Price, Close Price, and Amount.
4. Click Calculate to start the calculation.

### Example Calculation

``````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
``````

## Close Price Calculation

1. Choose Type: long or short.
2. Enter the Leverage level.
3. Input Open Price, Amount, and Est. P&L.
4. Click Calculate to start the calculation.
5. Determine the close price you want.
6. Optional: Switch to Show P&L Ratio and set a P&L ratio to find the desired close price.

### Example Calculation

``````P&L = (face value * number of contracts / open price -- face value * number of contracts / close price)
``````

## Est. Liquidation Price Calculation

1. Choose Margin Mode: cross or fixed and Type: long or short.
2. Enter the Leverage level.
3. Input Open Price, Amount, and Added Margin.
4. Click Calculate to start the calculation.
5. Determine the est. liquidation price you want.

### Example Calculation

``````Est. liquidation price = (maintenance margin ratio + 1 -- fee rate) / (1 / average open price / leverage + 1 / average open price + added margin / face value / number of contracts)
``````

### Contract Indicators

Click Trading Data to view details of contract indicators. Select the cryptocurrency you want to check.

#### BTC Long/Short Ratio

This indicator displays the ratio of users with net long vs short positions within a given period of time. The data includes the users' data on weekly, biweekly and quarterly futures, as well as perpetual swap (Long/Short is calculated based on the users' net BTC positions).

#### Basis

This indicator shows the difference between the futures or swap price and the spot index price. At a given time, basis = futures or swap price -- spot index price.

#### Open Interest and Trading Volume

• Open interest: The total sum of long and short holdings of futures and perpetual swap with a specific underlying asset at a specific time.
• Trading volume: The total trading volume of futures and perpetual swap with a specific underlying asset within a specific period of time.