Stock average calculator

When you buy the same share more than once at different prices, your average price is the total amount paid divided by the total number of shares. Add each buy below. The second part tells you how many shares to buy at today's price to reach a target average.

Buy price (₹)Shares
Average buy price
₹1,319.17
Total shares60
Total cost₹79,150

Reach a target average

Shares to buy
60
Money needed₹70,800
New average₹1,249.58
Shares after buying120

Rounded up to whole shares, so the new average lands at or just past the target.

The formula

Average price = (price₁ × shares₁ + price₂ × shares₂ + …) ÷ (shares₁ + shares₂ + …).

Shares to buy for a target average = current shares × (current average − target) ÷ (target − today's price). This works only when the target lies between today's price and your current average.

Worked example

BuyPriceSharesCost
1₹1,45020₹29,000
2₹1,31015₹19,650
3₹1,22025₹30,500
Total60₹79,150

Average price = ₹79,150 ÷ 60 = ₹1,319.17. To bring the average to ₹1,250 with the share now at ₹1,180, you need 60 × (1,319.17 − 1,250) ÷ (1,250 − 1,180) = 59.29, so 60 more shares costing ₹70,800. The new average is ₹1,249.58 on 120 shares.

More stock market tools

Questions people ask

How is the average price of a stock calculated?

Multiply each buy price by the shares bought, add these up, and divide by the total shares. It is a weighted average: a big purchase moves it more than a small one.

Does selling some shares change my average?

No. Selling part of your holding does not change the average cost of the shares you keep. Your broker's holdings page may show the same.

Should I include brokerage and charges?

For your own records you can add them to the cost. For capital gains tax, the cost of acquisition includes brokerage, so keep your contract notes.

Is averaging down a good idea?

It lowers your average but adds money to a share that has fallen. Buy more only if you would buy the share fresh at today's price for its own reasons.

Need help with tax, GST or your accounts?

A tax professional can call you back. Asking is free.

Get help

More calculators

Results are estimates for information only, not financial or tax advice. Rates, rules and limits change, so check with your bank, employer or a qualified adviser before you decide.