Home/Calculator Tools/Position Size Calculator
🎯

Position Size Calculator

NEW

How many shares to buy for a fixed risk per trade and a stop-loss

Free · No sign-up required
Loading...

What position sizing answers

Not “how much do I want to buy” but “how much can I buy so that being wrong costs a known, survivable amount”. Fix the loss you are willing to take on a trade, decide where the idea is proven wrong and place your stop there, and the share count falls out of those two numbers. This tool does that arithmetic, and adds the reward-to-risk ratio if you supply a target price.

The formulas

amount at risk = account size × risk % per traderisk per share = |entry price − stop-loss price|shares to buy = amount at risk ÷ risk per share

The share count is rounded down, because rounding up would put more than your stated limit at risk.

Worked example

InputValue
Account size$25,000
Risk per trade1%
Amount at risk$250
Entry price$50.00
Stop-loss$47.50
Risk per share$2.50
Shares to buy100
Position value$5,000 (20% of the account)

Note the two separate percentages. You are risking 1% of the account, but committing 20% of it to the position. People confuse these constantly — the position is large, the potential loss is small, and that is the entire point of sizing from the stop.

The stop distance drives everything

StopRisk per shareSharesPosition value
$49.00$1.00250$12,500
$47.50$2.50100$5,000
$45.00$5.0050$2,500
$40.00$10.0025$1,250

A tight stop permits a large position; a wide stop forces a small one. The loss is $250 in every row. This is why the stop should be placed where the trade idea is invalidated — never tightened just to justify buying more.

Rules of thumb

  • 1–2% per trade is the conventional range. At 2%, ten consecutive losses cost about 18% of the account; at 10% they would cost 65%.
  • Recovery is asymmetric. A 50% loss needs a 100% gain to get back to even. Keeping losses small is worth more than picking well.
  • Reward-to-risk of at least 2:1 means you can be right less than half the time and still come out ahead.
  • Gaps ignore stops. A stop is an order, not a guarantee — an overnight gap can fill well below it, so treat the risk figure as a normal case, not a worst case.
  • Correlated positions stack. Five trades in the same sector at 1% each is closer to one 5% bet than to five independent ones.

Frequently asked questions

The tool says my position costs more than my account. Why?

A very tight stop divides a small risk amount by an even smaller risk per share, producing more shares than you can pay for. Widen the stop or lower the risk percentage — buying it would require margin.

Does it work for a short position?

Yes. Put the stop above the entry; the tool uses the absolute distance between the two.

Should commissions be included?

They are not modelled. On small positions add them mentally to the amount at risk, since they are lost whether the trade works or not.

What risk percentage should I use?

That depends on your strategy, how often you trade and what drawdown you can tolerate. 1% is the common starting point; this tool takes no view.

Why is the share count rounded down?

Rounding up would exceed the risk limit you specified. With fractional shares you may use the exact figure instead.

Is any of this sent anywhere?

No. Your account size and trade details never leave your browser.

Note

This is a risk-arithmetic tool, not investment advice and not a recommendation to trade. Position sizing limits the size of a loss; it does not prevent one.

Guides

Averaging Down: What It Does to Your Average Cost (and What It Doesn't Fix)
7 min read
🎯
Position Sizing: How Many Shares to Buy for a Fixed Risk
7 min read

More tools in this category

Stock Average Calculator
Work out your average cost per share across several buys
🪙
DCA Calculator
Dollar-cost averaging: shares accumulated and average cost at each price
📶
CAGR Calculator
Compound annual growth rate between a starting and ending value
💹
Stock Profit Calculator
Profit or loss on a trade after commissions and capital gains tax
💵
Dividend Yield Calculator
Dividend yield, yield on cost, payout ratio and income per month
🏠
Mortgage Calculator
Calculate monthly mortgage payments and amortization