All articles
09 April 2025

What Is Margin in Forex Trading?

What Is Margin in Forex Trading?

Margin in Forex is the amount of account equity required to open and maintain a leveraged position under a broker's margin rules. It is not a trading fee, the total value of the position, or a limit on how much a trade can lose.

Required margin depends on factors such as position size, instrument specifications, leverage, and account conditions. As open positions gain or lose value, account equity, free margin, and margin level can change.

Essential Forex Margin Definitions

Before we move to calculations, let us understand the major margin related terminology used on trading platforms.

Term

Definition

Required Margin

The amount of margin required to open or maintain a position under the applicable trading conditions.

Used Margin

The total margin allocated to support open positions.

Free Margin

The portion of account equity not currently allocated as used margin.

Equity

The current account value, generally calculated as balance plus or minus floating profit or loss on open positions.

Balance

The account value after closed trades and other completed account transactions, excluding current floating profit or loss.

Margin Level

The ratio of equity to used margin, expressed as a percentage.

Margin Call

A warning, account state, or restriction associated with a broker-defined margin threshold.

Stop Out

A broker-defined threshold at which automatic position closure may begin.

Understanding how these terms relate to one another makes it easier to calculate margin requirements and assess the risks of holding a leveraged position.

How Does Forex Margin Work?

When a trader opens a leveraged position, the broker calculates the margin required based on the position value, instrument specifications, leverage, and applicable account rules. The required margin is allocated to support the position, while the trade's profit or loss depends on its market exposure and price movements.

The amount of margin required may vary with the currency pair, metal, index, cryptocurrency or other instrument. It may also depend on the account type, trading platform, margin limits or your broker's specific contractual terms. 

For example, consider a hypothetical position with a value of $100,000 and a 1% margin requirement.

Item

Value

Position value

$100,000

Margin requirement

1%

Required margin

$1,000

In this simplified example, $1,000 of margin is required to support the $100,000 position. The margin requirement does not represent the maximum possible loss. Other trading costs, such as the spread and applicable overnight swap fees, may also affect the account.

A trader who only considers the amount needed to initiate a trade may not grasp the account risk of price moves against him. Margin should also be taken into account with the other trading costs, like the spread in Forex trading and, in certain markets, overnight swap fees.

Margin Requirement vs Margin Level

Margin requirement and margin level are numbers that correspond to the same trading account, but it's important to understand they are not the same thing. Conflating them can lead to incorrect assumptions about the required capital of a position and the safety of the account.

Term

Meaning

Example

Margin Requirement

The percentage or amount of margin required to support a position.

A 1% requirement on a $100,000 position means $1,000 of required margin.

Margin Level

The ratio of account equity to used margin, expressed as a percentage.

Equity: $5,000 | Used Margin: $1,000 | Margin Level: 500%

One percent margin requirement is not equal to that the margin level of an account is at 1%. The required margin for a position is usually defined when the position is opened and may vary if the conditions for opening are changed. The margin level, however, can change constantly as the opened positions are moving.
Once this difference is understood, then the meaning of the margin you see on a trading platform will be easy to understand.

Margin and leverage are inversely related as seen in the simplified model above. If you seek to leverage more, you will be requiring less margin to open the same position and vice versa. The relationship can be illustrated as follows:

Margin Requirement

Equivalent Leverage

10%

10:1

5%

20:1

2%

50:1

1%

100:1

0.2%

500:1

However, the table shows a general mathematical relationship; it does not guarantee that the maximum leverage listed will be available for your account. Actual calculations may depend on:

  • The trading instrument and its contract size.

  • The account's base currency and the currency denomination of the instrument.

  • Symbol-specific leverage restrictions.

  • Tiered leverage rules for larger positions.

  • Regulatory requirements and account-specific restrictions.

As a result, the leverage available for one instrument may differ from that available for an index, commodity, or another asset. The instrument specifications and platform calculations take precedence over any simplified leverage table.

What Is the Required Margin?

Required margin is the amount of margin that you need to open or maintain a given trading position, given your account and instrument status. It is relevant to a particular position and is calculated based on the value of the position, the margin requirement and the calculation method of the broker. 

Suppose, for instance, that a position has a notional value of $50,000 and a hypothetical margin requirement of 2%: Your margin would be:

$50,000 × 2% = $1,000

Required margin should not be confused with:

  • The position shown in the account balance does not always indicate the size of a specific trade.

  • The minimum deposit required to fund an account is another requirement for opening an account.

  • An indicator that shows the percentage of equity to used margin (not needed for opening a position).

So, although a trader may satisfy the minimum margin for a new deal, the open position, the floating loss on each deal and the available free margin still have to be taken into account before an order.

What Is Used Margin?

Used margin represents the total margin allocated to support open positions. In case of multiple open positions the platform will, based on its rules, calculate used margin by those positions. Think of a simple example:

Open Position

Required Margin

Position A

$500

Position B

$300

Total Used Margin

$800

