Margin explained: required margin, free margin, margin level and margin calls
Margin is the other side of leverage. Leverage tells you how large a position you can open; margin is the part of your money that is set aside while the position is open. Knowing how margin is calculated helps you understand the numbers on your platform and avoid having positions closed for you.
Required margin
Required margin = notional value ÷ leverage. Opening one mini lot of EUR/USD (10,000 euros) at 1:30 leverage requires 10,000 ÷ 30 ≈ €333 of margin. Another way to write this is as a percentage: 1:30 leverage means a margin requirement of 3.33%, 1:20 means 5% and 1:2 means 50%.
The margin is not a fee. It is part of your own money that is locked while the position is open and released when you close it.
Balance, equity, used margin and free margin
- Balance: the money in your account, excluding the result of open positions.
- Equity: balance plus or minus the floating profit or loss of open positions. This is what your account is worth right now.
- Used margin: the total margin locked by all open positions.
- Free margin: equity minus used margin. This is what is available to open new positions or absorb losses.
Margin level
Margin level = equity ÷ used margin × 100%. It is the number your broker watches. As long as it is comfortably high, nothing happens. As losses grow, equity falls and so does the margin level.
Margin call and stop out
When the margin level falls to a certain threshold, the broker issues a margin call: a warning that you are running out of free margin. If it falls further to the stop-out level, the broker starts closing your positions, usually the largest loser first, to protect the account from going negative.
For retail CFD clients in the EU, brokers must close positions once equity falls to 50% of the required margin. Many brokers set the margin call earlier, for example at 100%. On crypto exchanges the same mechanism is called liquidation.
A worked example
Account: €2,000. You buy 1 standard lot of EUR/USD (100,000 euros) at 1:30 leverage. Required margin: 100,000 ÷ 30 ≈ €3,333. That is more than your equity, so the platform will not open the trade.
You open 0.30 lot instead. Required margin ≈ €1,000, free margin ≈ €1,000, margin level 200%. One pip is now worth about $3. After a loss of 100 pips (about €270 in this example), equity is ≈ €1,730 and the margin level ≈ 173%. A loss of roughly 550 pips (about €1,500) would bring the margin level to 50% and trigger the close-out.
Notice that the 100-pip loss is far beyond a sensible stop loss for this position. With a stop loss placed from the chart and a position sized to risk 1% of the account, the stop is hit long before margin becomes a problem. That is the topic of the next lesson.
Frequently asked questions
Is margin a cost?
No. Margin is part of your own money that is locked while a position is open and returned when you close it. Costs are the spread, commission and overnight financing (swap).
What is a good margin level?
There is no fixed number, but if your margin level gets close to your broker’s margin call level, your positions are too large for your account.
What is the difference between isolated and cross margin?
On crypto exchanges, isolated margin limits the possible loss to the margin assigned to that one position. Cross margin uses your whole account balance as margin for all positions, so one losing trade can drain the rest.
This guide is for educational purposes only and is not financial advice. Trading carries a high risk of loss.