How to calculate lot size: the formula, with gold and forex examples
The lot size decides how much you win or lose when price moves. Choosing it by feeling is the most common way traders lose control of their risk. The good news: the right lot can be calculated in one line.
Start from the risk, not from the lot
Most beginners pick a lot first ("I always trade 0.10") and only find out how much they could lose afterwards. Professional traders do the opposite. They decide how much money they accept to lose on this trade, then calculate the lot that matches that amount, given where the stop loss is.
A common rule is to risk 1% to 2% of the balance per trade. With a $1,000 balance, 1% is $10. That sounds small, but it means a run of ten losing trades costs about 10% of the account, not all of it. Whatever percentage you choose, the method is the same.
The formula
Lot = risk in money ÷ (stop loss distance × value of that distance for 1 lot)
It has three ingredients:
- Risk in money: balance × risk percentage. For example $1,000 × 1% = $10.
- Stop loss distance: how far the stop loss is from the entry, in pips, points or dollars of price.
- Value per lot: how much 1 lot gains or loses for each pip, point or dollar of movement. This depends on the instrument and sometimes on your broker.
Multiply the stop loss distance by the value per lot and you get the loss for 1 lot if the stop loss is hit. Divide your risk by that number and you get the lot. Always round down to your broker's lot step, so you never risk more than planned.
Example 1: gold (XAUUSD)
At most brokers, 1 lot of gold is 100 ounces. A $1 move in the gold price is therefore worth $100 per lot.
- Balance $1,000, risk 1% = $10.
- Stop loss $2 below the entry (for example entry 2,350.00, stop loss 2,348.00).
- Loss for 1 lot at the stop loss: $2 × $100 = $200.
- Lot = $10 ÷ $200 = 0.05 lot.
Some platforms and tools express gold in "pips" of $0.10 or $0.01. The result is the same as long as the stop loss distance and the value per lot use the same unit.
Example 2: EURUSD
For EURUSD, 1 lot is 100,000 euros, 1 pip is 0.0001, and 1 pip is worth $10 per lot because the pair is quoted in US dollars.
- Balance $2,000, risk 1% = $20.
- Stop loss 25 pips.
- Loss for 1 lot: 25 × $10 = $250.
- Lot = $20 ÷ $250 = 0.08 lot.
Example 3: USDJPY
For pairs quoted in yen, 1 pip is 0.01 and 1 lot of 100,000 units gives ¥1,000 per pip. To convert to US dollars, divide by the USD/JPY rate. At 150.00, 1 pip is worth about $6.67 per lot.
- Balance $1,000, risk 2% = $20.
- Stop loss 30 pips.
- Loss for 1 lot: 30 × $6.67 ≈ $200.
- Lot = $20 ÷ $200 = 0.10 lot.
Two more checks before you trade
Minimum lot and lot step
Brokers set a minimum lot (often 0.01 on forex and gold, sometimes 0.1 or more on indices) and a lot step. If the calculated lot is below the minimum, the trade risks more than your plan even at the smallest possible size. In that case, either widen the account balance, accept a smaller stop loss only if the strategy allows it, or skip the trade.
Margin is a separate question
Leverage decides how much margin the trade blocks, not how much you can lose. A 0.05 lot gold trade with a $2 stop loss risks $10 whether your leverage is 1:100 or 1:500. Higher leverage only makes it possible to open bigger positions, which is exactly why the risk calculation matters.
Common mistakes
- Using the same lot for every trade. A 0.10 lot with a 20-pip stop loss risks half as much as the same lot with a 40-pip stop loss. The lot should change when the stop loss changes.
- Ignoring slippage. Around news, the real loss can be larger than the stop loss distance. Leave some margin, for example by calculating with a slightly wider stop.
- Calculating from equity with large open trades. Use the balance, or reduce the risk while other trades are open.
- Forgetting the account currency. On a cent account or an account in another currency, convert the risk to the same currency as the value per lot.
How this relates to "auto lot" in an EA
Many Expert Advisors, including EQUINEWS EA, offer an auto lot option that scales the lot with the balance, for example 0.01 lot for every $100. That keeps the size proportional as the account grows or shrinks. The actual risk per trade still depends on the stop loss distance, the instrument and the broker, so it is worth calculating it once with the formula above to know what a full stop loss would cost.
Key takeaways
- Decide the risk in money first (for example 1% of the balance), then calculate the lot.
- Lot = risk ÷ (stop loss distance × value per lot); round the result down.
- Gold: $1 move = $100 per lot. EURUSD: 1 pip = $10 per lot. USDJPY: about $6.67 per pip at 150.
- Gold and other CFDs can have different contract sizes per broker: always check the specification.
- Leverage changes the margin, not the risk. Allow extra room for slippage around news.
Trading carries a high level of risk and may not be suitable for everyone. This article is for education only and is not financial advice. Past results do not guarantee future results.