📈 Investments

Stock Average Calculator

Enter the quantity and price of each purchase to find your average buy price, total shares and invested amount — and add a current price to see your profit or loss.

Your purchases
Up to three buys
Add today's price to see your profit or loss.
Your average
Blended cost & P/L
Average Buy Price
₹86.67
30 shares at a blended cost of ₹86.67.
Total Shares30
Total Invested₹2,600

Average price = total amount invested ÷ total shares. This is your cost basis before brokerage, STT and other charges, which slightly raise your effective buy price.

What is stock averaging?

When you buy the same stock at different prices, your average buy price (or cost basis) is the single price that represents your whole position. It is simply the total money you invested divided by the total number of shares — and it's the number you compare against the current price to know whether you're in profit or loss.

The formula

Average price = Total amount invested ÷ Total shares bought

Buy 10 shares at ₹100 (₹1,000) and 20 shares at ₹80 (₹1,600): you own 30 shares for ₹2,600, so your average is ₹86.67 — not ₹90, because you bought more shares at the lower price. Quantity matters as much as price.

That distinction is the difference between a weighted average and a plain one. The simple mean of ₹100 and ₹80 is ₹90, but weighting each price by the number of shares bought at it gives ₹86.67 — the figure that actually reflects your money. To take a weighted average of any set of numbers, or a plain mean, median and mode of a list, use the average calculator.

Averaging down — and its risk

Buying more of a stock as its price falls ("averaging down") lowers your average cost, so the price needs to recover less for you to break even. It's a common strategy, but it only works if the company is fundamentally sound — averaging down on a permanently declining business just increases your loss. Never average down purely because a price is lower; do it only when your original thesis still holds.

PurchaseSharesPriceAmount
Buy 110₹100₹1,000
Buy 220₹80₹1,600
Buy 330₹60₹1,800
Total60₹73.33 avg₹4,400

Share average calculator, stock average calculator — the same tool

These terms are used interchangeably in Indian markets, and this calculator serves all of them. Whether you call it a share average calculator, a stock average price calculator, an average share price calculator or a cost-basis calculator, the arithmetic is identical: total money invested divided by total units held. Brokers and financial media in India tend to say "share", while international and app interfaces tend to say "stock" — there is no difference in the calculation.

You may also see the result labelled differently depending on where you look. Your broker's holdings screen might call it average price, avg. cost, average cost, average trading price or buy average; a tax statement will usually call it cost of acquisition or cost basis. All describe the same blended figure this page computes.

How many shares to average down to a target price?

This is the question most people actually have when a holding is underwater: not "what is my average?" but "what would it take to get my average down to ₹X?" You can work it out directly. If you hold Q shares at an average of A, and the price is now P, the number of extra shares N needed to reach a target average T is:

N = Q × (A − T) ÷ (T − P)

Take a holding of 100 shares bought at an average of ₹100, now trading at ₹70 — a 30% paper loss needing a +42.9% recovery just to break even. Here is what each target average would cost:

Target averageShares to buy at ₹70Extra capitalMultiple of original ₹10,000Break-even move then needed
₹9520₹1,4000.14×+35.7%
₹9050₹3,5000.35×+28.6%
₹85100₹7,0000.70×+21.4%
₹80200₹14,0001.40×+14.3%
₹75500₹35,0003.50×+7.1%
₹721,400₹98,0009.80×+2.9%

The cost does not rise steadily — it accelerates sharply. Halving your paper loss from ₹100 to ₹85 costs ₹7,000, about 70% of your original stake. Pushing on to ₹75 costs ₹35,000, three and a half times the original. Getting to ₹72 costs nearly ten times it. Each further rupee of improvement buys less than the last.

You can never average down to the current price, let alone below it. As the target approaches ₹70 the shares required tend to infinity, and any target below ₹70 gives a negative answer — because a weighted average of ₹100 and ₹70 must always sit somewhere between the two. Averaging down pulls your cost basis towards the market price; it can never take it past.

