OpenChainGraph Suite · ART-213 · Derivatives Margin

Perp Margin and Liquidation Calculator

Compute liquidation price, margin health, buffer, and distance to liquidation for isolated and cross-margin perpetual positions. Covers Hyperliquid, dYdX v4, Binance, GMX, and generic venues. Includes portfolio margin spot-offset for cross mode.

Hyperliquid dYdX v4 Binance GMX Isolated + Cross Not Financial Advice
Not financial advice. Liquidation parameters vary by venue, tier, and market conditions. Verify MMR tiers and mark-price rules with your venue before trading. Liquidation price is approximate (isolated margin).
🔒 All inputs are processed locally in your browser. No data is transmitted. Do not enter real personal data — use synthetic or anonymised inputs only.
Current mark price. Liquidation triggers on mark, not last-traded.
E.g. 1.0 BTC, 10 ETH, 100 SOL.
Leave blank to use venue default. E.g. 2.5 for 2.5%.
Margin Health
Position Details
Execution Hash (SHA-256)