Work out how much margin a trade needs, your margin level, and how far price can move against you before a margin call or stop out.
For information only, not financial advice. Results depend on the figures you enter; check your broker's contract details before you trade. Trading with leverage carries a high risk of losing money.
How to use the margin calculator
- Choose your account currency and enter your account equity (your balance plus or minus any open profit or loss).
- Pick your leverage and enter your broker’s margin call and stop out levels. You will find them in your broker’s account terms.
- Choose the instrument, whether you are buying or selling, the position size and the entry price.
The calculator assumes this is your only open trade and that the margin stays the same while the trade is open.
How margin is calculated
- Position value = lots × contract size × price, converted to your account currency
- Required margin = position value ÷ leverage
- Free margin = equity − required margin
- Margin level = equity ÷ required margin × 100%
A margin call happens when your margin level falls to your broker’s margin call level, often 100%. If it keeps falling to the stop out level, often 50%, the broker starts closing your trades.
Worked example
1 lot of EUR/USD at 1.0850 in a US dollar account with $10,000 of equity:
- Position value: 100,000 × 1.0850 = $108,500
- Required margin at 1:30: $108,500 ÷ 30 = $3,616.67 (at 1:100 it would be $1,085)
- Free margin: $10,000 − $3,616.67 = $6,383.33, margin level 276%
- Margin call at 100%: after a loss of $6,383.33, which is 638 pips, at about 1.0212
- Stop out at 50%: after a loss of $8,191.67, which is 819 pips, at about 1.0031
Margin requirement by leverage
The margin rate is 1 divided by the leverage. The table shows the margin for 1 standard lot of EUR/USD at 1.0850 (a position worth $108,500) in a US dollar account.
| Leverage | Margin rate | Margin for 1 lot |
|---|---|---|
| 1:2 | 50% | $54,250 |
| 1:5 | 20% | $21,700 |
| 1:10 | 10% | $10,850 |
| 1:20 | 5% | $5,425 |
| 1:30 | 3.33% | $3,616.67 |
| 1:50 | 2% | $2,170 |
| 1:100 | 1% | $1,085 |
| 1:500 | 0.2% | $217 |
What leverage should I use?
Leverage lets you open a larger position with less money, but it does not change how much you gain or lose per pip: that depends on your position size. What matters is your effective leverage, the total position value divided by your equity. The calculator shows it and warns you when it is above 1:10.
Regulators limit leverage for retail traders. In the UK and the EU, the maximums are:
| Market | Maximum leverage | Margin |
|---|---|---|
| Major currency pairs | 1:30 | 3.33% |
| Other currency pairs, gold and major stock indices | 1:20 | 5% |
| Other commodities and stock indices | 1:10 | 10% |
| Individual shares | 1:5 | 20% |
| Cryptocurrencies | 1:2 | 50% |
Frequently asked questions
What is the difference between margin and leverage?
Leverage is the ratio between the position size and the money you must put down, for example 1:30. Margin is that money: the deposit your broker holds while the trade is open.
What is free margin?
Free margin is the part of your equity that is not being used as margin for open trades. You can use it to open new trades, and it also absorbs losses on the trades you already have open. When your free margin reaches zero, your margin level is 100%.
What happens when I get a margin call?
When your margin level falls to the margin call level, your broker warns you and usually stops you opening new trades. You can add funds or close trades to raise your margin level. If it keeps falling to the stop out level, the broker starts closing your trades automatically, usually starting with the one with the biggest loss.
What is a safe margin level?
There is no single safe number, but the further your margin level is above your broker’s margin call level, the more room your trades have to move against you. A smaller position size, or a stop loss on every trade, keeps your margin level higher.
Why is my broker’s margin different?
Brokers set their own margin rates, which can differ by instrument, by account type and around news events or weekends. Always check the figure in your trading platform before you trade.

