PipLedger

Forex Margin Calculator

Find out how much margin a trade needs before you open it. Works for 38 currency pairs, gold, silver, NAS100, US500 and US30, at any leverage and in 10 account currencies.

Loading prices…

Margin

Find out how much of your balance a trade will lock up as margin.

Lot size you want to open
Direction
Your firm measures the limit on
80% is common, but use your firm's own number. Your rulebook says whether it counts balance or equity.

Trades already open optional

How to add open trades

Risk and stop loss optional

Risk per trade
1 pip = 0.0001 price move

Daily loss limit optional

Your broker lists these in the symbol's contract specification (MT4/MT5: right-click the symbol, then Specification).
Lot size
Contract settings
These match most brokers. If yours differs, change them here and every calculator uses your numbers.

Disclaimer

Results are estimates for planning only. Your broker's prices, leverage, contract sizes and swap rates decide the real numbers, so check them in your trading platform before you place a trade. Trading forex and CFDs on margin carries a high risk of losing money.

What is margin in forex?

Margin is the part of your balance your broker locks while a position is open. It is not a fee: you get it back when the trade closes. What it limits is how much you can open at once. If losing trades eat into your free margin, the broker can close your positions for you.

How to use the margin calculator

  1. Pick your account currency and the instrument you want to trade.
  2. Check the price. Currency pairs and metals fill in automatically; for indices, type the price from your chart.
  3. Choose your leverage. Use the leverage your broker gives on that symbol, which is often lower on gold and indices than on currency pairs. Pick Custom to type any value.
  4. Set the lot size. The required margin updates as you type.

Margin formula

Margin = Lots × Contract size × Price ÷ Leverage

The result comes out in the pair's quote currency, and the calculator converts it into your account currency. That is why USDJPY margin starts in yen and ends in dollars.

Margin examples

TradeLeverageMargin
1 lot EURUSD at 1.14001:100$1,140
1 lot USDJPY at 157.591:100¥157,590 ≈ $1,000
0.10 lot XAUUSD at 4,2861:100$428.60
1 lot XAUUSD at 4,2861:10$42,862
1 lot NAS100 at 30,600 (contract size 1)1:20$1,530

How leverage changes margin

Leverage only changes how much of your balance is locked. At 1:500 a trade needs one fifth of the margin it needs at 1:100, but every pip is still worth the same. Your risk per pip comes from the lot size, not the leverage.

Margin level and stop out

Your platform shows a margin level: equity divided by used margin, times 100. Brokers set a margin call level and a lower stop out level, where they start closing trades. The levels differ between brokers, so check yours before you trade close to the limit.

Frequently asked questions

Is margin the money I can lose?

No. Margin is a deposit the broker holds while the trade is open. What you can lose depends on your lot size and how far price moves against you, which can be more or less than the margin.

Why is margin so high on gold and indices?

One lot of gold is 100 ounces, worth over $400,000 at current prices, and many brokers and prop firms give lower leverage on gold and indices than on currency pairs. Both push the margin up.

Does margin change while my trade is open?

At most brokers, yes. Margin is recalculated as the price moves, so it rises when the price of the instrument rises. Leave some room instead of using every dollar of free margin.

Which leverage should I enter?

The leverage your account actually has on that symbol. In MT4 or MT5 you can see it in the symbol's specification or in your account details.

More free calculators

Guides for forex and gold traders

हिंदी में पढ़ें: Lot size kaise nikale?, Prop firm challenge kaise pass kare?, Gold trading kaise kare?

Trading psychology

The habits that decide whether a good strategy makes money.

All 14 trading psychology guides

10 popular prop firms

Well-known firms for forex, gold and index traders that were still operating in 2026. Compare their rules before you buy a challenge.

Some links in this list are referral links, and PipLedger may earn a commission if you sign up, at no extra cost to you. This list is not a recommendation. Programs, prices and rules change often, so check each firm's own site, including its margin and drawdown rules, before you buy a challenge.