Stock Position Size: Set Risk Before Shares
Learn a risk-based stock position sizing formula using account value, risk percentage, entry price, and stop price, with a worked share-count example.
Topics covered
- position sizing calculator
- risk per trade calculator
- shares based on risk
- stock risk calculator
Start with the amount you are willing to risk
Position sizing reverses the usual guesswork: instead of choosing a share count first, define a risk budget and see what quantity fits the distance between entry and stop. This calculator uses account value and a user-entered percentage to estimate that budget.
A risk budget is an input to the arithmetic, not a recommendation for how much anyone should risk. Choose assumptions independently and understand that a stop order cannot guarantee an execution price.
Position sizing formula
Risk budget = account value × risk percentage ÷ 100. Risk per share = absolute difference between entry price and stop price. Estimated whole shares = round down(risk budget ÷ risk per share). The estimated position value is shares × entry price.
For a long position, the stop price must be below entry. For a short position, the stop price must be above entry. The prices and account value should use the same currency basis.
Worked example: account risk of 100
With an account value of USD 10,000 and a chosen risk percentage of 1%, the risk budget is USD 100. If a long entry is USD 50 and the stop is USD 47.50, the price distance is USD 2.50 per share. USD 100 ÷ USD 2.50 gives 40 whole shares; the estimated position value is USD 2,000.
At that stop price, 40 shares represent USD 100 of price risk before fees and execution effects. The calculator rounds down to whole shares so the modeled price risk does not exceed the entered budget.
Know the limits of a stop-based estimate
A real trade can lose more or less than this estimate. A market gap, fast price movement, low liquidity, slippage, commissions, currency conversion, or a rejected order can change execution. Short positions also have different borrowing and margin requirements across brokers.
This tool only calculates a share quantity from your inputs. It does not evaluate a stock, suggest a stop level, model options or leverage, or provide investment advice.
FAQ
How do you calculate stock position size?
Divide the chosen cash risk budget by the per-share distance between entry and stop, then round down to whole shares.
How many shares can I buy if I only want to risk a set amount?
Enter your account value, risk percentage, entry price, and stop price. The calculator estimates the number of whole shares that fits those assumptions.
Does a stop loss guarantee the amount I will lose?
No. Gaps, slippage, fees, liquidity, and execution can cause the actual result to differ from the estimate.
Can I use the calculator for short positions?
Yes. Choose Short and enter a stop price above the entry price. The tool calculates the distance between those prices.
