Home / Forex glossary / Margin

Margin

Margin is the part of your account your broker sets aside as a deposit to keep a leveraged trade open. It is not a fee, and it comes back to your free balance when the trade closes.

36%freemargin used
The cash deposit set aside to keep a leveraged position open. Lose too much and you get a margin call.

How it works

With leverage, you control a position larger than your deposit. The broker asks you to put up a fraction of the position's value as margin, so it is covered if the trade loses. The higher the leverage, the smaller the margin required.

Margin is locked while the trade is open. It reduces your free margin, which is the amount you have left to open other trades or to absorb losses. When the trade closes, the margin is released, and your profit or loss is added to the balance.

The margin level, equity divided by used margin, tells you how close you are to trouble. Brokers set a margin call level and a stop-out level, and they vary, so check yours.

Required margin = position value ÷ leverage

A worked example

Hypothetical: you buy 0.10 lots (10,000 units) of EUR/USD at 1.0850, so the position is worth $10,850. At 1:30 leverage, the margin is 10,850 ÷ 30 = $361.67. At 1:100, it is $108.50. The risk of the trade does not change with leverage. A 30-pip loss costs about $30 either way. What changes is how much of the account is tied up, and so how little room you have for other trades.

Common mistakes

  • Thinking margin is a cost. It is a deposit held by the broker while the trade is open.
  • Judging risk by margin used instead of by the stop distance and position size.
  • Using so much of the account as margin that a small adverse move triggers a margin call.

Check yourself

A $10,850 position at 1:30 leverage needs how much margin?
What happens to margin when the trade closes?

Common questions

What is margin in forex trading?

A deposit held by the broker while a leveraged trade is open, equal to a fraction of the position's value.

Do I lose the margin when a trade closes?

No. Margin is released when the trade closes. You gain or lose the trade's profit or loss, not the margin itself.

How is margin calculated?

Divide the position's value by your leverage. A $10,850 position at 1:30 needs about $361.67 of margin.

Related terms

Related guides and tools

Use it on a demo account

The fastest way to make this stick is to use it. PipPath gives you a $10,000 demo account to practice position size, stops and targets with no real money at risk.

Start free

Educational content, not financial advice. Examples use made-up numbers.