Ask most traders how they decided on quantity and you will get an answer built on feel. "I had ₹50,000 free, so I put it all in." "I was confident, so I took a full lot." "Round number, 100 shares felt right." None of these answers mention risk. The risk gets discovered later, usually the hard way, when the price falls through the level where the trader privately knew they were wrong and they realise, only then, how many rupees that quantity actually put on the line.

Flip the order of operations and the whole exercise changes. Decide first how many rupees you are willing to lose on this one trade if your view turns out to be wrong. Then let the stop-loss distance and that risk number tell you the quantity. The quantity stops being a guess and becomes an output of two things you already know: your capital, and the price at which your thesis breaks.

That is the entire idea in this piece, and it is arithmetic you can do on a phone calculator in under a minute, every single time, before you place an order. Everything below is worked through with round numbers on a hypothetical Stock A, so you can copy the method and plug in your own capital and your own stop.

Quantity first or risk first: the order most people get backwards

There are really only two ways to arrive at a quantity before placing a trade. One starts with money you feel like deploying and works forward. The other starts with money you are willing to lose and works backward. They sound similar. They produce very different accounts over a year of trading.

The common approach: pick quantity, discover risk afterwards

A trader looks at Stock A trading near ₹500, decides ₹1,00,000 feels like a reasonable chunk to commit, and buys 200 shares. Only after entering does the question of a stop-loss even come up, and by then it gets set wherever feels emotionally tolerable, often too close to be technically meaningful, or too far to actually protect the capital that was just risked. The quantity was the decision. The risk was the leftover.

The disciplined approach: pick risk, derive quantity

The same trader instead starts with a rule: no more than 1% of capital at risk on any single idea. They mark a stop-loss on the chart, at ₹480, based on where the setup would actually be invalidated, not on a rupee figure that feels comfortable. Only then do they compute how many shares that risk budget and that stop distance allow. The quantity is downstream of the risk, not the other way round, and it is the same arithmetic a research desk runs before publishing an entry, target and stop on any call.

The formula, term by term

The equation is short enough to memorise: Quantity equals Capital multiplied by Risk percent, divided by the difference between Entry and Stop. Written differently: Quantity = (Capital × Risk%) ÷ (Entry − Stop). Four inputs, one output.

  • Capital: the total trading capital you are working with, not your entire net worth, not your emergency fund, just the pool you have set aside for this activity.
  • Risk%: the share of that capital you are willing to lose on this one trade if the stop is hit. Commonly kept small, often in the 1-2% range as a widely used convention among traders, not a rule handed down from anywhere.
  • Entry: the price at which you plan to buy (or sell, for a short).
  • Stop: the price at which your thesis is proven wrong and you exit, set before the trade, not adjusted emotionally once the position is open.
  • Entry minus Stop is the risk per share, the rupee amount you stand to lose on a single share if the stop is hit and honoured.

Everything the formula does is take a rupee amount you are willing to lose and divide it by the rupee amount you would lose per share. What comes out is the number of shares that keeps the total loss at your chosen number, no more.

The arithmetic, worked three ways

Take a trading capital of ₹5,00,000 and a risk rule of 1% per trade, which is ₹5,000. Stock A is trading at an entry of ₹500. Now watch what happens to quantity as the stop moves, while the rupee risk stays fixed at ₹5,000 in every case.

  • Stop at ₹480: risk per share ₹20, quantity 250 (₹5,000 ÷ ₹20), exposure ₹1,25,000, 25% of capital deployed.
  • Stop at ₹450: risk per share ₹50, quantity 100 (₹5,000 ÷ ₹50), exposure ₹50,000, 10% of capital deployed.
  • Stop at ₹492: risk per share ₹8, quantity 625 (₹5,000 ÷ ₹8), exposure ₹3,12,500, 62.5% of capital deployed.

Read those three lines side by side and the counter-intuitive point sits right there: the wider stop bought a smaller position, not a larger one. A trader chasing a bigger position by widening the stop "to give the trade room" is quietly increasing exposure while the rupee risk stays the same on paper, except it usually does not stay the same, because a wider stop that was set to fit a desired quantity, rather than the chart, tends to get moved again when it is tested. The tight stop at ₹492 looks the safest on the risk line, ₹5,000 same as the others, but it commits 62.5% of the account to one stock. That is a concentration problem hiding inside a risk-management calculation that otherwise looks correct. Risk per trade and exposure per trade are not the same number, and the next section is about exactly that confusion.

Why a fixed risk percentage survives losing streaks, and a large one does not

SEBI's September 2024 study found 93% of individual F&O traders lost money between FY22 and FY24, with aggregate losses exceeding ₹1.8 lakh crore. Losing trades are not the exception in trading, they are the routine. Any sizing method has to be judged by what it does to your capital across a run of losses, not by how it performs on the one trade that works.

Losses compound multiplicatively, not additively, and that single fact is why the size of your risk-per-trade matters more than most traders assume. A loss of a fixed percentage does not simply subtract from the pile, it shrinks the base the next loss is calculated on.

That gap, 4.9% down against 41% down, from the same five losses, is the entire argument for keeping risk per trade small. It has nothing to do with being conservative for its own sake. It is what the compounding does, mechanically, regardless of how good or bad your trade selection is. Every trader has losing streaks. The 1-2% convention exists because it lets an account survive one without needing a heroic recovery afterwards.

Risk and exposure are not the same number

