How can I calculate the margin?

Modified on Tue, 13 Aug at 2:08 PM

Margin is the amount of money that a trader needs to put forward in order to open a trade. It is a part of your equity, deferred as collateral, in order to open a position and maintain it.

This ratio is calculated using the following formula:

Margin = Volume * Contract size / Leverage

You may also find the minimum margin in the Contract Specifications section of the instrument.

Let's familiarize ourselves with some common terms that would be encountered while calculating margin requirements.

Volume:

The volume is taken in lots where:

1.00 refers to 1 standard lot or 100,000 units of the base currency.

0.10 refers to 10,000 units of the base currency.

0.01 refers to 1,000 units of the base currency.

Contract size — Equivalent to the traded amount on the Forex or CFD market, which is calculated as a standard lot size multiplied by the lot amount. The Forex standard lot size represents 100,000 units of the base currency. For CFDs and other instruments see details in the Contract Specifications page.

Leverage — The ratio of the position`s notional value to the amount of margin required for opening a position (e.g., leverage 1:20 means that a EUR 100,000 contract requires as low as 5,000 EUR margin).

However, when the client wants to open multiple trading instruments then margin requirement calculation can be done as follows:

In order to calculate the Margin Requirement, we need to first identify the type of trading account – Retail or Professional.

Retail Client

If the trading account has a retail status, we need to refer to the margin requirement for retail clients here on our Margin requirements page. The leverage is fixed for retail clients and does not vary with notional value.

The ratio of margin requirement is calculated using the following formula:


Margin requirement = Total Notional Value / Leverage


If the account currency differs from the currency of the instrument, then we need to convert the currency. If the margin currency is in the first place in the currency pair and the account currency is on the second, then we need to multiply the margin by the exchange rate. If the margin currency is in second place in the currency pair, then we need to divide the margin by the exchange rate. For example, if we have established that the margin is 100 EUR and the account currency is USD, we multiply 100 EUR by 1.04440. On the contrary, if the margin is 100 USD, then we would calculate as 100 USD / 1.04440


Total notional value: Volume * Contract Size


For example, if a position is opened as: Buy 1 lot EURUSD at 1.04440.

The notional position value in the account`s currency (USD) is 1 lot * 100,000 * 1.04440 = 104,440 USD.

Here 1 lot is the volume, 100,000 is the contract size and 1.0444 is the conversion price at the moment the order was opened (the base currency is EUR, so the base currency has been converted to the account currency). The open price is taken from the trading platform at the moment the trade is opened.

The fixed leverage of 1:30 is applied to this position and the margin requirements are calculated as: Notional value / Leverage = 104,440 / 30 = 3,481.33 USD.

Another example: Sell 2 lots GOLD at 1158.15 while the GBPUSD rate in MetaTrader is 1.22462.

GOLD is quoted in USD, so the notional position value in the account`s currency (GBP) is 2 lots * 100 oz * 1158.15 / 1.22462 = 189,144.37 GBP

Therefore, a leverage of 1:20 is applied to this position and the margin requirements are calculated as 189,144.37 / 20 = 9,457.22 GBP.

Professional Client

If the trading account has a professional status, the leverage varies depending on the notional value of the instruments traded. The Margin Requirement for professional clients can be found here.

In this case, first, we need to find which instrument belongs to the same category, and then find the notional value of each group of instruments. Depending on the total notional value of the instruments, the leverage would change; therefore, the margin requirement would change as well.

Each table applies to a certain category of instruments. The columns of margin requirement should be checked carefully for the category of instruments as well as the trading account currency.

For example, if a position is opened as: Buy 10 lots EURUSD at 1.04440.

The notional position value in the account`s currency (USD) is 10 lots * 100,000 * 1.0444 = 1,044,400 USD, which is less than the first tier of 7,500,000 USD.

Therefore, a leverage of 1:500 is applied to this position and the margin requirements are calculated as 1,044,400 / 500 = 2,088.8 USD according to the table below:

Next, if a position is opened as: Buy 100 lots on Germany40 at 11,467.88 while the EURUSD rate in MetaTrader is 1.04440.

Germany40 is quoted in EUR, so the notional position value in the account`s currency (USD) is 100 lots * 11,467.88 * 1.04440 = 1,197,705.39 USD.

The above value is more than the first tier of 500,000 USD but less than the second tier of 3,500,000 USD.

Therefore, a leverage of 1:500 is applied to the first 500,000 USD of this position and a leverage of 1:200 is applied to the remainder. So, the margin requirements are calculated as 500,000 / 500 + 697,705.39 / 200 = 4,488.53 USD.

Moreover, if a sell position is opened such as: Sell 25 lots GOLD at 1158.15 while the GBPUSD rate in MetaTrader is 1.22462.

GOLD is quoted in USD, so the notional position value in the account`s currency (GBP) is 25 lots * 100 oz * 1158.15 / 1.22462 = 2,364,304.85 GBP

The above value is more than the first tier of 400,000 GBP but less than the second tier of 2,500,000 GBP.

Therefore, a leverage of 1:500 is applied to the first 400,000 GBP of this position and a leverage of 1:200 is applied to the remainder. So, the margin requirements are calculated as 400,000 / 500 + 1,964,304.85 / 200 = 10,621.52 GBP.

Let`s open an additional position on the same instrument, for example: Sell 5 lots GOLD at 1158.15.

GOLD is quoted in USD, so the notional position value in the account`s currency (GBP) is 5 lots * 100 oz * 1158.15 / 1.22462 = 472,860.97 GBP.

The summary notional value of both positions in the account`s currency (GBP) is 2,364,304.85 + 472,860.97 = 2,837,165.82 GBP, which is more than the second tier of 2,500,000 GBP, but less than the third tier of 3,300,000 GBP.

Therefore, a leverage of 1:500 is applied to the first 400,000 GBP of the summary notional value of both positions, while a leverage of 1:200 is applied to the next 2,100,000 GBP and a leverage of 1:50 is applied to the remainder. So, the margin requirements for both positions are calculated as 400,000 / 500 + 2,100,000 / 200 + 337,165.82 / 50 = 18,043.32 GBP.


If you want to look into more examples, please kindly visit this page Margin Calculations on our website.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article