Quant Autopsy
Notify me when it opens
Tools

Lot size calculator

Enter your balance, how much you accept to lose and where the stop sits. The calculator returns the position size in lots, rounded down.

Draft for approval
  • Educational tool. Not investment advice.
  • Contract size and pip size vary from one broker to another. Check the values with yours.
  • The result does not include spread, commission, slippage or financing.
What is R

R is your risk on one trade, used as a ruler. Instead of talking in money, you talk in how many R you won or lost.

If you risk 100 per trade, 1R = 100. A +2R trade won 200; a -1R trade lost 100. Ten trades adding up to +3R won 300.

How the calculation works

Five steps. You can check it by hand.

  1. Money at risk = balance × risk in % (or the amount you entered).
  2. Stop distance = |entry price - stop price| (or the distance you entered × pip size).
  3. Loss per lot in the quote currency = distance × contract size.
  4. Loss per lot in the account currency = loss in the quote currency × conversion rate (the rate is 1 when the quote currency is the account currency).
  5. Lots = money at risk ÷ loss per lot in the account currency, rounded down to the lot step.

Example: 10,000 account in dollars, 1% risk (100), EURUSD with a 20 pip stop. Distance 0.0020; loss per lot 0.0020 × 100,000 = 200 dollars; lots = 100 ÷ 200 = 0.50.

The conversion rate is only needed when the quote currency of the instrument differs from the account currency. The calculator tells you which pair to look at and in which direction.