Position size calculator: how many shares a stop allows
Give this calculator three numbers you already have — your account size, the percentage of it you are willing to lose on one trade, and where your stop sits — and it gives you the number of shares you can buy without breaking your own rule. It rounds down, always, because rounding up quietly spends more than the policy allows. It also prints every line of the arithmetic, so you can check the answer on paper rather than trusting the box.
One caveat before the numbers: 1% risk is a convention, not a law, and no regulator requires it. It is a number people repeat because it keeps a bad run survivable, not because it is correct. Your own number can be smaller, and on a small account it may have to be.
Calculate a position
The whole account, not the amount you are putting in this trade.
A convention, not a law. Nothing requires 1%.
The price you would buy (or short) at.
Below the entry for a long, above it for a short. We work out which.
What the stop actually fills at, not what you asked for. Two cents a share is a common assumption, not a quote.
Your own commission and fees for the buy and the sell together. Leave it at 0 to ignore them.
Long — stop below the entry.
Shares
50
rounded down, never up
Position value
$1,000.00
20.00% of the account
Risk if the stop is hit
$50.00
1.00% of the account
The arithmetic, line by line
Risk unit = $5,000.00 × 1% = $50.00 Risk per share = |$20.00 − $19.00| = $1.00 Shares = $50.00 ÷ $1.00 = 50 exactly Position value = 50 × $20.00 = $1,000.00 Position as % = $1,000.00 ÷ $5,000.00 = 20.00% Intended loss = 50 × $1.00 = $50.00 Loss as % = $50.00 ÷ $5,000.00 = 1.00%
The stop price is not the price you get
A stop becomes a market order when it triggers, so it fills wherever the market is. At $0.02 a share of slippage on 50 shares, the same trade loses 50 × ($1.00 + $0.02) = $51.00 — 1.02% of the account, not 1.00%.
The lesson's own example is a stop that fills twenty-four cents worse: 50 × $1.24 = $62.00, which is 1.24% of the account. Add the two-cent spread on each side of the round trip ($2.00 on this size) and it is $64.00, or 1.28%.
Worst case on this size, with costs
At the stop = 50 × $1.00 = $50.00 + slippage = 50 × $0.02 = $1.00 + costs = $0.00 Worst case = $51.00 (1.02% of the account)
Costs are at zero here, so nothing has been added for commission, fees or the spread. The printed loss is a floor, not a ceiling: a gap can open well through the stop, a thin stock can fill worse than the slippage you assumed, and the fees are the only part of it you can know in advance.
The worked example, to the cent
This is the example from our free lesson on position sizing, and this calculator reproduces it exactly: a $5,000 account, a 1% risk policy, a buy at $20.00 and a stop at $19.00.
$5,000.00 × 0.01 = $50.00 $20.00 − $19.00 = $1.00 $50.00 ÷ $1.00 = 50 shares 50 × $1.00 = $50.00 $50.00 ÷ $5,000.00 = 0.010 = 1.00% ✓ 50 × $20.00 = $1,000.00 $1,000.00 ÷ $5,000.00 = 0.20 = 20%
Fifty shares at $20.00. Intended loss if the stop is hit: $50.00, which is 1.00% of the account — before costs, and before what the stop actually fills at.
Now the same account with a stop at $19.45 instead, so the distance is 55 cents and the division does not come out even: $50.00 ÷ $0.55 = 90.9090…, which is 90 shares, not 91. Ninety-one shares would risk $50.05 — 1.001% of the account, five cents over the policy. Five cents is nothing; the habit is not, because rounding up is always in the direction that makes the position bigger.
The same answer for four accounts and three stops
The table below is the whole calculation at 1% risk, done for the account sizes a student actually has and three stop distances you will meet on a $20 stock. Nothing in it needs the form above: it is a static table, and it is here to be checked, screenshotted or handed out.
| Account | 25¢ stop | 50¢ stop | $1.00 stop |
|---|---|---|---|
| $500.00 | 20 shares$400.0080.00% of account | 10 shares$200.0040.00% of account | 5 shares$100.0020.00% of account |
| $1,000.00 | 40 shares$800.0080.00% of account | 20 shares$400.0040.00% of account | 10 shares$200.0020.00% of account |
| $2,500.00 | 100 shares$2,000.0080.00% of account | 50 shares$1,000.0040.00% of account | 25 shares$500.0020.00% of account |
| $5,000.00 | 200 shares$4,000.0080.00% of account | 100 shares$2,000.0040.00% of account | 50 shares$1,000.0020.00% of account |
Read it in one direction and it says the obvious thing: a bigger account buys more shares. Read it in the other and it says the thing that matters — at $5,000 and 1%, a stop 25 cents away buys 200 shares, $4,000 of stock, four fifths of the account, for exactly the same $50 at risk as the 50 shares a dollar-wide stop buys. The risk is identical. The position is four times the size.
The share counts depend only on the account and the stop distance, so they hold at any price. The position values are at a $20.00 entry: at $40.00 the same 200 shares would be $8,000, and at $10.00 they would be $2,000. If your own numbers are not in the table, the form above does them.
Why 1% risk is not a 1% position
Those fifty shares are $1,000.00 of stock, which is 20% of the account — twenty times the risk number. The two figures answer different questions. The percentage of the account at risk is what you lose if the trade fails; the position value is what you have to be able to hold, and it moves with how far away the stop is. A tight stop buys a big position and a wide stop buys a small one, for the same $50 of risk. That is why a trade can be "only 1% risk" and still be a fifth of everything you have, and why the stop distance — not your conviction — is what sets the size.
What this calculator does not do
It assumes the stop fills at the stop. It does not, always: a stop becomes a market order when it triggers, so it fills wherever the market is, and a gap can open far below it. That is the line the slippage box above is for, and it is added to the worst-case figure rather than hidden.
- It does not work out what your costs are. The costs box takes a number you supply — your own commission and fees for the buy and the sell together — and adds it to the worst case. It does not estimate them, because a fee rate printed here would go stale and would then have to be kept right in two places at once.
- It ignores liquidity: a size that is fine on a large-cap stock may be impossible to get out of in a thin one.
- It ignores the fact that losses arrive in runs. Ten trades at 1% each is not a 10% worst case.
- It cannot tell you whether the trade is any good. Sizing controls how much a loss costs; it does not prevent losses, and it is not a strategy.
Nothing here is investment advice or a recommendation to buy or sell anything, and trading carries a substantial risk of loss. It is the arithmetic, done honestly.
Where the rest of it is written down
The full lesson this example comes from — the formula, why it is the only one that works, and what happens when the answer is zero — is free and stays free: read the position-sizing lesson. If you want the mechanics around it, Module 1 is free to read in full, and every factual claim in the course is dated and sourced on how we checked it.
First Candle sells the rest as a written course: eight modules, 99 one-time, 14-day refund, no subscription. Enroll now — 99.