Position Size from a Stop-Loss
Finds: how many shares fit a risk limit.
When to use it: Use it to decide how many shares to buy when you place a stop order. A stop turns into a market order once the price touches it, so the loss is roughly the gap between entry and stop times the shares. Gaps and fast markets can make it worse.
The formula
In words: Shares = (Account size x Risk per trade) / (Entry price − Stop price)
What each symbol means
| Q | Number of shares to buy | number |
| A | Account size | money |
| r | Share of the account you accept losing if the stop is hit | percent |
| P_entry | Price you buy at | money |
| P_stop | Price of the stop order that sells if the stock falls to it | money |
Worked example
A 50,000 account risks 1% on a trade. You buy at 40 with a stop at 37. How many shares?
| Amount at risk | 50,000 × 0.01 | 500 |
| Shares | 166 | |
| Position cost | 166 × 40 | 6,640 |
| Position as a share of the account | 6,640 ÷ 50,000 | 13.3% |
The answer
You can lose 500 on the trade, so buy 166 shares. That is a 6,640 position, or 13.3% of the account.
Want every formula on a few pages?Get the free Cheat Sheet (PDF) →
Calculator
Shares166
Position cost6,640