What is margin in Forex?

Margin is the money your broker sets aside from your account while a trade is open. It is a deposit, not a fee. You get it back when the trade closes, plus your profit or less your loss.

Margin lets you hold a position that is much bigger than your balance. To buy EUR 100,000 against the US dollar you do not need USD 111,500. With a margin requirement of 2%, you need USD 2,230.

You will see a few names for the same thing. Required margin, initial margin and deposit margin all mean the amount needed to open one trade. Used margin is the total set aside for all the trades you have open.

What is leverage in Forex?

Leverage is how many times bigger than the margin a position can be. With leverage of 50:1, every USD 1 of margin holds USD 50 of position. Some brokers write the same thing as 1:50.

Leverage vs margin

Leverage and margin are one number written two ways. Divide 100 by the leverage to get the margin requirement as a percentage. Divide 100 by the margin requirement to get the leverage.

Margin requirement % = 100 ÷ leverage

Leverage, the margin requirement and the margin for a position worth USD 100,000
LeverageMargin requirementMargin for USD 100,000
10:110%USD 10,000
20:15%USD 5,000
30:13.33%USD 3,333.33
50:12%USD 2,000
100:11%USD 1,000
200:10.5%USD 500
500:10.2%USD 200

What does 50:1 leverage mean?

It means the broker asks for 2% of the position as margin. A position worth USD 100,000 needs USD 2,000. It also means a move of 2% against you loses an amount equal to the whole margin. At 500:1, a move of only 0.2% does the same.

How to calculate margin in Forex

  1. Find the position value. Multiply the trade size by the price of the pair. That gives the value in the second currency of the pair.
  2. Turn it into your account currency if the second currency of the pair is a different one.
  3. Divide by the leverage, or multiply by the margin requirement.

Margin = position value ÷ leverage, which is the same as position value × margin requirement %

EUR/USD with a US dollar account. You buy 1 standard lot, which is EUR 100,000, at 1.1150. The position is worth 100,000 × 1.1150 = USD 111,500. At 50:1, the margin is USD 111,500 ÷ 50 = USD 2,230.

USD/JPY with a US dollar account. One standard lot is USD 100,000. Your account is already in the first currency of the pair, so the position is worth USD 100,000 at any price. At 50:1, the margin is USD 2,000.

EUR/JPY with a US dollar account. You buy 1 standard lot at 176.50. The position is worth 100,000 × 176.50 = JPY 17,650,000. With USD/JPY at 158.20, that is USD 111,567.64. At 50:1, the margin is USD 2,231.35.

Gold works the same way. One standard lot of XAU/USD is 100 troy ounces, so the position value is 100 × the price of gold.

How to calculate leverage: the leverage you are really using

The leverage your broker offers is a limit. The leverage you are really using depends on how big your trades are next to your account. Traders call this real leverage or effective leverage.

Real leverage = total position value ÷ account equity

Take the example in the calculator. The position is worth USD 111,500 and the account holds USD 5,000. 111,500 ÷ 5,000 = 22.3:1. The broker allows 50:1, but this trade uses 22.3:1.

Real leverage tells you how hard a price move hits your account. At 22.3:1, a move of 1% against you costs 22.3% of the account.

What a 1% move against you costs a USD 5,000 account at each level of real leverage
Real leveragePosition valueLoss from a 1% moveShare of the account
1:1USD 5,000USD 501%
5:1USD 25,000USD 2505%
10:1USD 50,000USD 50010%
22.3:1USD 111,500USD 1,11522.3%
50:1USD 250,000USD 2,50050%

High leverage from a broker does not hurt an account by itself. Trades that are too big for the account do. To choose a trade size from the amount you are willing to lose, use the Position Size and Lot Size Calculator.

Equity, used margin, free margin and margin level

Your trading platform shows four numbers that move while trades are open.

  • Equity is your balance plus the profit or less the loss on your open trades.
  • Used margin is the margin set aside for your open trades.
  • Free margin is equity less used margin. It is what you have left to open new trades and to absorb losses.
  • Margin level is equity as a percentage of used margin. Brokers use it to decide when to step in.

Free margin = equity − used margin

Margin level % = equity ÷ used margin × 100

In the example, the account holds USD 5,000 and the trade uses USD 2,230 of margin. When the trade opens, the free margin is USD 2,770 and the margin level is 5,000 ÷ 2,230 × 100 = 224.22%.

Now say EUR/USD falls 100 pips. One standard lot loses USD 10 a pip, so the loss is USD 1,000. Equity drops to USD 4,000. The free margin is USD 1,770 and the margin level is 4,000 ÷ 2,230 × 100 = 179.37%.

Work out your margin level from the figures on your platform

Some platforms just call it “Margin”.

Margin call and stop out level

If losses pull your margin level down far enough, your broker steps in. There are usually two levels.

  • The margin call level is where the broker warns you and stops you opening new trades. It is often a margin level of 100%, which is the point where your equity is down to your used margin and your free margin is zero.
  • The stop out level is where the broker starts closing your trades for you, usually the one with the biggest loss first. It is often a margin level of 50%.

Each broker sets its own levels, so look them up before you trade. Some brokers have no warning stage: they close trades as soon as the margin level falls below 100%.

