Position sizing is deciding how big each trade should be. It is the single most important risk decision in trading, because it controls how much money a losing trade costs.
The common method is to risk a fixed percentage of your account on each trade, often 0.5% to 2%. You then set the lot size so that, if the stop-loss is hit, the loss equals that amount.
The formula
Lot size = money at risk ÷ (stop-loss in pips × pip value per lot).
With a $10,000 account, 1% risk ($100), a 25-pip stop and a pip value of $10 per lot: $100 ÷ (25 × $10) = 0.4 lots.
Why it works
Sizing from risk keeps every loss the same size, whatever the stop distance. A wide stop simply means a smaller position. It also stops a losing streak from wrecking the account: ten losses at 1% leave you down about 10%, not 50%. The position size calculator does the maths for any pair.