How the forex margin calculator works
When you trade with leverage, you put up only part of the value of the position. That part is the margin, and the broker keeps it aside while the position is open.
- Position value: the trade size in units multiplied by the price of the base currency (the first one in the pair) in your account currency.
- Required margin: the position value divided by the leverage.
- Margin requirement: the margin as a percentage of the position, which is 100 divided by the leverage.
One standard lot of EUR/USD is 100,000 euros. At the European Central Bank reference rate of November 20, 2026 (1.0990 dollars per euro), the position was worth $109,900. With 30:1 leverage the margin required is $3,663.33, and with 100:1 it is $1,099.00.
Leverage and margin requirement
Leverage and margin requirement are two ways of stating the same thing. The higher the leverage, the smaller the deposit needed for the same position.
| Leverage | Margin requirement | Margin for a 100,000 position |
|---|---|---|
| 10:1 | 10% | 10,000 |
| 20:1 | 5% | 5,000 |
| 30:1 | 3.33% | 3,333 |
| 100:1 | 1% | 1,000 |
In the European Union and the United Kingdom, retail clients are limited to 30:1 on major currency pairs and 20:1 on other currency pairs and gold.
Why a smaller margin is not a smaller risk
Leverage changes how much you deposit, not how much you can lose. The profit or loss of a trade depends on the size of the position and on how far the price moves, whatever the margin. A position opened with a small margin can lose more than that margin if the price moves far enough.
To size a trade from the amount you are prepared to lose, use our position size calculator, and to see the result of a price move, our forex profit calculator. Leverage limits and margin rules differ between brokers: our guide to the best forex brokers in Europe compares them.
This calculator is for information only and is not investment advice. Trading forex and CFDs with leverage carries a high risk of losing money quickly. The results are estimates: the exchange rates are reference rates from the European Central Bank, and pip sizes, lot sizes and minimum trade sizes can differ between brokers. Check your broker's contract specifications before you trade.
FAQs
What is margin in forex?
Margin is the part of your balance that the broker sets aside as a deposit while a leveraged position is open. It is not a fee: it is released when you close the position, plus or minus the profit or loss of the trade.
How do you calculate the margin required?
Multiply the trade size in units by the price of the first currency of the pair in your account currency, then divide by the leverage. With 30:1 leverage the margin is one thirtieth of the position, or 3.33%.
What is the difference between leverage and margin?
They describe the same thing from two sides. Leverage is how many times larger than your deposit the position is, and the margin requirement is the deposit as a percentage of the position. Leverage of 30:1 is a margin requirement of 3.33%, and 100:1 is 1%.
What leverage can retail traders use in Europe and the UK?
Regulators in the European Union and the United Kingdom cap leverage for retail clients at 30:1 on major currency pairs and 20:1 on other currency pairs and gold. Professional clients and clients of brokers regulated elsewhere can be offered higher leverage.
What is a margin call?
When losses reduce your equity towards the margin tied up in open positions, the broker warns you or starts closing positions to stop the account going further into loss. The level at which this happens is set by each broker.