Margin Level Calculator

A margin level calculator shows your margin level, which is equity divided by used margin, times 100. With $700 of equity and $325.50 of margin in use, the margin level is 215%, well above an example 100% margin call level.

The Margin figure in MetaTrader 5's Trade tab. The margin calculator works it out for one position.

Margin level
215.05%
Equity: 700.00 USD · Free margin: 374.50 USD
  • Enter your account's margin call and stop-out levels to see how far equity can fall before each.

Margin level = equity ÷ used margin × 100, where equity = balance + floating profit or loss.

(1,000 − 300) ÷ 325.5 × 100 = 215.05%

Used margin changes as prices move, and spread and swap also reduce equity. The platform can close positions at the stop-out level, biggest loss first.

How do you calculate margin level?

Margin level = equity ÷ used margin × 100, the percentage that shows how much room your open positions have before a margin call. Equity is your balance plus or minus the profit or loss running on open positions. Used margin is the deposit your open positions tie up. MetaTrader 5 shows all three in the Trade tab.

Free margin is equity minus used margin. At a margin level of 100%, free margin is zero, so no new position can be opened.

Your broker sets two levels for your account. At the margin call level you can no longer open new positions. At the lower stop-out level the platform starts closing positions, usually the biggest loss first. For each level, the equity at which it is reached is used margin × level ÷ 100.

What is a worked example of margin level?

A $1,000 balance with a $300 floating loss and $325.50 of used margin gives a margin level of 215% and $374.50 of free margin. With a 100% margin call level, equity can fall another $374.50 before the margin call is reached.

With example levels of 100% (margin call) and 50% (stop-out):

LevelEquity at that levelFurther fall in equity before it is reached
Margin call, 100%$325.50$374.50
Stop-out, 50%$162.75$537.25

The 100% and 50% levels are examples only. Your broker sets its own levels, and they can differ by account type. How margin calls and stop-outs work is explained in the lesson Margin Call and Stop-Out.

What does each input mean?

The calculator needs your balance, the floating profit or loss on open positions and the used margin, the three figures MetaTrader 5 shows in the Trade tab. Your margin call and stop-out levels are optional; enter them from your account terms to see how far equity can fall before each.

What are the assumptions and limits?

The result is the margin level for the figures you enter at one moment, and it changes as prices move and positions open or close. Spread and swap also reduce equity. To work out the margin a new position needs, use the margin calculator.

Frequently asked questions

What is a good margin level?

There is no single good figure. The further your margin level is above your account's margin call level, the larger the loss your account can absorb before you hit it. Position size is what mainly decides how far that is.

What happens at a margin level of 100%?

Equity equals used margin, so free margin is zero. On an account with a 100% margin call level, you can no longer open new positions, but you can still close or reduce existing ones.

What is the difference between a margin call and a stop-out?

The margin call is a warning level: new positions are blocked. The stop-out is lower: the platform starts closing your positions, usually the one with the biggest loss first, until the margin level is back above it.

Why does my margin level change when I do nothing?

Because equity changes with every price move on your open positions. A position moving against you lowers equity and so lowers the margin level, even though you have not traded.

How can I keep my margin level high?

Trade smaller positions relative to your account, and close or reduce positions that are moving against you. The position size calculator works out a size from the amount you choose to risk.

Sources

Practise what you learned

Open an account to use MetaTrader 5. Start on a demo account before risking real money.

Open Account