About the Stock Average Calculator
If you bought the same share at different prices, your average tells you the price at which your whole holding breaks even. Add each purchase, and enter the current price to see your overall gain or loss.
Formula
Average price = Sum of (Price × Quantity) ÷ Sum of Quantity
- Every input is shown in the calculator above
How to use it
- Enter your your purchases, current price (optional).
- Read the average price in the results panel. It updates as you type.
- Open the Compare, Chart and table tabs for more detail, then copy a link or download the figures.
Average price and your tax records
The average price on this page is an arithmetic figure, and it is useful for seeing where a holding stands. Tax in India works differently. Shares are treated as sold on a first in, first out basis, so each sale is matched to your earliest purchase in that demat account. The cost and holding period for tax therefore come from particular lots, and not from your average.
This matters when you have bought the same share several times. Selling part of a holding can produce a gain or a loss that does not match the average shown by your broker, and part of a sale can be long term while the rest is short term. The stock profit tax calculator handles one sale at a time, and your broker’s tax report lists each matched lot.
Charges also move your real cost. Brokerage, STT and other costs on each purchase are not in a simple average unless you include them in the price.
What the average does not tell you
- It says nothing about whether a share is likely to rise or fall.
- It is affected by bonus shares and splits, which change both quantity and price.
- Buying more raises the amount you have at risk in one company.
What your average does and does not tell you
Your average price is the point at which the whole holding neither gains nor loses, before charges and tax. It says nothing about what the share will do next. A lower average after buying more means more money is exposed to the same company.
Adding more shares at a lower price is known as averaging down. It reduces the price needed to break even, and also increases the amount at risk.
Average price and tax are different
Your broker’s app usually shows an average price. For tax, Indian rules treat the earliest shares as sold first. If you bought at different prices, the gain you report can be quite different from what the average suggests. The holding period also runs from each purchase, so some shares can be long term and others short term.
Corporate actions
- A share split raises quantity and lowers price in proportion, so your total cost stays the same.
- A bonus issue adds shares at no cost, lowering your average.
- A rights issue adds shares at the offer price, and counts as a new purchase.
- Dividends do not change your average price.
Frequently asked questions
Do bonus shares change my average?
Yes. A bonus adds shares at no cost, so the average falls. Enter them with a price close to zero, or adjust your quantity.
Does the average include brokerage?
Only if you add it to your purchase price.
Are my numbers stored?
No. Everything is calculated in your browser, and your figures are not sent to us.
Is this financial advice?
No. It is an estimate for information only. Please check important decisions with a qualified professional.
Are these returns guaranteed?
No. Market-linked returns vary. The result shows what would happen at the rate you enter, so try several rates.
Should I use a return before or after tax?
Use a return after costs. For a truer picture of what you keep, allow for tax as well.
Does this work for mutual funds?
Yes. Enter the NAV as the price and your units as the quantity.
Last updated 9 November 2026. Results are estimates for information only and are not financial, tax or legal advice. Please check figures with your lender, adviser or the official source before you act. Everything you enter is calculated on your device and is not sent to us.