Have you ever tried to open a forex position only to be met with “Not enough money”, or watched part of your balance get locked away without understanding why? The cause is usually margin and the level of forex leverage you are running.
Understanding what is margin and how to calculate margin tells you exactly how much collateral a given trade size requires, instead of picking a lot figure on instinct.
In this article, Backcom.io focuses on three things:
- How margin works, and why money gets locked when you open a position.
- The formula for how to calculate margin from volume, price and leverage.
- Worked examples for forex and gold (XAU/USD), with reference tables by leverage level.
With that, you can keep control of your collateral, hold a safe Free Margin buffer and reduce the risk of hitting a margin call or Stop Out.
What Is Margin in Forex Trading?
What is margin? Margin, or collateral, is the amount a broker temporarily locks in your account as security while you hold a position opened with forex leverage.
Margin is not a trading fee, and it is not money you are guaranteed to lose. When the position closes, that collateral is released back into the account, after the profit or loss on the trade has been booked.
For example:
- Account balance: 1,000 USD
- Margin required to open a trade: 200 USD
- The broker locks 200 USD as Used Margin
- How much capital you can still deploy depends on Equity and Free Margin
Getting forex margin right tells a trader how much room is left to open further positions, and stops them running size that is far too large for the account.
Margin Is Not a Cost — Get This Right and It Stops Being Scary
Beginners often confuse margin with spread, commission or some fee the broker charges on entry. In reality these are completely different things:

If a broker asks for 100 USD of margin to open a position, that 100 USD does not vanish from the account.
It simply becomes temporarily unavailable for opening other positions. When the trade closes, the margin is released, and whether the account is up or down depends purely on the result of the trade.
4 Margin Concepts You Need to Know
To read your account correctly when trading on collateral, learn to separate these four figures:
| Concept | What it means |
|---|---|
| Used Margin | The total the broker currently has locked to maintain your open positions |
| Free Margin | The capital still available to open more trades or absorb adverse moves |
| Equity | The real value of the account once open profit and loss is added or subtracted |
| Margin Level | The ratio of Equity to Used Margin, used to judge how safe the account is |
In plain terms:
- Used Margin rises when you open more positions or increase lot size.
- Free Margin falls as the account commits more collateral.
- Equity moves constantly with the profit and loss on running trades.
- The lower the Margin Level, the closer the account sits to a margin call or Stop Out.
So when working out what is margin, do not look only at the collateral on a single trade — track Equity, Free Margin and Margin Level across the whole account.
Forex Leverage and Its Inverse Relationship With Margin
Forex leverage lets a trader control a position larger than the capital actually in the account. Margin is the slice of capital the broker requires you to post to hold that position.
The relationship between the two is simple:
- Higher leverage → less margin required.
- Lower leverage → more margin required.
However, the profit and loss risk on the same lot size does not fall just because the margin is smaller.
Take a 1 lot EUR/USD position, with EUR/USD at 1.1000 and a contract size of 100,000 EUR:
| Leverage | Position value | Margin required |
|---|---|---|
| 1:100 | 110,000 USD | 1,100 USD |
| 1:200 | 110,000 USD | 550 USD |
| 1:500 | 110,000 USD | 220 USD |
| 1:2000 | 110,000 USD | 55 USD |
The same 1 lot EUR/USD trade needs roughly 1,100 USD of collateral at 1:100, but only 220 USD once leverage moves to 1:500.
That is why how to calculate margin always has to account for three inputs at once:
- Trade volume.
- Contract value.
- The leverage in force.
Is High Leverage Dangerous?
High leverage does not automatically sink an account. The more dangerous factor is usually a trader running lot sizes that are far too large for their capital.
For example:
- Trader A uses 1:100 leverage but opens 1 lot on a small account.
- Trader B uses 1:500 leverage but only opens 0.01 lot.
Trader B is taking the lower risk of the two, despite running much higher forex leverage.
Worth remembering:
- High leverage reduces the collateral locked away.
- Less margin means more Free Margin.
- But spending that Free Margin on extra positions or bigger lots pushes account risk up very fast.
- Trade volume is what actually drives how much your account swings.
Some brokers offer very high leverage, in certain conditions even 1:Unlimited. Check the Exness trading conditions and rebates carefully before settling on a leverage level.
So do not pick leverage purely to shrink your margin. The sounder approach is to use leverage to optimise how much capital is tied up, while sizing positions according to a money management plan.
How to Calculate Margin in Forex: The Formula
To find the collateral a trade needs, apply the standard forex margin formula:
Margin = (Lots × Contract size × Price) ÷ Leverage
Where:
- Lots: the volume you want to trade.
- Contract size: in forex, usually 100,000 units of the base currency per standard lot.
- Price: the current rate of the pair.
- Leverage: the level the broker applies to the account or the instrument.
How to Calculate Margin at Each Leverage Level
Suppose a trader buys:
- 1 lot EUR/USD
- EUR/USD price: 1.1030
- Contract size: 100,000 EUR
- Leverage: 1:100
Applying the formula:
Margin = (1 × 100,000 × 1.1030) ÷ 100 = 1,103 USD
So opening 1 lot of EUR/USD at 1:100 requires around 1,103 USD of margin.
Keep the volume and the price the same but change the leverage:
| Leverage | Calculation | Margin required |
|---|---|---|
| 1:100 | 110,300 ÷ 100 | 1,103 USD |
| 1:500 | 110,300 ÷ 500 | 220.60 USD |
| 1:2000 | 110,300 ÷ 2,000 | 55.15 USD |
The table shows that how to calculate margin never changes. The only thing that moves is the denominator — the leverage in use.
The higher the leverage, the less capital is locked as collateral, but the position is still worth 110,300 USD. The profit or loss on that 1 lot does not shrink just because the trader chose more leverage.
For pairs with USD as the base currency, such as USD/JPY, the arithmetic is simpler: the notional is already denominated in USD, so there is no need to multiply by the rate as you do with EUR/USD.
Use Your Broker’s Calculator for a Quick Check
In practice you do not have to do the arithmetic by hand every time. Most brokers provide a Trading Calculator that works it out instantly:

