It's calculated by dividing your account equity by your maintenance margin. A higher margin ratio means you're less likely to get liquidated. hope that helps