PipGauge

HomeCalculators › Margin

Forex Margin Calculator

See how much margin a position ties up before you open it, from your trade size, the current price and your leverage.

Position

Enter 100 for 1:100. We convert this to a margin requirement of 100 ÷ leverage %.
required margin = lots × contract size × price ÷ leverage

Margin required

Required margin
Notional value (quote)
Margin requirement
Trade-cost check

See what a real trade would cost you

Before you place this, compare brokers on the one number that matters — the all-in cost of spread and commission — using our open, for-sale-proof methodology.

Compare broker trading costs →

Disclosure. Some outbound links may be affiliate links; they never change a calculator’s result. How we make money.

Risk warning. CFDs are complex instruments and carry a high risk of losing money rapidly due to leverage. Between [XX]% of retail investor accounts lose money when trading CFDs with a given provider — a per-broker figure we publish only once verified (reviewed quarterly). Consider whether you understand how CFDs work and can afford the risk. Full risk disclosure.

Educational tools for non-US traders · not directed at US persons.

Quick answer

Required margin = lots × contract size × price ÷ leverage. One standard lot of EUR/USD at 1.10 on 1:100 leverage needs 110,000 ÷ 100 = $1,100. Leverage and margin percent are two views of the same thing: margin% = 100 ÷ leverage, so 1:100 is a 1% margin requirement.

How it works

What required margin is

Margin is the slice of your own money a broker sets aside as a good-faith deposit to hold a leveraged position. It is not a fee — it is locked while the trade is open and released when you close. Knowing it in advance tells you how many positions your account can carry and how close you are to a margin call.

The formula

notional value = lots × contract size × price

required margin = notional value ÷ leverage

Leverage and margin percent are interchangeable: margin fraction = 1 ÷ leverage and margin% = 100 ÷ leverage. When your account currency is the base currency, margin is simply the base notional divided by leverage — there is no extra division by price.

How to use this calculator

  1. Choose forex or gold and enter the pair and your account currency.
  2. Enter the trade size in lots and the current price.
  3. Enter your leverage as 1:N (type 100 for 1:100).
  4. If your account currency is a third currency, fill in the conversion rate that appears.

Worked example 1 — EUR/USD at 1:100

One standard lot is 100,000 EUR; at a price of 1.10 the notional is 100,000 × 1.10 = 110,000 USD. On 1:100 leverage the margin is 110,000 / 100 = $1,100. The same trade on 1:30 leverage would need about $3,667.

Worked example 2 — gold at 1:100

A 0.1-lot gold position is 10 ounces; at $3,000 the notional is 0.1 × 100 × 3,000 = 30,000 USD, so margin at 1:100 is 30,000 / 100 = $300. Metals often carry lower leverage than majors, so check your broker's cap.

When margin matters

Margin matters when you hold several positions at once or size up. Free margin is what is left to absorb open losses; when it runs out you get a margin call or a forced liquidation. Sizing by risk keeps losses controlled, but margin is the separate ceiling on how much you can have open.

Common mistakes

  • Confusing margin with risk. Margin is what the position ties up; risk is what you can lose. They are different numbers and both matter.
  • Double-converting a base-currency account. If your account is in the base currency, divide the base notional by leverage directly — do not also divide by the price.
  • Assuming one leverage fits all instruments. Regulators and brokers cap leverage differently for majors, minors, gold and indices; use the cap that applies to the instrument you are trading.

Frequently asked questions

How do I calculate required margin in forex?
Multiply lots by the contract size and the price to get the notional, then divide by your leverage: lots × contract size × price ÷ leverage.
How much margin do I need for one lot of EUR/USD?
At a price of 1.10 the notional is 110,000. On 1:100 leverage that needs about $1,100; on 1:30 it needs about $3,667. Margin scales inversely with leverage.
What is the relationship between leverage and margin percent?
They are the same thing expressed two ways: margin% = 100 ÷ leverage. So 1:100 is a 1% margin requirement, 1:50 is 2%, and 1:30 is about 3.33%.
Is margin a cost or a fee?
Neither. It is your own money set aside while the position is open and returned when you close. The costs of a trade are the spread, commission and any overnight swap.
What is a margin call?
A margin call happens when open losses erode your free margin past your broker's threshold. The broker may ask for more funds or close positions automatically. Keeping spare free margin reduces the chance of one.
Does gold use the same margin formula?
Yes, but with gold's contract size (commonly 100 ounces per lot) and often a lower leverage cap. Switch the instrument to gold so the right contract size is applied.

Related calculators