Minimalist Trading
  1. Home
  2. Tools
  3. Margin and Leverage Calculator

Forex Leverage and Margin Calculator

Required margin, margin level and how far price can move before a margin call or stop-out.

Required margin

–

Margin level

–

Free margin

–

Leverage you actually use

–

Room to the stop-out

–

Room to the margin call

–

Position value

–

Largest position by margin

–

The same position at other leverage

LeverageMarginMargin levelRoom to the stop-out

Other position sizes at your leverage

LotsMarginMargin levelRoom to the stop-out

Enter your equity, position size and the leverage on your account. The calculator shows the margin your broker holds, your margin level, the leverage you actually use (position value divided by equity), the largest position you can carry and how far price can move before a margin call and a stop-out.

Quick answer. Required margin = position value ÷ leverage. One standard lot of EUR/USD at 1.0850 is worth $108,500; at 1:30 leverage the broker holds $3,617. On a $10,000 account that is a margin level of 276%, and price can move about 819 pips against you before a 50% stop-out. Margin is a deposit, not the amount you risk. The number that matters for risk is the leverage you actually use: one lot of EUR/USD ($108,500) on $10,000 is 10.9× whether the account is set to 1:30 or 1:500.

Understand the result. What is leverage, and how does margin work?

What margin, leverage and margin level mean

Margin is a deposit. When you open a leveraged position, the broker sets aside part of your equity as security for as long as the position is open. It is not a fee and it is not a loss: it comes back when the position closes. Leverage is the ratio between the position and that deposit. At 1:30 the broker asks for 1/30 of the position value, which is 3.33%.

The calculation has two steps. First the position value in your account currency: lots × units per lot × price, converted if the quote currency differs from yours. Then divide by the leverage. One standard lot of EUR/USD at 1.0850 is worth $108,500 for a USD account, so at 1:30 the margin is $108,500 ÷ 30 = $3,617.

Margin level, margin call and stop-out

Margin level is equity divided by required margin, as a percentage. With $10,000 against $3,617 of margin it is 276%. As the position loses money, equity falls, and so does the level. Most brokers define two thresholds, and both are broker settings:

  • Margin call. Often at 100%, where equity equals the margin. From here you usually cannot open new positions, and the broker may warn you. Some brokers call it earlier.
  • Stop-out. Often at 50% (some use 20% or other values). The broker starts closing positions automatically, usually the most losing one first, until the level recovers.

The calculator turns those thresholds into distance. In the first example, a margin call comes after a loss of about $6,383 and a stop-out after $8,192, which on one lot is roughly 638 and 819 pips (7.5% of the position value).

Leverage changes the margin, not the risk

This is the point most people miss. Take 0.5 lot of EUR/USD on $10,000 and change only the leverage. The margin falls as leverage rises, but the distance to the stop-out hardly moves, because the loss per pip is the same:

LeverageMargin for 0.5 lot EUR/USDMargin level on $10,000Pips to the stop-out
1:10$5,425184%1,458
1:20$2,712369%1,729
1:30$1,808553%1,819
1:50$1,085922%1,892
1:100$5421,843%1,946
1:200$2713,687%1,973
1:500$1089,217%1,989

What leverage really does is let you open a larger position on the same equity. The same account at 1:500 can hold 46 lots of EUR/USD before the margin is used up, against 2.8 at 1:30. Each extra lot adds $10 of loss per pip, so the room to the stop-out shrinks quickly: with $1,000 and 4 lots at 1:500, the margin is only $868, the margin level looks fine at 115%, and yet a move of 14 pips against the position reaches the stop-out. The leverage you actually use is the position value divided by your equity (434× in that case), and that is the number to watch, not the ratio your broker offers.

Size by risk first, then check the margin

Margin is a limit your broker imposes, not a plan. The sensible order is to set the stop from your chart, size the trade from the share of the account you will risk (the lot size calculator and the position size calculator do that), and only then use this page to confirm the position leaves a healthy margin level and a stop-out well beyond your stop. If your stop is beyond the stop-out, the broker closes you first.

Why your broker's number may differ

  • Margin rates by instrument. Many brokers set a different leverage for major pairs, other pairs, metals, indices and crypto, and regulators in some regions cap retail leverage, usually with a lower cap for other pairs, metals, indices and crypto than for the major forex pairs. Check your broker's regulator for the current limits, and use the leverage for the instrument you trade.
  • Tiers. Large positions can attract higher margin rates.
  • Margin currency and price. Brokers convert at their own live rates, so the figure moves with the market.
  • Several positions. Brokers net or add margin differently when you hold opposite positions (hedging), and open profit or loss changes equity.
  • Weekends and events. Some brokers raise margin before the weekend or before major news.

