MarketHUD

Free calculator

Position Size Calculator

Work out how many shares to buy so that a stopped-out trade loses only the amount you chose to risk.

Your trade

Currency

Direction

₹

Many traders use 0.5% to 2%.

₹
₹

Shares to trade

200

Amount at risk

₹5,000.00

1% of your account

Risk per share

₹25.00

5.00% from entry

Position value

₹1,00,000

20.0% of your account

What this means

You are willing to lose ₹5,000.00 on this trade. The stop is ₹25.00 a share below your entry, so 200 shares keeps the loss at ₹5,000.00 if the stop fills at your price.

The position is worth ₹1,00,000, or 20.0% of your account. A gap through your stop would lose more than planned, so treat ₹5,000.00 as the expected loss, not the worst case.

By Rupesh Kumar · Last updated: · How our calculators work

How it's calculated

Risk amount = A × r

Risk per share = |E − S|

Shares = floor(Risk amount ÷ Risk per share)

Position value = Shares × E

A
Capital: the money in your trading account
r
Risk per trade, as a decimal (1% = 0.01)
E
Entry price per share
S
Stop price per share: below E for a long trade, above E for a short
floor
Round down to a whole share, so the risk never exceeds your limit

The number of shares depends on how far away your stop is, not on how confident you feel. A tight stop allows a bigger position and a wide stop forces a smaller one, but the money at risk stays the same.

Worked example

You have ₹5,00,000 of trading capital and risk 1% per trade, so you can lose ₹5,000 on this idea. You plan to buy at ₹500 with a stop loss at ₹475, which is ₹25 of risk per share.

₹5,000 ÷ ₹25 = 200 shares. The position costs ₹1,00,000, or 20% of your capital. If the stop fills at ₹475 you lose ₹5,000, exactly the 1% you planned. If you moved the stop to ₹450 the risk per share would double to ₹50 and the calculator would cut the position to 100 shares, keeping the loss at ₹5,000.

Why a fixed risk per trade matters

Every trader has losing streaks. Small, fixed risk is what makes them survivable. After 10 losses in a row, risking 1% each time leaves about 90.4% of your account. Risking 5% each time leaves about 59.9%, and you would then need a 67% gain just to get back to where you started.

Fixed risk also makes your results comparable. If every trade risks the same amount, a trade that makes three times its risk is a clear win whatever the share price or position size.

Assumptions and limitations

  • The stop fills at your stop price. Shares that gap past your stop overnight or on news fill at the next available price, so the real loss can be larger. In the example, a gap down to ₹450 would lose ₹10,000, not ₹5,000.
  • Brokerage, STT and other charges are not included. On small positions they can take a noticeable share of the risk budget; the brokerage calculator shows them.
  • Shares are rounded down, so the actual risk is usually slightly below your limit.
  • Margin and position limits set by your broker are not modelled. If the position value is more than your capital, you can only buy what your cash allows.
  • It sizes one trade at a time. Several open positions in related stocks can lose together, so total portfolio risk can be much higher than the risk on any single trade.

Frequently asked questions

How many shares should I buy?
Decide how much money you are willing to lose on the trade, then divide it by the distance between your entry and your stop loss. ₹5,000 of risk with a ₹25 stop distance gives 200 shares.
What is the 1% rule in trading?
It means never risking more than 1% of your account on a single trade. It limits how much a run of losses can hurt you. Many traders use somewhere between 0.5% and 2%.
Does a tighter stop mean less risk?
Not with fixed-risk sizing. A tighter stop lets you buy more shares for the same rupee risk. It does make it more likely that normal price swings will stop you out.
What if the position costs more than I have?
Buy only what you can afford. Your actual risk will then be below your limit, which is fine. Don't widen the stop to make a bigger position fit.
Can I use this for futures and options?
Yes. Treat the result as a number of units, then divide by the contract's lot size and round down to get the number of lots. For options, use the premium as the entry and stop prices.
Can I use this for short trades?
Yes. Choose Short and put the stop above your entry price. In India's cash market, a short sale must be closed the same day unless you have borrowed the shares through the SLB (securities lending and borrowing) scheme, so overnight short positions are usually taken with futures or options. Losses on a short can keep growing if the price keeps rising.

Sources

  • Stop Order, Investor.gov, U.S. Securities and Exchange Commission. Retrieved 2026-09-18.
  • Market Order, Investor.gov, U.S. Securities and Exchange Commission. Retrieved 2026-09-18.