Forex Margin Calculator: How Much Margin Does Your Trade Need?
Required margin is the position's value in your account currency divided by your leverage: one standard lot of EUR/USD at 1.0850 is worth $108,500, so at 1:30 it ties up about $3,617 and at 1:50 about $2,170. The calculator above does that arithmetic for you, including the currency conversion when your account is not in the pair's quote currency. It has no live price feed, so you type in the current rate yourself.
Key takeaways
- Margin = units × price × conversion rate ÷ leverage. The margin requirement as a percentage is simply 100 ÷ leverage.
- Margin is a deposit the broker sets aside while the trade is open, not a fee and not your maximum possible loss.
- Retail caps differ by country: 50:1 on majors and 20:1 on others in the USA; 30:1 on majors and 20:1 on non-major pairs and gold in the UK and Australia.
- A standard lot is 100,000 units of the base currency; on XAU/USD one lot is 100 ounces.
- Using most of your equity as margin leaves almost no room before a margin call or stop-out.
The margin formula, step by step
Every margin figure a broker shows comes from three inputs: the size of the position in units, the price, and the leverage the broker applies to that instrument for your account type. The calculator above uses this formula:
Margin = (units × price × conversion rate to account currency) ÷ leverage
Units come from your lot size. A standard lot is 100,000 units of the base currency, a mini lot 10,000 and a micro lot 1,000 (see our guide to standard, mini, micro and nano lots). Units times price gives the value in the quote currency; the conversion rate turns that into your account currency.
Two shortcuts help. If your account currency is the pair's base currency (a USD account trading USD/JPY, say), the notional value is just the units: 100,000 USD, so at 1:50 the margin is $2,000 whatever USD/JPY is trading at. If your account currency is the quote currency (a USD account trading EUR/USD), no conversion is needed and the price does the work. The calculator detects both cases and locks the conversion field accordingly.
Worked examples for US, UK and Australian accounts
The prices below are example inputs chosen for easy arithmetic, not current quotes. Replace them with the rate on your platform when you use the tool.
| Scenario | Notional value | Leverage | Required margin |
|---|---|---|---|
| US account, 1 lot EUR/USD at 1.0850 | $108,500 | 50:1 (2%) | $2,170.00 |
| US account, 1 lot USD/MXN (non-major) | $100,000 | 20:1 (5%) | $5,000.00 |
| UK account in GBP, 1 lot EUR/USD at 1.0850, GBP/USD 1.2700 | $108,500 = £85,433 | 30:1 (3.33%) | £2,847.77 |
| Australian account in AUD, 0.5 lot GBP/JPY at 190.00, 1 JPY = 0.0101 AUD | ¥9,500,000 = A$95,950 | 30:1 (3.33%) | A$3,198.33 |
| Any USD account, 1 lot XAU/USD at $3,000 (example) | $300,000 | 20:1 (5%) | $15,000.00 |
Take the UK row. EUR/USD is quoted in dollars, so 100,000 euros at 1.0850 is $108,500. To convert dollars into pounds you divide by GBP/USD, which is the same as multiplying by 1 ÷ 1.2700 = 0.7874. That gives £85,433. At 30:1 the margin is £85,433 ÷ 30 = £2,847.77. In the calculator you would choose GBP as the account currency and enter 0.7874 in the conversion field, which is labelled "1 USD = ? GBP".
The gold row shows why metals catch people out. One lot is 100 ounces, so even at a 20:1 cap the margin on a single lot is five figures.
Regulatory leverage caps that set your margin
Your broker cannot offer more leverage than its regulator allows for your client category, and it may choose to offer less. These caps are stable rules, but brokers can apply stricter ones per instrument, so check the contract specification for the pair you trade.
- USA (CFTC/NFA): retail forex is capped at 50:1 on major pairs (2% margin) and 20:1 on others (5%). CFDs are not offered to US retail clients, and brokers must be registered with the CFTC and be NFA members. Our list of CFTC-regulated forex brokers covers who is permitted.
- UK (FCA) and EU (ESMA-based rules): 30:1 on major pairs, 20:1 on non-major pairs, gold and major indices, 10:1 on other commodities and non-major indices, 5:1 on individual shares and 2:1 on crypto CFDs, for retail clients.
- Australia (ASIC): the same structure for retail CFD clients: 30:1 majors, 20:1 minors and gold, with negative balance protection required.
Professional status or an offshore entity of the same brand can unlock higher leverage at the cost of protections. The legal entity you sign with decides which rules apply.
How to use the result
The number the calculator returns is the cash that becomes unavailable while the trade is open. Your platform shows it as "used margin". What is left over, equity minus used margin, is "free margin", and that is the buffer that absorbs floating losses. The ratio of equity to used margin, shown as a percentage, is the margin level. When it falls to the broker's margin-call threshold you get a warning; when it hits the stop-out level, positions are closed automatically. Our explainers on margin calls and the stop-out level walk through the sequence.
A practical check: open the calculator, enter the trade you plan, then compare the required margin with your equity. If one trade uses 50% of your account, a fairly ordinary adverse move can push the margin level toward a stop-out. Many experienced traders size positions from their stop loss and risk per trade first, using a position size calculator, and treat margin only as a ceiling they must stay well below.
Margin is not the same as risk
Margin tells you what the broker holds. Risk is what you lose if the trade goes wrong. A 1-lot EUR/USD trade needs about $2,170 margin at 50:1, but a 100-pip move against it costs $1,000 regardless of leverage. Leverage changes how much capital is tied up, not how much each pip is worth. The forex leverage calculator shows the other side of the picture: how large your positions are relative to your whole account.
Risk warning: Margin trading lets losses exceed what you would lose without leverage, and most retail CFD and forex accounts lose money. In the UK, EU and Australia retail accounts have negative balance protection, so you cannot lose more than your deposit. In the USA it is not a universal regulatory requirement, so read your broker's terms. Prices move fastest around news and weekend gaps, which is exactly when stop-outs fill at worse levels than expected.
Common mistakes with margin calculations
- Forgetting the conversion. A EUR account trading GBP/JPY needs the yen value converted into euros. Skipping it gives numbers that are wrong by a factor of more than 150.
- Using the wrong lot size. Entering 1 when you meant 0.1 inflates the margin tenfold. Check the "Position size" line in the results, which shows units.
- Assuming the advertised maximum applies. A broker's "up to 1:500" headline usually refers to an offshore entity, and even then exotic pairs, gold and indices often carry lower leverage.
- Ignoring margin changes. Brokers can raise margin requirements before major events or weekends.
Frequently asked questions
How do I calculate margin for 1 lot of EUR/USD?
Multiply 100,000 units by the EUR/USD price to get the position value in dollars, then divide by your leverage. At 1.0850 the position is worth $108,500, so at 30:1 the margin is about $3,617 and at 50:1 it is $2,170. For a non-USD account, convert the dollar figure into your account currency first.
What is the margin requirement at 1:30 leverage?
The margin requirement percentage is 100 divided by leverage, so 1:30 means 3.33% of the position's value. A $100,000 position therefore needs about $3,333 of margin. This is the standard retail cap on major currency pairs in the UK, the EU and Australia.
Does the calculator use live exchange rates?
No. The calculator has no market data feed. Every price and conversion rate is an input pre-filled with an editable example, so you should type in the current rate from your own trading platform. That keeps the arithmetic transparent and avoids showing you a stale quote as if it were live.
Why does my broker show a different margin figure?
Usually because of a different price, a different leverage tier for that instrument, or a different conversion rate. Brokers may also apply higher margin on large positions, exotic pairs, or before weekends and major releases. Check the contract specification in your platform and enter the leverage it lists into the calculator.
How much margin do I need for gold?
One standard lot of XAU/USD is 100 ounces, so the position value is 100 times the gold price. At an example price of $3,000, that is $300,000, which needs $15,000 at the 20:1 retail cap in the UK, EU and Australia. A 0.01 lot needs one hundredth of that.
This article is general information, not personal financial advice. Figures such as spreads, fees, leverage and rules change; confirm them with the provider and check the provider is authorised for your country of residence.