Systemly Logo
8 min read

Forex Margin Calculator: How Margin and Leverage Really Work

SystemlySystemly Team
·25 September 2026
Forex Margin Calculator: How Margin and Leverage Really Work

A forex margin calculator answers one narrow question: how much of my balance does this position lock up? That is worth knowing, and it takes a second to work out. The trouble is that most traders read the answer as though it told them something about risk, and it does not. Margin is a deposit. Your risk is the distance to your stop multiplied by your position size, and the two numbers have almost nothing to do with each other.

This article covers what a margin calculator computes, what leverage genuinely changes and what it does not, the limits UK retail traders trade under, and the point at which a broker starts closing your positions for you.

What a forex margin calculator works out

Required margin is the notional value of the position divided by the leverage ratio, converted into your account currency. Notional value is the contract size multiplied by the number of lots multiplied by the price.

Myfxbook's margin calculator, which ranks well for this term, asks for the currency pair, your account currency, the margin ratio and the trade size in lots, then applies live prices. Its ratio dropdown runs from 5:1 all the way to 1000:1, which is a fair reflection of what exists globally and not at all a reflection of what a UK retail account can access. Its own worked explanation is correct and blunt: one lot of EUR/USD represents 100,000 euros of exposure, converted to your deposit currency, before leverage is applied at all.

Take an illustrative EUR/USD rate of 1.1000. One standard lot is 100,000 euros, so 110,000 dollars of exposure. At 30:1 the margin required is 3,666.67. At 100:1 it is 1,100. At 500:1 it is 220. The exposure has not changed by a penny across those three lines. Only the deposit has.

Margin is not risk, and this is where it goes wrong

That last paragraph is the entire article, really. Two traders both buy one lot of EUR/USD with a 25 pip stop. One is on a 30:1 account and has 3,666.67 tied up. The other is on a 500:1 account and has 220 tied up. Both lose 250 dollars if the stop is hit, because pip value depends on position size and nothing else. Leverage changed what they had to put down. It did not change what the trade could cost.

What high leverage does change is what you are permitted to open. On a 1,000 dollar account at 500:1 you can hold four standard lots, which is 40 dollars a pip. A 25 pip move against you is a thousand dollars and the account is gone. The same account at 30:1 cannot open that position at all, and the restriction is doing you a favour. This is why leverage marketing works and why it is so misleading: it is sold as access to bigger opportunities, and what it actually removes is a structural brake on size.

The practical consequence is that leverage should never be an input to your position sizing. Size the trade from your account balance, your risk percentage and your stop distance, then check that the margin fits. If it does not fit, the position is too big for the account, and quietly raising the leverage to make it fit is how people blow up. Our forex position size calculator guide sets out that order of operations properly.

What UK retail traders can actually get

The Financial Conduct Authority made permanent rules for contracts for difference sold to UK retail clients, in force since August 2019. Firms must limit leverage to between 30:1 and 2:1 depending on the volatility of the underlying, close out a customer's position when their funds fall to 50 per cent of the margin needed to maintain their open positions, guarantee that a client cannot lose more than the total funds in their account, stop offering inducements to trade, and publish a standardised risk warning stating the percentage of their retail accounts that lose money.

The tiers within that range, as summarised by broker comparison sources and reflected in UK brokers' own margin schedules, run roughly like this: 30:1 on major currency pairs, 20:1 on non-major pairs, gold and major indices, 10:1 on other commodities and non-major indices, and 5:1 on individual shares. Read your own broker's margin schedule rather than trusting a summary, including this one, because firms are free to be stricter than the rules require and many are.

One point worth flagging for anyone who arrived here looking for a crypto leverage calculator: the FCA banned the sale, marketing and distribution of derivatives referencing unregulated cryptoassets to UK retail consumers with effect from 6 January 2021. If you are a UK retail client, a crypto CFD leverage calculator is probably answering a question you are not allowed to ask. Check the current position with your broker before assuming otherwise, and be wary of offshore firms offering what UK-regulated ones cannot.

A worked example and the close-out that follows

