How to calculate the margin of a FX position
The following formula is used to calculate the margin required to open a Forex position:
Position size / leverage = Margin in base currency of the pair
If your account currency is different from the base currency of the pair traded, you’ll need to convert the amount obtained from the above formula in your account currency.
Margin calculation example
Let’s say you want to open a 1 lot position for EURZAR pair and your account currency is USD. The account leverage is 50 and the current EURUSD rate is 1.25.
The margin required to open the position is:
100,000 / 50 = 2000 €
2000 * 1.25 = 2500 US$