Risk & planning · Beginner

Stock average price calculator for Indian stocks

Short answer

Your average price is the total money you paid divided by the total shares you hold: average = (price₁ × shares₁ + price₂ × shares₂ + …) ÷ total shares. Buy 100 shares at ₹500 and 100 more at ₹450, and you hold 200 shares at an average of ₹475.

Start the free courseFree Swing Trading Course: video lessons and live classes every Wednesday and Saturday.
Fearless Community teamUpdated 8 min
Try itStock average price calculatorExample prices — change them to yours
Average price₹475.00on 200 shares, ₹95,000 invested in all.
Total shares200
Total cost₹95,000
Value today₹90,000
Profit or loss−₹5,000 (−5.3%)

To bring the average to ₹465.00, you would buy about 134 more shares at ₹450.00 — another ₹60,300, taking the position to ₹1,55,300.

A lower average does not make a falling stock safer. Every extra buy adds money at risk; check it against your stop-loss and your cap per stock first.

Try this
  1. 1Add a third buy below the second. Watch the average fall, and the total money at risk rise.
  2. 2Set a goal average and see how many more shares it would take. Is that within your cap per stock?
  3. 3Put today's price above your average to see the same maths for averaging up.

How to use the calculator

  1. 1Enter each buy as a row: the price you paid and the number of shares. Add up to six buys.
  2. 2Read your average price, total shares and total money invested.
  3. 3Add today's price to see the value of the holding and your profit or loss.
  4. 4Add a goal average to see how many more shares you'd need to buy at today's price to reach it — and how much money that adds.

Your broker shows an average price too, usually in the holdings screen. This calculator lets you test a buy before you place it, so you see what it does to your average and to your money at risk.

The formula, step by step

Average price is a weighted average. Each buy counts in proportion to how many shares it bought, not once per buy. That's why a big buy at one price pulls the average much harder than a small buy at another.

Worked example · Three buys of different sizes (practice numbers)
Buy 1
40 shares at ₹1,200 = ₹48,000
Buy 2
20 shares at ₹1,100 = ₹22,000
Buy 3
60 shares at ₹1,050 = ₹63,000
Total
120 shares, ₹1,33,000
Average price
₹1,33,000 ÷ 120 = ₹1,108.33

A simple average of the three prices would be ₹1,116.67. The real average is lower because the biggest buy was at the lowest price.

To work it out by hand: multiply each price by its shares, add those up, then divide by the total number of shares. Charges are left out here; your broker's contract note shows the exact amount you paid, including them.

How many shares to reach a goal average

People often ask the question the other way round: “The stock is lower now. How many shares do I need to buy to bring my average down to a certain price?” The calculator answers it with this formula:

Shares needed for a goal average