Treat the result as an estimate and compare it with the figure in your platform before you trade. Leveraged trading can lose more than the money you deposit with some brokers; read your broker's terms on negative balance protection.

Leverage: the broker's setting and the leverage you actually use

Two different numbers go by the name leverage. The first is the account leverage, such as 1:30 or 1:500, a setting that decides how much margin the broker holds for a position. The second is the effective leverage, which is simply your position value divided by your equity. It describes how big your positions are compared with your account, and it is the number that decides how much a price move changes your balance.

effective leverage = position value ÷ equity
account leverage = position value ÷ required margin
leverage needed for a margin budget = position value ÷ (budget × equity)Position value is lots × units per lot × price, in your account currency. A 1% move in price changes equity by effective leverage × 1%.

The distinction matters because the account setting is a cap on position size, not a measure of risk. Take 0.5 lot of EUR/USD on $5,000: the position is worth $54,250 and the effective leverage is 10.9×. At account leverage 1:30 the margin level is 276%, and at 1:500 it is 4,608%, but in both cases the stop-out is about 819 to 989 pips away. Changing the broker's setting moved the margin and left the real exposure where it was.

Your effective leverage by account size and lot size

For EUR/USD at 1.0850, one lot is worth $108,500. Effective leverage for a USD account:

Equity0.01 lots0.1 lots0.5 lots1 lot
$5002.2×21.7×108.5×217.0×
$1,0001.1×10.9×54.3×108.5×
$5,0000.22×2.2×10.9×21.7×
$10,0000.11×1.1×5.4×10.9×
$50,0000.02×0.22×1.1×2.2×

A $500 account holding 0.1 lot is at 21.7×, and the same 0.1 lot on $50,000 is at 0.22×. Lot size means little without the account behind it, and these ratios are a more honest way to compare traders than lots.

What a price move costs at that leverage

Effective leverage turns a price move into a change in equity: a move of x% in the instrument changes your equity by x% × your effective leverage, before costs. For a USD account on EUR/USD:

Leverage you actually useA 1% move against you costsPrice move that costs 10% of equityPrice move that costs 50% of equity
1×1%10.0%50.0%
5×5%2.0%10.0%
10×10%1.0%5.0%
20×20%0.50%2.5%
50×50%0.20%1.0%

At 20× a move of half a percent, which is about 54 pips on EUR/USD, costs 10% of the account, and a 2.5% move costs half of it. Brokers' stop-out levels act before that, which is why the margin level and the stop-out distance above matter. A tighter stop is the other half of the answer: the position size calculator sizes the trade so the stop, not the leverage, sets the loss.

Which broker leverage do you need?

If you want to commit at most a share of your equity as margin, the leverage you need is the position value divided by that share of equity. For one lot of EUR/USD on $10,000:

Margin you are willing to commitBroker leverage neededMargin level at that leverage
5% of equity1:2172,000%
10% of equity1:1091,005%
25% of equity1:44406%
50% of equity1:22203%

Anything above those figures is spare capacity you are not using. Having it does not oblige you to use it, and a lower setting works as a guard rail: some traders choose a lower leverage on purpose so the platform refuses a position that is too big for the account. Regulators in some regions cap the leverage retail clients can use and set lower caps for instruments other than the major pairs, so the setting you can choose depends on your broker and where it is regulated.

How to choose

  1. Decide the risk per trade and the stop distance first, and size the position from them (lot size calculator).
  2. Read the effective leverage this calculator reports for that size. If it is far above what you expected, the stop is probably too tight for the size or the size too big for the account.
  3. Check the margin level and the pips to the stop-out. The stop-out should be much further away than your stop, so the stop is hit first.
  4. Only then compare broker leverage settings, and treat a higher one as extra room for several positions, not as a reason for a bigger one.

The formulas

position value = lots × units per lot × price × (quote→account rate)
required margin = position value ÷ leverage
margin level = equity ÷ required margin × 100
free margin = equity − required margin
loss to a threshold = equity − required margin × threshold %
pips to the threshold = loss to the threshold ÷ (value of one pip per lot × lots)The quote→account rate is 1 when the quote currency is your account currency, 1 ÷ price when your account currency is the base, and a cross rate otherwise. The pip value is the same as in the pip value calculator.

Worked examples

One lot of EUR/USD at 1:30 on $10,000

Position value $108,500, margin $3,617, free margin $6,383, margin level 276%. The margin call comes after about 638 pips against you and the stop-out after about 819. That is far beyond any sensible stop on this account, which is the point: the margin is not the risk.

$3,617Margin
276%Margin level
819 pipsTo stop-out

A $500 account with 0.1 lot at 1:30

