Margin is the amount of money required to open or maintain a position. This is not a fee or a transaction cost, it is simply a portion of your account equity set aside and allocated as a margin deposit.
Margin requirements can vary depending on the market you are trading and the size of your trade. If you do not have sufficient free equity available you will be unable to open a position on the trading platform. The free margin amount shown in the trading platform is the amount you have available to use should you wish to open additional positions.
Margin is normally expressed as a percentage of a position size (e.g. 2% or 5%). Margin can be calculated using the following formula:
Margin Requirement = (current market price x volume) / account leverage
EUR/USD is quoted at the current market price of 1.35645, your account has a leverage of 1:400 and you would like to trade one standard lot. Your margin calculation would be: (1.35645 x 100,000) / 400 = $283.91
In this example the margin on this position would be $283.91, therefore in order to open a position of this size you would require at least $283.91 in free equity in your trading account.