This is where a lot of otherwise careful traders trip up. Risk and exposure sound close enough to be used interchangeably in conversation, and they are not the same thing on a broker's contract note or on your own account.

  • Risk = (Entry − Stop) × Quantity: the rupee amount you actually lose if the stop is hit and fills at the stop price.
  • Exposure = Entry × Quantity: the total rupee value of the position, the number that determines how much of your capital is tied up and how much a broad market move, not just a stop hit, can swing your account.

Go back to the tight-stop example: ₹5,000 of risk and ₹3,12,500 of exposure on a ₹5,00,000 account. The risk line says this trade is sized correctly. The exposure line says almost two-thirds of the account is now riding on one stock, and if the stop-loss does not execute cleanly at ₹492, for reasons covered in the next section, the loss is not capped by the tidy ₹5,000 figure at all. Risk tells you what a clean exit costs you. Exposure tells you how much of the account is exposed to everything else, a gap, a broad market fall, a stock-specific shock, that has nothing to do with your stop level.

When the derived quantity does not fit your capital

Sometimes the formula returns a quantity your capital simply cannot buy. Say the formula says 900 shares at ₹500 entry, which is ₹4,50,000 of exposure, but your account only has ₹2,00,000 free. The honest options at that point are narrower than they feel in the moment.

  • Take the smaller quantity your capital allows, accepting that your realised rupee risk on this trade is now less than your 1% budget, which is conservative, not a problem.
  • Skip the trade entirely if even the smaller quantity feels like too small a position to bother with.
  • Do not widen the stop just to make the arithmetic produce a bigger quantity. That inverts the whole method: you would be picking the stop to fit a desired position size, which is the exact mistake this entire approach exists to avoid.
  • Do not borrow or use leverage you would not otherwise use, purely to hit a quantity the formula suggested. The formula assumed your existing capital. It did not ask you to go find more of it.

A derived quantity larger than your capital allows is not a problem to be solved. It is the arithmetic telling you, correctly, that this trade at this stop is not available to you at your chosen risk level. That is useful information, not an obstacle to route around.

The stop is a plan, not a guaranteed exit price

Every calculation above assumes the stop-loss fills at, or very near, the stop price. On a normal trading day, in a liquid stock, that assumption mostly holds. It is not a guarantee, and treating it as one is where sizing discipline can quietly fail even when the arithmetic was done correctly.

A stock can gap down on results, on a sector-wide shock, or simply on opening after unfavourable overnight news, and open well below your stop level. Your stop order does not fill at ₹480, it fills at whatever the market opens at, which might be ₹460 or lower. NSE circuit limits can compound this: if a stock hits its lower circuit, trading in that stock can freeze at that price, and your stop-loss order may not execute at all until the circuit lifts, if it lifts the same session. In both situations, the risk you calculated on paper, ₹20 a share, ₹5,000 total, is not what you actually lose. The real loss can be larger, sometimes considerably so.

None of this is an argument against using a stop-loss. It is the opposite: a stop-loss is the single most important discipline described in this article, and it remains the best plan available even though it cannot be a guarantee. NiveshX publishes an explicit entry, target and stop-loss with every call precisely so that this kind of arithmetic is possible for the person reading it, not so the arithmetic becomes a promise about where an exit will actually happen.

Brokerage, STT and slippage nibble at the edges

The formula in this article works in a clean world where the entry price is exactly the entry price and the stop price is exactly the stop price. Real execution is never quite that clean. Brokerage, Securities Transaction Tax, exchange charges, GST and stamp duty are all deducted from a trade regardless of whether it wins or loses, and slippage, the small gap between the price you wanted and the price you actually got, shows up on both entry and exit, especially in less liquid stocks or during fast-moving sessions. None of these costs are large individually. Across a trading history with dozens or hundreds of trades, they add up into a real number, and they mean your actual loss on a stopped-out trade is typically a little more than the clean ₹5,000 the formula produced, never less. Check your broker's contract note after a few trades to see exactly what these costs look like in your own account, rather than assuming a figure.

Sizing across several open positions at once

Everything above covers a single trade in isolation. Most active traders are rarely holding just one position, and the 1% rule applied separately to five different trades does not mean the account is risking only 1%. If all five stops are hit on the same day, the account is down close to 5%, assuming the positions are unrelated to each other.

Unrelated is the operative word, and it is where the real danger sits. Two positions in stocks from the same sector, or two positions that both move with the same broad market factor, are not really two separate risks. They are one position wearing two hats. If you hold Stock A and a second stock from the same sector, both sized at 1% risk individually, a sector-wide move down can hit both stops on the same day, on the same news, for a combined loss that behaves like one concentrated 2% bet rather than two independent 1% bets that happened to both go wrong.

  • Three unrelated positions, each risking 1% of capital: combined worst case if all three stops hit independently is roughly 3% of capital, a manageable single bad week.
  • Three positions in stocks that move together, each risking 1%: a single sector shock can hit all three stops on the same trigger, behaving closer to one 3% bet on one theme rather than three diversified 1% bets.
  • A practical adjustment some traders use: treat correlated positions as a single combined risk bucket, and cap that bucket's total risk the same way a single trade's risk is capped, rather than letting five correlated 1% trades quietly become a 5% bet on one idea.

This is not a call to avoid holding more than one position, it is a reminder to add up the risk honestly across everything open at once, particularly when the positions share a sector, a theme, or simply move with the same broad market direction on the days it matters most.