Stock Position Size Calculator: How Many Shares to Trade
Calculator
A stop below the entry is treated as a long (buy) trade and a stop above the entry as a short trade. The maximum position size caps the trade so it never costs more than that share of your account; leave it at 100% for a cash account.
Results
Step-by-step working
Shares at different risk levels
The same entry and stop at other common risk settings, before any position cap is applied.
How position sizing works
Position sizing decides how much of a stock to trade so that a losing trade costs a set, survivable amount. The most common approach is fixed-fractional sizing: you choose a percentage of your account to risk on each trade, and the distance from your entry to your stop-loss decides how many shares that buys.
Notice that the stop comes first and the share count comes second. A wide stop means fewer shares, and a tight stop means more shares, but the dollar amount at risk stays the same. This keeps every trade's potential loss consistent, so one bad trade cannot wipe out the gains from several good ones.
Because the risk is a percentage of the current account, position sizes shrink automatically after losses and grow after gains. That makes a long losing streak slower to do serious damage.
Common position sizing mistakes
- Sizing by price, not by risk. Buying a round number of shares, or a fixed dollar amount, ignores how far away the stop is.
- Moving the stop to fit the size. The stop should sit where the trade idea is proven wrong, and the size should follow from it.
- Forgetting gaps and slippage. A stock can open beyond your stop, so the real loss can be bigger than planned. Use smaller risk on volatile or illiquid stocks and around earnings.
- Ignoring costs. Commissions and the bid-ask spread add to the loss on every trade, especially with tight stops.
- Stacking correlated trades. Five positions in the same sector at 1% each can behave like one 5% bet.
Frequently asked questions
How do you calculate position size for a stock trade?
Multiply your account size by the percentage you are willing to risk to get the dollar risk. Divide that by the risk per share, which is the difference between your entry price and your stop-loss price. Round the result down to get the number of shares.
What percentage of my account should I risk per trade?
Many traders use a guideline of risking 1% to 2% of their account on any single trade, and some use less. The right figure depends on your strategy, win rate and tolerance for losing streaks. Lower risk per trade means smaller drawdowns during a run of losses.
Does position sizing work for short selling?
Yes. For a short trade the stop-loss sits above the entry price, and the risk per share is the stop price minus the entry price. The calculator detects a short trade automatically when the stop is above the entry.
Why can my actual loss be larger than the calculated risk?
The calculation assumes you exit exactly at your stop price. If the stock gaps past the stop, for example overnight or after news, or if there is slippage in a fast market, the fill can be worse. Commissions and spreads also add to the loss.
What does the maximum position size setting do?
It limits the value of the position to a percentage of your account. With a tight stop, fixed-fractional sizing can suggest buying more stock than you have cash for. At 100% the trade can never cost more than your account, and a lower figure keeps any single position from becoming too concentrated.
Editorial note: this calculator is an educational tool, not investment advice or a recommendation to trade. Trading involves risk of loss, and losses can exceed planned amounts because of gaps, slippage and costs. Everything runs in your browser.