Coin-Futures Liquidation price formula

Could someone provide the formula used to calculate liquidation price for COIN-Futures? Isolated and CROSS

Hope this will be helpful:

https://www.binance.com/en/support/faq/b3c689c1f50a44cabb3a84e663b81d93

Thank you, I did find that one. But that one is for USDT-Futures.
I tried it, but the results were not the same.