Margin Call and Stop-Out Price Calculator
By Chad Smith · Updated
On this page
A margin call calculator shows the price at which an open position would push your account to the broker's margin call level and then its stop-out level. You enter the balance, the trade, the leverage and the broker's thresholds, and it returns the two prices and the distance to each in pips. It turns an abstract percentage into a level you can see on the chart.
Margin call and stop-out calculator
- Pips to margin call
- 92.0
- Stop-out price
- 1.06540
- Pips to stop-out
- 146.0
- Used margin
- USD 1,080.00
Used margin is held at the entry price, as most retail platforms show it.
How to use it
- Enter your account balance and any floating profit or loss from other trades.
- Enter the position: instrument, direction, lot size and entry price.
- Enter the leverage or margin rate, so the calculator knows the used margin.
- Enter the broker's margin call and stop-out levels as percentages.
- Read the price and pip distance to each level.
Most brokers publish these levels on their account or legal pages. They vary by broker, account type and regulator.
The formula
The margin level reaches a threshold when equity equals the threshold times the used margin.
Used margin = Position value ÷ Leverage
Equity at level = Level % × Used margin
Loss allowed = Current equity − Equity at level
Pips to level = Loss allowed ÷ (Pip value per lot × Lots)
Long: Level price = Entry − Pips to level × Pip size
Short: Level price = Entry + Pips to level × Pip size
This treats used margin as fixed at the entry price, which is how most retail forex platforms show it. For a more exact result on large moves, the calculator updates the margin as price changes.
Worked example
This is an illustrative example with simple numbers.
- Balance: 1,000 USD, no other trades
- Buy 0.50 lots of EUR/USD at 1.1000, leverage 1:30
- Stop-out level: 50%
Position value = 0.50 × 100,000 × 1.1000 = 55,000 USD
Used margin = 55,000 ÷ 30 = 1,833 USD
The used margin is already larger than the balance, so this trade cannot be opened at all. Reduce it to 0.10 lots:
Position value = 11,000 USD
Used margin = 366.67 USD
Equity at 50% = 183.33 USD
Loss allowed = 1,000 − 183.33 = 816.67 USD
Pip value = 1 USD per pip (0.10 lots)
Pips to stop-out ≈ 817 pips → price ≈ 1.0183
What the result means
The stop-out price is the level at which the broker, not you, decides to close your trade. If it sits close to the current price, the account is too heavily used and a normal move could wipe out most of it. If it is far away, a planned stop loss should close the trade long before the broker has to.
A good habit is to make sure your own stop loss is always hit well before the margin call price. If it is not, the position is too large for the account. Trading on margin carries a high risk of losing money quickly.
How several trades interact
The calculator is most useful when you have more than one position open. All open trades share one pool of equity, and each adds to the used margin. A loss on one trade therefore brings every other trade closer to the stop-out level as well. Two positions that look safe on their own can together leave very little room. When you add positions, run the calculator on the whole account to see where the combined stop-out sits.
Common mistakes
- Relying on the stop-out as a stop loss. It closes trades at the worst point, often after most of the account is gone.
- Ignoring other open trades. All positions share equity, so losses on one bring the others closer to stop-out.
- Assuming a stop-out fills exactly at the level. Gaps and fast markets can close positions at worse prices.
- Forgetting about widening spreads. At rollover, a wider spread can push a weak account through its stop-out level.
- Mixing up percentages. A 50% stop-out level means equity is half of used margin, not half of the balance.
Related lessons and tools
- Lesson: Leverage and margin
- Lesson: Leverage risk
- Glossary: margin call, stop-out, margin level, negative balance protection
- Guide: Leverage explained, Negative balance protection and compensation
- Tools: margin level calculator, margin calculator, liquidation price calculator, position size calculator
Frequently asked questions
What is a margin call?
A margin call is a warning that your equity has fallen close to the margin needed to keep positions open. Depending on the broker, it may block new trades or ask you to add funds.
What is the difference between a margin call and a stop-out?
A margin call is a warning level. A stop-out is a lower level at which the broker starts closing your positions automatically to stop the account going further into loss.
Can I lose more than my deposit after a stop-out?
In a fast gap, positions can close at a worse price than the stop-out level. Retail clients of brokers with negative balance protection cannot go below zero, but you can still lose your whole balance.
Why does the stop-out price change when I open another trade?
A new trade adds used margin and shares the same equity, so every position's stop-out price moves closer. The calculator works on the whole account, not just one trade.