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.

Stop-loss below entry = buy (long) trade. Stop-loss above entry = short trade.

Quantity to trade
–
Max risk amount–
Risk per share–
Capital required–
Actual risk if stopped out–
Risk : reward–
Profit at target–

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

  1. Max risk amount = trading capital × risk per trade %.
  2. Risk per share = the gap between your entry price and your stop-loss price.
  3. Quantity = max risk amount ÷ risk per share, rounded down to a whole number.
  4. With a lot size: lots = quantity ÷ lot size, rounded down. The final quantity is lots × lot size.
  5. Capital required = quantity × entry price. For F&O this is the contract value, not the margin your broker blocks.
  6. 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.

StepCalculationResult
Max risk amount₹5,00,000 × 1%₹5,000
Risk per share₹250 − ₹245₹5
Quantity₹5,000 ÷ ₹51,000 shares
Capital required1,000 × ₹250₹2,50,000
Reward per share₹265 − ₹250₹15
Risk : reward₹15 ÷ ₹51 : 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?
Position sizing means choosing how many shares or lots to trade so that, if your stop-loss is hit, you lose only a fixed amount you decided in advance. It keeps one bad trade from doing serious damage to your account.
How much should I risk per trade?
Many traders risk between 0.5% and 2% of their capital on a single trade. At 1%, you would need many losing trades in a row to lose a large part of your account. Choose a level you can stick to through a losing streak; it is a personal decision, not a rule.
Why is the quantity rounded down?
Rounding up would make your loss slightly bigger than your chosen risk. Rounding down keeps the actual risk at or below your limit. With a lot size, the quantity is rounded down to whole lots for the same reason.
What does risk : reward mean?
It compares what you could lose (entry to stop-loss) with what you could gain (entry to target). A 1 : 3 ratio means you aim to make three rupees for every rupee you risk. It says nothing about how likely the target is, so use it together with your own judgement.
Does this work for short trades?
Yes. If your stop-loss is above the entry price, the calculator treats it as a short trade, and the target should then be below the entry price.
Why does it warn that capital required is more than my capital?
A tight stop-loss can give a large quantity whose total value is more than your capital. Taking it would need margin or leverage, which magnifies losses if the price gaps past your stop. Consider a smaller position or a wider stop with fewer shares.

These figures are estimates for education only. They are not financial or investment advice and are not guaranteed. Read the full disclaimer.