Leverage, margin, and how a position gets liquidated

The arithmetic of a margin call, worked through on a position that fails.

Lesson 3 of 6 · 15 min read
Written by the magn8t desk. Open, free, and readable without an account.

This is the longest lesson in the syllabus, and the one to read most slowly, because leverage is the mechanism by which most losing accounts actually die. Not bad analysis, not bad luck — arithmetic. A leveraged position can lose money faster than the account holding it can absorb, and when it does, the platform closes the position for you, at the worst moment, by design.

We are going to work through one concrete position from opening to forced liquidation, with real numbers at every step. The example is deliberately generic: a currency pair at a round leverage of 1:200, with this platform's margin call at 80 percent and stop-out at 40 percent. Our own leverage is lower and set per instrument — the contract specifications list it — but the arithmetic is the same at any leverage, and a round number keeps it easy to follow. By the end you will be able to compute, before opening any position, the exact price at which it will be taken from you. Most traders never do this calculation. It takes five minutes.

Five words you need first

Balance is the cash in your account, counting only closed trades. Equity is balance plus the running profit or loss of your open positions — the honest number, what the account is worth right now. Margin (or used margin) is the deposit the platform sets aside as collateral when you open a leveraged position; it is not a fee, and it returns when the position closes. Free margin is equity minus used margin — what is left to absorb losses or open new positions.

Margin level is the number that decides your fate: equity divided by used margin, expressed as a percentage. Every rule in this lesson triggers off it. Above 100 percent, your equity still covers your collateral. At 80 percent, this platform sends a margin call. At 40 percent, it starts closing your positions. Keep those two thresholds in mind; we will hit both.

One position, opened

You deposit 2,000 dollars. You buy 0.5 lot of EUR/USD at 1.08691. Half a lot is 50,000 euros of notional exposure — at the current price, 54,345.50 dollars. You do not have 54,345.50 dollars; that is what the leverage is for. At 1:200, the platform requires one two-hundredth of the notional as collateral: 54,345.50 divided by 200 is 271.73 dollars of margin.

So the account now reads: balance 2,000, used margin 271.73, free margin 1,728.27, margin level 736 percent. Comfortable, on the surface. Note the ratio that actually matters, though: your 2,000 dollars is exposed to the movement of 54,345 dollars. The account is leveraged 27 times over — not 200, because you did not use all the leverage available, but 27 is plenty, as you are about to see.

One more number, the most useful one in trading: the pip value. For EUR/USD, a pip is a move of 0.0001, and on 0.5 lot each pip is worth 5 dollars to you — in either direction. Every calculation below is built from that.

The position moves against you

EUR/USD falls. Watch the account, not the chart.

Down 40 pips, to 1.08291: you have lost 40 times 5, or 200 dollars. Equity 1,800, margin level 662 percent. On the screen this looks like nothing — a red number, a tenth of the account, a normal day's range.

Down 150 pips, to 1.07191: loss 750 dollars. Equity 1,250, margin level 460 percent. You are down more than a third of the account on a move of one and a half cents in the exchange rate. This is the moment the arithmetic usually becomes real to people, and the moment many stop looking at it.

Down 300 pips, to 1.05691: loss 1,500 dollars. Equity 500, margin level 184 percent. Three quarters of the account is gone. Nothing has malfunctioned; no rule has triggered yet; the position is simply doing what 27-times-leveraged exposure does. The two thresholds are now close.

Notice what did not change on the way down: the used margin. It stays at 271.73 throughout, because it is set by the position, not by the loss. What falls is equity, and therefore the margin level — from 736 percent at the open, to 662, to 460, to 184. The margin level is a countdown, and it counts in only one currency: pips against you, times pip value. There is no skill anywhere in this section. Anyone holding this position through this move arrives at the same numbers on the same schedule.

The margin call at 80 percent

The margin call fires when margin level reaches 80 percent — when equity falls to 80 percent of the 271.73 used margin, which is 217.38 dollars. That requires a loss of 1,782.62 dollars, which at 5 dollars a pip is 356.5 pips. Price: 1.05126.

At 1.05126 the platform notifies you that your account is below the maintenance threshold. Despite the name, nobody calls, and nothing is closed yet. It is a warning with exactly two exits: deposit more money to raise equity, or close the position yourself and accept the loss. What the margin call is not, and this is the misunderstanding that costs people most, is a pause. The market does not wait while you decide. Between margin call and stop-out lies, in this example, a gap of about 22 pips — on a fast day, a few minutes.

It is worth saying plainly that topping up a losing position is usually the worse exit. It converts a bounded loss into an open-ended one, on the theory that the market owes you a turnaround. The market does not know you exist.

