What Is Margin in Forex?
Margin in forex is the amount of money a broker requires you to set aside to open and maintain a leveraged trading position.
It is important to understand that margin is not the same as a trading fee.
Instead, margin acts as collateral for a leveraged position.
For example, suppose you want to open a forex position worth $100,000 and your broker requires a 1% margin.
Your required margin would be:
$100,000 × 1% = $1,000
The remaining exposure is supported through the broker's leverage arrangement.
This is why margin and leverage are closely connected.
However, the $1,000 margin in this example does not mean that $1,000 is the maximum you can lose. The position is still exposed to the price movement of the full $100,000 position.
How Does Margin Work in Forex?
When you open a leveraged forex trade, your broker generally sets aside a portion of your account equity as required margin.
For example:
Trade size: $50,000
Required margin: 2%
Calculation:
$50,000 × 2% = $1,000
So approximately $1,000 of your account funds would be required as margin for that position, subject to the broker's actual requirements.
The rest of your account equity may remain available as free margin.
As the trade moves, your account equity can change.
If the position moves against you significantly, your free margin can decrease.
This is why understanding margin is essential for managing leveraged forex positions.
What Is Required Margin?
Required margin is the amount of money your broker requires you to have available to open a particular position.
A simplified calculation is:
Required Margin = Position Value × Margin Requirement
For example:
Position value: $100,000
Margin requirement: 1%
Therefore:
$100,000 × 1% = $1,000
Your broker may calculate margin differently depending on:
- Currency pair
- Position size
- Account currency
- Leverage
- Broker rules
- Regulatory requirements
- Market conditions
So always check the actual margin requirements for your trading account.
What Is Used Margin?
Used margin is the amount of your account funds currently committed as margin for your open positions.
Suppose you have two open positions:
Trade 1 required margin: $500
Trade 2 required margin: $300
Your used margin would be:
$500 + $300 = $800
The more leveraged positions you open, the more of your account's available margin may become committed.
If you close a position, the margin associated with that position is generally released back into your available funds, subject to the broker's account mechanics.
What Is Free Margin?
Free margin is the amount of account equity that is not currently being used as margin for open positions.
A simplified formula is:
Free Margin = Equity - Used Margin
For example:
Account equity: $5,000
Used margin: $1,000
Therefore:
Free margin = $5,000 - $1,000 = $4,000
Your free margin can be used to support new positions or absorb losses on existing positions.
As open trades move against you, your equity can fall, which can also reduce your free margin.
What Is Equity in Forex?
Before understanding margin level, you need to understand equity.
Your account balance represents the realised account value after completed trades and other applicable transactions.
Your equity includes the effect of your currently open positions.
A simplified formula is:
Equity = Account Balance + Floating Profit/Loss
For example:
Account balance: $5,000
Floating profit: +$200
Your equity would be:
$5,200
If your open positions were instead showing:
Floating loss: -$200
your equity would be:
$4,800
This distinction is important because margin calculations can use equity rather than simply looking at the original account balance.
Used Margin vs Free Margin
These two terms are easy to confuse.
| Term | Meaning |
|---|---|
| Used Margin | Funds currently committed to support open positions |
| Free Margin | Equity remaining after used margin |
| Required Margin | Margin needed to open/support a specific position |
| Equity | Account balance adjusted for floating profit/loss |
The simplest relationship to remember is:
Free Margin = Equity - Used Margin
What Is Margin Level in Forex?
Margin level is a percentage that shows the relationship between your account equity and used margin.
A commonly used formula is:
Margin Level = Equity ÷ Used Margin × 100
For example:
Equity: $5,000
Used Margin: $1,000
Then:
$5,000 ÷ $1,000 × 100 = 500%
So your margin level is:
500%
A higher margin level generally indicates that the account has more equity relative to the margin currently being used.
Why Is Margin Level Important?
Margin level helps traders understand how much financial capacity remains relative to their open leveraged positions.
As open positions move against you:
- Equity can decrease
- Free margin can decrease
- Margin level can decrease
If margin level falls far enough, your broker may issue a margin call or begin closing positions according to its stop-out policy.
The exact thresholds vary by broker and account type.
What Is a Margin Call?
A margin call occurs when your account's available equity falls to a level where the broker requires action under its margin policy.
The exact margin-call threshold depends on the broker.
Depending on the broker and circumstances, you may need to:
- Deposit additional funds
- Close some positions
- Reduce your exposure
- Allow existing positions to be closed according to the broker's procedures
Modern trading platforms may provide warnings before an account reaches a critical margin level.
However, traders should understand their broker's exact rules rather than assuming that every broker handles margin calls in the same way.
What Is a Stop-Out?
A stop-out occurs when the broker automatically closes some or all open positions because the account's margin level has reached the broker's specified liquidation threshold.
For example, a broker might have a stop-out level defined as a particular percentage.
The exact percentage differs between brokers.
The purpose is to prevent the account's available equity from becoming insufficient to support the open positions under the broker's margin requirements.
Margin Call vs Stop-Out
These terms are related but different.
| Margin Call | Stop-Out |
|---|---|
| Indicates that the account's margin situation has become critical | Broker begins automatically closing positions |
| May require the trader to add funds or reduce positions | Positions can be liquidated according to broker rules |
| Exact threshold varies | Exact threshold varies |
| Warning/action stage | Forced-position-closure stage |
Your broker's account agreement should specify the exact thresholds and procedures.
What Is the Relationship Between Margin and Leverage?
Margin and leverage are effectively two sides of the same concept.
For a simplified example:
1:100 leverage = 1% margin requirement
because:
1 ÷ 100 × 100 = 1%
Similarly:
1:50 leverage = 2%
and:
1:10 leverage = 10%
This means that greater leverage can reduce the margin required to control a particular position.
But it is important to remember:
Lower margin requirement does not mean lower trading risk.
The market exposure is determined by the size of the position.
For more information, see:
How Much Margin Do You Need to Trade Forex?
There is no single margin amount that applies to every forex trade.
It depends on:
- Position size
- Currency pair
- Current exchange rate
- Leverage
- Broker requirements
- Account currency
- Applicable regulations
A simplified example:
Position value: $50,000
Margin requirement: 2%
Required margin:
$50,000 × 2% = $1,000
If the margin requirement were 1%, the required margin would instead be:
$50,000 × 1% = $500
This is why you should calculate your required margin before opening a position.
Forex Margin Example
Let's use a simple example.
Suppose your account has:
Balance: $5,000
You open a position requiring:
$1,000 margin
Immediately after opening the trade, assuming no other factors:
Used margin = $1,000
Your initial free margin would approximately be:
$5,000 - $1,000 = $4,000
Now suppose the open trade moves against you and produces a floating loss of:
$500
Your equity becomes:
$5,000 - $500 = $4,500
Your used margin remains approximately:
$1,000
So your free margin becomes:
$4,500 - $1,000 = $3,500
Your margin level becomes:
$4,500 ÷ $1,000 × 100 = 450%
This example shows how an unrealised loss can reduce both equity and free margin.
What Happens to Margin When You Make a Profit?
Suppose the same trader has:
Balance: $5,000
Used margin: $1,000
If the open position produces a floating profit of:
$500
Equity becomes:
$5,500
Free margin becomes:
$5,500 - $1,000 = $4,500
And margin level becomes:
$5,500 ÷ $1,000 × 100 = 550%
So an unrealised profit can increase equity and free margin.
However, the profit remains unrealised until the position is closed.
What Happens to Margin When You Close a Trade?
When you close an open position, the margin allocated to that position is generally released.
The resulting profit or loss is then reflected in your account balance, subject to the broker's processing and any applicable trading costs.
For example:
Used margin before closing: $1,000
After closing the position, assuming there are no other open trades:
Used margin → $0
The position's realised profit or loss becomes part of your account balance.
Does Margin Mean You Are Borrowing Money?
Forex margin and leverage can be confusing because they allow traders to control a position much larger than the amount of capital committed as margin.
However, margin itself should not simply be thought of as a traditional cash loan deposited into your account.
It is better understood as collateral supporting a leveraged trading position.
The exact legal and operational structure depends on the broker, instrument and jurisdiction.
Margin vs Lot Size
Margin and lot size describe different things.
Lot Size
Lot size tells you how large the trading position is.
For example:
0.01 lot 0.10 lot 1.00 lot
Margin
Margin tells you how much capital is required to support that position under the broker's leverage and margin rules.
For example, the same lot size could require different amounts of margin under different leverage or broker conditions.
Learn more about position sizing:
Margin vs Pip Value
Margin and pip value are also different.
Margin tells you how much capital is required to support the position.
Pip value tells you approximately how much money the position gains or loses for a one-pip price movement.
For example, you could have:
Required margin: $500
and:
Pip value: $5 per pip
These numbers describe completely different aspects of the trade.
Understanding both helps you assess the position more accurately.
Margin and Forex Risk Management
Margin management is an important part of risk management when using leverage.
A trader should consider:
- Account equity
- Used margin
- Free margin
- Margin level
- Position size
- Stop-loss distance
- Potential loss
- Broker margin requirements
A common mistake is to ask:
"How much can I trade with my available margin?"
A more useful question is:
"How large a position fits within my risk-management plan?"
Having enough margin to open a position does not necessarily mean that the position is appropriately sized.
Can You Lose Your Margin?
The margin allocated to a trade can be affected when the position moves against you.
But it is important to understand that margin is not necessarily the maximum amount you can lose.
For example, suppose:
Required margin = $500
That does not automatically mean:
Maximum possible loss = $500
If the underlying position is much larger because leverage is being used, a sufficiently large market movement can result in losses significantly greater than the initial margin requirement, subject to the broker's applicable protections and liquidation mechanisms.
This is one of the most important concepts beginners need to understand.
How to Calculate Forex Margin
A simplified formula is:
Required Margin = Position Value × Margin Requirement
For example:
Position value = $100,000
Margin requirement = 2%
Therefore:
$100,000 × 0.02 = $2,000
Required margin:
$2,000
If the margin requirement is instead 1%:
$100,000 × 0.01 = $1,000
Required margin:
$1,000
For some forex positions, the calculation can be more complicated because the position value may need to be converted into the account currency.
This is where a margin calculator becomes useful.
Use Our Forex Margin Calculator
Calculating required margin manually can become complicated when you account for:
- Currency pair
- Position size
- Account currency
- Exchange rate
- Leverage
- Broker margin requirements
Instead of estimating, use our Forex Margin Calculator before opening a trade.
Calculate Your Required Margin →
Use the calculator to estimate the margin required for your planned forex position before trading.
Common Forex Margin Mistakes
1. Thinking Margin Is Your Maximum Loss
The required margin is not automatically your maximum potential loss.
2. Confusing Margin With Leverage
Leverage describes the relationship between exposure and margin.
Margin is the capital required to support the position.
3. Ignoring Free Margin
A trader may have enough margin to open a position but leave very little free margin available to absorb market movements.
4. Opening Too Many Positions
Every additional leveraged position can increase used margin and overall market exposure.
5. Ignoring Floating Losses
Floating losses reduce equity and can reduce free margin and margin level.
6. Assuming Every Broker Uses the Same Rules
Margin requirements, margin-call thresholds and stop-out levels can vary.
7. Using Maximum Available Margin
Just because your account technically allows a larger position doesn't mean that position fits your risk-management plan.
Frequently Asked Questions About Forex Margin
What is margin in forex?
Margin is the amount of capital a broker requires you to set aside to open and maintain a leveraged trading position.
Is forex margin the same as leverage?
No. Margin is the capital required to support a position, while leverage describes how much market exposure can be controlled relative to that margin.
What is free margin in forex?
Free margin is the portion of your account equity that is not currently being used to support open positions.
A simplified formula is:
Free Margin = Equity - Used Margin
What is used margin?
Used margin is the amount of your account funds currently allocated as margin for open positions.
What is required margin?
Required margin is the amount needed to open or maintain a particular position under your broker's margin rules.
What is margin level?
Margin level is commonly calculated as:
Equity ÷ Used Margin × 100
It shows the relationship between your equity and the margin currently being used.
What happens when free margin reaches zero?
If free margin becomes very low or reaches zero, your account may be unable to support additional positions and could become vulnerable to a margin call or stop-out, depending on your broker's rules.
What is a margin call?
A margin call is a broker-defined warning or account condition that occurs when available equity falls to a specified level relative to the margin required for open positions.
What is a stop-out?
A stop-out is a broker-defined process where open positions may be automatically closed when the account's margin level reaches the broker's liquidation threshold.
Does margin affect profit?
Margin itself doesn't determine your profit. Profit or loss depends on the position size and market price movement. However, margin determines how much capital is required to support the leveraged position.
Can I trade without margin in forex?
Traditional leveraged retail forex trading generally involves margin requirements. The exact structure depends on the broker, account type and jurisdiction.
Why does my free margin change?
Free margin can change when:
- Open positions gain or lose value
- You open a new trade
- You close a trade
- Trading costs are applied
- Your account balance changes
Margin Example: The Complete Picture
Let's bring everything together.
Suppose a trader has:
Account balance: $10,000
They open a position requiring:
Used margin: $2,000
The position initially has no floating profit or loss.
Therefore:
Equity = $10,000
Used margin = $2,000
Free margin = $10,000 - $2,000 = $8,000
Margin level:
$10,000 ÷ $2,000 × 100 = 500%
Now suppose the trade moves against the trader and produces a:
$1,000 floating loss
Equity becomes:
$9,000
Used margin remains:
$2,000
Free margin:
$9,000 - $2,000 = $7,000
Margin level:
$9,000 ÷ $2,000 × 100 = 450%
The trade has therefore reduced equity, free margin and margin level.
This illustrates why traders need to monitor their whole account, not just the amount required to open an individual position.
Key Takeaways
Forex margin is the capital required to support a leveraged trading position.
Margin acts as collateral, rather than simply being a trading fee.
Required margin is the amount needed for a particular position.
Used margin is the margin currently committed to open positions.
Free margin is the equity remaining after used margin.
A simplified formula is Free Margin = Equity - Used Margin.
Margin level is commonly calculated as Equity ÷ Used Margin × 100.
A margin call occurs when account conditions reach a broker-defined threshold.
A stop-out can result in the broker automatically closing positions.
Margin is closely connected to leverage, but they are not the same thing.
Required margin is not the same as maximum potential loss.
Position size, stop-loss distance and market movement are important when assessing actual trading risk.
Margin requirements and liquidation rules can vary between brokers and jurisdictions.
Calculating required margin before entering a trade can help you understand how much account capital the position will require.
Calculate Your Required Forex Margin
Before opening a leveraged forex position, it's useful to know how much margin the trade may require and how much free margin will remain in your account.
Don't guess your margin requirement.
Calculate your required margin before your next trade and make sure you understand the capital requirements of your planned position.