Risk management
Position size calculator forex, gold, indices and crypto
Choose what you are prepared to lose and where the stop goes, as a price or in pips. The calculator gives the lots, units and pip value for any forex pair, metal, index or cryptocurrency in any of 11 account currencies, rounded down to your broker's lot step, and shows its working.
- 101instruments to search
- 11account currencies
- Pipsor prices for the stop
- Downrounding, never over your risk
- Mini lots–
- Micro lots–
- Units–
- Stop distance–
- Pip value per lot–
- Pip value of this trade–
- Loss at the stop price–
- Commission–
- Slippage allowance–
- Share of the account–
- Your risk budget–
How this was worked out
How to calculate position size
Four steps, the same ones the calculator shows under its answer.
- 1
Money at risk
Balance × risk %. 10,000 × 1% = 100.
- 2
Stop distance
|entry − stop| ÷ pip size, or type the pips. (1.08500 − 1.08000) ÷ 0.0001 = 50 pips.
- 3
Value of a pip
Pip size × contract size × conversion. 0.0001 × 100,000 × 1 = 10 USD a lot.
- 4
Lots
Risk ÷ (pips × pip value), rounded down to the lot step. 100 ÷ (50 × 10) = 0.20 lots.
lots = risk money ÷ ( stop distance × contract size × conversion rate + costs per lot )The same formula works for every instrument: only the pip (or point) size, the contract size and the currency the price is quoted in change.
How pip value is calculated
Pip size × contract size, in the currency the instrument is priced in, converted to your account's.
| Instrument | Pip or point | Contract, 1 lot | Value of 1 pip or point, 1 lot |
|---|---|---|---|
| EUR/USD, a USD account | 0.0001 | 100,000 EUR | 0.0001 × 100,000 = 10.00 USD |
| USD/JPY at 150.00, a USD account | 0.01 | 100,000 USD | 0.01 × 100,000 ÷ 150 = 6.67 USD |
| EUR/JPY, a GBP account (1 JPY = 0.0052 GBP) | 0.01 | 100,000 EUR | 0.01 × 100,000 × 0.0052 = 5.20 GBP |
| Gold, XAU/USD | 0.10 | 100 ounces | 0.10 × 100 = 10.00 USD |
| Silver, XAG/USD | 0.01 | 5,000 ounces | 0.01 × 5,000 = 50.00 USD |
| Germany 40, a USD account (1 EUR = 1.16 USD) | 1 point | 1 × the index | 1 × 1 × 1.16 = 1.16 USD |
| Bitcoin, BTC/USD | 1 point (1.00) | 1 BTC | 1 × 1 = 1.00 USD |
When the base currency is the account currency (USD/JPY on a USD account), the loss is converted at the price where it is taken: the stop. A USD/JPY stop 50 pips away costs 332.23 USD a lot, not the 333.33 that the entry price would suggest.
Metals' contracts are the same at most brokers. Index and crypto contracts are not: one broker's Japan 225 is 1 yen a point a lot, another's 5 dollars. The calculator shows the specification it uses under the instrument; check it against the symbol's Specification in MetaTrader and change it if yours differs.
Worked examples
Six trades, worked through by hand. Type them into the calculator and the answers match.
EUR/USD, a USD account
10,000 USD, 1% risk, buy at 1.10500, stop at 1.10000.
- Risk: 100 USD
- Stop: 50 pips
- Pip value: 10 USD a lot
0.20 lots 20,000 units
USD/JPY, a USD account
10,000 USD, 1% risk, sell at 150.000, stop at 150.500.
- Stop: 50 pips (0.01 each)
- Loss a lot: 50,000 JPY ÷ 150.5 = 332.23 USD
- Exact size 0.301, rounded down
0.30 lots risking 99.67 USD
EUR/JPY, a GBP account
5,000 GBP, 2% risk, buy at 162.300, stop at 161.800, 1 JPY = 0.0052 GBP.
- Risk: 100 GBP
- Loss a lot: 50,000 JPY × 0.0052 = 260 GBP
- Exact size 0.3846, rounded down
0.38 lots risking 98.80 GBP
Gold, a USD account
10,000 USD, 1% risk, a 100-pip stop (10.00 of price).
- Risk: 100 USD
- Pip value: 0.10 × 100 oz = 10 USD a lot
- Loss a lot: 100 × 10 = 1,000 USD
0.10 lots 10 ounces
Germany 40, a USD account
10,000 USD, 1% risk, a 40-point stop, 1 EUR = 1.16 USD, 1 EUR a point a lot.
- Risk: 100 USD
- Loss a lot: 40 EUR × 1.16 = 46.40 USD
- Exact size 2.155, rounded down
2.15 lots risking 99.76 USD
Bitcoin, a USD account
5,000 USD, 2% risk, buy at 95,000, stop at 93,500, 1 BTC a lot.
- Risk: 100 USD
- Stop: 1,500 points of 1.00
- Exact size 0.0667, rounded down
0.06 lots risking 90.00 USD
How the stop distance changes the lot size
Same account, same risk, four stops.
EUR/USD, 10,000 USD account, 1% risk. The money at risk stays at 100 USD every time: a wider stop simply means a smaller position.
Standard, mini, micro and nano lots
| Lot | Units of the base currency | In standard lots | EUR/USD pip value |
|---|---|---|---|
| Standard | 100,000 | 1.00 | 10.00 USD |
| Mini | 10,000 | 0.10 | 1.00 USD |
| Micro | 1,000 | 0.01 | 0.10 USD |
| Nano | 100 | 0.001 | 0.01 USD |
Mini and micro lots are forex terms. For metals, indices and crypto the lot is the broker's contract: 100 ounces of gold, 1 times an index, 1 coin.
Theoretical risk against execution risk
What the trade risks on paper, and what it can cost in a real market.
Theoretical risk
- The stop fills exactly at its price
- No commission
- Lots × stop distance × pip value
Execution risk
- Commission on the way in and out
- Slippage past the stop in a fast market
- Gaps over a weekend or a news release
Enter a commission and a slippage allowance and the calculator keeps them inside your risk, or shows them on top of it if you untick the box. A gap can still go past any allowance: a stop is an order, not a promise of price.
Common position sizing mistakes
- 1
A fixed lot for every trade
With 0.50 lots on every trade, a 20-pip stop risks 100 USD and a 100-pip stop 500. Size from the stop, not from habit.
- 2
Forgetting the conversion
A pip on GBP/JPY is not worth 10 USD, and a DAX point is worth euros. Anything not priced in your account currency needs converting.
- 3
Rounding up
Rounding 0.386 to 0.39 takes you over your limit. Round down; the calculator always does.
- 4
Moving the stop to fit the lot
The stop belongs where the trade is proved wrong. Choose the stop first, then let the size follow.
- 5
Ignoring the costs
Seven dollars a lot looks small until a tight stop makes it a tenth of the risk.
- 6
Assuming every broker's contract is the same
Index and crypto contracts, and some exotic pip sizes, differ between brokers. Check the symbol's Specification in MetaTrader.
Questions
How do I calculate a lot size?
Multiply your balance by the share you will risk, divide by the stop distance in pips, and divide again by the value of one pip for one lot. Round the result down to your broker's lot step.
Can I enter my stop loss in pips?
Yes, and that is how it starts: type the pips (points for indices and crypto). No prices are needed, except the current price of a pair whose first currency is your account currency, such as USD/JPY on a USD account, because the loss is converted at that price. To work from prices instead, choose "Entry and stop prices".
Does it work for gold, indices and crypto?
Yes. Gold is 100 ounces a lot with a pip of 0.10 (10 USD a pip a lot), silver 5,000 ounces with a pip of 0.01. Indices and crypto use a point of 1.00 of price and 1 unit a lot, the most common contract; brokers differ, so check yours and change it under Broker specifications.
How much should I risk per trade?
Many traders keep each trade between 0.5% and 2% of the account, so that a long losing streak leaves enough to carry on. The Monte Carlo simulator shows what a given risk does to the drawdowns your statistics allow.
Why is the pip value different on USD/JPY?
Its pip is 0.01 yen, and the yen has to be turned into your account currency. On a USD account that means dividing by the USD/JPY price.
Where does the conversion rate come from?
While the currency market is open, the latest market rate; otherwise the European Central Bank's reference rate. The box says which, and when. For a precise figure, type in your broker's current rate.
Why is my position zero?
Because even the broker's smallest lot would risk more than you allowed. The calculator says how much that smallest trade would risk, so that you can decide to widen your budget, tighten the stop or skip the trade.
Is anything I type sent to you?
No. The calculation runs in your browser. Your last inputs are remembered on your own device so that the page opens where you left it.