Forex BasicsJuly 31, 2026 · 8 min read

What Is Margin in Forex? Beginner Guide + Examples 2026

A clear beginner-friendly explanation of what is margin in forex: margin, free margin, margin level, margin calls — with step-by-step calculations, worked examples and practical risk tips.

Margin is one of the first practical topics every new forex trader must understand. In plain language, margin is the money your broker sets aside as collateral so you can control a larger position using leverage. This guide explains exactly what margin, free margin and margin level are, shows step-by-step calculations and gives examples you can practice on a demo account.

Key definitions (short)

  • Margin: the amount of your account balance reserved by the broker to open a position.
  • Free margin: the portion of your account not locked in open trades; available to open new positions or absorb losses.
  • Equity: your account balance plus unrealised (floating) profit or loss.
  • Margin level: a percentage showing how healthy your account is — calculated as (Equity / Used margin) × 100.
  • Margin call: when your margin level falls to a broker-specified threshold and you are warned (or forced) to add funds or close trades. If ignored, a stop-out (forced liquidation) can follow.
  • Leverage: how many times your broker lets you multiply your capital (for example 1:100 means you can control 100× the money you put up).

How margin is calculated (formula and steps)

Most brokers calculate the initial margin using this core formula:

Margin = (Lots × Contract size × Price) / Leverage

Notes:

  • Lots: 1 standard lot = 100,000 units; 1 mini lot = 10,000 units; 1 micro lot = 1,000 units.
  • Contract size: typically equals the lot size in units (100,000, 10,000, 1,000).
  • Price: the current market price of the pair (for EUR/USD use ~1.1000 as example).
  • Leverage: expressed as 1:50, 1:100, etc. Use the numeric divisor (50, 100).

Worked example 1 — margin for 1 standard lot EUR/USD

  • Account currency: USD
  • Pair: EUR/USD at price 1.1000
  • Position size: 1 standard lot = 100,000 units
  • Leverage: 1:100

Plug into the formula:

Margin = (1 × 100,000 × 1.1000) / 100 = 110,000 / 100 = $1,100

So to open 1 standard lot at 1:100 you must have $1,100 set aside as margin.

Worked example 2 — margin for 0.02 lots (2 micro lots)

  • Position size: 0.02 lots = 2 micro lots = 2,000 units
  • Same price 1.1000, leverage 1:100

Margin = (0.02 × 100,000 × 1.1000) / 100 = (2,000 × 1.1000) / 100 = 2,200 / 100 = $22

Free margin, equity and margin level — how they relate

Once you have open trades, your account shows three important values:

  • Balance: the cash in the account excluding open trades.
  • Equity: Balance + unrealised P/L.
  • Used margin: total margin reserved for your open positions.
  • Free margin = Equity − Used margin.
  • Margin level = (Equity / Used margin) × 100%.

Worked example — free margin and margin level

  • Account balance: $5,000
  • Open positions use: $1,000 margin
  • Current floating profit: +$200

Equity = 5,000 + 200 = $5,200

Free margin = Equity − Used margin = 5,200 − 1,000 = $4,200

Margin level = (Equity / Used margin) × 100 = (5,200 / 1,000) × 100 = 520%

A higher margin level gives you more buffer; a falling margin level signals rising risk.

What triggers a margin call or stop-out?

Brokers set thresholds called margin call levels and stop-out levels. Common settings you will see: a margin call at 100% and stop-out at 50% or lower, but each broker is different — always check your broker's specification.

Example with a hypothetical broker:

  • Margin call level = 100%: when Equity / Used margin ≤ 100%, you receive a warning or restricted trading.
  • Stop-out level = 50%: when Equity / Used margin ≤ 50%, the broker begins closing your losing positions automatically (usually from the largest loss or most profitable depending on the broker).

Example showing a margin call leading to stop-out

  • Balance: $2,000
  • Used margin: $1,000
  • Equity falls because of an open losing trade to $900

Margin level = (900 / 1,000) × 100 = 90% → below 100% so a margin call would be triggered with our hypothetical broker. If losses continue until equity hits $500 (margin level 50%), the broker may start closing positions to protect the account.

Pip value and position-sizing: calculate risk before you open trades