Extra shares = current shares × (current average − goal average) ÷ (goal average − today's price)

Worked example · Bringing ₹475 down to ₹465 (practice numbers)
You hold
200 shares at an average of ₹475
Today's price
₹450
Goal average
₹465
Extra shares
200 × (475 − 465) ÷ (465 − 450) = 133.3, so about 134
Extra money
134 × ₹450 = ₹60,300

Moving the average by ₹10 needs ₹60,300 more in the same stock. The closer the goal is to today's price, the more shares it takes — and the number grows very fast.

The goal has to sit between today's price and your current average. You can never average down to today's price or below it, however many shares you buy.

Averaging down: what the maths hides

A lower average feels like progress. It isn't, on its own. When you buy more of a falling stock, three things happen together:

  • Your average price goes down, so the stock needs a smaller bounce to get you back to zero.
  • Your position gets bigger, so every further rupee the stock falls now costs you more.
  • More of your capital is now tied to one idea that, so far, the market has disagreed with.

That's why many swing and positional traders don't average down at all. Their plan is decided before the first buy: a stop-loss where the idea is wrong, and a position size that limits the loss. If the stop is hit, they exit; they don't add.

A useful question

Before adding to a losing position, ask: if I didn't already own this stock, would I buy it today, at this size, with a stop here? If the honest answer is no, a lower average doesn't change it.

Long-term investors sometimes add to a quality business on a fall, as a planned part of investing over years. Even then, the plan usually sets a limit on how much of the portfolio one stock can become — decided in advance, not in the middle of a fall.

Averaging up, and buying in parts

Averaging works upward too. If a trade moves in your favour and you add shares at a higher price, your average rises. Some traders add only when a trade is already working, and move the stop up so the whole position stays within their planned risk.

Others split one planned position into two or three buys — for example, half at the entry and half after a retest of the breakout level. Both are planned in advance. The calculator helps you see the average you'll end up with before you commit.

Worked example · Planned buy in two parts (practice numbers)
Plan
Buy 150 shares in total, stop-loss at ₹276
Part 1
75 shares at ₹300
Part 2
75 shares at ₹306, after the retest held
Average price
₹303
Risk if stopped
150 × (₹303 − ₹276) = ₹4,050

Because the plan was made first, the total risk was known before either buy. Size the full position with the position size calculator.

Average price and selling part of a holding

When you sell only part of a holding, the average price of the shares you keep usually stays the same on your broker's screen. Your profit or loss on the sale is worked out against that average.

For tax, Indian rules match sales to purchases on a first-in, first-out basis, so the cost used for tax can differ from the average shown in the app. Check your broker's tax P&L report, or ask a tax professional, before you file.

Common mistakes

  • Using a simple average of prices instead of weighting by shares. It gives the wrong number whenever buy sizes differ.
  • Averaging down without a plan. Each buy should fit a size limit you set before the first one.
  • Chasing a goal average that needs a huge extra buy. Look at the money the calculator shows, not just the new average.
  • Forgetting charges. They raise your true cost a little on every buy.
  • Treating the average as a target. The market doesn't know your average price. Exits belong where the chart or the business says, not at your break-even.

Next, see how far a stock has to rise to repair a loss with the stock profit and loss calculator.

Quick check

  1. 01You buy 50 shares at ₹200 and 150 shares at ₹180. What's your average price?
  2. 02You buy more shares of a stock that has fallen. What happens to your risk?
  3. 03Today's price is ₹90 and your average is ₹110. Which goal average can you reach by buying more at ₹90?

Key terms

Average price
Total money paid for a holding divided by the total shares, also called average cost.
Weighted average
An average where each value counts in proportion to its size — here, the number of shares in each buy.
Averaging down
Buying more of a stock below your average price, which lowers the average and increases the position.
Averaging up
Adding shares above your average price, usually when a trade is already moving in your favour.

Common questions

How do I calculate the average price of a stock?

Multiply each buy price by the shares bought at that price, add the results, and divide by the total number of shares. For example, 100 at ₹500 and 100 at ₹450 is ₹95,000 ÷ 200 = ₹475.

How many shares should I buy to average down?

Use extra shares = current shares × (current average − goal average) ÷ (goal average − today's price). But check the money it adds and whether the bigger position still fits your risk plan before buying.

Is averaging down a good idea?

It's a choice with a cost: the average falls but the money at risk rises. Many swing traders never average down and exit at the stop instead. Long-term investors who do it usually set a limit per stock in advance.

Does the calculator include brokerage and taxes?

No. It uses the prices you type. Your broker's contract notes show what you actually paid, including charges, so your true average cost is a little higher.

Why is my broker's average price different from this calculator?

Brokers may include charges, adjust for corporate actions like splits and bonuses, or show the average for only the shares you still hold. Enter the same buys and the maths should match before those adjustments.

What happens to my average after a stock split or bonus?

Your share count rises and your average price falls in the same proportion, so the total cost stays the same. In a 1:1 bonus, 100 shares at ₹400 become 200 shares at ₹200.

Average price kaise nikale?

Har kharid ka price × shares jodiye, phir total shares se divide kariye. Jaise 100 shares ₹500 par aur 100 shares ₹450 par: ₹95,000 ÷ 200 = ₹475 average.

Was this lesson useful?

Keep going

Education only — not investment advice. Trading in the stock market carries risk. Charts on this page use made-up prices for practice — they are not real stocks or recommendations. Examples are for learning only.