Position Size Calculator: Shares to Buy from Capital, Risk % and Stop Loss
Enter your trading capital, the % you are willing to lose on one trade, your entry price and stop loss. You get the quantity to buy.
- Nothing you type is stored
- Free
- No signup
Quantity to buy
166shares
Long- Amount at risk
- ₹5,000
- Risk per share
- ₹30.00
- Position value
- ₹2,49,000
- Actual risk
- ₹4,980
An estimate for learning and planning, not investment advice. Trading in shares and F&O carries risk of loss.
Show working
- 500000 × 1% = 5000.00
- 5000.00 ÷ 30.00 = 166.67 → 166
How to use
- Enter your trading capital.
- Set the % of capital you will risk on this trade (many traders use 0.5–2%).
- Enter entry and stop-loss prices. Add a lot size under More options for F&O.
Good to know
Quantity = (capital × risk %) ÷ |entry − stop loss|, rounded down. With ₹5,00,000 capital and 1% risk you can lose ₹5,000; with entry ₹1,500 and stop ₹1,470 the risk per share is ₹30, so you buy 166 shares.
If the stop loss is below the entry it is a long trade; above, a short trade. With a lot size the quantity is rounded down to whole lots, so the actual risk may be lower than planned. If the position is worth more than your capital you would need leverage or margin, and the page warns you.
A stop loss is not guaranteed: gaps and fast markets can fill you at a worse price. Charges are not included. This is an estimate for planning, not investment advice.
Questions
What risk % should I use?
Many traders risk 0.5–2% of capital per trade so that a run of losses does not wipe them out. Choose what you can afford to lose.
Why is the quantity rounded down?
Rounding up would make your loss larger than the risk you set.
Does it work for short selling?
Yes. Put the stop loss above the entry price.
How do I use it for futures?
Enter the lot size under More options; the quantity is rounded to whole lots.
Does it include brokerage and slippage?
No. Keep a little margin for charges and slippage, or reduce the risk % slightly.