In the example, the margin call comes when equity is down to USD 2,230. That is a loss of USD 2,770. At USD 10 a pip, it takes a fall of 277 pips, to 1.0873. The stop out comes when equity is down to USD 1,115, half of the margin. That is a loss of USD 3,885, or 388.5 pips, at 1.07615. The account that started with USD 5,000 would have about USD 1,115 left.

How trade size changes the room a USD 5,000 account has, buying EUR/USD at 1.1150 with 50:1 leverage
Trade sizeReal leveragePips to a margin callPips to a stop out
0.1 lots2.23:14,7774,888.5
0.5 lots11.15:1777888.5
1 lot22.3:1277388.5
2 lots44.6:127138.5

At 2 lots, a move of 27 pips brings a margin call. Doubling the trade cut the room from 277 pips to 27, far more than half. EUR/USD can move that far in minutes. A stop-loss placed well before the margin call price keeps the decision in your hands. The Forex Drawdown Calculator shows what a run of losses does to an account, and the Forex Profit Calculator shows the profit or loss on one trade.

How much leverage can a broker offer?

Regulators cap the leverage that brokers may give to ordinary traders. The cap depends on where the broker is regulated.

The most leverage a regulated broker may offer ordinary traders on Forex
WhereMajor currency pairsOther currency pairs
United States50:1 (2% margin)20:1 (5% margin)
European Union30:1 (3.33% margin)20:1 (5% margin)
United Kingdom30:1 (3.33% margin)20:1 (5% margin)

In the United States, the 2% rate covers trades in the euro, Japanese yen, British pound, Swiss franc, Canadian dollar, Australian dollar, New Zealand dollar, Swedish krona, Norwegian krone and Danish krone. Other currencies need 5%.

In the European Union and the United Kingdom, a major pair is one made of any two of the US dollar, euro, Japanese yen, British pound, Canadian dollar and Swiss franc. Pairs with the Australian or New Zealand dollar, such as AUD/USD and NZD/USD, count as other pairs and are capped at 20:1. Gold is capped at 20:1 (5% margin) too. A broker there must also start closing trades when an account falls to 50% of the margin it needs.

These are limits, not targets. A broker may ask for more margin than the minimum, and often does around big news or over a weekend. Brokers regulated elsewhere may offer 500:1 or more.

Common questions

What is margin in Forex?

Margin is the money your broker sets aside from your account while a trade is open. It is a deposit, not a fee, and you get it back when the trade closes. With a margin requirement of 2%, a position worth USD 111,500 needs USD 2,230 of margin.

What is leverage in Forex?

Leverage is how many times bigger than the margin a position can be. With leverage of 50:1, every USD 1 of margin holds USD 50 of position. Leverage makes profits and losses bigger next to the money you put up, so a small price move can take a large part of an account.

How do you calculate margin in Forex?

Margin = position value ÷ leverage. Buying 1 standard lot of EUR/USD at 1.1150 is a position worth 100,000 × 1.1150 = USD 111,500. At 50:1, the margin is USD 111,500 ÷ 50 = USD 2,230. You get the same answer by multiplying the position value by the margin requirement of 2%.

How do you calculate leverage?

Divide the total value of your open positions by your account equity. A position worth USD 111,500 in an account with USD 5,000 is leverage of 22.3:1. To turn a margin requirement into leverage, divide 100 by it: a 2% margin requirement is 50:1.

What is margin level?

Margin level is your equity as a percentage of your used margin. Margin level % = equity ÷ used margin × 100. With equity of USD 5,000 and used margin of USD 2,230, the margin level is 224.22%. Brokers use it to decide when to make a margin call and when to close trades.

What is free margin?

Free margin is your equity less your used margin. It is the money you have left to open new trades and to absorb losses. With equity of USD 5,000 and used margin of USD 2,230, the free margin is USD 2,770. When it reaches zero, your margin level is 100%.

What is a margin call in Forex?

A margin call is your broker’s warning that your equity has fallen too close to your used margin. It often comes at a margin level of 100%. If losses go on to the stop out level, often 50%, the broker starts closing your trades. Each broker sets its own levels, and some close trades without a warning first.

Can I practice with leverage on a demo account?

Yes. A demo account shows equity, used margin, free margin and margin level just as a live account does, with virtual funds. Set the demo to the leverage and the balance you would really trade with. If you hold trades overnight, make sure the demo charges current swap rates, because old rates give an unrealistic profit and loss.

Watch your margin level on a demo account first

A demo account is the safest place to see margin at work. Open a trade and watch the equity, the free margin and the margin level move with the price. Then check the calculator’s figures against the platform.

Set the demo up like the account you plan to open: the same balance, the same leverage and the same account currency. A demo with a large balance and high leverage teaches habits that a small live account cannot afford. If you hold trades overnight, make sure the demo charges current swap rates, because old rates give an unrealistic profit and loss.

Find a Forex demo account

More tools: Position Size Calculator for how many lots to trade, Pip Calculator for what one pip is worth, Forex Profit Calculator for the profit or loss on one trade, Risk Reward Calculator for whether a trade is worth taking, Win Rate Calculator for your win rate and profit factor, Forex Drawdown Calculator for what a losing run costs, Account Survival Calculator for your risk of ruin, Kelly Criterion Calculator for how much to risk on each trade, Futures Calculator for tick values and the profit on a futures trade and Forex Swap Calculator for the cost of holding overnight.