Forex Position Size Calculator
The calculator above works out how many lots to trade so that, if your stop-loss is hit, you lose a fixed amount you chose in advance. The formula is position size = risk amount ÷ (stop-loss in pips × pip value per lot), and the result is only as accurate as the stop distance and exchange rates you enter.
Key takeaways
- Size positions from your stop-loss, not the other way round: decide where the trade is wrong, then calculate the size.
- Pip value depends on the pair and your account currency. For pairs quoted in USD with a USD account it is $10 per standard lot.
- The calculator uses the rates you type in. It has no live prices, so update the example defaults to current quotes from your broker.
- Round the result down to your broker's lot step (usually 0.01) so actual risk never exceeds your target.
- Spread, commission and slippage can make a real loss larger than the calculated risk.
The position size formula
Risk-based position sizing comes down to three inputs and one division:
- Risk amount = account balance × risk percentage. On a $5,000 account risking 1%, that is $50.
- Stop distance in pips = the gap between your entry and your stop-loss. For most pairs one pip is 0.0001; for JPY pairs it is 0.01.
- Pip value per standard lot in your account currency. One standard lot is 100,000 units of the base currency.
Then: lots = risk amount ÷ (stop pips × pip value per lot).
The pip value is where people go wrong. It is fixed only when the quote currency (the second currency in the pair) matches your account currency. For EUR/USD in a USD account, one pip on one lot is always 100,000 × 0.0001 = $10. For anything else you need a conversion, which is why the calculator asks for an exchange rate. Our pip calculator breaks that step down on its own.
Worked examples
Example 1: EUR/USD, USD account
Balance $10,000, risk 1%, stop 25 pips.
- Risk amount: $10,000 × 0.01 = $100.
- Pip value per lot: $10.
- Lots: $100 ÷ (25 × $10) = 0.40 lots, or 40,000 units.
Example 2: USD/JPY, USD account
Balance $10,000, risk 1%, stop 30 pips, USD/JPY at 150.00 (an example rate; enter the current one).
- Pip value per lot in JPY: 100,000 × 0.01 = ¥1,000.
- Converted to USD: ¥1,000 ÷ 150.00 = $6.667.
- Lots: $100 ÷ (30 × $6.667) = 0.50 lots. If you round the pip value to $6.67 first you get 0.4998, which shows why the calculator keeps full precision until the final step.
More on the JPY conversion in how to calculate pip value for USD/JPY.
Example 3: EUR/GBP, USD account
Balance $10,000, risk 0.5%, stop 20 pips, GBP/USD at 1.2700 (example).
- Risk amount: $50.
- Pip value per lot in GBP: £10. In USD: £10 × 1.2700 = $12.70.
- Lots: $50 ÷ (20 × $12.70) = 0.197, rounded down to 0.19 lots.
Example 4: Gold (XAU/USD)
One lot of gold is 100 troy ounces, so a $1.00 move in the gold price is worth $100 per lot. Brokers define a gold "pip" differently (some use $0.10, some $0.01), so for gold it is safer to think in dollars of price movement. Balance $10,000, risk 1% ($100), stop $5.00 below entry: lots = $100 ÷ ($5.00 × $100) = 0.20 lots. See pip value for gold for the broker variations.
| Pair (USD account) | Risk | Stop | Pip value per lot | Position size |
|---|---|---|---|---|
| EUR/USD | $100 | 25 pips | $10.00 | 0.40 lots |
| GBP/USD | $100 | 40 pips | $10.00 | 0.25 lots |
| USD/JPY at 150.00 | $100 | 30 pips | $6.67 | 0.50 lots |
| EUR/GBP, GBP/USD at 1.2700 | $50 | 20 pips | $12.70 | 0.19 lots |
| XAU/USD | $100 | $5.00 | $100 per $1 move | 0.20 lots |
Exchange rates in this table are illustrative examples only. Enter current rates from your broker in the calculator above.
How to use the calculator above
- Choose your account currency. This is the currency your balance is held in, not the pair you are trading.
- Enter balance or equity. If you have open trades, many traders size from equity so a running drawdown is reflected.
- Set your risk percentage. Many traders use 0.5% to 2%. Our article on the 1% risk rule explains the reasoning.
- Enter the stop distance in pips, measured from where you expect to be filled, not from the mid price.
- Check the exchange rate field. The default is an editable example. Replace it with the current rate from your broker's platform.
- Read the result in lots and units, then round down to your broker's minimum step.
Turning the result into a real order
The calculator gives you a number like 0.437 lots. Your platform will only accept certain steps, usually 0.01 on standard accounts, so you enter 0.43. Always round down: rounding up even slightly means your loss at the stop will exceed your plan. If the calculated size is below the broker's minimum (0.01 lots on most accounts, which is 1,000 units), the honest answer is that your stop is too wide for your risk budget on that account, and you should either skip the trade or use a broker that supports smaller sizes such as cent accounts.
Then add the costs the formula ignores. On a raw-spread account paying $7 round-turn commission per lot, 0.40 lots costs about $2.80 in commission, plus the spread. If you are risking $100 on a tight scalping stop, those costs are a meaningful slice of the risk. For a fuller treatment of sizing decisions, read how to calculate position size in forex.
A correct position size does not cap your loss. Stops can be filled worse than their price in fast markets, over weekend gaps and around major news. Leverage magnifies losses, and most retail forex and CFD accounts lose money. Use the calculator to keep planned risk consistent, not as a guarantee of the maximum you can lose.
Common mistakes
- Using the wrong pip size. JPY pairs use 0.01, not 0.0001. Mixing them up gives a position 100 times too large or small.
- Leaving the example rate unchanged. The calculator cannot fetch prices. A stale USD/JPY rate changes the result.
- Sizing from a fixed lot instead of a fixed risk. Trading 1 lot on every setup means a 50-pip stop risks five times what a 10-pip stop risks.
- Ignoring correlated positions. Long EUR/USD and long GBP/USD at 1% each is closer to 2% on one US dollar view.
- Raising risk after losses to win it back. This is how drawdowns become blown accounts.
Frequently asked questions
How do I calculate position size in forex?
Multiply your account balance by your risk percentage to get the risk amount, then divide by the stop-loss distance in pips multiplied by the pip value per lot. For a $10,000 account risking 1% with a 25-pip stop on EUR/USD, that is $100 ÷ (25 × $10) = 0.40 lots. Round down to your broker's lot step.
Does the calculator use live exchange rates?
No. Every rate is an input you can edit, pre-filled with an example value. For pairs where the quote currency differs from your account currency, enter the current rate from your broker's platform so the pip value conversion is accurate. Rates change constantly, so update them before each calculation where the conversion matters.
Should I use balance or equity?
Balance is simpler and fine if you have no open trades. If you already hold positions, equity reflects open profits and losses, so sizing from it automatically reduces size during a drawdown. Prop firm traders should also check their remaining daily loss allowance, since that can be the tighter limit.
What risk percentage should I use?
There is no universal right number, and this is not personal advice. Many traders choose between 0.5% and 2% per trade because smaller risk lets an account survive long losing streaks. Ten consecutive losses at 2% cost about 18% of the account; at 0.5% they cost about 5%. Choose a level you could sustain through a bad run.
Why is my calculated size below the minimum lot?
Your stop is too wide relative to your risk amount. On a small account risking 1%, a 100-pip stop on EUR/USD may need less than 0.01 lots. Options are to tighten the stop only if the trade idea genuinely allows it, skip the trade, or use an account type with smaller minimum sizes, such as a cent or micro account.
This article is general information, not personal financial advice. Figures such as spreads, fees, leverage and rules change; confirm them with the provider and check the provider is authorised for your country of residence.