Lot Size Calculator for MT5
Work out how many lots to trade so that a stop-loss costs the share of your account you chose. Results update as you type. The maths runs in your browser; nothing you enter is sent anywhere.
Enter your numbers above.
- Amount at risk
- —
- Pip value per 1.00 lot
- —
- Exact lot size
- —
- Loss if the stop is hit
- —
The formula
Lots = (balance × risk %) ÷ (stop-loss in pips × pip value per lot). The result is rounded down to 0.01 lot, so the loss never goes above the amount you chose.
Example: 10,000 USD, 1% risk, 20-pip stop on EURUSD. Amount at risk 100 USD; one pip on 1.00 lot is 10 USD; 100 ÷ (20 × 10) = 0.50 lot.
What it covers
- Standard forex pairs with a 100,000-unit lot, as in MT5. A pip is 0.0001, or 0.01 for pairs quoted in JPY.
- Cross pairs (the quote currency is not your account currency): type the current rate of the quote currency in your account currency, for example 1 JPY = 0.0065 USD. The page does not fetch prices.
- Not covered: gold (XAUUSD), indices, crypto and other CFDs. Their contract sizes differ by broker; check the symbol's specification in MT5 (Market Watch → Specification).
- Spread, commission and slippage are not included, and a stop can fill at a worse price than set.
For information only; not investment advice. Read the Risk Disclosure.
Next: Pip value calculator · Margin calculator · Drawdown recovery calculator · EA drawdown explained · All tools