Say a 10,000 dollar account at 30:1 opens two standard lots of EUR/USD at 1.1000. Notional exposure is 220,000 dollars, so required margin is 7,333.33. Free margin, meaning what is left to absorb losses and open anything else, is 2,666.67. Margin level, which is equity divided by used margin, starts at 136 per cent.

Two lots is 20 dollars per pip. Under the FCA close-out rule the broker acts when equity falls to 50 per cent of required margin, which here is 3,666.67. That means the account can absorb 6,333.33 of loss, which is 317 pips. Three hundred pips sounds like a lot until you remember it is a single news session on a bad day, and the position was opened with no reference to a stop at all.

Now size the same trade properly. Risking one per cent of 10,000 with a 25 pip stop means four dollars a pip, which is 0.40 lots, and that ties up 1,466.67 of margin against a 10,000 balance. The margin question becomes uninteresting, which is exactly what you want. Working out that lot size is covered step by step in our forex lot size calculator guide.

Worth noting that brokers set their own margin call and stop out thresholds too, often as separate levels, and myfxbook describes the automatic close-out kicking in at a margin level of around 80 per cent on a typical account. Those numbers vary by firm and account type, and the FCA rule is a floor rather than a description of what your broker does. Find your own figures in the account terms rather than assuming.

Gold, where the numbers get uncomfortable

Gold is where margin stops being an abstraction. On a contract size of 100 troy ounces, which is the common convention though you should check your own specification, one standard lot of XAU/USD at a price of 3,350 is 335,000 dollars of exposure. At the 20:1 tier that is 16,750 of margin. On a 10,000 account you cannot open it, and if you could, a 30 dollar move against you would cost 3,000. Gold also does most of its moving through the London and New York overlap, so the same nominal position behaves very differently depending on the session you are trading in. Micro and mini contracts exist precisely so that smaller accounts can take a sensible position rather than an all-in one.

The honest way to use leverage

Leverage is useful when it lets you hold a correctly sized position without depositing the full notional value, which for most retail accounts is the only reason forex is accessible at all. It becomes dangerous the moment it becomes the reason a position is bigger. The test is simple: if you would not take this trade at 30:1, higher leverage has not made it a better trade. The Risk Doctor in Systemly sizes positions against your real account balance and your chosen risk percentage rather than against available margin, and returns the cash at risk, the outcome at each target and the R multiple alongside the lot size. It is free on every tier. The complementary maths, how much to risk per trade and what a losing streak does to the balance, is covered in our guide to risk-reward and risk per trade.

Frequently asked questions

What is margin in forex?

Margin is the portion of your balance the broker sets aside as a good faith deposit while a position is open. It is not a fee and it is not a loss. It is returned when you close the trade. Used margin is what your open positions have locked up, free margin is what remains available, and margin level is equity divided by used margin expressed as a percentage. When that percentage falls far enough the broker starts closing positions.

How does leverage work in forex?

Leverage is the ratio between the exposure you control and the margin you post. At 30:1, 1,000 of margin supports 30,000 of exposure. It multiplies gains and losses on the same position identically, so it is not a strategy or an edge, only a permission level. Two accounts holding the same position size with the same stop lose the same amount regardless of their leverage setting.

Is high leverage always bad?

Not inherently. A disciplined trader on a 500:1 account who sizes every position from a fixed risk percentage will trade identically to the same person on 30:1, and will simply have more free margin sitting idle. The problem is behavioural rather than mathematical: high leverage removes the ceiling that would otherwise stop an over-sized position from opening, and it tends to be marketed hardest to the traders least equipped to impose that ceiling themselves. If your sizing rule is genuinely fixed, leverage is a technicality. If it is not, leverage is the mechanism that turns a bad week into a closed account.

Size from your balance, not from your margin

Work out the correct lot size, the cash at risk and the outcome at every target with the free Risk Doctor calculator. No card required, and it is included on every tier.

Systemly.ai is not a licensed financial adviser and does not provide regulated financial advice. Trading carries a significant risk of loss and is not suitable for everyone. Past performance does not guarantee future results. Always do your own research and never risk more than you can afford to lose.