Position size calculator

How many shares to buy so that, if your stop is hit, you lose exactly the amount you decided to risk.

  • Shares to buy—
  • Amount at risk—
  • Risk per share—
  • Position value—

Worked example

Position size = (account size × risk %) ÷ |entry − stop|, rounded down to whole shares. The stop decides the size, not the other way round: a wider stop means fewer shares for the same risk.

Example: a 25,000 account risking 1% is 250. Entry 50, stop 48 is 2 per share, so 125 shares, a position worth 6,250.

Common questions

What percentage should I risk per trade?

Many traders cap risk at 0.5% to 2% of the account per trade, so a losing streak cannot do lasting damage. The right number depends on your own win rate and payoff ratio; a journal shows you both.

Does this work for short trades?

Yes. The distance between entry and stop is taken as an absolute value, so a stop above a short entry works the same way.

Why round down?

Rounding up would put slightly more than your chosen amount at risk. Rounding down keeps the loss at or under it.

More calculators

Risk/reward calculatorThe reward-to-risk ratio of a planned trade, and the win rate it needs just to break even.R-multiple calculatorMeasure a closed trade in units of what you risked, so trades of different sizes compare fairly.Profit factor & expectancy calculatorPaste the profit or loss of each closed trade, one per line or separated by commas.

Stop calculating by hand

TradeGreen connects to your broker read-only and works out R-multiple, win rate, profit factor and expectancy for every setup, from your real fills.

Download on iPhone Get it on Google Play

Educational tool, not investment advice. TradeGreen describes trades that already happened and never recommends what to buy.