You enter the instrument, the lot size and the leverage, then check the result before placing the trade.
The Exness Trading Calculator is one option for cross-checking your own figures.
Even so, understanding how to calculate margin by hand matters, because it shows you immediately why the requirement rises or falls when you change lot size, price or forex leverage.
How to Calculate Margin for XAU/USD (Gold) by Leverage
Gold follows the same principle as forex, but the difference lies in the contract size.
Typically:
- 1 standard forex lot = 100,000 currency units
- 1 lot XAU/USD = 100 ounces of gold
So the gold formula can be written:
XAU/USD margin = (Lots × 100 × Gold price) ÷ Leverage
For example, a trader opens:
- Volume: 0.1 lot XAU/USD
- Assumed gold price: 4,000 USD per ounce
- Leverage: 1:500
Applying the formula:
Margin = (0.1 × 100 × 4,000) ÷ 500 = 80 USD
So 0.1 lot of gold at 4,000 USD with 1:500 leverage needs about 80 USD of collateral.
Note that the higher the price of XAU/USD, the larger the notional value of the position — and the more margin it needs, with everything else held constant.
XAU/USD Margin Table by Leverage
The table below assumes a gold price of 4,000 USD per ounce and a contract size of 100 ounces per lot, to illustrate the requirement at each volume.
Reference price: XAU/USD = 4,000 USD per ounce (29/08/2026).
| Volume | Leverage 1:100 | Leverage 1:500 | Leverage 1:2000 |
|---|---|---|---|
| 0.01 lot | 40 USD | 8 USD | 2 USD |
| 0.1 lot | 400 USD | 80 USD | 20 USD |
| 1 lot | 4,000 USD | 800 USD | 200 USD |
Two factors drive the requirement directly:
- Bigger volume → more margin.
- Higher leverage → less margin.
Take the same 1 lot XAU/USD trade:
- At 1:100: around 4,000 USD of margin.
- At 1:500: around 800 USD.
- At 1:2000: only around 200 USD.
But the requirement dropping from 4,000 USD to 200 USD does not mean the risk on 1 lot of gold falls with it. The position is still worth roughly 400,000 USD in this example.
This is exactly why traders should not see a small collateral figure and start scaling volume freely.
Why Does Gold Margin Differ Between Brokers?
In practice, the XAU/USD figure can differ between brokers even at the same volume and the same account leverage.
Common reasons include:
- The broker applies separate leverage to XAU/USD.
- Gold leverage can be lower than the account maximum.
- Some brokers use a fixed margin rate for precious metals.
- Leverage can be tiered by position size.
- Requirements can be raised when markets turn volatile or around major data releases.
An account showing 1:500 does not mean every instrument gets 1:500. The broker may cap XAU/USD at something lower.
So before trading gold, check the following:

