What is margin in forex? Margin is the amount of money your broker sets aside from your account as a good faith deposit while a leveraged trade is open. It is not a fee and it is not lost, and it returns to your free funds when the trade closes. This guide explains the margin formula, the difference between required, used and free margin, how margin level works, and the habits that keep you away from a margin call.
What is margin in forex trading?
When you open a forex position you control far more currency than the money you put up. The broker allows this because it holds part of your account as security against possible losses. That held amount is the margin. It stays inside your account, but you cannot use it to open new trades while the position is open.
A simple way to picture it is a security deposit on a rental. The deposit is yours, it is returned when the arrangement ends, and it can be used to cover damage if something goes wrong. Margin is the same idea for a leveraged position, and the “damage” is an open loss that grows beyond what your remaining funds can support.
Margin is closely tied to leverage. Leverage is the ratio between the position size and the margin, so higher leverage means a smaller margin for the same trade. The two ideas are covered together in the section on margin versus leverage below.
How is margin calculated? The forex margin formula
Required margin = (lot size x contract size x price of the base currency in your account currency) / leverage
For a pair where the base currency is the same as your account currency, the price step drops out and the formula is simply the position size in units divided by leverage. For EUR/USD the contract size of one standard lot is 100,000 units of the base currency, and the notional value in dollars is that number multiplied by the EUR/USD price. See what a lot is if the sizes are new to you.
Buy 0.50 lot EUR/USD at 1.1000 with leverage of 1:100 on a USD account.
- Units: 0.50 x 100,000 = 50,000 EUR
- Notional value: 50,000 x 1.1000 = $55,000
- Required margin: $55,000 / 100 = $550
The prices are hypothetical. Your own figure depends on the price, the leverage on your account and the contract specification your broker uses.
If you want the formula in a calculator style walk-through, the guide on how to calculate margin adds more pairs, and margin required for 1 lot gives a table for a full standard lot.
Required margin, used margin and free margin
Trading platforms show several margin figures and beginners often mix them up. They describe one account at different moments.
| Term | Meaning | How it is found |
|---|---|---|
| Balance | Deposits plus closed profits and losses | Updates only when trades close |
| Equity | Balance plus the open profit or loss | Updates every tick |
| Required margin | Margin needed to open a trade | Position value / leverage |
| Used margin | Total margin held for all open trades | Sum of required margins |
| Free margin | Funds available for new trades | Equity minus used margin |
| Margin level | Health of the account as a percentage | (Equity / used margin) x 100 |
The distinction between balance and equity matters most. Balance ignores open trades, equity includes them, and every margin decision the broker makes is based on equity. The page on equity, balance and free margin goes deeper on this.
Balance $2,000. You hold the 0.50 lot position above with a floating loss of $150.
- Equity: 2,000 – 150 = $1,850
- Used margin: $550
- Free margin: 1,850 – 550 = $1,300
- Margin level: 1,850 / 550 x 100 = 336.4%
What is margin level and why does it matter?
Margin level compares your equity with the margin in use and expresses it as a percentage. A high figure means you have a large cushion. A falling figure means open losses are eating that cushion. Brokers attach actions to specific thresholds: a warning at one level and automatic closing of trades at a lower one.
Those thresholds are explained in margin level percentage explained and in margin call vs stop out. The key point for now is that margin level is a distance from trouble. If it is 400% you are comfortable, and if it is near the broker’s stop out level you are close to forced closing.
How much margin do I need to open a trade?
The answer depends on three things: the trade size, the price of the pair and your leverage. The table shows the margin for one standard lot of EUR/USD at a hypothetical price of 1.1000, where the notional value is $110,000.
| Leverage | Margin for 1.00 lot | Margin for 0.10 lot | Margin for 0.01 lot |
|---|---|---|---|
| 1:30 | $3,666.67 | $366.67 | $36.67 |
| 1:50 | $2,200.00 | $220.00 | $22.00 |
| 1:100 | $1,100.00 | $110.00 | $11.00 |
| 1:200 | $550.00 | $55.00 | $5.50 |
| 1:500 | $220.00 | $22.00 | $2.20 |
Notice that the margin needed is only the entry ticket. It tells you what the broker requires to open the trade, not how much you can afford to lose. Two traders can use the same margin and have very different risk, because risk depends on the stop loss distance and the position size. That is why the position size formula starts from risk, not from margin.
Margin vs leverage: what is the difference?
Leverage is the multiplier and margin is the money that the multiplier requires. At 1:100 leverage the margin is 1% of the position value. At 1:30 it is about 3.33%. The margin percentage is simply 1 divided by the leverage ratio.
| Leverage | Margin as a percent of position value |
|---|---|
| 1:10 | 10% |
| 1:30 | 3.33% |
| 1:50 | 2% |
| 1:100 | 1% |
| 1:500 | 0.2% |
Higher leverage lowers the margin per trade, which makes it look as if you can afford more. It does not reduce the loss on a trade, and it makes it easier to open a position that is far too large for the account. Regional limits on leverage exist for this reason. See leverage limits by region.
Does margin change while a trade is open?
The margin held for a trade is usually fixed when the trade opens, based on the price at that time and the leverage that applied. On pairs where the base currency is not your account currency, the broker converts the margin at the current rate, so the amount can drift slightly. Some brokers also raise margin requirements around major events or for large positions, so check the specification of your instrument.
What changes continuously is your equity. As the price moves against the trade, equity falls while used margin stays about the same, so margin level drops. When the price moves in your favour, margin level rises.
What happens when you run out of margin?
- Free margin reaches zero, so you cannot open new trades.
- Margin level falls to the broker’s margin call level, and the platform warns you.
- Margin level falls to the stop out level, and the broker begins closing positions, often the largest loser first.
- Closed losses reduce your balance, and the account may be left with very little.
This sequence is avoidable. Most accounts that reach a stop out did so because the position was too large for the stop distance, or because a trade was left open without a stop and the loss kept growing. A broker with negative balance protection limits the downside to the deposit in many regions, but that is a safety net, not a plan.
How to use margin safely
- Decide your risk in money first, for example 1% of the account. See the 1% rule.
- Calculate the lot size from the stop distance and then check the margin it needs.
- Keep used margin low. Many traders try to keep it to a small fraction of equity, so that a surprise move does not threaten the account.
- Remember that open trades add up. Five trades each using a little margin can use a lot together.
- Keep a margin level well above the broker’s warning level at all times.
A practical check is to look at the margin level before and after you open a trade. If opening the trade would push the margin level close to the warning zone, the trade is too big, even if the broker would accept it.
Common margin mistakes
- Treating free margin as money you can afford to risk. It is only what the broker allows, not what is sensible.
- Choosing the maximum leverage and then opening the maximum position.
- Ignoring correlation. Three trades on pairs that move together act like one large trade. See forex correlation.
- Adding to a losing position, which raises used margin just as equity falls.
- Confusing margin with a fee, and so not realising it ties up funds that could cover a drawdown.
Margin checklist before every trade
- What is my stop loss distance in pips?
- What lot size keeps the loss within my chosen risk percentage?
- How much margin does that lot size require at my leverage?
- What will my margin level be after the trade opens?
- Do I have other open trades that already use margin or share the same risk?
If you are still learning how these numbers behave, practise on a demo account first. See demo vs live accounts and the risk management guide.
Leveraged trading can lose money quickly, and you can lose more than the margin on a trade. Margin is not a limit on your loss. Use a stop loss and a position size based on your risk.
Frequently asked questions
What is margin in forex in simple terms?
It is the money your broker holds from your account as security for a leveraged trade. It is returned to your free funds when the trade closes, and it is not a fee.
How do you calculate margin in forex?
Divide the notional value of the position by your leverage. For 0.50 lot of EUR/USD at 1.1000 with 1:100 leverage, the notional is $55,000 and the margin is $550.
What is free margin?
Free margin is your equity minus the margin already used by open trades. It shows how much is left for opening new positions.
Is margin the same as leverage?
No. Leverage is the ratio between position size and your own capital. Margin is the amount of capital that ratio requires, so they are related but not identical.
Do you lose your margin when a trade closes?
No. Margin is released when the trade closes. Only the realised profit or loss changes your balance, plus costs such as spread and swap.
What is a good margin level?
There is no single number, but a higher level means a bigger buffer. Many traders prefer to stay far above the broker’s margin call level so that normal price swings do not cause a warning.
Can I trade forex without margin?
You can trade with no leverage, which means the margin equals the full position value, but you need much more capital for the same position size. See the guide on trading without leverage.
Trading leveraged products carries a high level of risk and may not suit every investor. This article is news and general information, not financial advice. Any decision to trade is yours alone.