The method
How to calculate position size
Position size comes from three numbers you know before the trade: your balance, the share of it you’re willing to lose, and how far away your stop is. The stop comes first. The size follows from it, so that hitting the stop costs the amount you chose.
- Risk amount. Balance × risk %. $10,000 at 1% is $100. That’s your 1R: write it into your trading plan.
- Loss per lot at the stop. One standard lot of EURUSD is 100,000 units and a pip is 0.0001, so each pip is worth $10 per lot. A 35-pip stop costs $350 per lot.
- Divide. $100 ÷ $350 = 0.2857 lots, rounded down to 0.28. At that size the stop costs $98.
Account currency
Pip value when your account isn’t in the quote currency
A pip is counted in the pair’s second currency, the quote currency. On EURUSD that’s dollars, so a USD account needs no conversion. On GBPJPY a pip is worth ¥1,000 per lot, and a USD account has to turn those yen into dollars.
That takes one price: the pair made of the quote currency and your account currency. For GBPJPY in a USD account it’s USDJPY. At 150.00, ¥1,000 is $6.67, so a 40-pip stop costs $266.67 per lot, and risking $100 gives 0.37 lots.
The calculator asks you for that price instead of fetching it. Copy it from your MT5 quotes. Bid or ask both work: the gap between them moves the result far less than one 0.01 lot step. The pip calculator gives the pip value on its own.
Gold
Position size for gold (XAUUSD)
On most MT5 brokers one lot of XAUUSD is 100 ounces, so every $1 the price moves is $100 per lot. Brokers don’t agree on what a gold “pip” is (some mean $0.01, others $0.10), so the calculator works from your entry and stop prices instead.
A $2,000 account risking 1% ($20), entry 4,120.00, stop 4,112.50: the stop is $7.50 away, which costs $750 per lot. $20 ÷ $750 is 0.0267 lots, rounded down to 0.02, so the trade risks $15, not $20.
Small accounts reach the floor quickly. At $500 and 1%, the same stop calls for 0.0067 lots, below the usual 0.01 minimum, and 0.01 lots would risk $7.50, or 1.5%. Some brokers use 10 ounces per lot, or 1, so check the contract size in the symbol’s specification and change it under Broker settings.
Crypto and stocks
Crypto and stocks: coins, USDT or shares
Here the size is risk ÷ the distance to the stop. A 1,000 USDT account risking 1% on BTC, entry 64,000 and stop 63,600, can lose 10 USDT over a $400 move: that’s 0.025 BTC, a position worth 1,600 USDT.
If your exchange takes orders in USDT, enter the position value; if it takes coins, enter the quantity. Leverage changes the margin you put up, not what you lose at the stop, but a liquidation price that sits before your stop would close the trade first. The calculator covers spot and USDT-margined contracts, not coin-margined ones.
Stocks come out in whole shares. $20,000 at 0.5%, entry 48.20 and stop 46.90, gives 76 shares, a $3,663.20 position. Prices are taken to be in your account currency.
Rounding
Why the size is rounded down
Brokers fill orders in steps: 0.01 lots on most forex and gold accounts, a fixed quantity step on crypto exchanges, whole shares at many stock brokers. The calculator always rounds down to that step, so the risk after rounding is never more than the risk you chose.
The one exception is the minimum size. If the size you need is below it, the page says so and shows what the minimum would risk.