In this simplified example, the two positions use a combined $800 of margin. Actual used margin may depend on instrument specifications, leverage rules, total exposure, and the platform's treatment of hedged positions.

Used margin may change when positions are opened or closed or when applicable margin requirements change. An offsetting position does not necessarily eliminate margin requirements.

What Is Free Margin?

Free margin is the part of equity that is not currently committed as used margin. It shows how much equity can be used to keep the current positions or open new ones, depending on the current market conditions in the account. Formula is:

Free Margin = Equity − Used Margin

Let's assume a trader has an equity of $5,000 and a used margin of $1,000.

Free Margin = $5,000 − $1,000 = $4,000

This account has a $4,000 free margin with the above assumptions. Free margin matters because it reflects the equity remaining after used margin is deducted and can absorb floating losses. 

If a trade moves against the trader, free margin generally decreases as equity falls, assuming used margin remains unchanged. However, free margin is not necessarily the same as cash available for withdrawal. 

Withdrawal eligibility may depend on open positions, account status, pending transactions, and the broker's requirements. Before placing another trade, a trader should consider free margin and potential losses, the amount of the new trade and the impact it may have on the entire account.

What Is Equity in Forex?

Equity is the net amount of cash in a trading account, inclusive of any floating profit or loss on open trades. As a rule, unlike balance, which typically includes accomplished trades and any other adjustments to the account, equity also considers open trades' unrealized profit or loss. The simplified formula is:

Equity = Balance + Floating Profit/Loss

For instance, a trader has $5,000 on deposit and has an open position with floating loss of $400. 

Equity = $5,000 − $400 = $4,600

Balance

Equity

Reflects completed trades and other posted account transactions.

Includes current floating profit or loss on open positions.

Generally changes when trades close or other account transactions are recorded.

Can fluctuate as market prices change.

Equity is used to calculate free margin and margin level, so it may differ from balance while positions remain open.

What Is Margin Level in Forex?

Margin level shows the relationship between account equity and used margin. It is commonly expressed as a percentage:

Margin Level (%) = (Equity ÷ Used Margin) × 100

For example, if equity is $5,000 and used margin is $1,000, the margin level is 500%. A falling margin level can indicate that the account is moving closer to broker-defined margin-call or stop-out thresholds. 

The ratio changes when equity or used margin changes. If there are no open positions and used margin is zero, the platform may display margin level differently or omit the percentage altogether.

How to Calculate Margin in Forex

Required margin can be estimated using the margin requirement or the leverage available for a position.

Formula 1: Using the Margin Requirement

Required Margin = Position Value × Margin Requirement

Formula 2: Using Leverage

Required Margin = Position Value ÷ Leverage

For example, a $100,000 position with a 1% margin requirement or 100:1 leverage would require $1,000 of margin under either simplified calculation.

These formulas are simplified examples. Actual margin may also depend on instrument specifications, contract size, account currency, conversion rates, leverage tiers, hedged-position rules, and account conditions. The trading platform and current symbol specifications should be treated as the final reference.

How Lot Size Affects Margin

For the same instrument and trading conditions, a larger position generally requires more margin because it has a greater notional value. In Forex, one standard lot commonly represents 100,000 units of the base currency, a mini lot 10,000 units, and a micro lot 1,000 units. 

However, the notional value of one lot is not necessarily $100,000 for every instrument; it depends on the instrument's contract specifications and price. For example, at a 1% margin requirement, a $100,000 position requires $1,000, while a $50,000 position requires $500.

The lot size and the position's notional value should be checked against the relevant instrument specifications.

How Leverage Impacts Margin Usage

Leverage indicates the amount of market exposure a trader can have in relation to the margin required by the trading conditions applied. For the same position amount, the higher available leverage is, the less margin you require.

Consider the same $100,000 position. This comparison is without regard to trading costs or other adjustments to the account. This is an important distinction: leverage influences the margin requirement to maintain a position, but it does not inherently lower market risk on that position.

Hence, before selecting leverage, a trader has to calculate the position size and the loss that can be incurred. The leverage should be used such that the market position maintains an appropriate amount of exposure to the account's equity and risk.

What Is a Margin Call in Forex?

A margin call is a warning, account state, or restriction associated with a broker-defined margin threshold. Depending on the broker and account, it may indicate that equity or margin level has fallen to a point where the account has less capacity to absorb further losses.

If floating losses reduce equity while used margin remains unchanged, margin level will fall. If the account reaches or falls below a broker-defined threshold, the broker may apply restrictions or other measures under its account terms.

Margin-call thresholds and consequences vary by broker and account. Traders should monitor their account metrics and review the STP Trading account specifications for the conditions applicable to their account.

What Is Stop Out in Forex?

Stop out is a broker- or platform-defined threshold at which one or more open positions may begin to close automatically because the account no longer meets the applicable margin requirements. The threshold, closure order, and execution process vary by broker and account.

Stop out is a mechanism for closing open positions when an account reaches a specified margin threshold. Whether the platform closes one position or several depends on its rules and configuration.

