Position Size Calculator
Decide your quantity from your risk, not from a hunch. Enter your capital, the percentage you are willing to lose on one trade, and your entry and stop-loss prices. The calculator tells you how many shares (or lots) keep your loss within that limit.
Assumes your stop-loss order fills at the stop price. Gaps, slippage and fast markets can cause bigger losses, and brokerage and taxes add to the cost. See the brokerage calculator for charges.
How it’s calculated
- Max risk amount = trading capital × risk per trade %.
- Risk per share = the gap between your entry price and your stop-loss price.
- Quantity = max risk amount ÷ risk per share, rounded down to a whole number.
- With a lot size: lots = quantity ÷ lot size, rounded down. The final quantity is lots × lot size.
- Capital required = quantity × entry price. For F&O this is the contract value, not the margin your broker blocks.
- Risk : reward = (target − entry) ÷ (entry − stop-loss), shown as 1 : X.
In simple words: decide how much money you can afford to lose on this trade, then divide it by how much you lose per share if the stop-loss is hit.
Worked example
You have ₹5,00,000 of trading capital and risk 1% per trade. You plan to buy a stock at ₹250, with a stop-loss at ₹245 and a target of ₹265.
| Step | Calculation | Result |
|---|---|---|
| Max risk amount | ₹5,00,000 × 1% | ₹5,000 |
| Risk per share | ₹250 − ₹245 | ₹5 |
| Quantity | ₹5,000 ÷ ₹5 | 1,000 shares |
| Capital required | 1,000 × ₹250 | ₹2,50,000 |
| Reward per share | ₹265 − ₹250 | ₹15 |
| Risk : reward | ₹15 ÷ ₹5 | 1 : 3 |
If the stop-loss is hit you lose about ₹5,000 (1% of capital) before charges. If the target is hit you gain about ₹15,000.
F&O example: with the same ₹5,000 risk, an entry of ₹100, a stop-loss of ₹97 and a lot size of 75, the raw quantity is 5,000 ÷ 3 = 1,666 units. That rounds down to 22 lots (1,650 units), so the actual risk is ₹4,950.
Frequently asked questions
What is position sizing?
How much should I risk per trade?
Why is the quantity rounded down?
What does risk : reward mean?
Does this work for short trades?
Why does it warn that capital required is more than my capital?
Related calculators
These figures are estimates for education only. They are not financial or investment advice and are not guaranteed. Read the full disclaimer.