Treat the table above as a way to understand the formula and estimate the requirement — not as a fixed figure that holds at every broker.
The most reliable approach is to read the Contract Specification or run your broker’s Trading Calculator before opening the position.
Margin Call and Stop Out: What Happens When Margin Runs Out?
When the market moves against a position, Equity falls while Used Margin stays locked. If the ratio drops far enough, the account moves into margin call territory and then Stop Out.
In plain terms:
- Margin call: a warning that the account is short of safe collateral.
- Stop Out: the broker automatically closes some or all positions to stop Equity falling further.
The exact thresholds depend on the broker and the account type.
Margin Level — The Account’s Health Check
Margin Level shows how safe the account is relative to the collateral currently in use.
The formula:
Margin Level = (Equity ÷ Used Margin) × 100%
For example:
- Equity: 1,000 USD
- Used Margin: 200 USD
That gives:
Margin Level = (1,000 ÷ 200) × 100% = 500%
If losing trades pull Equity down to 400 USD:
Margin Level = (400 ÷ 200) × 100% = 200%
Which tells you:
- A higher Margin Level: the account still has plenty of cushion.
- A lower Margin Level: the account is closing in on a margin call or Stop Out.
So when working out how to calculate margin, do not stop at “can I afford to open this trade” — check how much Free Margin is left afterwards.
Margin Call and Stop Out Thresholds by Broker
Margin call and Stop Out levels are not the same across brokers.
Following the general framework brokers use:

A worked assumption:
- The account has its margin call set at 100%.
- Stop Out sits at 50%.
- When Margin Level falls to 100%, the trader gets a warning.
- If Equity keeps falling and Margin Level touches 50%, the broker may start closing positions automatically.
The important point is that a margin call is not a fee or a penalty. It is a signal that current Equity has become too small relative to the forex margin already committed.
3 Ways to Avoid a Margin Call
To stop the account sitting permanently short of collateral, focus on three principles:
Size positions against your capital
- Do not choose a lot size just because the account still has enough collateral to open the trade. A position you can open is not necessarily one the account can afford to carry.
- Apply a rule such as risking 1% per trade to cap the maximum loss before you decide on volume.
Always use a Stop Loss
- A Stop Loss caps the damage on each trade before Equity falls too far.
- Without one, a large position running against you can drain Free Margin quickly and push the account into a margin call.
Keep Free Margin generous
- Do not spend nearly all your buying power simply because forex leverage allows more positions.
- Hold a Free Margin buffer large enough to absorb short-term price swings, particularly when trading XAU/USD or during volatile market periods.
In short, the point of working out forex margin is not to find the biggest lot the account can open. It is to know how much collateral a trade needs and how much safety buffer remains once it is open.
Conclusion
Margin is the capital a broker temporarily locks to secure an open position — not a trading cost. Reading forex margin correctly tells a trader how much collateral the account needs and how much Free Margin is left after entry.
When applying how to calculate margin, just remember three things:
- Forex: the requirement depends on lot size, contract size, price and leverage.
- XAU/USD: the same formula, but contract size is usually 100 ounces per lot rather than 100,000 units.
- Higher forex leverage → less margin required, but the risk on the same lot size does not fall with it.
What matters most is not the biggest lot the account can open, but choosing a size that fits your capital and holding enough Free Margin to stay clear of a margin call or Stop Out.
Once the formula is clear, pair it with a forex money management rule such as the 1% rule to arrive at a sensible position size.
If you trade forex and want to cut your costs further, take a look at the Exness trading conditions and rebates at Backcom.io.
Frequently Asked Questions About Margin (FAQ)
Do You Lose the Margin Money?
No. Once you understand what is margin, it is clear this is only capital the broker locks temporarily to secure an open position — it is not a trading fee. When the trade closes, the margin is released. Whether the account rises or falls depends entirely on the profit or loss of the trade.
What Forex Leverage Is Sensible for a Beginner?
No single level of forex leverage suits every trader. Beginners might consider somewhere between 1:100 and 1:500, but keeping lot sizes small and managing risk tightly matters far more. High leverage only becomes dangerous when it is used to open positions that are too large for the capital behind them.
What Should You Do After a Margin Call?
After a margin call, ease the pressure by closing some positions, cutting volume, or adding funds if it is genuinely necessary. The lasting fix, though, is not topping up repeatedly — it is revisiting how to calculate margin, your lot sizes, your Stop Loss and your money management plan before each trade.





















