Skip to content
CompareForexBrokers

Forex Margin Calculator

I treat margin as the first number to check before any leveraged trade, and my recommendation is to run the planned position through this calculator rather than estimate it by hand. It shows the capital required up front.

Justin Grossbard, Co-Founder of CompareForexBrokers Written by Justin Grossbard Last updated:

Why trust Compare Forex Brokers. Our reviews are reader-supported. We may receive payment when you click a link to a partner site. Learn how we make money.

Trading Forex and CFDs with leverage poses significant risk of loss to your capital.

The margin needed to open a position, in your account currency, at the leverage you select.

Margin Calculator

Margin required under the retail leverage cap of your choice, or at the leverage your broker states

Leverage as entered100:1

Rates as of Fri 9 Oct 2026, 5pm New York close

A 1.00-lot EUR/USD position needs US$1,120.90 margin at 100:1 leverage.

US$1,120.90

margin required

  • Notional valueUS$112,090.00
  • Leverage, as entered100:1
  • Margin rate1%
  • Close-out levelSet by your broker; no regulatory floor applies

Your margin estimate is driven by the instrument, standard lots, account currency, your selected leverage rule and any broker-entered leverage. Where a regulatory selection applies, it uses the stored leverage tiers for that regime. The rule and the date of the daily 5pm New York close from our rates service are displayed with your result.

The Forex Margin Calculator estimates the initial margin required to open a position, based on the instrument, the position size in standard lots, the account currency, the leverage rule selected, and a dated daily closing rate for the currency conversion. Results update as inputs change, and the market data behind them is a daily snapshot, not a live quote. It covers FX pairs and gold, and separates the opening margin from the close-out rule.

How To Use The Forex Margin Calculator

  1. Choose your Instrument, which defaults to EUR/USD. The selector covers all 14 supported FX pairs: GBP/USD, EUR/USD, EUR/GBP, USD/JPY, GBP/JPY, EUR/JPY, USD/CAD, USD/CHF, GBP/CHF, EUR/CHF, AUD/USD, NZD/USD, AUD/JPY, and USD/SGD, plus XAU/USD for gold.
  2. Enter your Position size in standard lots, which defaults to 1.00. One lot is 100,000 units of the pair’s base currency, or 100 ounces for gold.
  3. Select your Account currency, which defaults to USD, from USD, EUR, GBP, AUD, SGD, CAD, NZD, or MYR. This is the currency of the result, separate from the pair’s base currency.
  4. Pick your Leverage rules. The default, broker-stated leverage, applies exactly the entered leverage with no regulatory cap and no close-out floor. A regulatory regime instead applies that regime’s stored tier, though XAU/USD has no stored retail tier for some selections and then shows No retail tier instead of a result.
  5. If broker-stated rules are kept, enter your Leverage as a ratio to 1, such as 100 for 100:1. The default of 100 is an example, not a recommendation.

The calculation runs as inputs change, so there is no button to press. I find that immediacy useful, because each new size or leverage value produces its own result on the spot.

How Initial Margin Is Calculated

The notional value comes first: 100,000 multiplied by the lot size, converted from the pair’s base currency into the account currency using the daily close in effect. Gold works the same way, with a notional of 100 ounces per lot multiplied by the XAU/USD price. The initial margin is the notional divided by the selected leverage, and the margin rate in per cent is 100 divided by that leverage. As neutral arithmetic, a hypothetical US$100,000 notional at 100:1 requires US$1,000 of initial margin. If a required rate is missing or an input is invalid, the tool produces no result rather than a zero cost.

Reading The Margin Result

The primary output is the margin required, followed by a breakdown showing the notional value, the leverage applied, the margin rate, and the close-out level. Under the default broker-stated setting the close-out label reads Set by your broker, because the calculator applies no cap or floor of its own. The initial margin to open a position and the close-out rule your broker enforces are separate things, and actual margin terms can differ from this estimate. In my view that separation is the most useful part of the result.

Putting Margin In Context

I recommend pairing this tool with our Forex Lot Size Calculator when deciding how large a position fits your account, and our Forex Profit and Loss Calculator for the scenario outcome at entered prices. This result covers margin only and deducts no fees, so a separate spread and commission check is available through our Broker Fee Comparison Calculator. Our guides on what leverage in forex is and what margin in forex is explain how the two interact, and the full set sits on the forex calculators hub. The formulas and rate handling come from the CompareForexBrokers calculator implementation, with broader site practices described in our methodology. My suggestion is to check pip exposure as well with our Forex Pip Calculator, since margin and pip value together shape the risk of a position.

Disclaimer Please keep in mind that our calculators are for informational purposes only. The results they provide do not constitute financial or investment advice.

Our reviews are reader-supported. We may receive payment when you click a link to a partner site. Learn how we make money.

FAQs

Which Account Currencies Does The Margin Calculator Support?
Eight currencies are supported: USD, EUR, GBP, AUD, SGD, CAD, NZD, and MYR. The notional is converted into the selected one using the closing rate. MYR uses the stored page rate, which can be older than the close displayed. If a required rate is unavailable, no valid result is produced.
Does The Calculator Use Live Streaming Prices?
No, results recalculate immediately when an input changes, but the exchange rates behind them are daily closing rates set at 5pm New York, not streaming quotes. The result prints the close in use, so it is clear which rate produced the figure. A broker's live rate at the moment of trade may differ.
What Does The Close-Out Level Show?
It depends on the leverage rule selected. Under the default broker-stated setting, the label reads Set by your broker, because no regulatory cap or close-out floor is applied. Selecting a regulatory regime applies that regime's stored tier, and any stored close-out floor is shown in place of the default label.
How Is Gold Margin Different From Forex Margin?
A standard XAU/USD lot is 100 ounces rather than 100,000 units of a base currency. The gold notional is 100 multiplied by the lot size and the XAU/USD price, converted into the account currency, then divided by the selected leverage. The margin rate in per cent remains 100 divided by the leverage.
Does The Calculator Check Whether An Account Can Sustain The Trade?
No, the calculator estimates the initial margin for the entered position only. It does not assess whether the rest of an account could sustain the trade, and it does not forecast prices, guarantee execution, or guarantee an outcome. A broker's actual margin terms can differ, so treat the result as a scenario figure at the entered size, leverage, and dated rate.

About the author

Justin Grossbard, Co-Founder of CompareForexBrokers

Justin Grossbard

Justin Grossbard is the Co-Founder and CEO of CompareForexBrokers, which he established with Noam Korbl in 2014. He has over 20 years of professional experience in online marketing and holds a Master's in Marketing from Monash University.

LinkedIn · X / Twitter