Forex lot size calculator
Find the position size that keeps your loss at your stop loss to the amount you choose. The result rounds down to your broker's lot step.
This calculator runs in your browser. We do not store or send anything you type.
The calculator shows the maths for the numbers you enter. It does not tell you whether to trade, and it is not advice.
The formula, step by step
- Money at risk = account balance × risk %.
- Pip size = 0.0001 for most pairs, 0.01 for pairs quoted in yen (JPY).
- Pip value per lot = contract size × pip size × the value of 1 unit of the quote currency in your account currency.
- Loss per lot = stop loss in pips × pip value per lot.
- Lot size = money at risk ÷ loss per lot.
- Round down to your broker's lot step, for example 0.01. Rounding up would risk more than you chose.
Worked example
A 10,000 USD account risks 1% on EURUSD with a 25 pip stop loss.
- Money at risk = 10,000 × 1% = 100 USD.
- Pip value per lot = 100,000 × 0.0001 × 1 = 10 USD.
- Loss per lot = 25 × 10 = 250 USD.
- Lot size = 100 ÷ 250 = 0.40 lots.
When you need a conversion rate
Pip value comes out in the quote currency, the second currency in the pair. If that is not your account currency, it has to be converted.
- EURUSD on a USD account: the quote is USD, so no conversion.
- USDJPY on a USD account: the calculator uses 1 ÷ the USDJPY price.
- EURGBP on a USD account: enter the value of 1 GBP in USD, which is the GBPUSD price.
Questions
What is a lot in forex?
A standard lot is usually 100,000 units of the base currency. A mini lot is 0.1 lots (10,000 units) and a micro lot is 0.01 lots (1,000 units).
Why does the calculator round down?
Brokers only accept sizes in fixed steps, often 0.01 lots. Rounding down keeps your loss at the stop at or below the amount you chose to risk.
What if the result is 0.00 lots?
Your chosen risk is smaller than the loss on the smallest lot step at that stop distance. Some brokers offer smaller lot sizes, so check your broker’s contract specification.
Does this include spread and commission?
No. Spread, commission and slippage add to your real cost. Check them on your broker’s site.
Will my stop loss always fill at my price?
No. Prices can gap past a stop loss, especially at the weekly open and around news, so a loss can be larger than planned.
New to pips? Read lots and pips explained.