- Position value
- -
- Margin rate
- -
- Free margin after opening
- -
- Margin level at open
- -
- Same position at 1:30 / 1:100 / 1:500
- -
Figures are worked out in your browser from what you type; nothing is sent anywhere. Prices and conversion rates are indicative starting values from October 2026: type the current ones for an exact answer.
How margin is calculated
A position's value is the number of units of the base currency, converted into your account currency. The margin is that value divided by the leverage, or multiplied by the margin rate, which is the same thing written the other way: 1:30 is a 3.33% margin rate, 1:100 is 1%, 1:500 is 0.2%.
Required margin = (lots × contract size × price of the base in account currency) ÷ leverage
For a pair whose base is your account currency (USD/JPY in a USD account), the price term is 1. For one whose quote is your account currency (EUR/USD in a USD account), the price term is the pair's price. For a cross (EUR/GBP in a USD account), it is the base's rate against your currency (EUR/USD).
Worked example: one lot of EUR/USD
Position value: 1 × 100,000 × 1.08 = $108,000.
At 1:30: $108,000 ÷ 30 = $3,600. At 1:100: $1,080. At 1:500: $216.
A 50-pip loss on this position is $500 in every case. The leverage changed the deposit, not the risk.
Worked example: margin level
Margin: 0.5 × $108,000 ÷ 30 = $1,800. Free margin: $5,000 − $1,800 = $3,200. Margin level: $5,000 ÷ $1,800 = 278%.
The broker's stop-out, at 50% margin level, would be reached when equity falls to $900: a loss of $4,100, or 820 pips on half a lot. In practice the trader's own stop-loss should close the position long before, and the margin level is a measure of how much room there is for several positions at once rather than a loss limit on one.
Reading the result
The useful figure is not the margin itself but what is left after it: the free margin, and the margin level. A level above 300% means the account could take a substantial adverse move or hold several more positions without a margin call; a level near 100% means a modest move will trigger one. The margin guide explains the levels and what the broker does at each one, and the leverage guide covers why the ratio you are offered depends on where you live.
Note what this calculator does not do: it does not tell you what size to trade. That comes from the stop distance and the risk you accept, which is the lot size calculator's job. Size the position there first; then check here that the margin fits.
Questions people ask
What is required margin?
The share of a position's value the broker holds while it is open: the position size divided by the leverage. One standard lot of EUR/USD at 1.0800 is $108,000 of notional value, so at 1:30 the margin is $3,600 and at 1:100 it is $1,080.
Is margin a cost?
No. It is your own money, set aside while the position is open and released when it closes. The costs are the spread, any commission and the overnight swap.
Why does my broker ask for more margin than this?
Three usual reasons: the instrument carries a higher margin rate than forex majors (gold and indices are typically 5%, shares 20% under ESMA rules); the broker raises margin before weekends and major news; or your leverage is tiered and falls as your total exposure grows. The instrument specification on the platform shows the rate in force.
What happens when free margin runs out?
You cannot open new positions. If losses then push the margin level down to the broker's stop-out level, commonly 50%, positions are closed automatically. The margin guide works through the levels.