Read the last column before deciding. Averaging from ₹100 to ₹85 cuts the recovery you need from +42.9% to +21.4% for 0.7× your original stake — often a reasonable trade if your view on the company still holds. Chasing ₹72 to shave the requirement to +2.9% means committing ten times your original position to a stock that has already fallen 30%. That is no longer averaging down; it is concentrating risk. Size the addition against your whole portfolio, not against the loss you are trying to erase.

Don't forget charges

On Indian exchanges (NSE and BSE), your true cost basis is slightly higher than the simple average because of brokerage, STT (Securities Transaction Tax), exchange fees and GST on those charges. For long-term investors these are small, but for frequent traders they add up. The average here is your pre-charge cost — useful for tracking a position, though your break-even price is a little above it.

Averaging vs systematic investing

Deliberately buying a fixed rupee amount at regular intervals — rather than reacting to price drops — is the disciplined cousin of averaging, and for mutual funds it's exactly what a SIP does. To judge how a position has actually performed over time, use the CAGR calculator; for a one-time investment's growth, the lumpsum calculator helps.

Frequently Asked Questions

How many shares should I buy to average down to a target price?
Use N = Q × (A − T) ÷ (T − P), where Q is the shares you hold, A your current average, P the market price and T your target average. Holding 100 shares at an average of ₹100 with the price at ₹70, reaching a ₹90 average takes 50 more shares (₹3,500); ₹85 takes 100 shares (₹7,000); ₹80 takes 200 shares (₹14,000); and ₹75 takes 500 shares (₹35,000) — three and a half times your original investment. The cost accelerates as the target nears the market price, so decide the target from what you can afford to commit, not from the loss you want to erase.
Can I average down below the current market price?
No. A weighted average of your old price and the new one must always fall between them, so buying at ₹70 can pull an average of ₹100 down towards ₹70 but never to it. Mathematically the shares required tend to infinity as the target approaches the market price, and any target below it returns a negative number. If you need your cost basis under the current price, averaging down cannot deliver it — only a fall in the price followed by further buying can.
Does averaging down reduce how much the price must recover?
Yes, and that is its real benefit. At an average of ₹100 with the price at ₹70 you need a 42.9% rise to break even. Averaging to ₹85 cuts that to 21.4%, and to ₹80 cuts it to 14.3%. The trade-off is more capital in a position that has already fallen: getting to ₹80 costs 1.4 times your original stake. Averaging down only makes sense if your original reason for owning the company still stands — on a business in genuine decline it simply enlarges the loss.
How do I calculate the average price of a stock?
Add up the total amount you invested across all purchases and divide by the total number of shares you own. For example, ₹2,600 invested for 30 shares gives an average of ₹86.67 per share.
What does averaging down mean?
Averaging down means buying more shares as the price falls, which lowers your average cost. It reduces the price at which you break even, but it only makes sense if the company's fundamentals remain strong.
Is a lower average price always better?
A lower average means you break even sooner, but chasing a lower average by buying a falling stock can trap more money in a losing position. Average down based on conviction in the business, not just the falling price.
Does this calculator include brokerage and taxes?
No — it shows your average based on quantity and price only. Real charges (brokerage, STT, exchange fees, GST) make your effective cost slightly higher, so your true break-even price is a little above the figure shown.
How do I find my profit or loss?
Enter a current price and the calculator shows your position's current value, profit or loss in rupees, and percentage return — all based on your blended average buy price.
Can I average more than three purchases?
This tool supports up to three buys plus an optional current price, which covers most cases. For many small purchases, add them up into three grouped tranches, or track the running total in a spreadsheet.
What is cost basis?
Cost basis is the total price you paid for an investment, used to calculate capital gains when you sell. Your average buy price multiplied by the number of shares is your cost basis before charges.

Method

This calculator uses standard mathematics, not a statutory rate, so there is nothing here that can go out of date. The formula it applies is:

Weighted average price = total amount invested ÷ total shares held = Σ(quantity × price) ÷ Σ(quantity).
To reach a target average T from a holding of Q shares at average A, buying at price P, the shares needed are N = Q(A − T) ÷ (T − P). Because a weighted average always lies between the old average and the new purchase price, no finite N reaches a target at or below P.

Embed this calculator on your website — free

Copy this snippet to add the live Stock Average Calculator to your own site. It updates automatically and always stays free.