Forex Position Size: Lots from Risk and Stop explained: formula, worked example and common mistakes
Turn a balance, a risk share and a stop distance into lots, units, notional and margin. Free, no sign-up, nothing leaves your browser.
Updated
Two questions, one page
A forex position raises two separate questions. The first is sizing: given what the account may lose if the stop is hit, how large can the position be? The second is margin: given that position, how much does the account have to put up? The two have different inputs — sizing runs on the risk share and the stop distance, margin on the notional value and the leverage — and mixing them is the oldest mistake in the trade.
The calculator is at /tools/forex-position/. It answers the sizing question first, then works the margin beside it, and flags the case where the margin needed is more than the account holds.
The sizing step
risk amount = balance × risk share
lots = risk amount ÷ (stop pips × pip value per lot)
units = lots × units per lot
On the defaults: 10,000 × 1% = 100 of risk, 100 ÷ (50 × 10) = 0.2 lots, and 0.2 × 100,000 = 20,000 units. The stop distance sits in the denominator, which is the whole point: the same 100 of risk is 0.2 lots over 50 pips and 0.1 lots over 100 pips. The position, not the risk share, absorbs the width of the stop.
The pip value per lot is typed, not stored, because it depends on the pair and on the account currency. The field arrives with 10 as an example figure and says so; change it and every result follows.
The margin step
notional = units × entry price = 20,000 × 1.1 = 22,000
margin = notional ÷ leverage = 22,000 ÷ 30 = 733.33
share = margin ÷ balance = 7.33%
The leverage typed as the N of 1:N divides the notional into the margin. It never touches the position size: halving the leverage doubles the margin and leaves the 0.2 lots where they are. That separation is worth internalizing, because a common error works backwards from the margin and sizes the position off the leverage instead of off the stop.
When the margin does not fit
The margin needed can exceed the balance, most easily with a narrow stop or a high risk share. A 100% risk over a 1-pip stop sizes 1,000 lots on the default balance, a notional of 110,000,000 and a margin of 3,666,666.67 at 1:30 — the page raises an amber flag with the two figures side by side rather than refusing to compute. The flag is arithmetic; what to do about it is the visitor’s business.
What the page does not know
The page works from the figures typed at the moment of typing: no live rates, no spread, no financing, and no opinion on the risk share itself. The margin figure moves with rates and pip values, so it is a snapshot like everything else on the page. For what happens when the position moves against the account, see the stress test calculator; for the same arithmetic counted in shares, see the position size calculator.
Frequently asked questions
How do I work out the lot size from a risk amount?
Divide the risk amount by the cost of the stop: risk ÷ (stop pips × pip value per lot). On the defaults, 100 ÷ (50 × 10) = 0.2 lots. The stop distance is in the denominator, so a wider stop means fewer lots for the same risk, and a narrower stop means more.
Why does leverage not change the position size?
Because it answers a different question. Leverage divides the notional value into the margin the account puts up: 22,000 ÷ 30 = 733.33 on the defaults. The position size comes from the risk amount and the stop, which the leverage never enters. Halve the leverage and the margin doubles; the lots stay at 0.2.
What is the notional value of a forex position?
Units × entry price. On the defaults, 20,000 units at 1.1 is 22,000. It is the full size of the position, of which the margin is the fraction the account puts up. The margin share row shows that fraction against the balance: 7.33% on the defaults.
When does the page flag the position?
When the margin needed is more than the balance. That happens when the risk share, the stop and the pip value together describe a position too large for the account at the typed leverage, as a 100% risk over a 1-pip stop does on the default balance. The flag carries both figures; it is arithmetic, not a verdict.
Is the pip value of 10 fixed?
No, it is an example. One pip of one lot depends on the pair and on the account currency, and the page stores no rates, so the field is typed like every other. Change it and the lots, units and margin all follow. The units-per-lot figure of 100,000 is likewise an example.
This tool shows math, not advice.
Cite this page
Copy this line into a reference list, a report or a spreadsheet note.
Investment Math Calculator. “Forex Position Size: Lots from Risk and Stop”. Updated 2026-11-22. https://investmentmathcalculator.com/guides/forex-position-calculator/
Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.