Stock Position Size Calculator

Work out how many shares to buy so a stop-loss costs a fixed percentage of your account, with the position value and the reward-to-risk ratio.

%
Optional. Used for the reward-to-risk ratio.
%
A separate cap from the risk limit. A tight stop can otherwise justify an enormous position.
Money at risk 375
Risk per share 2.1
Shares the risk limit allows 178
Shares the exposure cap allows 129
Shares to buy 129
Position value 6,217.8
That as a share of the account 24.8712 %
Actual loss if the stop is hit 270.9
Reward to risk 2
Win rate needed to break even 33.33 %
Worth knowing The exposure cap is the binding constraint here, not the risk limit: a stop this tight would otherwise justify a position of 8580, which is 34% of the account.

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Stock Position Size Calculator does

This stock position size calculator will work out how many shares to buy so a stop-loss costs a fixed percentage of your account, with the position value and the reward-to-risk ratio. Fill in all 7 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for working out the share count for a trade with a defined stop-loss. You may also want the mortgage payoff calculator.

How to use it

  1. Enter your account size and the percentage of it you are willing to lose on one trade.
  2. Enter the entry price and the stop-loss price.
  3. Read the share count — it is the lower of what the risk limit and the exposure cap allow.
  4. Add a target price to see the reward-to-risk ratio and the win rate it implies.

How it works

Position sizing works backwards from the loss you are prepared to take. On a 25,000 account risking 1.5%, the money at risk is 375. With an entry at 48.20 and a stop at 46.10, the risk per share is 2.10, so the risk limit allows 375 ÷ 2.10 = 178 shares after rounding down — 8,579.60 of stock, and a loss of 373.80 if the stop is hit, just inside the limit. The rounding always goes down, because rounding up breaches the limit you just set.

That 178 is not the answer on its own, which is the point of the second constraint. 8,579.60 is 34% of a 25,000 account, and a 25% cap on any one position cuts the order to 129 shares — 6,217.80, or 24.9% of the account. The two limits do different jobs: the risk limit caps what a losing trade costs, the exposure cap caps how much of the account sits in one name, and whichever is smaller is the one that binds. They diverge most sharply when the stop is tight. With a stop 20 cents below a 48.20 entry, the risk limit alone would permit 1,875 shares — a 90,375 position on a 25,000 account, impossible without leverage and reckless with it. The exposure cap, commonly 20% to 25% for a single position, is what stops the arithmetic running away.

Reward-to-risk and the required win rate are the same statement twice. A target at 52.40 against an entry at 48.20 is 4.20 of upside against 2.10 of downside, a ratio of exactly 2. At 2:1 you break even winning a third of the time, because 1 ÷ (1 + 2) = 33.3%. At 1:1 you need to win more than half, at 3:1 only a quarter. This is why a trader with a 40% win rate can be profitable and one with a 70% win rate can be ruined: the ratio and the rate have to be read together.

The 2% convention is about surviving streaks rather than any theoretical optimum. At 1.5% a trade, five consecutive losses cost 7.3% of the account; at 5% a trade the same streak costs 22.6%, and recovering from that takes a 29% gain. Losing streaks of five and six are entirely ordinary even in a strategy that works, which is the reason the small per-trade number matters — not because any single trade deserves so little conviction.

Three real-world frictions sit outside this calculation. Commissions come off both ends, and on a small position they can be a tenth of the money at risk. Slippage means the stop fills below where it was placed, particularly in a fast market or a thin stock, so the realised loss routinely exceeds the planned one. And a gap through the stop overnight — an earnings miss, a profit warning — can fill far below it, which is the one risk no position-sizing rule protects you from. Size assuming the stop works, and accept that occasionally it will not.

When to use it

  • Working out the share count for a trade with a defined stop-loss.
  • Checking that a position is not too large a share of the account even when the stop is tight.
  • Finding the reward-to-risk ratio of a planned trade.
  • Working out the win rate a strategy needs to break even at a given ratio.
  • Comparing what different risk percentages do to position size.

Common mistakes to avoid

  • Sizing by position value instead of by risk, which makes the loss depend on where the stop happens to be.
  • Rounding the share count up, which breaches the risk limit you just set.
  • Using only a risk limit with no exposure cap. A tight stop can justify an absurd position.
  • Ignoring commissions and slippage, which make the real loss larger than the planned one.
  • Assuming the stop will fill at its price. Gaps and fast markets fill below it.

Frequently asked questions

How do I calculate position size from a stop-loss?

Multiply the account by your risk percentage to get the money at risk, divide by the distance from entry to stop, and round down. On a 25,000 account at 1.5% with a 2.10 stop distance, that is 375 ÷ 2.10 = 178 shares.

What percentage of my account should I risk per trade?

The widely used convention is 1% to 2%. The reason is streak survival rather than any mathematical optimum: at 1.5% a trade, five consecutive losses cost about 7% of the account, while at 5% the same streak costs nearly a quarter of it.

Why do I need an exposure cap as well as a risk limit?

Because a tight stop makes the risk limit permit a huge position. A 20-cent stop on a 48 stock with a 375 risk budget implies 1,875 shares, a 90,000 position. A separate cap of 20% to 25% of the account per position prevents that.

What win rate do I need at 2:1 reward to risk?

Just over 33%. The break-even win rate is one divided by one plus the ratio, so 2:1 needs 33.3%, 1:1 needs 50% and 3:1 needs 25%. Commissions and slippage push all of those up a little.

Does position sizing reduce my risk of loss?

It controls the size of a loss, not its likelihood. It makes a losing run survivable, which is what keeps a strategy alive long enough to pay off. It does not make any individual trade more likely to work, and it does not protect against a price gapping through the stop.

Related tools

See all finance calculators →