Position size calculator
Give the entry and stop-loss prices and the share of your balance you will risk; get the position in units and lots, the stop in pips and, with a take-profit, the reward against the risk.
Free to use. What you type stays in your browser.
Worked examples
The figures below are example prices, chosen to show the arithmetic, not live rates.
Example 1
A EUR/USD buy with the stop below the entry
Risking 1% of 5,000.00 USD is 50.00 USD. The stop at 1.0820 is 0.0030 below the entry at 1.0850, which is 30 pips. Each unit loses 0.0030 USD if the stop is hit, so 50.00 USD covers 16,667 units, 0.16 lots rounded down. The take-profit at 1.0910 is 60 pips away, a reward of 2 times the risk.
Example 2
A USD/JPY sell in a USD account
For a sell the stop sits above the entry: 150.50 against 150.00, a distance of 0.50 yen, or 50 pips. The account is in dollars, the base currency, so each unit risks 0.50 yen divided by the entry price. 100.00 USD, which is 1% of 10,000.00 USD, covers 30,000 units, 0.3 lots.
How it is worked out
The position size calculator works from prices instead of pips: give it the entry and the stop-loss price and it measures the distance for you, in pips and in the quote currency. It then finds how many units make that distance cost exactly the money you chose to risk.
For a buy the stop sits below the entry, for a sell above it; the calculator uses the distance either way. Add a take-profit price to see the reward against the risk. When your account is in the pair's base currency, the entry price converts the loss.
- Money at risk = balance × risk percentage
- Distance = entry price − stop-loss price, ignoring the sign
- Loss per unit = distance, converted into the account currency
- Units = money at risk ÷ loss per unit
- Reward to risk = take-profit distance ÷ stop-loss distance
Questions about position size
They answer the same question. The lot size calculator takes your stop-loss in pips; the position size calculator takes the entry and stop-loss prices, measures the distance for you, and can add a take-profit to show the reward against the risk.
Yes. For a sell, put the stop-loss above the entry price. The calculator uses the distance between them either way.
That is your decision, and it depends on your goals and experience. Many trading guides suggest risking only a small share of your balance on any one trade, so that a run of losses does not empty the account.
There is no single right figure. A higher ratio needs fewer winning trades to break even, but targets further away are reached less often.
Spreads, commissions and the exact rate your broker converts at change the result slightly, and platforms round sizes to their own steps. Use the calculator to plan, then check the size on your platform before you trade.

