Shares to buy so that hitting your stop-loss costs a fixed percentage of your account.
Below the entry for a long position, above it for a short.
Example Result
Your result will appear here
The calculated result will appear here after you press Calculate.
Estimates for planning only; not financial, tax or investment advice. See our Disclaimer.
Position sizing turns a risk rule into a share count. You decide how much of the account one losing trade may cost — 1% of $20,000 is $200 — and where the stop-loss goes if the trade is wrong — $3 below a $55 entry, say. Dividing the first number by the second gives the position: $200 ÷ $3 = 66 shares, rounded down so the risk stays a ceiling. Whatever happens, a stop-out costs about $200, not whatever a round lot of 100 or 500 shares would have lost. Enter the account size, the risk percentage, the entry price and the stop price; the calculator returns the number of shares, the dollar risk and the value of the position, and warns when the position would be larger than the account. The notes below cover rounding, the stop distance, the 1% and 2% rules, and how a profit target turns the same numbers into a reward-to-risk ratio.
Enter your total trading account size.
Enter the percentage of your account you are willing to lose if the stop is hit.
Enter your planned entry and stop-loss price (the stop above the entry for a short), then press Calculate.
By O.E. — Partner, chairman of the board and CEO of a metal products manufacturer for 21 years; the company exports to 45 countries.
Drafted with AI assistance; calculations checked against primary sources and tested with the site's own code. About FlowUtil
Last reviewed
Risk per trade = account × risk % (20,000 × 1% = $200); risk per share = |entry − stop| (55 − 52 = $3.00); shares = risk per trade ÷ risk per share = 66.67, rounded down to 66; position value = shares × entry = $3,630 (18% of the account). The absolute value in the second step makes the formula work for short positions too: entering a stop above the entry (sell at $50, stop at $53) gives the same $3 risk per share.
Round down, not to the nearest: 66.67 shares is not a position. Rounding to 67 puts $201 at risk — a small overshoot, but the point of the exercise is that the risk is a ceiling. With low-priced stocks and tight stops the fractional part can be large, and rounding up could add several percent to the risk. The calculator rounds down and shows the risk at the stop ($198).
| Symbol | Meaning |
|---|---|
| Risk amount | Account size × Risk % |
| Risk per share | |Entry − Stop| |
| Shares | Risk amount ÷ Risk per share, rounded down |
| Position value | Shares × Entry price |
1A standard setup: $20,000 account, 1% risk, buy at $55 with a stop at $52.
200 ÷ 3 = 66.67 → 66
66 shares · $198 at the stop · $3,630 position (18% of the account)
If the stop is hit the loss is $198 plus commissions.
2A small account at 2%: $5,000 account, 2% risk, entry $10, stop $9.
100 ÷ 1
100 shares · $1,000 position
A 2% rule on a small account produces round numbers but doubles the damage of a losing streak: ten straight losses cost about 18% of the account at 2% and 10% at 1%.
3A short sale: $20,000, 1%, sell short at $50 with a stop at $53.
|50 − 53| = 3; 200 ÷ 3 → 66
66 shares
The direction of the trade does not change the arithmetic.
4A stop so tight the position outgrows the account: $20,000, 1%, entry $55, stop $54.50.
200 ÷ 0.50 = 400; 400 × 55 = 22,000
400 shares · $22,000 position in a $20,000 account — warning shown
The risk rule is satisfied on paper, but the trade cannot be placed without margin, and a 10% overnight gap through the stop would lose $2,200, not $200. Either widen the stop to a level the stock can plausibly hold, or cap the position at what the account can buy: 20,000 ÷ 55 = 363 shares, which risks $181.50 — the calculator shows that cap.
Same $200 of risk, same $55 entry. A tighter stop buys a bigger position for the same risk — which tempts traders to tighten stops for size rather than for the stock's behaviour, and tight stops get hit by ordinary noise. Place the stop where the trade idea is proven wrong (below a support level, below a recent low, or at a multiple of the stock's average daily range), then let the formula set the size. The size is the output, never the input.
| Stop at | Risk per share | Shares | Position value | Share of account |
|---|---|---|---|---|
| $52.00 | $3.00 | 66 | $3,630 | 18% |
| $53.50 | $1.50 | 133 | $7,315 | 37% |
| $54.50 | $0.50 | 400 | $22,000 | 110% |
| $49.50 | $5.50 | 36 | $1,980 | 10% |
Risking 1% of the account per trade is a common convention; 0.5% is conservative, 2% aggressive, and anything above that assumes a win rate most traders do not have. The arithmetic of recovery is the reason: a 10% drawdown needs an 11% gain to recover, a 25% drawdown needs 33%, a 50% drawdown needs 100%. At 1% per trade, a run of ten losses — unremarkable over a long career — costs under 10%; at 5% per trade the same run costs 40%. The percentage also caps how many positions you can hold with real diversification: five open trades at 2% each put 10% of the account at risk at once if they are correlated.
Position sizing fixes the downside; the upside comes from the target. Example 1 with a target of $64: potential gain 66 × (64 − 55) = $594 against a $198 risk, a reward-to-risk ratio of 3:1. Over many trades, the win rate needed to break even is 1 ÷ (1 + R): 25% at 3:1, 50% at 1:1. The Risk vs Reward Calculator works the ratio and the break-even win rate from the three prices.