Stock average calculator
Enter up to four purchases. See your average price, your profit or loss, and how many shares bring the average to your target.
- Up to four buys
- Target average
- Free, no sign-up
Averages and tax are different
Your demat account sells the oldest shares first for tax. The average price doesn't decide your capital gains.
Questions people often ask
How is tax worked out on partial sales?
First in, first out: the shares you bought first are treated as sold first, with their own cost and date.
Do bonus shares change my average?
Yes. Bonus shares have zero cost, which lowers your average. For tax, they have their own date and zero cost.
Your average price
Weighted by shares.
- Add up what you paid for every share.
- Divide by the total number of shares.
- For tax, each lot keeps its own cost.
Last reviewed 9 October 2026. The rules in this calculator come from these official sources.
- Investor education: how investments grow, and their risks Securities and Exchange Board of India
Common questions
How is the average price worked out?
Total amount paid for all your shares ÷ total number of shares.
What is the average of 100 at ₹500 and 50 at ₹420?
₹71,000 ÷ 150 = ₹473.33 a share.
How many shares to lower my average?
Shares needed = (total cost − target × shares held) ÷ (target − today's price). The calculator works it out.
Is averaging down a good idea?
Only if you still believe in the company. It increases your exposure to a falling share.
Is tax based on my average price?
No. Shares are treated as sold first in, first out, each lot with its own cost.
Related calculators
Capital gains
Tax on shares, mutual funds, gold and property you sold.
Return on investment
Your total and yearly return.
CAGR
The yearly growth rate of an investment.
Brokerage and charges
Brokerage, STT, stamp duty and other charges on a trade.
Coming soon