A margin call may serve as a warning or describe the account's margin condition, whereas stop out refers to the threshold at which automatic position closures may begin. Stop-out percentages vary by broker. 

A stop-out level should not be assumed to be universally 50%, and automatic closure does not guarantee execution at a specific price during fast or illiquid markets.

Margin Call vs Stop Out

While margin call and stop out are interconnected, they're two terms that refer to an account's margin situation.

Margin Call

Stop Out

A caution or account state established by the principles of the broker.

A level at which positions might start to close out of their own volition.

May be required preceding stop-out conditions.

Usually represents a more severe margin condition.

May include, account suspensions, restrictions and other account specific measures.

May result in the closing of one or more vacancies.

The applicable threshold and consequences vary.

The applicable threshold and closure process vary.

The applicable thresholds, restrictions, and closure procedures vary by broker and account, so traders should review their account terms rather than assume a universal rule.

How Profit and Loss Affect Margin Level

If an open position moves against the trader, floating losses reduce equity. Assuming used margin remains unchanged, free margin and margin level also decline.

Floating loss ↑ → Equity ↓ → Free Margin ↓ → Margin Level ↓

If an open position moves in the trader's favour, floating profit increases equity and may increase free margin and margin level. Floating profit remains unrealised until the position is closed.

Floating profit ↑ → Equity ↑ → Free Margin ↑ → Margin Level ↑

Handling Margin Risk in Forex Trading

Margin management is primarily about controlling position size, leverage, account exposure, and the amount of free equity available to absorb adverse price movement.

Choose Position Size Carefully

A larger position generally creates greater market exposure and may require more margin under the same trading conditions. Consider the potential loss relative to your account equity before opening a trade, rather than basing position size only on the margin available.

Maintain Available Free Margin

Free margin represents the equity remaining after used margin is deducted. Avoid allocating all available free margin to open positions, as floating losses and changing margin requirements can reduce the account's capacity to support them.

Understand Instrument-Specific Leverage

Leverage and margin requirements can differ across instruments, account types, and position sizes. Check the applicable symbol specifications and leverage tiers instead of assuming the maximum advertised leverage applies to every trade.

Monitor Equity and Margin Level

Balance alone does not show the effect of floating profit or loss on open positions. Monitor equity, used margin, free margin, and margin level when positions are open, particularly during periods of market volatility.

Understand Margin Call and Stop-Out Rules

Review the broker's margin-call thresholds, stop-out level, and automatic position-closure rules before trading. Stop-loss orders can help define an exit point, but slippage and gaps may affect execution. Hedging may change exposure but does not necessarily remove margin requirements or trading costs.

Final Thoughts on Margin in Forex Trading

Margin is the capital required to support a leveraged position under the applicable trading conditions. It is not a trading fee or a limit on how much a position can lose.

Higher available leverage can reduce the margin required for a given position size, but it does not reduce that position's market exposure. Position size, price movements, and available equity remain central to understanding potential trading losses.

Before choosing a trading account, review the accounts currently offered by STP Trading and their specifications. You can also use the Forex Economic Calendar to check the dates and times of economic releases that may affect currency-market volatility. 

Frequently Asked Questions About Forex Margin

What Is a Good Margin Level in Forex?

A safe margin level is one where the margin equity is high enough to cover some losses but not so low as to get near the broker's margin-call or stop-out levels. There is no one set percentage that suits a trader or account.

What Is the Difference Between Free Margin and Used Margin?

Used margin: used margin is the amount of margin in use for supporting open positions Free margin: free margin is the part of the account equity that isn't in use as margin. Free margin is calculated as total equity minus used margin.

How Much Margin Is Required With 1:500 Leverage?

On a simplified basis, a $100,000 position with 1:500 leverage needs 200 in margin. This is the amount of margin based on available leverage. Leverage of 1:500 might not be offered for all instruments or all account types and the platform's margin calculation might also include other instrument-specific requirements.

Will a Margin Call automatically close my trades?

Not always. A margin call can be just a warning, an account condition or a restriction to take new positions depending on your broker's conditions. Automatic position closure is normally linked to another stop-out level but a few brokers may have their own procedures without a warning, consult the relevant account terms to know for sure.

Can I Lose More Than the Required Margin in Forex?

Yes. Required margin is the amount of capital needed to support a position; it is not a cap on the amount a position might lose. A market move in the opposite direction of your position can cause losses larger than your initial required margin, and also potentially erode the balance of your remaining account equity.

Does Higher Leverage Reduce Trading Risk?

No. Higher leverage can decrease the margin needed to open a position of a certain size, but will not decrease the actual market risk of the position. The gross profit or loss for the same position and movement is typically the same. Risk can increase if the higher leverage used causes the trader to take a larger position.

What Is the Difference Between Margin Requirement and Margin Level?

Margin requirement is the amount or percentage of funds that you have to deposit in order to maintain an open position. Margin level ratio is the proportion of equity to used margin and is typically given as a percentage.