Position size calculator
The lot size that risks exactly the percentage you choose, from your balance and stop distance. For forex majors, JPY pairs, gold and any instrument with a known value per point.
Assumes a USD account and standard contract sizes. Your broker’s contract specification and margin rules take precedence. Not financial advice.
About position sizing.
How is position size calculated?
Lots = (account balance × risk %) ÷ (stop distance × value of that distance for one lot). The calculator rounds down to 0.01 lots so you never risk more than you chose.
Why does gold use a price distance instead of pips?
Brokers quote gold with two or three decimals and define “pips” differently, so a price distance is unambiguous. A standard gold lot is usually 100 ounces, so a $1.00 move is worth about $100 per lot. Check your broker’s contract specification. Building a gold EA? See what gold needs that EURUSD does not.
What about indices and crypto?
Contract sizes for index and crypto CFDs vary widely between brokers. Choose “Custom”, enter the value of a one-unit move for one lot from your broker’s contract specification, and the stop in the same unit.
Should an EA size positions this way?
Yes. Sizing from the stop distance keeps risk per trade constant as volatility changes. Every EA I build can size this way. See EA development.
Want your EA to size every trade like this?
Risk-based sizing, capped lots and daily limits are standard in every EA I build.