Stock Average Calculator 2026
Find your average buy price across several purchases of a share, your profit or loss at today's price, and how many shares to buy to reach a target average.
Your purchases
Buy 1
Cost: ā¹50,000.00
Buy 2
Cost: ā¹40,000.00
Today's price and your target
Set the current price to see your profit or loss today. Set a target to see how many shares at today's price get you there. Set either to 0 to skip it.
- Average buy price
- ā¹450.00
- 200 shares bought for ā¹90,000.00
- Total shares
- 200
- Total invested
- ā¹90,000.00
- Value at today's price
- ā¹70,000.00
- Profit / loss today
- āā¹20,000.00
- ā22.22%
To reach an average of ā¹420.00
Buy 86 more shares at ā¹350.00
That costs ā¹30,100.00 and brings your average to ā¹419.93 on 286 shares.
Average after each buy
- Buy 1
- Shares
- 100
- Price
- ā¹500.00
- Cost
- ā¹50,000.00
- Total shares
- 100
- Average after this buy
- ā¹500.00
- Buy 2
- Shares
- 100
- Price
- ā¹400.00
- Cost
- ā¹40,000.00
- Total shares
- 200
- Average after this buy
- ā¹450.00
- Buy 3Planned
- Shares
- 86
- Price
- ā¹350.00
- Cost
- ā¹30,100.00
- Total shares
- 286
- Average after this buy
- ā¹419.93
| Buy | Shares | Price | Cost | Total shares | Average after this buy |
|---|---|---|---|---|---|
| Buy 1 | 100 | ā¹500.00 | ā¹50,000.00 | 100 | ā¹500.00 |
| Buy 2 | 100 | ā¹400.00 | ā¹40,000.00 | 200 | ā¹450.00 |
| Buy 3Planned | 86 | ā¹350.00 | ā¹30,100.00 | 286 | ā¹419.93 |
Stock Average Formula
Each price counts as many times as the shares you bought at it, so a big buy moves the average more than a small one. A plain average of the prices ignores this and gives the wrong answer.
Shares to buy at today's price P to reach a target average T, starting from Q shares at average A:
n = Q Ć (A ā T) Ć· (T ā P), rounded up to a whole share
n = 200 Ć (ā¹450.00 ā ā¹420.00) Ć· (ā¹420.00 ā ā¹350.00) = 85.7143 ā 86
About the Stock Average Calculator
If you buy the same share more than once at different prices, your average buy price is the total you paid divided by the total number of shares. This is a weighted average: 100 shares at ā¹500 and 300 shares at ā¹400 average ā¹425, not ā¹450, because more of your money went in at ā¹400.
The average is your break-even price. Above it, the holding is in profit; below it, in loss. The calculator also works backwards: give it today's price and the average you want, and it tells you how many shares to buy.
How it works
- Your purchases: the number of shares and the price per share for each buy. Add up to ten.
- Current market price: today's price, to show what the holding is worth and your profit or loss.
- Target average: the average you want to reach by buying more at today's price.
Averaging down and averaging up
- Averaging down is buying more after the price has fallen. It lowers your average, so the stock needs to recover less for you to break even, but it also puts more money into a stock that is falling.
- Averaging up is buying more after the price has risen. It raises your average.
- A buy at today's price moves your average towards today's price but never to it or past it. If the share trades at ā¹350, no amount of buying brings a ā¹450 average down to ā¹350.
Your average price is not the cost used for tax
For capital gains on shares held in a demat account, the cost and the holding period are worked out first-in-first-out: the shares you sell are taken to be the oldest ones you bought, at their own price and date. This is section 67(7)(c) of the Income-tax Act, 2025 (earlier section 45(2A) of the 1961 Act), and the Income Tax Department's reporting guidance for share sales uses the same method. So if you bought 100 shares at ā¹500 and later 100 at ā¹400, then sell 100, the tax is worked out on the ā¹500 shares, not on the ā¹450 average.
To work out the tax on a sale, use the LTCG calculator or the STCG calculator.
Brokerage and charges
The prices you enter are used as they are. To include brokerage, taxes and other charges in your average, enter the price per share after charges.
Sources: the first-in-first-out rule is from section 67(7)(c) of the Income-tax Act, 2025 as published in the Gazette of India, and the Income Tax Department's reporting guidance for share sales.
References
Frequently Asked Questions ā Stock Average
How do I calculate the average price of a stock?
How many shares should I buy to bring my average down?
Can averaging down bring my average below today's price?
Is my average buy price used to calculate capital gains tax?
Does selling some shares change my average price?
Does the average include brokerage and other charges?
Is averaging down a good strategy?
Investment
Compare calculations across closely related financial tools in this category.
Direct Peer & Companion Calculators
6 tools availablePlan for goals and emergencies
Plan for your child's education and an emergency fund, and compare LIC, NPS and gold bonds.
Safe Withdrawal Rate (SWR) for Indian Retirement, Explained
Why lower SWR requires a bigger corpus, the water tank analogy, inflation-adjusted retirement models, and a worked ā¹12L cash-flow example.