Position size calculator for forex, gold and indices
Type your balance, the % you want to risk and your entry and stop loss. The calculator gives the lot size that loses exactly that amount if the stop is hit. It runs in your browser: nothing is sent anywhere.
How the size is worked out
Lots = money at risk / (stop distance x contract size x exchange rate). Money at risk is your balance times your risk %. The stop distance is the gap between entry and stop loss in price. The exchange rate turns the quote currency (the second currency, for example USD in EUR/USD) into your account currency. The result is rounded down to 0.01 lot so you never risk more than you chose.
10,000 USD account, 1% risk = 100 USD. EUR/USD long at 1.0850, stop at 1.0830: a 20 pip stop. One standard lot (100,000 EUR) moves 10 USD per pip, so 20 pips = 200 USD per lot. 100 / 200 = 0.50 lots.
Gold long at 4,000, stop at 3,990: a 10 dollar stop. One lot is 100 ounces, so 10 x 100 = 1,000 USD per lot. With 100 USD at risk: 0.10 lots.
Before you place the trade
- Check your broker's contract size: most use 100,000 units for forex and 100 ounces for gold, but indices, silver and crypto differ.
- Commission and spread are not in the size. Leave a little room if your broker charges per lot.
- Keep the risk small and fixed. A run of losses is normal: at 1% a ten-loss run costs about 9.6%, at 4% about 33.5%.
Inside Edgery
The Edgery app has a position size calculator that knows your account balance, splits the risk across up to three entries, and checks your prop firm daily loss and drawdown before you trade. Your trades then sync from MetaTrader or cTrader so you see if you kept to the plan.
Questions
How do I calculate position size in forex?
Lots = money at risk / (stop distance x contract size x exchange rate into your account currency). Example: 100 USD risk on a 20 pip EUR/USD stop is 0.50 lots.
What is the pip value of one lot of EUR/USD?
10 USD per pip for a standard lot of 100,000 units, because one pip is 0.0001.
How do I size a gold (XAUUSD) trade?
One lot is usually 100 ounces, so each 1 dollar move is 100 dollars per lot. Divide your money at risk by (stop distance in dollars x 100).
Why is my size rounded down?
Brokers trade in steps of 0.01 lot. Rounding down means you never risk more than the amount you chose.
For education only, not financial advice. CFDs and forex are complex instruments and carry a high risk of losing money rapidly due to leverage. Written by Carlos Filipe, founder of Edgery. Updated 7 November 2026.