Pips Learn
Trading Tools
  1. Home
  2. /Trading Tools
  3. /Margin Calculator

Margin Calculator

Brokers lock up margin every time you open a position. Enter your pair, lot size, leverage, and balance to see exactly how much of your account is required and how much breathing room you have before margin call.

Required Margin1,085.00 USDCapital locked in this trade
Notional Value108,500.00 USDTotal trade exposure
Position Units100,0001.00 × 100,000
Free Margin8,915.00 USDCapital available for new trades
Margin Level922%Above 100% is safe, below risks stop-out
Margin % of Balance10.9%Share of account used by this trade

How to Use the Margin Calculator

  1. Select the currency pair you're trading.
  2. Enter your intended position size in lots.
  3. Enter the leverage your broker offers on this account, e.g. 30:1, 100:1, or 500:1.
  4. Select your account currency.
  5. Enter your current account balance.
  6. Read the required margin, free margin remaining, and margin level to confirm the position fits your account.

How the Margin Calculator Works

Required margin is the portion of your account balance your broker locks up as collateral to open a leveraged position. The calculator first converts your position size into notional value — lots × contract size, priced in your account currency — then divides that notional value by your leverage ratio to get the margin required.

Free margin is simply your account balance minus the required margin — the capital still available to absorb floating losses or open new positions. Margin level expresses your balance as a percentage of required margin (Balance ÷ Required Margin × 100); most brokers issue margin call warnings around 100% and force-close positions (stop-out) somewhere between 20% and 50%, depending on the broker.

Higher leverage lowers the required margin for the same position size, which is why leverage is often described as a double-edged tool: it frees up capital, but it also means a smaller adverse price move can erode your margin level faster.

Worked Example

Worked example: opening 1 standard lot of EUR/USD (100,000 units, notional value ≈ $108,500 at a 1.085 EUR/USD rate) at 100:1 leverage requires about $1,085 in margin. On a $10,000 account, that leaves roughly $8,915 in free margin and a margin level near 922% — well above the 100% level most brokers use as a margin-call warning threshold.

Frequently Asked Questions

What is margin in forex trading?

Margin is the portion of your account balance your broker sets aside as collateral when you open a leveraged position. It isn't a fee — it's locked funds you get back when the position closes, assuming the account stays solvent.

How is required margin calculated?

Required margin equals the notional value of your position (lot size × contract size, converted to your account currency) divided by your leverage. Higher leverage reduces the margin required for the same trade size.

What is margin level and why does it matter?

Margin level is your account balance expressed as a percentage of the margin currently in use. It's the number brokers watch to decide when to send a margin call warning and, if it falls further, to automatically close positions (stop-out) to protect the account from going negative.

What's the difference between leverage and margin?

Leverage is the ratio your broker allows you to trade beyond your own capital (e.g. 100:1). Margin is the actual dollar amount locked up as a result of using that leverage on a specific position size.

How much free margin should I keep available?

There's no universal number, but keeping a healthy buffer of free margin — well above 100% margin level even after accounting for a normal adverse move — reduces the risk of a margin call forcing you out of a position at the worst time.

Related Trading Calculators

Position Size CalculatorCalculate the exact lot size to trade based on your account balance, risk percentage, and stop loss distance.Pip Value CalculatorFind out how much a single pip is worth in your account currency for any position size.Drawdown Recovery CalculatorUnderstand exactly how much you need to gain to recover from a drawdown.
Pips Learn

The ultimate resource for learning proven trading strategies, technical analysis, risk management, and trading psychology to consistently profit in the financial markets.

Learn

  • Home
  • Technical Analysis
  • Risk Management
  • Trading Psychology

Tools

  • All Trading Tools
  • Position Size Calculator
  • Pip Value Calculator
  • Risk / Reward Calculator

Company

  • Blog
  • About

© 2026 Pips Learn. All rights reserved.

Educational content only. Not financial advice.