Forex Margin Level Calculator
FOREX · MARGIN LEVEL · STOP-OUT PROXIMITY
Free margin and margin level % from account equity and used margin: the same stop-out proximity metric every forex platform shows.
Balance plus floating P&L on open positions
Margin currently locked by open positions. Enter 0 if you have none.
What is margin level?
Margin level is the standard metric every forex platform shows to answer one question: how close are you to a margin call? It compares your account equity (balance plus floating P&L) against the margin your open positions currently have locked up.
The formula
- Margin level % = (equity ÷ used margin) × 100
- Free margin = equity − used margin
Worked example
Equity $10,000, used margin $2,000:
- margin level = (10,000 ÷ 2,000) × 100 = 500%
- free margin = 10,000 − 2,000 = $8,000
What counts as dangerous?
Every broker sets its own margin-call and stop-out thresholds (100% and 50% are common reference points, but not universal), so this calculator shows you the raw number, not a broker-specific verdict. Falling equity or rising used margin both push the level down; a level at or below 100% means your equity no longer fully covers your open exposure.
Where to go next
Sizing a new position instead of checking an existing one? Use the Risk/Reward Calculator or check your PnL on an open trade.
Use via API or MCP
This calculation is available as a deterministic API call for bots and AI agents.
What does a margin level of 100% mean?
It means your equity exactly equals your used margin: you have no free margin left. Many brokers treat this zone as a margin-call trigger, though the exact threshold is broker-specific.
Why does the calculator show "No positions" instead of a percentage?
Margin level is only meaningful when you have used margin to compare equity against. With zero used margin, dividing by zero has no real answer, so this calculator shows "No positions" instead of an infinite or garbage number.
Can free margin go negative?
Yes: if your floating losses push equity below your used margin, free margin goes negative. That is exactly the scenario margin calls exist to catch, before it goes further.
Does this calculator know my broker's specific margin-call level?
No. Margin-call and stop-out thresholds are set individually by each broker (100% and 50% are common reference points, not universal rules), so this tool gives you the raw, broker-agnostic metric rather than guessing your specific broker's rule.