Stocks and investing

Stock Position Size Calculator

Enter your account, your risk percentage and where the stop sits. The calculator returns whole shares — and the real risk after rounding, not the target.

Your account

The trade

Shares to buy
Money at risk
Risk per share
Position value
Share of the account
Actual risk after rounding

Shares are rounded down to whole numbers, so the risk you actually take is slightly below the limit rather than above it — the last row shows the real figure. Rounding up to a neater number quietly breaks the rule the calculation exists to enforce.

FreeNo signupNothing leaves your browser

The formula

shares = (account × risk%) ÷ |entry − stop|

A $25,000 account risking 1% has $250 to lose. With an entry at $48.50 and a stop at $46.00, the risk per share is $2.50, so the position is 100 shares — $4,850 of stock to risk $250.

Two things follow from that example, and both are specific to equities.

Whole shares, and why we round down

Most brokers trade whole shares. A calculation returning 103.7 has to become 103 or 104, and the direction matters more than it looks.

Rounding down keeps the actual risk below the limit. Rounding up — including the very natural urge to make it "a nice round 110" — puts it above, every time, on every trade. Individually it is a rounding error; across a year of trades it is a risk rule that was never actually enforced.

The calculator rounds down and shows the resulting risk on its own line, so the number you are actually taking is visible rather than assumed.

Fractional-share brokers remove this constraint entirely, which is genuinely useful for small accounts — it is often the only way to take a wide-stop position at a 1% risk rule without the size collapsing to zero.

The constraint that does not exist in forex or crypto

A cash account cannot buy more stock than it has money.

There is no leverage by default, so the position size is capped twice: once by your risk rule, and once by the cash available. On a low-priced share with a tight stop, the risk rule can happily return a position worth more than the whole account.

When that happens, the calculator says so rather than returning an impossible number. The resolutions are a margin account, which means borrowing to hold a position that was sized for a much smaller risk, or accepting a smaller position and a risk below target. The third option — widening the stop until the size fits — moves the exit to where the arithmetic is comfortable rather than where the idea is wrong, and that is the one to avoid.

Gaps, and what the stop does not protect

A stock stop is a resting order, and overnight the market does not exist to fill it. Earnings, guidance and sector news are priced in at the open, and a stock that closed at $46.50 can open at $41.

This means the risk figure here is the planned loss, not a guaranteed one — a distinction that matters far more in equities than in continuously traded markets. Anyone holding through an earnings date is accepting a gap risk the position size did not account for, and the usual answers are a smaller position into the event or no position at all.

FAQ

How many shares should I buy?

Divide the money you are willing to lose by the risk per share. A $250 risk with a $2.50 stop distance is 100 shares. Round down to a whole number so the actual risk stays under your limit rather than over it.

Should I round up or down to a round number?

Down, always. Rounding up raises the risk above the limit on every trade, and the habit compounds across a year. The difference on any single trade is small, which is exactly why it goes unnoticed.

What if the position is worth more than my account?

Then the risk rule and your buying power disagree, which usually means the stop is very tight relative to the share price. A cash account cannot fund it; a margin account can, but would be borrowing to hold a position sized for a small risk. Taking a smaller position is the honest resolution.

Does this work for ETFs?

Yes — ETFs trade like shares, so the arithmetic is unchanged. The one difference worth noting is that broad ETFs gap less often than individual stocks, because single-company news is diluted across the basket.

How does risk per trade change for long-term investing?

The percentage framing still works, but the stop is usually wider and the holding period longer, so positions are naturally smaller and fewer. Many long-term investors size by portfolio weight instead — a maximum percentage of the portfolio per holding — which answers a different question about concentration rather than about a single exit.

This is the plan. What did you actually do?

A calculator tells you the size you should have taken. It cannot tell you the size you took at 2pm after two losers, or how often your stop moved once price went against you. Drop in a statement from MT4/MT5, a broker CSV or a crypto export and see the answer for your own last 90 trades.

Import my trades — free