Position value $10,850, margin $362, margin level 138%. Free margin is only $138. A margin call arrives after about 138 pips and the stop-out after 319, and the position is 22× your equity. A 1% risk on $500 is $5, which with a 20 pip stop is 0.025 lots: far smaller than this.

$362Margin
138%Margin level
22×Effective leverage

The same position at 1:30 and at 1:500

One lot on $10,000. At 1:30 the margin is $3,617 and the stop-out is 819 pips away. At 1:500 the margin is $217 and the stop-out is 989 pips away. Higher leverage freed $3,400 of margin and barely moved the real limit, because the loss per pip did not change.

$3,617Margin at 1:30
$217Margin at 1:500
989 pipsStop-out at 1:500

Using the leverage: $1,000, 4 lots at 1:500

The margin is $868, only 87% of the account, and the margin level is 115%. But the position is worth $434,000, 434× the equity, each pip moves $40, and the stop-out is just 14 pips away. A normal day's movement can do that.

$868Margin
115%Margin level
14 pipsTo stop-out

USD/JPY: no conversion needed

With a USD account the position value of one lot is simply the 100,000 base units, $100,000. At 1:30 the margin is $3,333 and the margin level on $10,000 is 300%. With JPY as the quote currency the pip is worth about $6.67, so the room to the stop-out is 1,250 pips.

$3,333Margin
300%Margin level

Gold: 0.5 lot at 1:20

With 100 ounces per lot and gold at 2,400, 0.5 lot is worth $120,000, and the margin at 1:20 is $6,000. Each $1 move is $50, so the margin call comes after a $80 move against you and the stop-out after $140 (the calculator shows these as pips of 1.00).

$6,000Margin
167%Margin level

Frequently asked questions

How do you calculate margin in forex?

Margin = position value ÷ leverage, where the position value is lots × units per lot × price, in your account currency. One lot of EUR/USD at 1.0850 is worth $108,500 and at 1:30 needs $3,617 of margin.

What is margin level, and what is a good one?

Margin level is equity ÷ required margin, as a percentage. There is no universal good number: a higher level means more room before a margin call. What matters is the distance it represents: the calculator shows how many pips price can move before the margin call and stop-out, which you can compare with your stop. For one lot on $10,000 at 1:30 the level is 276%.

What is the difference between a margin call and a stop-out?

A margin call is a warning level, often 100%, at which you typically cannot open new positions. The stop-out is a lower level, often 50%, at which the broker starts closing positions automatically. Both numbers are set by the broker.

Does higher leverage mean higher risk?

Not by itself: the risk of a position comes from its size and your stop. Higher leverage lets you open a bigger position on the same equity, and the bigger position is the risk. The same position at 1:30 and 1:500 has almost the same distance to the stop-out (819 against 989 pips on one lot with $10,000).

Why does my broker show a different margin?

Brokers set margin rates by instrument, apply tiers to large positions, convert at their own live rates, and treat several positions differently (hedging or netting). Some raise margin before weekends or news. Use this page for an estimate and check the figure in your platform.

What happens at a stop-out?

The broker closes one or more positions at market price, usually starting with the biggest loser, until the margin level is back above the stop-out. In a fast move the fill can be worse than the level, and with some brokers a loss can exceed your deposit. Read your broker's terms on negative balance protection.

What is effective leverage in forex?

Effective leverage is the value of your positions divided by your equity. One lot of EUR/USD ($108,500) on $10,000 is 10.9× whatever the broker's maximum is, and a 1% move in the pair changes your equity by about 10.9%.

How do I calculate leverage from margin?

Leverage = position value ÷ required margin. A position worth $108,500 with $3,617 of margin is 1:30. The effective leverage uses equity instead of margin: position value ÷ equity.

What leverage should I use in forex?

There is no right number for everyone. Set the position size from the risk you accept and the stop distance, then look at the effective leverage that results and at the distance to the stop-out. The broker's maximum is a cap and not a target.

Is 1:500 leverage dangerous?

The setting itself changes how much margin is held, not how much you can lose on a given position. The danger is the larger positions it allows: one lot of EUR/USD ($108,500) on a $500 account is 217.0×, which is not a sensible size at any setting. Judge a position by its effective leverage and its stop, not by the account setting.

How much leverage do I need for one lot?

It depends on the margin you want to commit. One lot of EUR/USD is worth $108,500: to use at most 10% of $10,000 as margin you need at least 1:109, and for 50% at least 1:22.

Related reading: what leverage is in forex and how margin works, what the spread costs and gold lot size and pip value.

Guides that explain it

a.b

Built by a.b. I joined TradingView in December 2015 and publish indicators there. These tools use the same standards: clear logic, no hidden assumptions. Message me on TradingView chat with feedback or a tool you would like to see.

Last updated November 2026. For education only. Not financial advice. Results depend on your inputs and cannot predict future performance.