What position sizing means
Position sizing answers one question before a trade: how many shares? A common rule-based approach starts from the loss you are willing to accept, not from how much you like the idea. You choose a small share of the account to risk, pick the price where you plan to exit if you are wrong (the stop), and let those two numbers set the share count. The position's value and the money at risk are different numbers, and this calculator shows both.
How the calculator works
The risk budget is the account size times the risk percentage. Risk per share is the entry price minus the stop price, plus any allowance you add for commissions or slippage. Dividing the budget by the risk per share gives the share count, rounded down to whole shares so the planned loss never goes over the budget. If you set a maximum position as a percentage of the account, the calculator also works out how many shares that cap allows and uses the smaller number. The optional target gives a reward-to-risk ratio from prices alone.
Worked example (hypothetical)
The defaults repeat the example in our Risk and diversification lesson:
- Risk budget: $10,000 × 1% = $100.
- Risk per share: $50 entry − $45 stop = $5.
- Shares: $100 ÷ $5 = 20 shares, a position worth $1,000, or 10% of the account, while the planned risk is 1%.
- If the stock opens at $42, below the stop, the loss is 20 × ($50 − $42) = $160, or 1.6% of the account.
Limits of this model
- A stop does not guarantee the exit price. A stop order becomes a market order, and after a gap it can fill well below the stop. Our Order types lesson explains why.
- It covers long positions only. Short selling has different and potentially unlimited risks, so it is left out.
- Whole shares only; fractional shares, options and leverage are not modelled.
- The size of one trade says nothing about how the account is spread overall. Many small positions in one industry can still move together.
This is an educational illustration, not a recommendation of any trade, security or sizing rule. The risk percentage is your own choice, and the calculator stores nothing you type.
For educational purposes only. This material does not provide investment advice.