Position Size & Lot Size Calculator
Work out how many lots to trade so that a stop-out costs you a fixed percentage of your account. Pick an instrument, enter your balance, risk and the entry and stop prices. Everything is calculated in your browser.
Loading exchange rates…
How this is calculated
Three numbers decide the lot size: how much money you are willing to lose, how far your stop sits from your entry, and what one unit of the instrument is worth in your account currency.
risk amount = balance × risk % ÷ 100 stop distance = |entry − stop| per-unit risk = stop distance × quote→account rate units = risk amount ÷ per-unit risk lots = units ÷ contract size
The conversion rate is the part most calculators hide. The stop distance is measured in the instrument's quote currency — the second half of the symbol. On EURUSD that is already USD; on EURGBP it is GBP, and a USD account has to convert it. The rate used comes from the daily reference table shown with the result, and USD→USD is simply 1.
Lots are rounded down to the nearest 0.01. Rounding up would put you over the risk limit you just typed in, which defeats the calculation. The units figure and the actual-risk line are both computed from the rounded lot rather than from the raw number, so what you see is what your terminal will do.
Worked example
EURGBP, a $5,000 account, 2% risk, entry 0.8400, stop 0.8370, standard 100,000 contract. GBPUSD is trading at 1.2700.
- Risk amount: 5,000 × 2 ÷ 100 = $100
- Stop distance: 0.8400 − 0.8370 = 0.0030 GBP
- Per-unit risk: 0.0030 × 1.2700 = $0.00381
- Units: 100 ÷ 0.00381 = 26,246 → 0.26 lots (26,000 units)
- Actual risk: 26,000 × 0.0030 × 1.2700 = $99.06
The 94 cents between $100 and $99.06 is the rounding, and it is always on the safe side of the number you asked for.
Why you enter the stop price, not a pip count
Ask three brokers what a pip is worth on gold and you get three answers: $0.01, $0.10 and $1. A $10 stop on XAUUSD is therefore 1,000 pips, 100 pips or 10 pips depending on whose platform you are looking at, and a calculator that asks for pips inherits all of that confusion.
A price difference has no such ambiguity. 0.8400 minus 0.8370 is 0.0030 on every platform in the world. The two numbers are also already in front of you — they are the entry and the stop line on your chart — so there is nothing to convert in your head before you type.
The pip distance still appears in the output, because it is a useful sanity check; it is just not an input. On gold it will read in the thousands. That is the 0.01 pip size doing its job, and the lot size is unaffected by it.
Common mistakes
- Assuming 100,000 units per lot. True for FX, not for metals and crypto. Silver is 5,000 ounces at most brokers and 1,000 at some; gold is usually 100. Check it in MT5: Market Watch → right-click the symbol → Specification → Contract size, then put the real figure in the field above.
- Rounding up to the nearest lot. 0.27 instead of 0.26 is a 4% overshoot on the risk you set. Across a hundred trades that is a different account.
- Using a risk percentage you have never tested against a losing streak. Six losses in a row at 5% each leaves the account 26% down, and recovering 26% takes more than a 26% gain.
- Forgetting spread and commission. Your stop is filled at the bid or the ask, not at the mid price, so the realised loss lands a little past the figure above. On a wide-spread instrument that difference is worth checking before you size the trade.
FAQ
Why is this lot size smaller than my broker's calculator shows?
Two usual reasons. This calculator rounds down, while many broker tools round to the nearest step; and your broker may use a different contract size from the default filled in above.
Does it work for gold, silver and crypto?
Yes, and no exchange rate is needed for them. XAUUSD, XAGUSD, BTCUSD and ETHUSD are all quoted in USD, so the conversion step is 1. Only the contract size has to be right.
What if my account is not in USD?
Pick it from the account currency list — 19 are available. The daily rate used for the conversion, and the date of that rate, are shown with the result.
Do I need to enter the current price of the pair?
No. Position size depends only on the distance between entry and stop, never on where the pair is trading. The current price matters for margin, which is a separate calculator.
How much should I risk per trade?
That is your decision, and not something a calculator can answer. Most retail traders who size positions at all work somewhere between 0.5% and 2% of the balance per trade.
Entry 1.0850 · Stop 1.0800 · 0.20 lots
Those are two price levels. Draw them on your MT5 chart and the fx-alert EA will tell you when price reaches either one — see how alerts work or download the EA.
Not trading advice.