Forex Margin Calculator

A forex margin calculator shows how much of your account is set aside as margin to open a position. Required margin = lots × contract size × price ÷ leverage, so 1 lot of EURUSD at 1.1000 with 1:30 leverage needs $3,666.67.

Margin required
—

Margin = lots × contract size × price ÷ leverage, converted to your account currency at the rate you enter.

How do you calculate forex margin?

Required margin = lots × contract size × price ÷ leverage, the deposit your platform sets aside to keep a leveraged position open. The first three terms give the position value; dividing by the leverage gives the deposit the position ties up.

If the price is quoted in a different currency from your account, the result is converted at the exchange rate you enter.

Margin as a share of the position is 1 divided by the leverage: 10% at 1:10, 3.33% at 1:30 and 1% at 1:100.

What is a worked example of margin?

At 1:30 leverage, one standard lot of EURUSD at 1.1000 needs $3,666.67 of margin, and 0.10 lot needs $366.67. One lot is 100,000 euros, so its position value is 1 × 100,000 × 1.1000 = $110,000, and the margin is that value divided by 30.

LeverageMargin for 1 lot ($110,000 position)Margin for 0.10 lot ($11,000 position)
1:30$3,666.67$366.67
1:100$1,100.00$110.00

At 1:30, $110,000 ÷ 30 = $3,666.67, and a tenth of the size needs a tenth of the margin, $366.67.

Leverage and margin, and why the same price move is magnified in both directions, are explained in the lesson Leverage in Forex: How Leverage and Margin Work.

What does each input mean?

The calculator needs the instrument's contract size and quote currency, your position size, today's price and the leverage on your account. Your account currency sets the currency of the result, and an exchange rate field appears when the price is in another currency. The pip value calculator uses the same symbol settings.

What are the assumptions and limits?

The result is the margin to open one position at the price and leverage you enter, using generic contract sizes rather than an account's specification. Margin is a deposit, not a cap on losses. To see the margin level of all your open positions, use the margin level calculator.

Frequently asked questions

Is margin a fee?

No. Margin is a deposit set aside from your account while a position is open, and it is released when you close the position. Trading costs such as spread, commission and swap are separate.

What does 1:30 leverage mean for margin?

It means the margin is 1/30 of the position value, about 3.33%. A $110,000 position needs $3,666.67 of margin at 1:30.

Why does the required margin change when the price moves?

Because the position value is lots × contract size × price. When the price rises, the same number of lots is worth more, so it needs more margin; when the price falls, it needs less.

Can you lose more than the margin?

Yes. Margin is only the deposit the position ties up. Your profit or loss is calculated on the full position value, so a move against you can cost more than the margin, and a fast or gapping market can take a loss past the money in your account unless it has negative balance protection.

How is margin shown in an account that is not in dollars?

The arithmetic is the same; the result is converted into your account currency at the current exchange rate. Choose your account currency and enter today's rate from your platform, and the calculator shows the margin in that currency.

Sources

Practise what you learned

Open an account to use MetaTrader 5. Start on a demo account before risking real money.

Open Account