Margin calculator

This margin calculator shows the deposit a provider holds while a leveraged trade is open. Margin is not a fee; it is collateral, returned when the position closes. What it reveals is how large the position really is compared with the money you put down.
The formula
Required margin = notional value ÷ leverage
Margin as a percentage = 1 ÷ leverage
Worked examples
- EUR/USD, 1 lot at 1.0850, 30:1. Notional: 100,000 × 1.0850 = $108,500. Margin: 108,500 ÷ 30 = $3,616.67.
- USD/JPY, 1 lot, 30:1. The base currency is already dollars, so the notional is $100,000 and the margin is 100,000 ÷ 30 = $3,333.33.
- Gold, 1 lot (100 oz) at an illustrative $3,000, 20:1. Notional: $300,000. Margin: 300,000 ÷ 20 = $15,000.
Prices are illustrative; enter current ones for a live answer.
How to read the result
Compare the margin with your balance. Whatever is left over is free margin, the cushion that absorbs losses. As a trade moves against you, free margin shrinks, and UK and EU providers must start closing positions for retail clients when equity falls to 50% of the margin required. In the first example above, a 50-pip move against you is $500, which already consumes nearly 14% of the margin.
For UK and EU retail clients, the leverage caps are 30:1 on major currency pairs, 20:1 on other pairs, gold and major indices, 10:1 on other commodities, 5:1 on shares and 2:1 on crypto. US retail forex is capped at 50:1 on majors and 20:1 on others. Setting leverage higher in the calculator does not change the size of the risk, only how little collateral covers it.
Use the position size calculator to decide the size first, then check the margin here. The forex guide explains leverage in context.
Sources
- European Securities and Markets Authority, CFD product intervention measures
- UK Financial Conduct Authority, CFD rules for retail clients
- US CFTC and NFA, retail forex leverage limits