Free forex and gold calculator

Forex Margin Calculator

This forex margin calculator shows how much money your broker sets aside to hold a position open at a given leverage. Margin is the position's value divided by the leverage, so 0.10 lots of EUR/USD at 1.1000 with 1:30 leverage needs $366.67.

Free, no sign-up, runs in your browser. Last updated · Not financial advice.

Calculator

Forex margin calculator

For EUR/USD or EUR/JPY, enter the EUR/USD price.

lots

Set by your broker and regulator. It often differs between currency pairs and gold.

USD

Result

Margin required
$366.67
Position value
$11,000.00
Margin rate
3.33%
Share of your balance used as margin
36.7%
Balance left as free margin
$633.33

Margin is a deposit held while the trade is open, not a cost and not your maximum loss. Assumes a US dollar account.

How it works

The margin formula

Position value
Lots × contract size × price of the first currency in USD
Margin required
Position value ÷ leverage
Margin rate
1 ÷ leverage (1:30 is 3.33%)

Worked example: EUR/USD at 1:30

Trade size
0.10 lots (10,000 euros)
EUR/USD price
1.1000
Position value (10,000 × 1.1000)
$11,000
Leverage
1:30
Margin required ($11,000 ÷ 30)
$366.67
On a $1,000 account that leaves $633.33 of free margin to absorb losses before a margin call.
Margin for a $10,000 position at different leverage
LeverageMargin rateMargin required
1:1010.00%$1,000.00
1:205.00%$500.00
1:303.33%$333.33
1:502.00%$200.00
1:1001.00%$100.00
1:5000.20%$20.00

Inputs

What each input means

  • Market

    Sets how the position's dollar value is worked out. Gold uses ounces and the gold price.

  • Trade size

    In lots. One forex lot is 100,000 units; one gold lot is 100 ounces at most brokers.

  • Leverage

    The ratio your broker gives for that market. Regulators cap it, and gold often has a lower cap than major pairs.

  • Account balance

    Optional. Shows how much of the account the margin ties up.

Read this first

What the numbers do not tell you

  • Margin is not your risk. The loss on a trade depends on position size and stop distance, not on the margin held.
  • Higher leverage lowers the margin but does not make a trade safer. It lets you open positions that are too large for the account.
  • If losses reduce your equity below the broker's margin level, positions can be closed automatically at a loss.
  • Leverage limits and margin rules differ by broker, regulator and market, and can change around news or weekends.

Risk warning

Trading forex and gold with leverage can lose money quickly, including more than you planned if a stop loss slips. This tool does arithmetic on the numbers you enter. It does not know your broker's terms and it is not advice.

FAQ

Forex margin calculator FAQ

How is margin calculated in forex?

Divide the position's value by the leverage. A 0.10 lot EUR/USD trade at 1.1000 is worth $11,000, so at 1:30 leverage the margin is $11,000 ÷ 30 = $366.67.

What is the difference between margin and leverage?

Leverage is the ratio between the position's value and the deposit needed to open it, and margin is that deposit. Leverage of 1:50 is the same thing as a 2% margin rate.

How much margin do I need for 1 lot of gold?

Multiply the gold price by 100 ounces and divide by the leverage. With gold at $4,000 and leverage of 1:20, one lot needs $400,000 ÷ 20 = $20,000, and 0.01 lots needs $200.

What is free margin?

Free margin is the equity not tied up in open positions. It is what remains to open new trades and to absorb losses on existing ones.

What is a margin call?

A margin call happens when losses pull your equity down to the broker's required level for the positions you hold. If equity keeps falling, the broker closes positions automatically at the stop-out level.