Position size calculator

The position size that makes a stop-loss cost exactly the share of the account you decided on. Fill in the balance, the risk and the stop distance; the size follows.

Indicative; type today's
Position size
-lots
Units of EUR
-
Amount at risk
-
Pip value at this size
-
In mini / micro lots
-
Rounded to 0.01 lots, the risk becomes
-

Figures are worked out in your browser from what you type; nothing is sent anywhere. Prices and conversion rates are indicative starting values from October 2026: type the current ones for an exact answer.

How position size is calculated

Three numbers go in. The account balance and the risk percentage give the amount you are prepared to lose on this trade. The stop distance in pips says how many pips the trade can move against you before that loss is reached. Dividing the first by the second gives the value a pip must have, and dividing that by the pip value of one lot gives the number of lots.

Lots = (balance × risk %) ÷ (stop in pips × pip value per lot)

Pip value per lot is pip size × contract size, converted to the account currency; the pip calculator shows that step on its own.

Worked example: EUR/USD, 1% risk

$5,000 account, 25-pip stop

Amount at risk: $5,000 × 1% = $50. Pip value needed: $50 ÷ 25 = $2 per pip. A standard lot of EUR/USD is $10 a pip, so the size is $2 ÷ $10 = 0.2 lots, or 20,000 euros.

If the stop is hit, the loss is 25 × $2 = $50, plus the spread. If the trader widens the stop to 50 pips the size halves to 0.1 lots and the loss is still $50. The risk is fixed; the size adapts.

Worked example: GBP/JPY, USD account

$10,000 account, 2% risk, 60-pip stop

Amount at risk: $200. Pip value needed: $200 ÷ 60 = $3.33 per pip. One lot of GBP/JPY is ¥1,000 a pip, which at ¥150 to the dollar is $6.67. Size: $3.33 ÷ $6.67 = 0.5 lots.

The same trader sizing GBP/JPY at the EUR/USD rule of thumb ($10 a pip) would have opened 0.33 lots and risked only $133: harmless, in this case, but the error runs the other way on pairs where the pip is worth more than $10.

The rounding problem

Brokers accept lot sizes in steps of 0.01, so the calculated size is rounded. Rounding 0.237 to 0.24 raises the risk from 1% to 1.01%, which does not matter. Rounding 0.014 up to 0.02 raises it by 43%, which does. The last line of the result shows the risk at the rounded size; if it is well above what you set, the trade is too large for the account at that stop distance, and the right response is a smaller risk or no trade, not a smaller stop.

What the calculator assumes

  • The stop is filled at the stop price. In fast markets and across the weekend it may not be; the stop-loss guide covers slippage and gaps.
  • The spread is not counted in the stop distance. On a 25-pip stop with a 1-pip spread the real loss is 26 pips; add the spread to the stop field if you want it included.
  • The conversion rate for cross pairs is indicative and shown for editing. Use the live rate for a precise answer.

Questions people ask

What is a lot in forex?

100,000 units of the base currency. A mini lot is 10,000, a micro lot 1,000, and some brokers offer nano lots of 100. Most retail brokers let you trade in steps of 0.01 lots, which is one micro lot.

How much should I risk per trade?

Most guidance says 1% to 2% of the account, and professional desks are usually below 1%. At 1%, a run of ten losses costs about 10%; at 5%, the same run costs 40% and needs a 67% gain to recover. The calculator defaults to 1%.

Should I size from the stop or from the margin?

From the stop. The stop goes where the trade idea is wrong, the risk is a fixed share of the account, and the position size is what makes those two consistent. Sizing from available margin gives the largest position the broker allows, which is the opposite of the question.

What if the calculated size is below my broker's minimum?

Either the account is too small for that stop distance at that risk, or the stop is too wide. The honest options are a smaller risk percentage, a tighter stop with a better entry, or not taking the trade. Rounding up to the minimum lot quietly raises the risk above what you set.