Forex Margin Calculator
Margin is the deposit your broker takes before letting the order through, and most platforms stop there. This page goes one step further: it also measures the gap between your current equity and the maintenance line, in money, in pips and in price, so the number you watch is the one that closes positions.
What this page does not do: it does not tell you how many lots to trade. Nothing here turns a risk budget into a size — that is the forex position size calculator's job. This page takes the size as given and reports what it costs in margin and how close it puts you to a call.
At a glance
- Required margin = notional ÷ leverage. One lot of EUR/USD at 1.1000 is 110,000.00 of exposure, so at 1:30 the broker holds 3,666.67 and leaves 6,333.33 free on a 10,000.00 account.
- The line that closes trades is the maintenance requirement, half the initial margin here: 1,833.33. Losing 8,166.67 reaches it.
- At 10.00 per pip on that lot, 8,166.67 is 816.67 pips of room — the whole distance the pair would have to travel against you.
- Adding size eats the room faster than it eats the free margin. Doubling to 2.00 lots leaves 2,666.67 free but only 316.67 pips; at 2.72 lots, the largest that still opens, 184.31 pips.
- Twenty-one of the pairs below have USD as the base currency, so one lot is exactly 100,000.00 of notional whatever the price does — their margin does not move as the market moves.
Three margin numbers, and which one closes trades
Required margin is what the broker takes to open the position. Free margin is what is left for the next idea. Neither of those stops anything. The maintenance requirement is the third figure — the level your equity is not allowed to fall below while the position is open — and it is the one that turns into liquidation.
The last two lines are what this page adds to the usual margin box. A platform that shows "margin required: 3,666.67" is answering whether the ticket will be accepted. A platform that shows "816.67 pips before anything closes" is answering whether you can survive being wrong — and those answers are not proportional, because pip value grows with the size while equity does not.
Brokers set the maintenance rate themselves and some express it as a percentage of notional rather than of initial margin; the field above takes it as a share of the initial margin, which is the common retail form, and 50% is the usual default. Check the figure in your own account terms before trusting the distance.
Worked example: one lot of EUR/USD on a 10,000 account
Equity 10,000.00 USD, no other trades open, EUR/USD at 1.1000, one standard lot, broker offering 1:30, maintenance set at 50% of initial margin. Each row below is one operation you can repeat by hand.
| Step | Arithmetic | Result |
|---|---|---|
| Units in the trade | 1.00 x 100,000 | 100,000 EUR |
| Notional in USD | 100,000 x 1.1000 | 110,000.00 USD |
| Required margin | 110,000.00 / 30 | 3,666.67 USD |
| Free margin after the order | 10,000.00 - 3,666.67 | 6,333.33 USD |
| Margin level | 10,000.00 / 3,666.67 | 272.73% |
| Maintenance line | 3,666.67 x 50% | 1,833.33 USD |
| Loss that reaches it | 10,000.00 - 1,833.33 | 8,166.67 USD |
| Pip value of this position | 100,000 x 0.0001 | 10.00 USD/pip |
| Pips to a margin call | 8,166.67 / 10.00 | 816.67 pips |
| The same thing in price | 816.67 x 0.0001 | 0.0817 (1.0183) |
The jump from row five to row six is the one people miss. A margin level of 272.73% looks comfortable, and it is — measured against the initial margin. Measured against the maintenance line, the account can absorb 8,166.67, which is four fifths of the balance but only 0.0817 of price on this pair. Both statements are true at once, and the second one is the one that decides whether a losing week ends with the position still open.
Check it forward: EUR/USD falling 816.67 pips from 1.1000 lands at 1.0183. Equity there is 10,000.00 - 8,166.67 = 1,833.33, which is exactly the maintenance line — where the call fires. Any tick beyond that and the broker decides what happens next, not you.
Nothing in that arithmetic changes if the entry is long or short: the notional, the margin and the pip value are the same either way, and only the direction of the adverse move differs.
What adding size does to the distance
Here is the part that surprises people. Doubling your size doubles the pip value but leaves the equity unchanged, so the number of pips you can survive falls faster than the size grows. Run the same EUR/USD example at five different lot counts and the pattern is unmistakable.
| Lots | Notional USD | Required margin | Free margin | Maintenance line | Loss that reaches it | Pip value | Pips to a call | Price distance |
|---|---|---|---|---|---|---|---|---|
| 0.50 | 55,000.00 | 1,833.33 | 8,166.67 | 916.67 | 9,083.33 | 5.00 | 1,816.67 | 0.1817 |
| 1.00 | 110,000.00 | 3,666.67 | 6,333.33 | 1,833.33 | 8,166.67 | 10.00 | 816.67 | 0.0817 |
| 1.50 | 165,000.00 | 5,500.00 | 4,500.00 | 2,750.00 | 7,250.00 | 15.00 | 483.33 | 0.0483 |
| 2.00 | 220,000.00 | 7,333.33 | 2,666.67 | 3,666.67 | 6,333.33 | 20.00 | 316.67 | 0.0317 |
| 2.72 | 299,200.00 | 9,973.33 | 26.67 | 4,986.67 | 5,013.33 | 27.20 | 184.31 | 0.0184 |
The last row deserves a second look, because it is the largest position this account can open at all. Free margin there is 26.67 — a rounding error against a 10,000.00 balance — and any adverse tick starts eating into the buffer immediately. It also means that on this account and this pair, the practical ceiling on size is set by margin, not by preference: 300,000.00 of notional at 1:30 is 2.7272 lots, which rounds down to the 1,000-unit step at 2.72.
Notice too that none of these five rows changes your stop or your risk budget. A 30-pip stop on the 2.72-lot row risks 816.00, while the same stop on the half-lot row risks 150.00. Margin decided which of them you were allowed to place; only the stop and the budget decide which of them you should have. That calculation lives in the forex position size calculator, and the two of them used together are what keeps the answer honest.
One lot does not cost the same on every pair
Contract size is uniform across forex at 100,000 units, so you might expect every standard lot to tie up the same margin. It does not: the notional depends on which currency you are actually holding, and the pip value depends on how that pip is quoted. Five pairs below, one lot each, same account.
| Pair | Price used | Conversion | Notional USD | Required margin | Pip value | Pips to a call | Distance in price |
|---|---|---|---|---|---|---|---|
| NZD/USD | 0.6000 | none | 60,000.00 | 2,000.00 | 10.00 | 900.00 | 0.0900 |
| EUR/USD | 1.1000 | none | 110,000.00 | 3,666.67 | 10.00 | 816.67 | 0.0817 |
| GBP/USD | 1.2500 | none | 125,000.00 | 4,166.67 | 10.00 | 791.67 | 0.0792 |
| USD/JPY | 150.00 | none (USD is the base) | 100,000.00 | 3,333.33 | 6.67 | 1,250.00 | 12.50 |
| EUR/JPY | 160.00 | JPY to USD at 0.006667 | 106,666.67 | 3,555.56 | 6.67 | 1,233.33 | 12.33 |
The three USD-quoted pairs have identical pip values and near-identical distance in pips, and the whole difference between them comes from the base currency's price: 60,000.00 against 125,000.00 of notional for the same lot count. A rule written as "I trade one lot" is therefore a different size of bet on each of those three pairs before you consider anything else.
The two yen rows are the interesting pair. USD/JPY holds exactly 100,000.00 of notional whatever the price does, because the units being bought are dollars — its margin is fixed at 3,333.33 until you close it. EUR/JPY carries the conversion the whole way through, and its pip value is quoted in yen before being carried into dollars, which is why both rows show 6.67 per pip against 10.00 on the dollar-quoted pairs. Compare distance in pips across those two groups and you are comparing different-sized units; compare it in price, as the last column does, and the comparison makes sense.
Practical consequence: if you are choosing between pairs with the same stop distance in pips, the cheaper one in margin is the one with the lower base-currency price, and the one with more room is the one whose pip value in your currency is smaller. Neither of those is visible in a platform dialogue that reports a lot count as "1".
The 67 forex contracts, as published
The complete forex block from the contract specification file that ships with this site, reproduced exactly as published — no rounding, no reordering, no symbols omitted. These are the defaults the calculator above reads when you pick a pair, and they are what every number on this page was derived from.
| symbol | asset_class | quote_currency | pip_size | contract_size | unit_step |
|---|---|---|---|---|---|
| AUD/USD | forex | USD | 0.0001 | 100000 | 1000 |
| EUR/USD | forex | USD | 0.0001 | 100000 | 1000 |
| GBP/USD | forex | USD | 0.0001 | 100000 | 1000 |
| NZD/USD | forex | USD | 0.0001 | 100000 | 1000 |
| USD/JPY | forex | JPY | 0.01 | 100000 | 1000 |
| USD/CHF | forex | CHF | 0.0001 | 100000 | 1000 |
| USD/CAD | forex | CAD | 0.0001 | 100000 | 1000 |
| USD/MXN | forex | MXN | 0.0001 | 100000 | 1000 |
| USD/ZAR | forex | ZAR | 0.0001 | 100000 | 1000 |
| USD/TRY | forex | TRY | 0.0001 | 100000 | 1000 |
| USD/SEK | forex | SEK | 0.0001 | 100000 | 1000 |
| USD/NOK | forex | NOK | 0.0001 | 100000 | 1000 |
| USD/DKK | forex | DKK | 0.0001 | 100000 | 1000 |
| USD/PLN | forex | PLN | 0.0001 | 100000 | 1000 |
| USD/HUF | forex | HUF | 0.0001 | 100000 | 1000 |
| USD/CZK | forex | CZK | 0.0001 | 100000 | 1000 |
| USD/SGD | forex | SGD | 0.0001 | 100000 | 1000 |
| USD/HKD | forex | HKD | 0.0001 | 100000 | 1000 |
| USD/CNH | forex | CNH | 0.0001 | 100000 | 1000 |
| USD/THB | forex | THB | 0.0001 | 100000 | 1000 |
| USD/MYR | forex | MYR | 0.0001 | 100000 | 1000 |
| USD/PHP | forex | PHP | 0.0001 | 100000 | 1000 |
| USD/IDR | forex | IDR | 0.0001 | 100000 | 1000 |
| USD/INR | forex | INR | 0.0001 | 100000 | 1000 |
| USD/KRW | forex | KRW | 0.0001 | 100000 | 1000 |
| EUR/JPY | forex | JPY | 0.01 | 100000 | 1000 |
| GBP/JPY | forex | JPY | 0.01 | 100000 | 1000 |
| AUD/JPY | forex | JPY | 0.01 | 100000 | 1000 |
| CAD/JPY | forex | JPY | 0.01 | 100000 | 1000 |
| CHF/JPY | forex | JPY | 0.01 | 100000 | 1000 |
| NZD/JPY | forex | JPY | 0.01 | 100000 | 1000 |
| EUR/GBP | forex | GBP | 0.0001 | 100000 | 1000 |
| EUR/AUD | forex | AUD | 0.0001 | 100000 | 1000 |
| EUR/CAD | forex | CAD | 0.0001 | 100000 | 1000 |
| EUR/CHF | forex | CHF | 0.0001 | 100000 | 1000 |
| EUR/NZD | forex | NZD | 0.0001 | 100000 | 1000 |
| EUR/SEK | forex | SEK | 0.0001 | 100000 | 1000 |
| EUR/NOK | forex | NOK | 0.0001 | 100000 | 1000 |
| EUR/DKK | forex | DKK | 0.0001 | 100000 | 1000 |
| EUR/PLN | forex | PLN | 0.0001 | 100000 | 1000 |
| EUR/TRY | forex | TRY | 0.0001 | 100000 | 1000 |
| EUR/ZAR | forex | ZAR | 0.0001 | 100000 | 1000 |
| EUR/MXN | forex | MXN | 0.0001 | 100000 | 1000 |
| EUR/HUF | forex | HUF | 0.0001 | 100000 | 1000 |
| EUR/CZK | forex | CZK | 0.0001 | 100000 | 1000 |
| EUR/SGD | forex | SGD | 0.0001 | 100000 | 1000 |
| EUR/HKD | forex | HKD | 0.0001 | 100000 | 1000 |
| GBP/AUD | forex | AUD | 0.0001 | 100000 | 1000 |
| GBP/CAD | forex | CAD | 0.0001 | 100000 | 1000 |
| GBP/CHF | forex | CHF | 0.0001 | 100000 | 1000 |
| GBP/NZD | forex | NZD | 0.0001 | 100000 | 1000 |
| GBP/SEK | forex | SEK | 0.0001 | 100000 | 1000 |
| GBP/NOK | forex | NOK | 0.0001 | 100000 | 1000 |
| GBP/PLN | forex | PLN | 0.0001 | 100000 | 1000 |
| GBP/ZAR | forex | ZAR | 0.0001 | 100000 | 1000 |
| GBP/TRY | forex | TRY | 0.0001 | 100000 | 1000 |
| GBP/SGD | forex | SGD | 0.0001 | 100000 | 1000 |
| AUD/CAD | forex | CAD | 0.0001 | 100000 | 1000 |
| AUD/CHF | forex | CHF | 0.0001 | 100000 | 1000 |
| AUD/NZD | forex | NZD | 0.0001 | 100000 | 1000 |
| AUD/SGD | forex | SGD | 0.0001 | 100000 | 1000 |
| AUD/HKD | forex | HKD | 0.0001 | 100000 | 1000 |
| CAD/CHF | forex | CHF | 0.0001 | 100000 | 1000 |
| NZD/CAD | forex | CAD | 0.0001 | 100000 | 1000 |
| NZD/CHF | forex | CHF | 0.0001 | 100000 | 1000 |
| NZD/SGD | forex | SGD | 0.0001 | 100000 | 1000 |
| CHF/PLN | forex | PLN | 0.0001 | 100000 | 1000 |
Read for margin purposes, those 67 rows sort into three behaviours, and knowing which group a pair sits in tells you how its margin will behave while the trade is open.
Twenty-one rows hold exactly 100,000.00 of notional, always. Every pair with USD as the base currency — USD/JPY through USD/KRW in the block above — represents 100,000 dollars of exposure regardless of where the price goes. Their required margin does not drift as the market moves, because there is nothing to convert. Their pip value does move, though: on USD/JPY it is contract size times pip size divided by the price, so the same lot is worth slightly fewer dollars per pip at 155.00 than at 150.00.
Four rows need no conversion and reprice as they move. AUD/USD, EUR/USD, GBP/USD and NZD/USD are quoted in dollars, so notional is units times price — and every tick changes both the notional and the margin tied to it, in the way the worked example shows. The other sixty-three rows either never change or need a rate you supply.
Forty-two rows are crosses, and six of those quote in yen. For a cross, the notional arrives in a third currency and has to be carried into your account's currency at a rate that only you can supply — the calculator will not guess one, because a guessed rate produces a guessed margin figure and a guessed distance to the call. The six yen crosses are EUR/JPY, GBP/JPY, AUD/JPY, CAD/JPY, CHF/JPY and NZD/JPY. USD/JPY is not among them even though it quotes in yen, because there USD is the base currency: it belongs to the twenty-one above, where nothing has to be converted. Seven rows carry a pip size of 0.01 — those six plus USD/JPY — and the remaining sixty use 0.0001. Comparing "pips to a call" between those two groups without converting into money first is comparing units that differ by a factor of a hundred.
What the margin figure cannot tell you
Margin answers one question: will this order open, and how much of the balance disappears into it. It says nothing about whether the trade deserves the size it was given, and nothing about what happens after the spread widening at a Friday close.
Two things routinely break the arithmetic above. The first is that requirements change around weekend holds and major announcements; brokers raise margin rates ahead of them, which moves the required figure without any change in what you are holding. The second is that a second position does not add risk in the calm way this single-trade page implies: margin is aggregated across every open order, so three small positions can leave less room in aggregate than one large one, and only your own book can tell you that.
The useful habit is to read the pips column before the click rather than the margin column. If the distance from here to your maintenance line is shorter than your intended stop plus the usual slippage, the size is wrong whatever the platform says about whether it fits — and the size that fits is worked out from the risk budget and the stop distance, not from the remaining free margin. The mechanics behind that split are set out in leverage, margin and position size; this page does the arithmetic only.
Before you accept the number
- Confirm the maintenance rate your broker actually uses, and whether it is quoted against initial margin or against notional — the same 50% means different things in the two conventions.
- Put the margin already used by open trades into the field. A page that only looks at one order shows more free margin than the account has.
- Convert crosses with a rate you looked up today. On EUR/JPY the rate carries both the notional and the pip value, so a stale one distorts the whole result.
- Read the pips-to-call figure against your stop distance, not against your hopes for the week. If the stop is further away than the call, the size has to come down.
- Re-run the figure after a large move. This page holds notional at the entry price, which is right at the click and approximate twenty figures later.
- Settle the size first, then check margin. Sized from risk and stop distance, then verified against margin, is the order that keeps both numbers honest.
What people call this
A margin call calculator is asking for the part of this page that most calculators leave out: the distance from your current equity to the level at which positions start closing. It is the same arithmetic as the last four rows here — maintenance line, the loss that reaches it, then that loss divided by the pip value of the position — and it is why the answer is given in pips and in price rather than only in currency. Where this page stops at the pip count, the margin call calculator starts: it works in equity instead, giving the level that trips the call, the deposit that clears it, and the notional you would have to cut instead.
A forex margin calculator in the narrower sense stops at required margin and free margin, which is what most brokers publish on their own sites. Both versions need the same three things from you — the pair, the size, and the leverage the account offers — and neither of them decides how much you should be trading.
Questions traders ask
How much margin do I need for one lot of EUR/USD?Notional divided by the leverage your account offers. One standard lot is 100,000 units, so at 1.1000 that is 110,000.00 of notional, and at 1:30 the broker holds 3,666.67. The same lot at 1:500 costs 220.00 — the exposure is identical in both cases, only the deposit differs.
What is a good margin level?High enough that a normal losing streak does not approach the maintenance line. On this page's worked example a level of 272.73% sounds safe and buys 816.67 pips of room; at the largest size the account can open the level barely clears 100% and 184.31 pips are left. Compare it against the move you intend to survive, not against round numbers.
How many pips until I get a margin call?Take the maintenance line from your equity, then divide by the pip value of the whole position. Here: 1,833.33 maintenance leaves 8,166.67 of tolerable loss, and one lot of EUR/USD is worth 10.00 a pip, giving 816.67 pips. Double the size and the pip value doubles while the tolerable loss only falls — which is why the answer collapses to 316.67 pips at two lots.
Why does my free margin look fine but the trade still closes?Because free margin is measured against initial margin and closing happens at the maintenance line, which is lower. In the worked example the order leaves 6,333.33 free, yet the relevant figure is that equity can only fall by 8,166.67 before hitting the maintenance requirement of 1,833.33 — and with several positions open those requirements add up while your equity does not.
Does higher leverage change my risk?Not the risk in the trade — it changes the deposit and therefore how large a position the account will accept. The same one lot keeps its 110,000.00 of exposure and its 10.00 per pip whether the cap is 1:30 or 1:500; the cap only decides whether there is enough margin left for the next order, and how little room the maintenance line leaves.
Related guides
- Forex position size calculator — risk budget and stop distance turned into units, which is what sets the size this page checks.
- Leverage calculator — effective leverage and the margin from notional and equity.
- Position size by instrument — contract size and step for all 131 symbols, and why the same budget gives a different lot count on each.
- Stop loss calculator — the stop distance your risk budget pays for, with spread and commission taken out first.
- Reference data — the four files every figure on this site is cut from.