Risk management

Stock Position Size Calculator

Risk a fixed percentage of your account on every trade. Enter your account size, risk tolerance, entry price and stop-loss to get the exact number of shares to buy.

Shares to buy
Position value
% of account deployed

Calculated on your device. Nothing is uploaded or stored on a server.

How to use the stock position size calculator

Enter your total trading account size, the percentage of that account you're willing to risk on a single trade, your planned entry price, and the price at which you'd exit if the trade goes against you (your stop-loss).

How risk-based position sizing works

Rather than deciding how many shares to buy based on gut feeling, this method fixes your dollar risk first. The dollar amount you're willing to lose is your account size times your risk percentage. Dividing that by the per-share risk (the distance between entry and stop-loss) gives the maximum number of shares that keeps your loss, if the stop is hit, within your plan.

Why risk 1–2%?

Many traders cap risk per trade at 1–2% of their account so that a string of losses doesn't seriously damage their capital.

Set your stop first

This method only works if you decide your stop-loss level before sizing the position — not after you're already losing money.

Stock position size calculator FAQ

Common questions, answered.

How is share count calculated?

Risk amount = account size × risk percentage. Per-share risk = the absolute difference between your entry price and stop-loss price. Shares = risk amount ÷ per-share risk, rounded down to a whole share.

What risk percentage should I use?

Many traders risk 0.5% to 2% of their account per trade. Lower percentages are more conservative and allow you to survive a longer losing streak.

What if my stop-loss equals my entry price?

The calculator can't divide by zero risk per share, so set a stop-loss that's meaningfully different from your entry price to get a valid share count.

Does this account for commissions or slippage?

No. This is a pure risk-sizing calculation. Add a buffer to your risk percentage or share count if your broker charges significant commissions or you expect slippage on your stop order.