Markets covered:XAU/USDEUR/USDUS30NAS100GBP/USDWTI
EN ▾
Get the app
Basics · Margin Call

Margin Call and Stop Out: What Triggers Them and How to Avoid Them

A margin call is a warning that your account equity no longer comfortably covers the margin needed to keep your positions open. If losses continue, a stop out can close trades automatically. This guide explains what triggers a margin call in CFD trading, walks through a full numerical example, and shows how to avoid one when trading in the QTFX Markets app.

QTFX.app editorial teamReviewed 4 min read
Margin call warning on a trading app with falling margin level
Key points
  • A margin call happens when margin level falls to the broker's warning threshold.
  • A stop out is the level where positions are closed automatically.
  • Margin level = equity ÷ used margin × 100%.
  • Small positions and stop losses are the best protection.

What is a margin call?

When you open a leveraged CFD position, part of your equity is set aside as used margin. As long as your equity stays well above that amount, all is fine. When floating losses reduce equity so far that the margin level drops to a specified threshold, the broker issues a margin call: a notice that you need to add funds or reduce positions.

Historically a margin call was a phone call from a broker. Today it is usually an on-screen alert. The idea is the same: your cushion is almost gone. If you are not yet comfortable with equity, free margin and margin level, read our leverage and margin guide first.

Margin call vs stop out

The two are related but different. A margin call is a warning; a stop out is an action. At the stop-out level, the system begins closing open positions — typically starting with the one that has the largest loss — until margin level recovers above the threshold. Exact levels vary between brokers and account types, so the percentages in this article are illustrative only.

StageWhat it meansWhat happens
HealthyMargin level well above thresholdsYou can open new trades
Margin call (example: 100%)Equity equals used margin; no free margin leftWarning; new positions may be blocked
Stop out (example: 50%)Equity is half of used marginPositions are closed automatically
Worked margin call example for an XAUUSD gold position

A worked margin call example

For example, take an account with a 1,000-dollar balance. The trader buys 0.30 lot of XAUUSD (30 ounces) at 2,400 with illustrative 1:50 leverage. Position value = 30 × 2,400 = 72,000 dollars; used margin = 72,000 ÷ 50 = 1,440 dollars. That already exceeds the balance, so the trade would be rejected. The trader reduces size to 0.20 lot (20 ounces): value 48,000 dollars, margin 960 dollars. Margin level at entry = 1,000 ÷ 960 × 100 ≈ 104%.

Each 1-dollar move in gold is worth 20 dollars on this position. If gold slips just 2 dollars to 2,398, the loss is 40 dollars, equity is 960 and margin level is 100% — a margin call in our example. If gold falls 26 dollars to 2,374, the loss is 520 dollars, equity is 480 and margin level is 50% — stop out. A 26-dollar move in gold, roughly 1%, has wiped out half of the account.

Now compare a trader with the same 1,000 dollars who buys only 0.02 lot (2 ounces). Margin is 96 dollars, margin level starts above 1,000%, and the same 26-dollar drop costs 52 dollars. The difference is not leverage — it is position size. Use our lot size calculator to find a sensible size.

This example is for illustration only. Real margin requirements, contract sizes and stop-out levels depend on your account; check them in the app. CFDs carry a high risk of losing money rapidly due to leverage.

What triggers a margin call?

Many margin calls happen around scheduled events, so check the economic calendar before you hold a large position into a release.

  • Oversized positions: using most of your equity as margin leaves no room for normal price swings.
  • No stop loss: a losing trade is allowed to run until the account cannot support it.
  • Adding to losers: averaging down increases used margin while equity falls.
  • News and gaps: releases like NFP or CPI, or weekend gaps, can move price sharply in seconds.
  • Many correlated trades: several positions on USD pairs or gold and the dollar can all lose together.
  • Withdrawals: taking money out while positions are open reduces equity.
Chart showing the difference between margin call and stop out levels

How to avoid a margin call

  1. Decide your maximum risk per trade (many traders use 1–2% of equity).
  2. Place a stop loss on every position at the moment you open it.
  3. Calculate position size from the stop distance, not from free margin.
  4. Keep used margin a small fraction of equity so normal volatility cannot threaten it.
  5. Avoid stacking correlated trades in the same direction.
  6. Reduce exposure before high-impact news and before weekends.
  7. Watch the margin level figure in the app and act early, not at the warning.

What to do if you get a margin call

First, do not panic and do not add a new position to "win it back". Look at your open trades and ask whether the original reason for each still holds. The cleanest action is usually to close or reduce the weakest position, which frees margin immediately. Adding funds is also an option, but depositing to rescue a losing trade often just postpones a larger loss.

Afterwards, write the episode in your trading journal: position size, why the stop was missing or too wide, and what you will change. A margin call is expensive feedback; our risk management guide can help turn it into a better process.

Questions & answers

What happens when you get a margin call?

You are warned that your equity barely covers the margin on open positions. You may be unable to open new trades, and if losses continue to the stop-out level, positions are closed automatically.

How do I calculate my margin level?

Divide equity by used margin and multiply by 100. For example, 1,500 dollars of equity with 500 dollars used margin gives a margin level of 300%.

Is a margin call the same as a stop out?

No. A margin call is a warning at one threshold; a stop out is the automatic closing of positions at a lower threshold.

Can a stop loss prevent a margin call?

A stop loss limits the loss on a trade and, combined with sensible position size, makes a margin call much less likely. In very fast markets or gaps, a stop can fill at a worse price than set.

Put this guide to work in the app

Want to see how margin level reacts before risking real money? Install the QTFX Markets app from Google Play and rehearse on a demo account.

GET IT ONGoogle Play

QTFX Markets is currently available for Android only.

Scan with your Android phone to install
Trade gold & forex on AndroidGet the app