Free position size calculator (forex and gold)

Work out the lot size that risks exactly the percentage you chose. Works for forex pairs quoted in USD and for XAUUSD. No sign-up.

-Amount at risk
-Stop distance (price)
-Position size (lots)

Enter your balance, the percentage you are willing to lose if the stop is hit, and your entry and stop prices. The result is rounded down to 0.01 lots so you never risk more than you chose.

How the calculation works

Risk amount = balance x risk %. Position size in lots = risk amount / (stop distance in price x contract size). A standard forex lot is 100,000 units, so a 20-pip stop on EURUSD (0.0020) risks $200 per lot. Gold is usually 100 ounces per lot, so a $5 stop risks $500 per lot.

Important limits

What to do with it

Size each trade the same way, then track whether you actually did. Your journal should show risk per trade next to the result; see the forex journal guide and win rate, profit factor and expectancy explained. Check a trade idea with the risk to reward calculator.

This calculator is for education. It is not trading or investment advice.

Worked examples (hypothetical numbers)

Lot size by stop distance (EURUSD, 1% risk)

The same 1% risk gives very different lot sizes depending on how far away the stop is. The figures are lots, rounded down to 0.01, for a USD account trading a pair quoted in USD:

Stop distance$1,000 account$5,000 account$10,000 account$50,000 account
10 pips0.100.501.005.00
20 pips0.050.250.502.50
30 pips0.030.160.331.66
50 pips0.020.100.201.00
100 pips0.010.050.100.50

The wider the stop, the smaller the position. If you use a table like this to plan trades, remember that the stop should come from the chart first and the lot size from the stop second, never the other way round. Squeezing a stop in to justify a bigger position is one of the quickest ways to be stopped out by ordinary noise.

Mistakes the calculator cannot catch for you

Check that you actually sized the trade as planned

Position sizing is a rule, and the journal is where you find out whether you followed it. For each trade, log the planned risk percentage and compare it with the realised loss on trades stopped out. If your 1% plan produced losses of 0.6%, 1.4% and 2.3% in the last three stopped trades, the plan and the practice have drifted apart. This is also the quickest way to spot lot-size creep after winning streaks. The risk to reward calculator and the expectancy calculator show whether a trade is worth taking at all, and the margin calculator tells you what the position will hold from your account.

Rounding and small accounts

The calculator rounds down to the nearest 0.01 lots so that you never risk more than you chose. On a $500 account with 1% risk (a $5 risk) and a 20-pip EURUSD stop, the exact size is 0.025 lots, which becomes 0.02 lots and risks $4. That slightly smaller risk is intended. If your broker offers 0.001 lot steps, you can use them, but check that your platform and broker accept the size before you rely on it.

Background reading: how lot size and contract size work in MT5, and a worked gold lot size table.

If your broker rejects a tight stop, read MT5 stops level and freeze level explained. Going the other way, from lots to stop distance on gold, try the XAUUSD stop loss calculator.

Frequently asked questions

How do I calculate position size in forex?
Multiply your balance by your risk percentage to get the amount at risk, then divide by the stop distance in price times the contract size.
How many lots is a 1% risk?
It depends on your balance and stop distance. For a $1,000 account, a 20-pip stop on EURUSD and 1% risk, the position is 0.05 lots.
Does this work for gold (XAUUSD)?
Yes. Choose the gold option, which uses 100 ounces per lot, and enter your entry and stop prices.

Related guides

Want every trade logged for you?

Free for 7 days, no card required. After that, a one-time $19.99 purchase. No subscription. Also on the Microsoft Store.

One-time $19.99, no monthly fee · your MT5 login never leaves your PC · trades go into your own journal on your PC, not through our servers.

Start free 7-day trial