How to Calculate Position Size in Forex
To calculate position size in forex, decide how much money you are willing to lose on the trade, measure your stop-loss distance in pips, and divide the first by the stop distance multiplied by the pip value per lot. The formula is lots = risk amount ÷ (stop in pips × pip value per standard lot), and the only part that changes from pair to pair is the pip value.
Key takeaways
- Position size is an output, not a choice: it follows from your account risk and your stop-loss, in that order.
- One standard lot is 100,000 units of the base currency; on any pair quoted in US dollars a pip is worth $10 per standard lot.
- For pairs where the dollar is not the quote currency, convert the pip value into your account currency using the current rate before dividing.
- Always round down to your broker's lot step and then check the margin required at your leverage.
- Correct sizing caps the loss on a single trade; it does not make a strategy profitable and it does not protect against gaps or slippage.
The position size formula
Every position sizing method for spot forex and CFDs reduces to three numbers.
- Risk amount: account equity × risk percentage. A $5,000 account risking 1% has a risk amount of $50.
- Stop distance in pips: the gap between entry and stop-loss. An entry at 1.08450 with a stop at 1.08150 is 30 pips.
- Pip value per standard lot, in your account currency.
Then:
Lots = Risk amount ÷ (Stop pips × Pip value per lot)
Or, if you prefer to work in units rather than lots:
Units = Risk amount ÷ (Stop distance in price × conversion to account currency)
Both give the same answer. Lots are what MetaTrader and most retail platforms use; units are what some brokers (and anyone writing code against an API) use. A mini lot is 10,000 units and a micro lot 1,000 units.
Step 1: choose the risk amount
The risk amount is a decision you make before looking at the chart. Many traders use a fixed percentage of equity per trade, often somewhere between 0.25% and 2%, with 1% a common reference point. The reasoning behind the 1 percent risk rule is simple arithmetic: at 1% per trade, ten consecutive losses leave you down roughly 9.6%, which is recoverable. At 5% per trade, the same streak leaves you down about 40%, which needs a gain of roughly 67% to get back to where you started.
Use equity, not balance, if you already have open positions, because open losses are real money at risk. And if you trade a prop-firm evaluation, your effective risk budget is the room left above the firm's drawdown floor, not your headline balance; the prop firm drawdown calculator works that out.
Step 2: set the stop where the trade is wrong
The stop should go where your trade idea is invalidated: beyond a swing low, outside a range, past a level that should hold if you are right. It should not be placed at whatever distance makes the lot size look comfortable. That is the single most common sizing error, and it reverses the logic: the stop is chosen from the chart, then the size is derived from it.
Some traders use volatility to set stops, for example a multiple of the Average True Range so the stop sits outside normal noise. Whatever method you use, add the spread when your stop is measured from the chart's bid line. A long trade fills at the ask but is stopped out on the bid, so a stop drawn 20 pips below the bid on a pair with a 1.5-pip spread is 21.5 pips from your actual entry.
Step 3: find the pip value in your account currency
A pip is the fourth decimal place on most pairs (0.0001) and the second decimal place on yen pairs (0.01). The pip value per standard lot is 100,000 × pip size, expressed in the quote currency, then converted into your account currency. There are three cases.
Case A: the quote currency is your account currency
For a US dollar account trading EUR/USD, GBP/USD, AUD/USD, NZD/USD or XAU/USD, the profit and loss is already in dollars. 100,000 × 0.0001 = $10 per pip per standard lot. No conversion is needed.
Case B: your account currency is the base currency
For a US dollar account trading USD/JPY, USD/CAD or USD/CHF, the pip value is in the quote currency, so divide by the current rate. For USD/JPY: 100,000 × 0.01 = ¥1,000 per pip; at an example rate of 150.00 that is 1,000 ÷ 150 = $6.67 per pip. For USD/CAD at an example rate of 1.3600: CAD 10 ÷ 1.36 = $7.35. The full yen walkthrough is in how to calculate pip value for USD/JPY.
Case C: your account currency is in neither side
For a dollar account trading EUR/GBP, the pip is worth £10 per standard lot. Convert to dollars at GBP/USD: at an example rate of 1.2700 that is $12.70. For EUR/JPY it is ¥1,000, converted at USD/JPY. For a euro, pound, rand or ringgit account, apply the same logic with your own currency; our pip value calculator for ZAR, NGN and MYR handles those conversions.
The rates above are illustrative. Pip values for Case B and C pairs drift as exchange rates move, so recalculate with the rate on your platform at the time you place the trade.
Worked examples
All examples assume a $5,000 US dollar account risking 1% ($50) per trade. Rates are examples only.
| Pair | Stop (pips) | Pip value per lot | Calculation | Raw size | Rounded down |
|---|---|---|---|---|---|
| EUR/USD | 30 | $10.00 | 50 ÷ (30 × 10) | 0.1667 lots | 0.16 lots |
| GBP/USD | 45 | $10.00 | 50 ÷ (45 × 10) | 0.1111 lots | 0.11 lots |
| USD/JPY at 150.00 | 40 | $6.67 | 50 ÷ (40 × 6.67) | 0.1874 lots | 0.18 lots |
| USD/CAD at 1.3600 | 35 | $7.35 | 50 ÷ (35 × 7.35) | 0.1944 lots | 0.19 lots |
| EUR/GBP (GBP/USD 1.2700) | 20 | $12.70 | 50 ÷ (20 × 12.70) | 0.1969 lots | 0.19 lots |
| XAU/USD | $6.00 move | $100 per $1 per lot | 50 ÷ (6 × 100) | 0.0833 lots | 0.08 lots |
Check the first row in reverse: 0.16 lots is 16,000 euros. A 30-pip move is 0.0030 × 16,000 = $48. That is slightly under the $50 budget because of rounding down, which is the direction you want.
Gold needs its own convention
Brokers do not agree on what a "pip" is for gold. Some call $0.01 a point and $0.10 a pip; others call $0.01 a pip. To avoid confusion, size gold in dollars of price movement. Contract size is typically 100 troy ounces per lot, so each $1.00 change in the gold price is $100 per lot, and a $6.00 stop on one lot risks $600. Confirm the contract size in your broker's specification sheet, because a few platforms use different contract sizes for metals. There is a full breakdown in how to calculate pip value for gold.
Step 4: round down and check the margin
Most platforms let you trade in steps of 0.01 lots (1,000 units). Some brokers allow smaller sizes on cent or nano accounts, and some API-based brokers allow single units. Always round down: rounding 0.1667 up to 0.17 increases the risk to $51, which seems trivial until it is repeated over hundreds of trades or applied to a larger account.
Then confirm you have enough free margin. Required margin = position size in units × price (in account currency) ÷ leverage. For 16,000 EUR/USD at an example rate of 1.0800 with 30:1 leverage, that is 16,000 × 1.08 ÷ 30 = $576. Retail leverage limits depend on where you are and which broker entity holds your account: 30:1 on major pairs under FCA, ESMA-aligned EU regulators and ASIC rules, 50:1 on majors and 20:1 on others in the US. The margin calculator does this sum for any pair.
Notice that leverage does not appear anywhere in the position size formula. Leverage decides whether you are allowed to open the trade; your stop and risk amount decide how much you lose if it fails. Higher leverage only lets you open positions that are too large for your stop, which is how accounts are wiped out.
Position sizing with several open trades
The formula sizes one trade in isolation. Real risk is the sum across everything open, adjusted for correlation. Long EUR/USD and long GBP/USD are largely the same bet against the US dollar most of the time; risking 1% on each is closer to risking 2% on one idea. Some traders cap total open risk (for example 3% across all positions) and split it between correlated trades. Check how closely pairs have moved together recently before stacking positions.
The same thinking applies to scaling in. If you add to a winning position, the combined stop distance and combined size decide your risk, not the size of the newest add-on.
Common position sizing mistakes
- Fixing the lot size and moving the stop to fit. A trader who always trades 0.5 lots is risking a different amount on every trade, and usually puts stops too tight to keep the loss small.
- Using $10 per pip on every pair. That is only right when the quote currency matches your account currency. On USD/JPY the figure is lower when the yen is weak and higher when it is strong.
- Ignoring spread and commission. On a raw-spread account the round-turn commission is part of the cost of being wrong. On a 10-pip scalp stop, a 1-pip spread plus commission can add 15% or more to the real loss.
- Sizing off balance during a drawdown with open losers. Equity is the honest figure.
- Increasing risk to win back losses. Doubling up after a loss is how the martingale approach fails: the arithmetic of a losing streak eventually catches up.
- Forgetting the units on gold, indices and crypto CFDs. Contract sizes differ by instrument and by broker. Read the specification before the first trade.
Fixed-percentage sizing versus other methods
Fixed fractional (a set percentage per trade) is the most widely used method because it automatically shrinks size during drawdowns and grows it after gains. Alternatives exist. Fixed-dollar risk keeps the amount constant regardless of equity, which is simple but does not adapt. Volatility-based sizing targets a constant dollar amount per ATR unit. Formula-based methods such as the Kelly criterion use estimated win rate and payoff to calculate an "optimal" fraction, but they depend heavily on those estimates being accurate, and full Kelly is far too aggressive for most traders; people who use it typically take a small fraction of it.
Whichever method you choose, the mechanical step at the end is the same: convert a dollar risk into lots using the stop distance and pip value. For speed, the position size calculator performs these steps from the numbers you enter, but it is worth doing the sum by hand a few times so you can spot when a result looks wrong.
Frequently asked questions
What is the simplest position size formula for forex?
Lots = risk amount ÷ (stop-loss in pips × pip value per standard lot). For a US dollar account trading a pair that ends in USD, the pip value is $10 per standard lot, so risking $100 with a 25-pip stop gives 100 ÷ 250 = 0.4 lots. For other pairs, convert the pip value into your account currency first.
How much should I risk per trade?
That depends on your account, strategy and tolerance for drawdowns, and nothing here is personal advice. Many traders keep risk between 0.5% and 2% of equity per trade so that a normal losing streak does not do lasting damage. Lower percentages mean slower growth but far smaller drawdowns, which matters because losses require proportionally larger gains to recover.
Does leverage change my position size?
Not directly. Position size comes from your risk amount, stop distance and pip value. Leverage only determines how much margin the position ties up and whether your account can open it at all. Using more leverage than your sizing requires simply allows trades that are too large for the stop, which increases the chance of a margin call.
How do I calculate position size for USD/JPY?
A pip on USD/JPY is 0.01, so one standard lot moves ¥1,000 per pip. Divide by the current USD/JPY rate to get dollars: at 150.00 that is about $6.67. Then apply the normal formula. Risking $60 with a 45-pip stop gives 60 ÷ (45 × 6.67) ≈ 0.199, rounded down to 0.19 lots.
Should position size include the spread?
Yes, if you want an accurate loss figure. A buy is closed on the bid, a sell on the ask, so the spread is part of the distance price must travel to hit your stop from your entry. On wide-spread or exotic pairs, and on tight scalping stops, include the spread and any commission in the stop distance before dividing.
Why is my calculated lot size smaller than 0.01?
Your risk amount is too small relative to the stop distance for a micro lot. Either the stop is very wide, the account is very small, or both. Options are a cent or nano account if your broker offers one, a tighter stop if the chart genuinely justifies it, or skipping the trade. Do not round up to 0.01 if that breaks your risk limit.
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.