Forex lot size calculator
Type what you accept losing and how many pips away your stop is. The page gives the lot size that loses no more than that, rounded down to your broker's lot step, and the pip value it rests on. For majors, JPY pairs, crosses and gold, on a USD account.
Your lot size
The stop can fill worse than its price, and spread and commission are not included: the real loss can be larger.
3 · How it is calculated
Runs in your browser. Nothing you type leaves this page.
Pip value of 1 lot = contract size × pip size, turned into USD. Lots = risk ÷ (stop in pips × pip value of 1 lot), rounded down to the lot step. Exact arithmetic, no floating-point drift.
The account currency is USD. JPY pairs use a pip of 0.01; gold uses 100 oz a lot and a pip of 0.1 here. Brokers differ: check the symbol specification in MetaTrader.
Arithmetic on your inputs, not advice. It does not know your broker's margin, spread or commission.
How to read these numbers: what they mean, the formula in plain words, worked examples, the common mistake and the conventions.
How to read the result
Lot size and pip value, in five parts
What the numbers mean
The lot size is the largest position, in your broker's lot steps, that loses no more than the risk you typed if price reaches your stop. The pip value is what one pip is worth in USD for one lot; the loss at the stop is that times the stop distance times the lots.
The formula, in plain words
Multiply the contract size by the pip size to get a pip in the quote currency. If the quote currency is USD, that is the pip value. If USD is the base currency (USD/JPY, USD/CAD), divide by the price. For a cross, turn the quote currency into USD with its USD price. Then divide the risk by the stop distance times that pip value, and round down.
Worked examples
The calculator's starting inputs: EUR/USD, balance 10,000 USD, risk 1%, stop 20 pips.
- Risk10,000 × 1% = 100.00 USD
- Pip value, 1 lot100,000 × 0.0001 = 10.00 USD
- Loss at the stop, 1 lot20 × 10.00 = 200.00 USD
- Lots100.00 ÷ 200.00 = 0.50
USD/JPY at 150.00, risk 100 USD, stop 25 pips: a pip of 1 lot is 100,000 × 0.01 ÷ 150 ≈ 6.67 USD, 25 pips ≈ 166.67 USD, so 0.60 lots. EUR/JPY uses the same USD/JPY price to turn yen into dollars. Gold, 100 oz a lot with a pip of 0.1: 10.00 USD a pip, so a 50-pip stop with 100 USD of risk is 0.20 lots.
The common mistake
Using 10 USD a pip for every pair. That holds only when USD is the quote currency and a lot is 100,000 units. On USD/JPY at 150 a pip of 1 lot is about 6.67 USD, so sizing it as 10 USD gives 0.40 lots instead of 0.60 at the same risk; on EUR/GBP with GBP/USD at 1.25 it is 12.50 USD, and the 10 USD shortcut oversizes the trade by a quarter.
Conventions
- Rounding: always down to the lot step, so the loss at the stop stays at or under your risk. If even one lot step loses more, the page says so instead of rounding up.
- Pips and points: MetaTrader prices majors to 5 decimals and JPY pairs to 3; one pip is 10 of those points. Gold's pip is not standard across brokers: type your broker's value.
- Account currency: USD. For another account currency, convert the risk to USD first.
Questions traders ask
How do you calculate lot size in forex?
Divide the amount you accept losing by the stop distance in pips times the pip value of one lot, then round down to your broker's lot step. 100 USD of risk with a 20-pip stop on EUR/USD, where a pip of one lot is 10 USD, gives 0.50 lots.
What is the pip value of one lot?
Contract size times pip size, in the quote currency: 100,000 × 0.0001 = 10 units of the quote currency on most pairs, and 100,000 × 0.01 = 1,000 yen on JPY pairs. On a USD account that is 10 USD when the quote currency is USD; otherwise it is converted at the current price.
How much is a pip on gold?
It depends on the broker's pip size. With 100 oz a lot and a pip of 0.1, one pip of one lot is 10 USD; if your broker counts a pip as 0.01, it is 1 USD. The symbol specification in MetaTrader shows the contract size and digits.
What is the difference between a standard, mini and micro lot?
A standard lot is 100,000 units of the base currency, a mini lot 10,000 (0.10 lots) and a micro lot 1,000 (0.01 lots). The pip value scales the same way: 10, 1 and 0.10 USD on EUR/USD.