Position sizing
Position Size Calculator: Lot Size From Risk Percent
Choose what you’ll risk and where your stop goes. Get the exact lots, with every step shown and the live price in.
4 mini · 40 micro · 40,000 units
Estimate before spread, commission and swap. Live mid-market price from the FXNX feed, indicative, not a dealing quote.
Risk $100 on EUR/USD with a 25-pip stop: 0.40 lots.
The formula
Two steps. No black box.
Risk is a share of your balance. Size is that risk divided by what your stop costs per lot.
Step 1at risk = balance×risk %
Step 2lots = at risk ÷ (stop×)
where = ×÷priceonly if the quote isn't USD
Pip value
Contract size × pip size. Divide by the price when the quote currency isn't USD.
Contract size
100,000 units a lot on forex pairs; 100 ounces on gold.
Pip size
0.0001 on most pairs, 0.01 on JPY pairs, 0.1 on gold.
The long version
Turn a fixed-percent risk rule into an exact lot size. Enter your balance, the percent you'll risk, your stop in pips, and the pair — the tool returns the position size that caps the loss.
What this calculator does
Position sizing is the single most important risk control a trader has. It answers one question before every trade: how many lots can I open so that if my stop-loss is hit, I lose only the amount I decided in advance? This tool takes your account balance, the percentage of that balance you're willing to risk, your stop-loss distance in pips, and the currency pair, then returns the precise lot size.
The output is deliberately mechanical. You choose the risk; the maths chooses the size. That removes the temptation to "size up" on a setup that feels strong — the most common reason accounts blow up.
The formula
The tool computes two steps:
riskAmount= balance × (risk% / 100)lots= riskAmount / (stopPips × pipValuePerLot)
The only moving part is pipValuePerLot, the cash value of a one-pip move on one standard lot. For a standard lot, contractSize = 100,000 and pipSize = 0.0001 (or 0.01 for JPY pairs):
- USD-quoted pairs (USD is the second currency, e.g. EUR/USD, GBP/USD):
pipValuePerLot = contractSize × pipSize, which is a clean $10 per pip per standard lot. - Other pairs (USD is the base or absent, e.g. USD/JPY, EUR/GBP):
pipValuePerLot = (contractSize × pipSize) / price, because the pip is denominated in the quote currency and must be converted back to your account currency at the current rate.
Multiply stop distance by pip value and you get the loss per lot; divide your risk budget by that and you get lots.
Derivation, in one line
You want lots × stopPips × pipValuePerLot = riskAmount. Solve for lots and you divide both sides by stopPips × pipValuePerLot — exactly the formula above. Everything else is just getting pipValuePerLot right for the pair.
Putting it to work
Lock a fixed risk percent — many professionals sit between 0.5% and 2% per trade — and let the calculator vary the lot size as your stop and balance change. Consistency in risk matters far more than consistency in lot size.
Worked example
Risk $50. Open 0.20 lots.
A $5,000 account risks 1% with a 25-pip stop on EUR/USD. Three steps, and a check.
- Balance
- $5,000
- Risk per trade
- 1%
- Stop loss
- 25 pips
- Pair
- EUR/USD
- USD/JPYConnecting…
- —
- Pip value, 1 lot
- $—
- Lots
- —
- Step 1, Risk budget: 5,000 × 1 ÷ 100 = $50.00
- Step 2, Pip value, 1 lot: 100,000 × 0.0001 = $10.00
- Step 3, Lots: 50 ÷ (25 × 10) = 0.20 lots
Each pip is worth $2.00, so a 25-pip stop loses exactly $50.00: your 1%.
The long version
- Account balance: $5,000
- Risk per trade: 1%
- Stop-loss: 25 pips
- Pair: EUR/USD (USD-quoted)
Step 1 — risk budget: 5,000 × 1/100 = $50.
Step 2 — pip value per lot: 100,000 × 0.0001 = $10.
Step 3 — lots: 50 / (25 × 10) = 50 / 250 = 0.20 lots.
So you open 0.20 lots (20,000 units). Each pip is worth 0.20 × $10 = $2, and a 25-pip stop loses exactly 2 × 25 = $50 — your planned 1%. Widen the stop to 50 pips and the size halves to 0.10 lots, keeping the dollar risk identical. That inverse relationship between stop width and position size is the heart of disciplined sizing.
Pitfalls
Four ways
the sum goes wrong.
Each quietly changes your size. The usual mistake is struck out; the right number sits beside it.
-
JPY pip size
A yen pip is 0.01, not 0.0001. Use the wrong one and you're 100× too big.
$100 at risk · 25-pip stop USD/JPY — Connecting… -
Spread widens your stop
You cross the spread on entry and exit. Size on the real distance.
$100 at risk · 8-pip stop + 1-pip spread = 9 pips Example -
Round down, never up
Lots trade in 0.01 steps. Rounding up breaks your risk budget.
$100 at risk The formula gives 0.236 lots -
Account currency isn't USD
The answer is in dollars. Convert at your account's rate.
€100 at risk, on a euro account EUR/USD — Connecting…
The long version
JPY pairs use a different pip size. A pip in USD/JPY is 0.01, not 0.0001. The tool handles this, but if you ever size by hand, using 0.0001 on a yen pair overstates your size by 100x.
Stops and spread. Your effective stop is wider than the chart distance because you cross the spread on entry and exit. On a tight 8-pip scalp, a 1-pip spread is over 10% of your stop. Size on the real stop distance, not the ideal one.
Rounding to broker minimums. Brokers trade in 0.01-lot steps (micro lots). If the formula returns 0.236 lots, round down to 0.23 to stay under budget, never up.
Non-USD account currencies need a second conversion. If your account is in EUR but you trade USD/JPY, the pip value lands in the quote currency and must be converted to your account currency. Sizing in the wrong currency quietly skews real risk. This calculator works in US dollars, so convert your risk amount at your account's rate first.
FAQ
Questions you can run.
Five questions traders ask about sizing, each answered with a number.
How do I calculate lot size from a risk percentage?
Multiply your balance by your risk percent to get your dollar risk, then divide that by (stop-loss in pips × pip value per lot). For a USD-quoted standard lot the pip value is $10, so $50 risk over a 25-pip stop equals 0.20 lots.
What is a safe risk percent per trade in forex?
Most professional traders risk between 0.5% and 2% of their account on a single trade. Lower percentages survive longer losing streaks; this calculator lets you test any value against your stop distance.
Why does my position size change when I move my stop-loss?
Because dollar risk is held constant. A wider stop means each lot can lose more, so the calculator reduces the lot size to keep your total loss equal to your chosen risk percent. Stop width and size are inversely related.
How is pip value different for JPY pairs?
JPY pairs use a pip size of 0.01 instead of 0.0001, and the pip value is in yen, so it's divided by the current price to convert back to your account currency. The calculator applies this automatically when you select the pair.
Does spread affect my position size?
Indirectly. Spread widens your effective stop because you pay it on entry and exit, so size on the real stop distance. Tighter raw spreads, like 0.0 pips on NX Pro, keep that effect small on short-stop trades.
In the portal, FXNX AI can run size, margin, pip value and P/L for your own account.
See how FXNX AI worksKeep calculating
Your answer,
carried forward.
Take your size into the next question. These calculators open with your numbers already in.
Your answer, carried forward: —
Worked it out?
Now practice it.
Sign up and a demo opens on your first visit.
Try your numbers on live prices.
Demo balance $10,000.00 Practice funds, not real money.
On NX Pro, raw spread from 0.0 pips plus $5 a lot keeps a tight stop’s cost small.
Calculators give estimates for education. Your trading platform’s figures are final.
CFDs are complex instruments and carry a high risk of losing money rapidly due to leverage.