Liq price calculation

Can anyone know how to calculate liquidation price when placing order it self, it is associated with mainMarginPercentage, but i dont knot the formula to calculate it

Hello, there’s many variables in the liquidation calculation, please consult How to Calculate Liquidation Price of USDⓈ-M Futures Contracts | Binance Support