Position Size Calculator

Position Size Calculator

Work out exactly how many lots to trade so a losing trade only ever costs you the amount you chose to risk. Built for forex & CFD traders.

% of balance
USD
pips

Optional: estimate margin required
1 :
Recommended position size
0.20lots
20,000 units
Amount at risk
Stop-loss distance
Pip value (per lot)
Value per pip (your size)
Est. margin required
0standard
0mini (0.1)
0micro (0.01)

Compare low-spread brokers →
How this is calculated & the formula

Position sizing keeps your loss on any single trade fixed, no matter how far away your stop is. The maths:

Position size (lots) = Amount at risk ÷ (Stop in pips × Pip value per lot)

  1. Amount at risk = balance × your risk % (e.g. 1% of $10,000 = $100).
  2. Stop in pips = distance between your entry and stop-loss.
  3. Pip value per lot = for most pairs a 1-pip move on 1 standard lot (100,000 units) is worth 10 units of the quote currency (1,000 for JPY-quoted pairs), converted into your account currency.

Risk warning: Trading forex and CFDs on leverage carries a high risk of losing money rapidly. This calculator is an educational tool, not financial advice. Always confirm pip values, contract sizes and margin requirements with your broker, and never risk money you can't afford to lose.