◆ New — Strategy Validator, Code Fixer & Prop Compliance Checker are live. Try one free →
Home / Learn / How Margin and Leverage Work in Forex: Margin Calls and Stop-Outs, Step by Step
Trading Education

How Margin and Leverage Work in Forex: Margin Calls and Stop-Outs, Step by Step

The actual arithmetic brokers assume you know: how required margin, equity, free margin, and margin level are computed, and a worked example that follows a $1,000 account tick by tick from entry to margin call to the stop-out price. Also covers what leverage does and does not change, regional leverage caps, and why a stop-out is not a substitute for a stop-loss. Educational material only, not financial advice; leveraged trading carries a real risk of losing your deposit.

How do margin, leverage, margin calls, and stop-outs actually work?

Margin is the collateral your broker locks against an open position; leverage is the ratio that sets how much collateral is required; a margin call is the broker's warning that your account equity has fallen near that collateral; and a stop-out is the broker force-closing positions when equity falls to a defined fraction of it. Every one of those events is pure arithmetic on four numbers your platform already displays — balance, equity, used margin, and margin level — and you can compute the exact price at which each will happen before you ever place the trade.

The definitions, precisely: Required (used) margin = position notional value ÷ leverage. Buy 0.5 lots of EUR/USD (50,000 EUR) at 1.1000 with 1:100 leverage and the notional is $55,000, so used margin is $550. Equity = balance + floating profit/loss — it moves every tick while balance only moves when trades close. Free margin = equity − used margin: what remains available for new positions or for absorbing losses. Margin level = equity ÷ used margin × 100%, the health metric everything keys off.

Brokers then define two thresholds on margin level. A common retail configuration is a margin call at 100% — a warning, often the point where you can no longer open new positions — and a stop-out at 50%, where the platform automatically closes positions (typically the largest loser first) until margin level recovers. These percentages are broker- and regulator-dependent — under ESMA rules the stop-out is standardised at 50% for retail accounts, while other jurisdictions vary — so the first practical step is reading your broker's actual figures. The rest of this article runs the numbers on the common 100/50 configuration.

A worked example: $1,000, 1:100, half a lot of EUR/USD

Set the scene with concrete numbers. Account balance $1,000, leverage 1:100, and you buy 0.5 lots of EUR/USD at 1.1000. No other positions, and for clarity we ignore spread and commission (they only make things slightly worse).

At entry: notional = 50,000 EUR × 1.1000 = $55,000. Used margin = 55,000 ÷ 100 = $550. Equity = $1,000 (no floating P/L yet), so free margin = $450 and margin level = 1,000 ÷ 550 ≈ 182%. Comfortable-looking — but note that more than half the account is already locked as collateral.

Pip value: for 0.5 lots, one pip (0.0001) is worth 50,000 × 0.0001 = $5. This is the number that converts price movement into equity movement.

Price falls 50 pips to 1.0950: floating loss = 50 × $5 = $250. Equity = $750, margin level = 750 ÷ 550 ≈ 136%. Nothing has "happened" yet, but a quarter of the account is gone.

Margin call at 100%: equity must fall to used margin, $550 — a floating loss of $450, which is 90 pips, at price 1.0910. The platform flags the account; typically no new positions can be opened.

Stop-out at 50%: equity must fall to $275 — a floating loss of $725, which is 145 pips, at price 1.0855. The broker force-closes the position at market. Balance is now roughly $275, a 72.5% account loss, from a move of about 1.3% in the underlying price.

That last sentence is the entire mechanics of leverage in one line: 1:100 leverage with more than half the account margined turned a 1.3% market move into a 72.5% account loss. No metaphors required — just multiplication.

Finding the stop-out tick — and the second-order effect most explanations skip

The example above held used margin fixed at $550, and for a first pass that is fine. But be precise: for a EUR-notional position in a USD account, used margin is itself a function of price — margin = 50,000 × price ÷ 100 — so as EUR/USD falls, the collateral requirement shrinks slightly too. If your broker recalculates margin continuously (many do; some fix it at the opening price), the exact stop-out price solves an equation rather than a subtraction.

Set equity equal to 50% of the recalculated margin. Equity is 1,000 − 50,000 × (1.1000 − p); required margin is 500 × p; the stop-out condition is:

