How to calculate lot size from your risk: formula, a worked example and a checklist

25 November 2026, 21:24
Cesar De Los Reyes Sanchez
0
6

Most blown accounts do not come from a bad entry but from a position that was too big for the stop loss. Sizing the lot from the risk you accept fixes that. This is the method, step by step.

Risk warning: trading leveraged products involves a high risk of loss. This is an educational guide, not financial advice. Try everything on a DEMO account first.

1) Decide the risk per trade

Choose the percentage of your balance (or equity) you accept to lose if the stop loss is hit. Many traders use between 0.5 and 2 percent. Risk amount = balance x risk percent. With a 10,000 USD balance and 1 percent, the risk amount is 100 USD.

2) Measure the stop loss distance

The stop loss distance comes from your setup (structure, ATR, a level), not from the lot you would like to trade. Say it is 25 pips.

3) Use the value of one pip for one lot

Lot size = risk amount / (stop loss in pips x value of one pip per 1.00 lot). On EURUSD with a USD account one pip is about 10 USD per lot, so: 100 / (25 x 10) = 0.40 lots. On other symbols (gold, indices, JPY pairs, crypto) the value per pip is different: read tick size and tick value in the symbol specification instead of assuming 10.

4) Round DOWN to the symbol lot step

If the result is 0.437 and the step is 0.01, use 0.43, never 0.44. Rounding up makes the real risk higher than planned. If the minimum lot already risks more than your limit, skip the trade or widen the account, do not force it.

5) Check the costs

Spread and slippage are paid on top of the stop distance. A very tight stop with a wide spread can lose more than planned. Check the spread before you send the order.

Quick checklist

  • Risk percent fixed before looking at the chart.
  • Stop loss from the setup, lot from the formula.
  • Tick value taken from the symbol, not guessed.
  • Lot rounded down to the step.
  • Total open risk across all trades under your own limit.

Free tools if you do not want to calculate by hand

My free script Risk-Based Lot Size Calculator in the CodeBase does this calculation for any symbol: https://www.mql5.com/en/code/79527. The panel of Creyes Trade Manager Pro also shows the lot before you click: https://www.mql5.com/en/market/product/208367.

Questions or a case that does not fit the formula? Write them in the comments and I will answer. Remember: no method guarantees results, and you can lose money.