How Is the Liquidation Price for a Position Calculated?
The liquidation price is calculated based on the trader's entry price, the amount of leverage used, and the maintenance margin percentage set by the exchange. It is the price point at which the margin balance will equal the maintenance margin requirement.
The formula is designed to give the exchange enough time to liquidate the position before the account balance drops to zero.