XBACKFX Cashback
Cost Calculation7 min read

Margin Level Calculation: How to Find the Price Range to Stop-Out (With Examples)

Unsure how to calculate margin level so you can tell how much room you have before stop-out?

In short, find margin level as equity / required margin, then divide the amount you can lose before the stop-out level by the value of 1 pip.

This article covers the definitions and formulas, a USDJPY example, and cautions when raising lots. By the end, you can work out the range you can withstand before opening a position.

In short: margin level is equity / required margin

  • Margin level (%) = equity / required margin x 100
  • Equity is the account balance plus unrealized profit and loss
  • The stop-out level differs by broker. Check the broker's page
  • Range you can withstand = (equity - equity at the stop-out level) / value of 1 pip

The margin level formula and three terms

Margin level is a ratio showing how much room your account has. The lower the value, the closer you are to forced closure.

General definitions with yen as the account currency. Details such as how bonuses are treated differ by broker.
TermMeaningHow to calculate
EquityThe real funds in the account right nowAccount balance + unrealized profit and loss (may include bonuses, etc., depending on the broker)
Required marginThe amount set aside to hold a positionTrade size x rate / leverage
Margin levelEquity as a ratio of required marginEquity / required margin x 100

For example, suppose you have a balance of ¥100,000 and hold a position with required margin of ¥15,000. If unrealized profit and loss is zero, margin level is about 667%.

What is the stop-out level? Differences by broker

Stop-out is a mechanism that automatically closes positions when margin level falls below a set level. The level differs by broker and account type.

As general examples, there are settings such as 100%, 50%, 20% and 0%. These are general figures, not those of a specific broker.

  • The higher the level, the earlier positions are closed, while more of your balance remains
  • The lower the level, the wider the range you can withstand, but the larger the loss
  • The margin call (warning) level and the forced-closure level may be set separately
  • Check each broker's level on the broker's page and in its official account guide

Example: finding the price range to stop-out

To find the range to stop-out, work back from the equity at the point where margin level reaches the stop-out level. Divide the amount you can lose by the value of 1 pip.

Assumptions: balance of ¥100,000, USDJPY at 150, 1 lot = 100,000 units, leverage of 1,000x, 1 pip on 1 lot = ¥1,000, stop-out level of 20%. A rough estimate for a one-way adverse move from zero unrealized profit or loss, excluding spread and changes in required margin.
Lots heldRequired marginMargin level right after openingRange to stop-out (20% level)
1 lot¥15,000approx. 667%approx. 97 pips
3 lots¥45,000approx. 222%approx. 30 pips
5 lots¥75,000approx. 133%approx. 17 pips
6 lots¥90,000approx. 111%approx. 13.7 pips

Even with the same balance, the range you can withstand narrows sharply as lots increase. With 3 lots, the calculation shows a close-out at about 30 pips, when equity falls to ¥9,000.

How the range changes with a different level

Assumptions: balance of ¥100,000, 3 lots (required margin ¥45,000), USDJPY at 150, 1 pip on 3 lots = ¥3,000. The levels are calculation examples, not the settings of a specific broker.
Stop-out levelEquity at close-outAmount you can loseRange you can withstand
100%¥45,000¥55,000approx. 18.3 pips
50%¥22,500¥77,500approx. 25.8 pips
20%¥9,000¥91,000approx. 30.3 pips
0%¥0¥100,000approx. 33.3 pips

Cautions about raising lots to chase cashback

Cashback is proportional to trading volume, so you may be tempted to raise lots. However, losses are also proportional to lots, and margin level falls.

We plan to post amounts on each broker's page at launch, and they are still being confirmed. Even once amounts are set, the basic rule is to set lots from your acceptable loss and the range you can withstand.

Cashback is a way of getting part of your trading cost back and does not guarantee to offset profit or loss. When margin level is falling, the effect of stop-out can be larger than the cashback.

Enter your balance, lots, leverage and level to check the price range to stop-out.

Check the range with the stop-out calculator

FAQ

Q.What is the formula for margin level?

Divide equity by required margin and multiply by 100. Equity is the account balance plus unrealized profit and loss. How bonuses are treated differs by broker.

Q.What percentage is the stop-out level?

It differs by broker and account type. It ranges from 100%, 50%, 20% to 0%, so check the level of the broker you trade with on its page and in its official guide.

Q.How do I calculate the price range to stop-out?

Subtract the equity at the stop-out level (required margin x level) from your current equity, then divide by the value of 1 pip. For 1 lot of USDJPY, 1 pip is about ¥1,000.

This article is for information purposes only and is not investment advice. Conditions may change, so please check each broker's official page for the latest information. Offshore FX and CFD trading carries a risk of losses exceeding your principal.

Related columns