1. Home
  2. Calculators
  3. Margin & leverage calculator

Free calculator

Margin & leverage calculator

How much of your balance a position locks up. Enter lot size, price and leverage; the calculator shows the required margin, free margin, margin level, the most lots your balance allows and how far price can move before a margin call.

Your numbers

From your broker's symbol specification. The pip value follows it.
Needed because this pair is quoted in a currency other than USD.
Adds free margin, margin level, max lots and margin-call distance.
Example rate, edit to today's.

Fill in the form to see the result.

Educational arithmetic on the figures you enter. Example prices are placeholders, not live quotes; contract sizes and pip definitions vary by broker. Not financial advice.

How it works

Margin is the deposit the broker holds while a leveraged position is open. It is a slice of the position's full value:

notional value = lots × contract size × price required margin = notional value ÷ leverage free margin = balance − required margin margin level = equity ÷ required margin × 100

Leverage changes only the deposit, never the size of the gain or loss: 1.00 lot of gold moves $100 per dollar whether your leverage is 1:30 or 1:2000. Higher leverage simply lets a smaller balance hold the same position, which is where accounts get into trouble.

Margin call and stop out

When floating losses pull the margin level down to the broker's margin-call level (often 100%) you can no longer open trades; at the stop-out level (often 50%) the broker closes positions. The calculator translates those levels into a price distance for a single open position so you can see how much room there is.

Worked example: gold

1.00 lot of gold at 4,500.00, leverage 1:500, balance $5,000:

notional = 1 × 100 oz × 4,500 = $450,000 required margin = 450,000 ÷ 500 = $900 free margin = 5,000 − 900 = $4,100 margin level = 5,000 ÷ 900 = 556%

The same position at 1:100 needs $4,500 of margin and leaves $500 free; at 1:30 (the EU retail cap for gold is 1:20) it needs $15,000, more than the account holds. With 1:500 and a full lot, a fall of $41.00 in gold (410 pips) would use up the free margin and trigger a margin call; that is the number to compare with your stop.

FAQ

Questions traders ask

What leverage should I use for gold?

Leverage does not change the risk of a trade, position size does. Set the lot size from your stop and your risk percentage first (position size calculator), then check that the margin it needs fits comfortably inside your balance. If the margin for your normal size uses more than 10-20% of the account, lower the size, not the leverage. Regulated brokers in the EU and UK cap gold at 1:20; offshore brokers offer up to 1:2000.

What is margin level and why does it matter?

Margin level is equity divided by the margin in use, as a percentage. At 1,000% you have ten times the required margin available; at 100% your equity only just covers the margin and most brokers block new trades (margin call); around 50% they start closing positions (stop out). Because floating losses reduce equity, a big position on high leverage can go from comfortable to stopped out in a single move.

Does the margin change when the price moves?

For gold and USD-quoted pairs the required margin is set when you open the trade and stays fixed in most platforms, but the margin for a new trade rises with the price because the notional value is bigger: a lot of gold at 4,500 needs more margin than at 2,000. Free margin, on the other hand, changes every tick with your floating profit or loss.

How many lots can I open with $1,000?

Divide the balance times the leverage by the notional value of one lot. Gold at 4,500 with 1:500: 1,000 × 500 ÷ 450,000 = 1.11 lots maximum, but that leaves no free margin at all; a move of a few dollars would stop you out. The calculator shows the maximum so you can see how far your planned size sits from it, not as a size to use.

Is required margin the same as the risk on the trade?

No. Margin is a refundable deposit; the money you can lose is the distance to your stop times the pip value. A $900 margin on a full lot of gold does not cap the loss at $900: a 200-pip stop on that lot is a $2,000 loss. Size from the stop, then check the margin.

Keep the numbers with the trade.

Every member gets a free trading journal: log the size you just calculated, the stop, the target and the outcome, then review by week and by setup.

Support