Forex and CFD

Margin Call Calculator

A margin call is a number of pips away, not an abstraction. Enter your account to see the distance to both thresholds.

Your account

Broker's levels

Below this the broker closes positions itself. Varies by broker and regulator.
Current margin level
Equity at the margin call
Equity at the stop-out
Loss until the margin call
Pips until the margin call
Pips until the stop-out

Margin level is equity divided by used margin, and it falls when either number moves — a floating loss lowers equity, and opening another position raises used margin. Adding a trade while already close to the call is the version of this that surprises people.

FreeNo signupNothing leaves your browser

The formula

margin level = equity ÷ used margin × 100

$5,000 of equity against $2,000 of used margin is a margin level of 250%. It falls when equity falls, and it also falls when you open another position — because that raises the denominator.

Two thresholds sit below:

  • Margin call, commonly at 100%, where the broker warns you and may block new positions.
  • Stop-out, commonly between 20% and 50%, where the broker closes positions itself.

Both vary by broker and by regulator, so use your own figures rather than the defaults.

Pips, because that is the unit you think in

Money-based thresholds are hard to act on mid-trade. The row that matters converts them:

pips to the threshold = (equity − threshold equity) ÷ pip value

With $5,000 equity, $2,000 used margin, a 50% stop-out and a $10 pip value: the stop-out sits at $1,000 of equity, so there is $4,000 of room — 400 pips.

Now put that beside your stop-loss. If the stop is 40 pips away, the broker is nowhere near relevant. If you are holding three correlated positions and the buffer is 60 pips, the broker's exit arrives before yours, and it closes whatever it chooses rather than what you would have chosen.

That comparison — buffer against stop, in pips — is the only useful reading of a margin level, and it takes one glance once the number is in front of you.

Why it falls faster than expected

Two things move the ratio at once, and traders usually track only one.

A floating loss reduces equity, which is the obvious half. Opening an additional position increases used margin, which lowers the level without the market having moved at all. A trader who adds to a position while already at 150% can be at the call before the next candle closes.

This is also why the danger concentrates in correlated positions. Three long EUR positions are one bet in three costumes: they lose together, so the equity drop and the margin usage arrive simultaneously, and the level falls at three times the rate the position count suggests.

What a stop-out actually does

It is not an orderly reduction. The broker closes positions at the market, on its own schedule, usually starting with the largest loser — which is normally the one you would have most wanted to give room to.

It also happens in whatever liquidity exists at that moment, which during a fast move is worse than the quoted spread. A stop-out is therefore reliably more expensive than the stop you would have taken voluntarily, and the whole purpose of tracking this number is to never find out by how much.

FAQ

What is a margin level?

Equity divided by used margin, as a percentage. Above 100% the account has more equity than committed margin; below the broker's stop-out level it begins closing positions automatically.

At what level does a margin call happen?

Commonly 100%, with a stop-out between 20% and 50%, but both are set by the broker and vary by regulator. Check your account terms rather than relying on a typical figure.

How many pips until I get a margin call?

Subtract the equity at the threshold from your current equity and divide by the value of one pip across your open positions. The calculator does this for both the call and the stop-out.

Does opening another position affect my margin level?

Yes, immediately — it increases used margin, which lowers the level even if nothing has moved against you. This is the most common way traders arrive at a margin call unexpectedly.

What happens during a stop-out?

The broker closes positions at market prices until the level recovers, typically starting with the largest loss. You do not choose which positions or at what price, and it occurs in whatever liquidity is available at that moment.

This is the plan. What did you actually do?

A calculator tells you the size you should have taken. It cannot tell you the size you took at 2pm after two losers, or how often your stop moved once price went against you. Drop in a statement from MT4/MT5, a broker CSV or a crypto export and see the answer for your own last 90 trades.

Import my trades — free