The stop-out at 40 percent

The stop-out fires at a margin level of 40 percent — equity of 108.69 dollars, a loss of 1,891.31 dollars, 378.3 pips, price 1.04908. At that price the server closes your position automatically, at the current market price, without asking. If you had several positions, it would close the largest losing one first, then re-check the margin level, and continue until the account is back above the threshold.

Take a second to see what happened in full. EUR/USD moved from 1.08691 to 1.04908 — a fall of 3.5 percent in the underlying. Your account lost 1,891 of 2,000 dollars: 94.6 percent. That is what leverage is. It is not a bonus, not free money, not a feature for advanced users. It is a multiplier that turned a 3.5 percent move into the near-total loss of the account, exactly as specified in the contract you signed.

Notice, too, the shape of the ending. The stop-out sold your euros at 1.04908 — the worst price of the entire episode, mechanically, because the trigger only fires at the bottom of your tolerance. Forced liquidation always sells low and covers high; it cannot do otherwise. Every trader who has been stopped out has watched, at least once, the price recover shortly afterwards without them. That is not the market taunting you. It is what it looks like when a position was sized so that a survivable move became a fatal one.

The stop-out is not a punishment, and it is worth understanding whom it protects. It protects you from losing more than you deposited, and it protects the broker from your account going negative on its books. It is the fuse box of the platform. Fuses are good. Needing them regularly is not.

The formula, so you can do this for any position

Everything above was one long instance of a short formula, and you should own the formula rather than the example. For a single open position: distance to stop-out, in pips, equals equity minus 40 percent of used margin, divided by the pip value. In our numbers: 2,000 minus 108.69, divided by 5, is 378.3 pips. For a long position, subtract that distance from your open price; for a short, add it. The margin call distance is the same calculation with 80 percent in place of 40.

Used margin is notional divided by leverage — position size in units, times the current price for pairs quoted in dollars, divided by 200 in this example. Pip value for currency pairs is size in lots times 10 dollars for a full lot, scaled down for fractions: 5 dollars at 0.5 lot, 1 dollar at 0.1 lot. Both numbers are also shown on the order ticket before you confirm, so the arithmetic is a check, not a burden: read them, run the division, and write the stop-out price down before you click.

Then hold that price against reality. EUR/USD moves, on an ordinary day, somewhere between 50 and 100 pips; a central bank decision can produce several hundred in an hour. If your computed distance to stop-out is inside the daily range, you are not trading a view about the euro — you are flipping a coin with a fee attached, and the platform will collect the coin the first time it lands badly.

Why liquidation comes much closer than people expect

In the worked example, the account survived a 378-pip move. That already surprises people who expected leverage of 1:200 to mean a 200th of that, but 378 pips is still a real distance — several normal weeks, or one central-bank surprise. Here is why real accounts rarely have that much room.

First, position size. Our trader used a fraction of the available leverage. Open 2 lots instead of 0.5 on the same 2,000 dollars — at 1:200 that is allowed, margin is 1,086.91 — and the pip value becomes 20 dollars. The stop-out equity is 40 percent of 1,086.91, or 434.76 dollars, so the account can absorb a loss of 1,565.24 dollars: 78 pips. Seventy-eight pips is a quiet Tuesday. At full 1:200 utilisation, the distance shrinks toward a rounding error of daily volatility.

Second, multiple positions. Margins add up, and losses on all open positions drain one shared pool of equity simultaneously. Three correlated positions do not have three separate distances to stop-out; they share one, and it is much shorter than each looks alone.

Third, gaps. Prices jump — over weekends, over news releases. A stop-out executes at the market price available when it triggers, and after a gap that price can be far beyond the 40 percent line. The calculation gives you the trigger price, not a guaranteed exit price. Fourth, the slow leak: overnight swap charges reduce equity a little every night, moving the stop-out closer while the chart moves nowhere at all.

Negative balance protection, and what it does not do

If a gap is violent enough, the stop-out can execute at a price that leaves your equity below zero. On this platform, negative balance protection then applies: the account is reset to zero, and you cannot lose more than you deposited. We absorb the difference. That is a real protection, and you should not trade leveraged products anywhere that does not offer it.

But be precise about what it protects: the money you did not deposit. The money you did deposit is fully in play at all times, and everything in this lesson happened without negative balance protection ever being touched.

Two habits follow from all of this. Before opening any position, compute the stop-out price: it is one division and one subtraction, and this lesson showed every step. And size positions so that the distance to that price is a move you genuinely believe will not happen — not a move you hope will not happen. The 87.7 percent of accounts that lose money are, in large part, accounts where nobody did either.