TraderWaves Just Got a New Look and More Powerful ChartsNew Look. More Powerful Charts.
TraderWaves

Stock position size calculator

Enter your account size, the share of it you accept losing, and your entry and stop loss prices. The calculator returns the number of shares that loses exactly that amount if the stop is hit.

  • Shares rounded down to your limit
  • Reward-to-risk from a target
  • Free, no sign-up

For education only, not financial advice. Results depend on the numbers you enter, and trading carries a risk of loss.

How to use the stock position size calculator

  1. Enter your account size

    Use the current value of the trading account. Sizing from an old or rounded figure makes every position slightly wrong.

  2. Set the risk per trade

    This is the share of the account you accept losing if the stop is hit. Between 0.5% and 2% is common, because it keeps a losing run small.

  3. Enter the entry and stop loss prices

    Put the stop where the trade idea is wrong: below the entry for a long, above it for a short. The gap between the two prices is your risk per share.

  4. Add a target price

    This field is optional. With a target on the profit side of the entry, the calculator adds the profit at the target and the reward-to-risk ratio.

The formula

  • Risk budget = account size × risk %
  • Risk per share = |entry price − stop price|
  • Shares = risk budget ÷ risk per share, rounded down
Risk budget
The money you lose if the stop is hit: the account size multiplied by the risk percent.
Risk per share
The distance between the entry price and the stop loss price.
Position value
The number of shares multiplied by the entry price. This is what the position costs to open, not what it risks.
Reward to risk
The distance from entry to target divided by the distance from entry to stop.

Worked example

You have a $25,000 account, risk 1% per trade, and plan to buy a stock at $50.00 with a stop at $48.00 and a target at $56.00.

  1. Risk budget = $25,000 × 1% = $250.
  2. Risk per share = $50.00 − $48.00 = $2.00.
  3. Shares = $250 ÷ $2.00 = 125.
  4. Position value = 125 × $50.00 = $6,250, which is 25% of the account.
  5. Profit at the target = 125 × ($56.00 − $50.00) = $750, a reward to risk of 3.00 : 1.

Buying 125 shares puts $6,250 into the stock but risks only $250. If the stop is hit you lose 1% of the account. If the target is hit you make $750, three times the amount risked.

The calculator above opens with these numbers, so you can change one input and see what moves.

How many shares should I buy?

Start from the loss, not from the price. Decide how much of the account one losing trade may cost, find the price at which you would accept the trade has failed, and divide the first number by the distance to the second. The answer is the share count.

This keeps every loss the same size in money, whatever the stock costs and however volatile it is. A $20 stock with a wide stop and a $400 stock with a tight one end up risking the same $250.

Position size and risk are different numbers

In the example the position is 25% of the account and the risk is 1%. Both are true. The position value is what you pay for the shares. The risk is what you lose between the entry and the stop.

The stop distance connects them. Halve the stop distance and the share count doubles, so the same $250 risk buys twice the position. The table shows this for a $25,000 account risking 1% on a $50.00 stock.

Shares and position value by stop distance, $25,000 account, 1% risk, $50.00 entry
Stop distanceStop as % of entrySharesPosition valueShare of account
$0.501%500$25,000100.0%
$1.002%250$12,50050.0%
$2.004%125$6,25025.0%
$4.008%62$3,10012.4%
$5.0010%50$2,50010.0%

When a tight stop needs more than the account

A stop closer than 1% of the entry price would call for more than 500 shares in the table above, a position worth more than the whole account. The calculator warns you when that happens, because the trade then needs margin.

A very tight stop is also easier to hit by ordinary price movement. If the size only works with a stop inside the stock's normal daily range, widen the stop and accept fewer shares.

What a stop loss cannot promise

The calculation assumes you exit at the stop price. Stocks close overnight and can open well beyond a stop after earnings or news. A stop order then fills at the next available price, and the loss is larger than planned.

Sizing cannot remove that risk. Smaller positions over earnings dates, or no position at all, is the usual response. The calculator rounds shares down for the same reason: the planned loss is a ceiling you should not exceed by design.

FAQs

Stock position size questions

How do I calculate position size for stocks?

Multiply your account size by your risk percent to get the risk budget, then divide by the distance between your entry price and your stop loss price. With a $25,000 account, 1% risk, a $50.00 entry and a $48.00 stop, that is $250 ÷ $2.00 = 125 shares.

What is the 1% rule in stock trading?

The 1% rule means no single trade should lose more than 1% of your account. It limits the loss between entry and stop, not the size of the position. A trade can use 25% of the account and still follow the rule if the stop is close enough that the loss stays at 1%.

How many shares can I buy with $10,000?

It depends on your stop, not only on the cash. At 1% risk you can lose $100 on the trade. With a stop $2.00 from the entry that is 50 shares. With a stop $0.50 away it is 200 shares. Check that the position value still fits inside the account.

Does the calculator work for short selling?

Yes. Enter a stop loss price above the entry price and the risk per share is measured the same way, as the distance between the two. Put the target below the entry. A target on the same side as the stop is ignored, and the calculator tells you so.

Why does the calculator round the shares down?

Rounding down keeps the loss at or under your risk budget. Rounding 62.5 shares up to 63 would put every trade slightly over the limit, and the excess adds up over a losing run. If your broker offers fractional shares you can trade the exact figure instead.

Should I size from my account size or my buying power?

Size from the account size, meaning your own money. Buying power includes borrowed funds, and sizing from it multiplies the loss a stop is supposed to cap. Margin decides whether you can open the position, not how much you should risk on it.

Free trading journal and analytics

Plan the trade here. Review it in TraderWaves.

Every calculator on this site is also inside the app, next to a journal that records what you actually did and analytics that show whether it worked.

Stock Position Size Calculator: Shares to Buy | TraderWaves