MT5 Position Size Calculator: How to Calculate Lot Size by Risk

MT5 does not calculate position size for you. The order window asks for a lot size; it never asks how much you are willing to lose. The calculation below is the whole method — one formula, two worked examples, and the mistakes that break it.

The formula

Position size (lots) = risk money ÷ loss per lot if the stop is hit

Three inputs, in order:

  1. Risk money. Decide it first, as a percentage of the account. The standard is 1%: on a $10,000 account, $100 per trade.
  2. Stop distance. Entry to stop, in price. This comes from the market — volatility (ATR) or structure — not from the size you want.
  3. Loss per lot. What one lot loses over that distance. This is a property of the symbol: on most brokers one lot of gold is 100 oz, so $1 of gold is $100 per lot; one lot of EURUSD is 100,000 units, so 1 pip is $10 per lot. Contract sizes vary between brokers — check the symbol specification in MT5 (right-click the symbol in Market Watch → Specification) before you trust the numbers.

Divide (1) by (3) and round down to a lot step your broker accepts — never up. Add the round-turn commission per lot to the loss per lot before dividing; commission makes the lot smaller, not the loss bigger.

Worked example 1: gold (XAUUSD)

Same account, wider stop: with ATR at $15, a 2×ATR stop is $30 away, losing $3,000 per lot — so the same $100 of risk means 0.03 lots. The risk never changed; the size adapted to the stop. That is the entire point.

Worked example 2: EURUSD

Note the contrast: the same $100 of risk is 0.10 lots on gold with a $10 stop and 0.50 lots on EURUSD with a 20-pip stop. A fixed lot size across symbols is not risk management — the risk per trade would swing wildly.

The mistakes

Doing it live on MT5

Stopwise PRO (MT5) runs the calculation on the chart: it shows live dollar risk and account share from your stop distance and can size the lot automatically at 1% risk, with spread alerts before entry. It also carries the rest of the risk stack — ATR trailing stops, break-even and partial take-profits, hidden stops backed by a broker-side disaster stop, and a daily red-line kill switch with a total lot cap. One chart manages every symbol in the account, hedging and netting included. Plans start at $19/month, with a free trial to verify it on a demo account first.

Frequently asked questions

How do you calculate lot size in MT5?

Position size = risk money divided by the loss one lot would take if the stop is hit. First decide the risk (for example 1% of the account), then measure the entry-to-stop distance, work out what one lot loses over that distance, and divide. Add the round-turn commission per lot to the loss per lot before dividing, and round the result down to a lot step the broker accepts.

What is 1% risk on a $10,000 account?

1% of $10,000 is $100 per trade. That is the maximum the trade should lose if the stop is hit — not the position size. The lot size follows from the stop distance: a $10 stop on gold loses $1,000 per lot, so $100 of risk means 0.10 lots.

How much is 1 lot of gold (XAUUSD) per $1 move?

On most brokers one standard lot of XAUUSD is 100 ounces (check the symbol specification), so a $1 move in gold is worth $100 per lot. A $10 stop distance therefore risks $1,000 per lot, and a $30 stop (for example 2 x ATR of $15) risks $3,000 per lot.

Does MT5 calculate position size automatically?

No. The MT5 order window takes a lot size you type; it does not derive it from your risk or your stop distance. Traders either calculate it by hand before every entry or use a panel: Stopwise PRO (MT5) shows live dollar risk and account share from the stop distance and can size the lot automatically at 1% risk.

Stopwise PRO (MT5) panel on a MetaTrader 5 chart: live dollar risk, stops and targets
Stopwise PRO (MT5) on a MetaTrader 5 chart.

Risk warning: trading on margin — including forex, precious metals, CFDs and cryptocurrencies — carries a high level of risk and may result in losses exceeding your deposit. Stopwise PRO (MT5) is risk-management software. It does not provide investment advice, does not promise any return, and cannot guarantee that stops execute at the set price during gaps, disconnections, thin liquidity or broker rejections. Verify every feature on a demo account first. See the full risk disclosure.

Start a 14-day free trial Stopwise PRO (MT5)