1000 − 50000 × (1.1000 − p) = 0.5 × 500 × p
1000 − 55000 + 50000p = 250p
49750p = 54000
p ≈ 1.08543

So the exact stop-out sits at about 1.0854 rather than the 1.0855 of the fixed-margin approximation — roughly a pip of difference here. The correction is small for this position, but it grows with leverage and position size, and it flips direction for shorts (margin rises as price moves against a short in a USD-quoted pair). The honest summary: the fixed-margin arithmetic gets you within pips and is what you should be able to do on a napkin; the solved version is what your platform actually computes, and which one your broker uses is specified in their margin policy, not in folklore.

Two more real-world adjustments before trusting any hand calculation. First, the floating P/L that feeds equity is marked against the bid for longs, so the spread arrives at your stop-out slightly earlier than mid-price arithmetic suggests. Second, swap charges debited at rollover reduce equity directly, dragging every threshold closer overnight. Neither changes the method — both just belong in the equation.

What leverage does — and does not — change

A persistent confusion is the idea that higher leverage makes a given trade riskier. Run the numbers and you will see what leverage actually does: *it changes how much margin is locked, and therefore the maximum size you can open — it does not change the risk of the size you did open.*

Take the same 0.5-lot EUR/USD position at 1:30 instead of 1:100. Used margin becomes 55,000 ÷ 30 ≈ $1,833 — more than the $1,000 account, so the position cannot be opened at all. At 1:100 it locks $550; at 1:500 it would lock $110. In every case where the position can exist, a pip is still worth $5 and a 145-pip move still costs $725. The P/L profile is set entirely by position size; leverage sets the entry ticket and how much loss the account can absorb before the stop-out arithmetic triggers. Higher leverage lowers the collateral, which increases the distance to stop-out for the same position — and simultaneously tempts you into positions large enough to make that irrelevant. The danger of high leverage is the size it permits, not the ratio itself.

This is also where regulation enters. Retail leverage caps are jurisdiction-specific: under ESMA rules (EU, and mirrored in the UK by the FCA) major forex pairs are capped at 1:30 for retail clients, with lower caps for minors, gold, indices, and other instruments; in the US, forex leverage for majors is capped at 1:50 under CFTC rules; offshore brokers commonly advertise far higher ratios. EU/UK retail accounts also carry negative balance protection — you cannot lose more than your deposit — which is a genuinely different risk profile from venues where a gap through your stop-out can leave you owing the broker. Where your account is regulated is not a detail; it is part of the arithmetic.

Why a stop-out is not a stop-loss

It is tempting to treat the stop-out as a backstop — "worst case, the broker closes me out." Mechanically true, and a bad plan, for three reasons.

First, the stop-out is sized for the broker's protection, not yours. In the worked example it fired after a 72.5% account loss. A trader who risks a fixed 1% per trade via an actual stop-loss order never lets the margin math become relevant at all; the stop-out only ever matters to accounts that are already overexposed.

Second, the stop-out executes at market in exactly the conditions where markets fill badly. Forced liquidations cluster in fast, thin moves — the same conditions that produce maximum slippage. And gaps do not negotiate: if a weekend open or news candle jumps across your stop-out level, you are closed at the next available price, not at the threshold. With negative balance protection the damage stops at zero; without it, it may not.

Third, backtests rarely model any of this. TradingView's strategy tester has a margin_long/margin_short setting that can simulate margin-based forced exits, and MT5's tester models margin properly if your account settings match your real broker's — but a tester left at defaults will happily hold positions through drawdowns that would have stopped out a real account long before the strategy's "recovery." If your equity curve's survival depends on enduring a deep floating drawdown, verify the margin level that drawdown implies at your intended size. A strategy that would have been liquidated at bar 300 does not get credit for what happened at bar 400.

The practical order of operations is the reverse of the margin call sequence: size the position from your stop distance and the loss you are willing to take, then confirm the margin numbers are trivial. Educational only, not financial advice — leveraged products can consume a deposit quickly, and no arithmetic here makes any trade a good one.

Key takeaways

Educational only — not financial advice. Trading involves substantial risk of loss.

Catch the bug that compiles.Run auditGet Pro