Northmark

Margin

Margin is the amount of money a broker sets aside from your account balance as collateral to open and maintain a leveraged trading position.


Quick Definition

Margin is not a fee — it is a security deposit that your broker temporarily holds while your trade remains open. Its size depends on the trade's notional value and the leverage ratio applied to your account. When the trade closes, the margin is released back into your free balance.


Detailed Explanation

When you trade forex or CFDs, you rarely pay the full value of the underlying asset upfront. Instead, brokers allow you to control a much larger position by posting only a fraction of its total value. That fraction is called margin, and it is expressed either as a fixed monetary amount or as a percentage of the full position size.

How margin is calculated follows a straightforward formula:

Required Margin = (Trade Size × Current Price) ÷ Leverage

For example, if you want to buy 1 standard lot of EUR/USD (which equals 100,000 units of the base currency) at a price of 1.0850, the notional value of that position is $108,500. With a leverage ratio of 1:100, the required margin is $108,500 ÷ 100 = $1,085. With leverage of 1:30 — a common retail cap in the European Union — the required margin rises to $108,500 ÷ 30 = $3,617.

Brokers typically quote margin requirements as a percentage rather than a ratio. A 1% margin requirement is equivalent to 1:100 leverage; a 3.33% requirement corresponds to 1:30 leverage. Both describe the same relationship: a larger percentage means more of your own funds must be committed per trade.

There are two figures you will encounter constantly on any trading platform. Used Margin is the total collateral currently locked across all your open positions. Free Margin is whatever remains available to open new trades or to absorb floating losses without triggering a warning. The relationship is: Equity − Used Margin = Free Margin, where Equity equals your balance plus or minus any unrealised profit or loss.

Understanding how margin interacts with leverage is essential. Leverage amplifies both gains and losses relative to the deposited margin, which is precisely why regulators in many jurisdictions impose maximum leverage limits for retail traders. Margin is the mechanism that makes leveraged trading operationally possible; leverage is the ratio that determines how large that margin must be.


Real-World Example

Scenario: A trader has an account balance of $5,000 and opens two positions simultaneously.

PositionSizePriceLeverageRequired Margin
EUR/USD Long1 lot (100,000 units)1.08501:100$1,085
GBP/USD Long0.5 lot (50,000 units)1.27001:100$635

Now suppose the EUR/USD trade moves against the trader by 150 pips. On a 1-lot position, each pip is worth approximately $10, so the floating loss is $1,500. Equity drops to $3,500, and Free Margin falls to $3,500 − $1,720 = $1,780. The Margin Level is now 203%. If the broker issues a Margin Call at 100% and a Stop Out at 50%, the trader still has buffer — but that buffer is eroding with every adverse pip.


Why It Matters for Traders

Margin is the single most important number governing whether your positions stay open or get closed by the broker. A Margin Call is a notification — often automated — warning that your Margin Level has dropped to a threshold (commonly 100%) below which you can no longer open new trades. A Stop Out occurs at an even lower threshold (commonly 50%) where the broker begins automatically closing your losing positions, starting with the least profitable, to bring the Margin Level back up.

Monitoring your Free Margin and Margin Level in real time allows a trader to understand how much adverse price movement they can absorb before the broker intervenes. It also governs position sizing: opening excessively large trades relative to your balance leaves very little Free Margin to weather normal market fluctuations, including temporary widening of the bid-ask spread during news events.


Common Misconceptions

1. "Margin is a cost or a fee." Margin is not deducted from your account permanently. It is ring-fenced as collateral and is fully returned to your Free Margin the moment a trade is closed. The actual costs of trading are the spread and, for positions held overnight, swap/rollover charges.

2. "A higher margin requirement is always worse for traders." A higher margin requirement (lower leverage) means you must commit more capital per trade, which some traders find restrictive. However, it also means your positions can withstand larger adverse moves before triggering a Stop Out, which reduces the risk of total capital loss on a single position.

3. "Margin Level and account balance are the same thing." Balance is a static figure that only changes when a trade is closed. Equity and Margin Level fluctuate in real time with every price tick, because they incorporate unrealised profit and loss. A trader's balance can show $5,000 while their Margin Level is already approaching the Stop Out threshold.


Related Terms


How XM Handles Margin

According to information published on XM's official website, XM applies a tiered margin system in which margin requirements may increase for larger position sizes, in line with regulatory standards set by bodies such as ESMA (for EU-regulated entities) and equivalent local regulators. For retail clients, maximum leverage and therefore minimum margin percentages are capped by regulation — for example, 3.33% (1:30) on major forex pairs under ESMA rules. XM also publishes its Margin Call and Stop Out levels in its trading specifications documentation. Traders are advised to consult the official XM website directly for the current, account-type-specific figures, as these parameters can change with regulatory updates or account classification.


Compliance Footer

⚠️ This glossary entry is provided for educational purposes only. Forex and CFD trading carries a high level of risk and may not be suitable for all investors. The examples and figures used in this article are illustrative and do not represent guaranteed outcomes. This content does not constitute investment advice, a solicitation to trade, or a recommendation of any specific product or broker. Always verify current margin requirements, leverage limits, Margin Call levels, and Stop Out thresholds on the official website of your broker and relevant regulatory authority before placing any trade.


See all glossary entries: /en/glossary

Compare top forex brokers