Position Size Calculator

Work out how many shares to buy so that hitting your stop-loss costs only a fixed share of your capital.

Inputs

Results update as you type.

Result

Information only. Nothing on this page is advice to buy, sell or hold any instrument.

Verify before relying on it. Results depend on the figures you enter and can contain rounding or arithmetic slips. Check important numbers with a second method or a qualified adviser.

Detailed guide, with an example

How to use it

  1. Enter your trading capital and the percentage you are willing to lose on one trade.
  2. Enter the entry price and the stop-loss price.
  3. Set the lot size if the instrument trades in lots.
  4. Enter each figure in the Inputs box. The result cards update as you type.
  5. Read the result cards. Where a year-by-year table is shown, it lists the path year by year.
  6. Change one input at a time to see how much it matters, then cross-check the result with your own calculation.

Worked example

Inputs: Trading capital 500000; Risk per trade 1; Entry price 1000; Stop-loss price 950; Lot size 1.

  • With ₹5,00,000 capital and 1% risk, you accept losing at most ₹5,000 on this trade.
  • The stop-loss is ₹50 below the entry, so you can buy 100 shares.
  • The position is worth ₹1,00,000, which is 20.00% of your capital.
  • If the stop-loss is hit, the loss is ₹5,000.

Calculated by the same formulas as this page, from the values above.

Things to watch

  • A gap in the price can make the real loss larger than the stop-loss.
  • Brokerage, taxes and slippage are not included, so the real loss can be a little larger.
  • If the risk does not cover one lot, the calculator says so; widen the risk or narrow the stop.

About this calculator

Position sizing keeps one losing trade small. You choose how much of your capital you are willing to lose on a trade, and the distance from the entry price to the stop-loss sets the number of shares. Where a lot size applies, the number is rounded down to whole lots.

How it is worked out

Risk amount = capital × risk %. Shares = risk amount ÷ (entry − stop-loss), rounded down to whole lots. Maximum loss = shares × (entry − stop-loss).

Frequently asked questions

What if the stop-loss is above my entry?

The calculator works with the distance either way, so it also suits short trades.

Does it account for brokerage and slippage?

No. Charges and slippage can make the real loss a little larger.

Other calculators