Good risk control prevents margin problems. Use this step-by-step position sizing approach:

  1. Decide on account risk per trade (common beginner rule: 0.5%–2%).
  2. Calculate the dollar risk: Account balance × risk%.
  3. Decide stop-loss distance in pips.
  4. Find pip value for 1 lot at your pair (EUR/USD: $10 per pip for 1 standard lot; $1 per pip for 0.1 lot; $0.10 per pip for 0.01 lot).
  5. Calculate lot size = Dollar risk ÷ (Stop pips × pip value per lot).

Worked position-size example

  • Account = $1,000
  • Risk = 1% → $10 risk
  • Stop loss = 50 pips on EUR/USD
  • Pip value per micro lot (0.01) = $0.10

Lot size = 10 ÷ (50 × 0.10) = 10 ÷ 5 = 2 micro lots (0.02 lots)

This sizing keeps your dollar loss limited to $10 if the stop is hit.

Practical tips to avoid margin problems

Common beginner mistakes with margin

  • Using maximum available leverage and trading oversized lots for small accounts.
  • Failing to account for overnight swaps, spread widening during news, and currency conversion if your account currency differs from the traded pair.
  • Ignoring the broker's margin call and stop-out levels in the specifications.
  • Not using position sizing to control the dollar risk per trade.

How to practise these ideas (quick plan)

  1. Open a demo account (use the Exness demo link above) and fund the demo with a realistic balance you plan to trade with live later.
  2. Pick 1–3 currency pairs and reasonable timeframes — see our article about pairs: How Many Currency Pairs Should I Trade in 2026 — Rules.
  3. Do at least 50 trades on demo, tracking balance, equity and margin level on each trade. Use a simple trading journal.
  4. When you can show consistent risk management and positive expectancy on demo, explore our structured courses to move from beginner foundations to professional skills: https://forexfluency.com/courses and start the next lesson the same day.

If you want a structured curriculum that teaches these calculations in bite-size, graded modules — with worked examples, quizzes and action steps — see our course catalog: https://forexfluency.com/courses. Our courses are priced by complexity and let you progress from absolute beginner to advanced trader without fluff.

Quick reference formulas

  • Margin = (Lots × Contract size × Price) / Leverage
  • Pip value (approx for USD-quoted pairs) = $10 (standard lot), $1 (mini 0.1 lot), $0.10 (micro 0.01 lot)
  • Free margin = Equity − Used margin
  • Margin level % = (Equity / Used margin) × 100
  • Lot size for target risk = Dollar risk ÷ (Stop pips × Pip value per lot)

Final thoughts

Learning what margin is in forex and how free margin and margin level work lets you control risk instead of reacting to margin calls. Start small, practice on demo, use conservative leverage and apply position-sizing rules. Margin is a tool — used well it lets you trade with controlled risk; used poorly it exposes you to forced losses.

Ready to learn properly? If you want a structured path that teaches margin calculations, position sizing and all the practical skills to trade responsibly, explore our courses here: https://forexfluency.com/courses. Start with the beginner modules and progress by complexity.

Trading forex on margin carries a high level of risk and may not be suitable for all investors. Never trade with funds you cannot afford to lose.

Frequently Asked Questions

What is margin in forex trading in one sentence?

Margin is the portion of your account balance that your broker holds as collateral to open and maintain leveraged positions.

How do I calculate margin required for a trade?

Use Margin = (Lots × Contract size × Price) / Leverage. For example, 1 standard lot EUR/USD at 1.1000 with 1:100 leverage requires $1,100 margin.

What is free margin and why does it matter?

Free margin = Equity − Used margin. It's the money available to open new trades or to absorb losses; when it runs out you can't open new positions and may face margin calls.

What is margin level and what thresholds matter?

Margin level = (Equity / Used margin) × 100%. Common broker thresholds include a margin call near 100% and a stop-out at lower levels (50% or less), but exact values vary by broker — always check their specs.

How can I avoid margin calls?

Use conservative leverage, limit risk per trade (0.5%–2%), size positions properly with a pip-value/stop-loss calculation, keep a healthy margin level buffer and practise on demo first.

Does account currency affect margin?

Yes. If your account currency differs from the quoted currency in the pair, the broker will convert margin requirements — check your broker's contract specifications.

Can I increase free margin without closing trades?

You can increase free margin by adding funds to your account or by reducing the size of open positions; some traders also hedge, but hedging can be complex and may still use margin.

Where should I practise these margin calculations?

Practice on a demo account first — for example use the free demo with Exness: open a free Exness demo account — and keep a journal of balance, equity and margin level for each trade.

Risk warning: Forex trading is high-risk. This is education, not financial advice — never trade with funds you cannot afford to lose.