Stock average price calculator
Free stock average calculator: the average price of shares bought at different prices, and how many more to buy to bring your average down to a target.
Your buys
| Buy | Shares | Price (₹) | Remove |
|---|
Average price
- Total shares
- —
- Total cost
- —
- Average price
- —
- P&L at the price now
- —
Reach a target average
How the average price is worked out
When you buy the same share more than once at different prices, your broker shows one average price for the whole holding. It is a weighted average: each buy counts in proportion to the number of shares in it.
Average price = total amount paid ÷ total shares
Example: 100 shares at ₹500 cost ₹50,000 and 50 more at ₹400 cost ₹20,000. That is ₹70,000 for 150 shares, an average of ₹466.67. A simple average of the two prices (₹450) would be wrong, because the first buy was twice as large.
How many shares to buy to reach a target average
If you hold Q shares at an average A and buy more at price P, the new average is (Q × A + q × P) ÷ (Q + q). Solving for the shares q that bring the average to a target T gives:
Shares to buy = Q × (A − T) ÷ (T − P)
The target has to lie between the buying price and the current average: buying at ₹380 can pull a ₹466.67 average towards ₹380, never below it. The closer the target is to the buying price, the more shares it takes, which is why the calculator also shows the money needed.
Averaging down: what it does and does not do
Averaging down lowers the price the share has to return to for the whole holding to break even. It does not reduce the loss you have today, and it puts more money into a share that has fallen, so a further fall costs more. Whether that is sensible depends on why the price fell, which no calculator can tell you. Averaging up, buying more as a price rises, raises the average instead. The same maths applies to mutual fund units bought at different NAVs.
For the tax on selling, use the capital gains tax calculator: for tax, each lot of shares keeps its own buy date and price (first in, first out), not the average. To read up on a company first, see its page in the NIFTY 500 stock list.
Frequently asked questions
How is the average price of a share worked out?
Total amount paid ÷ total shares. 100 shares at ₹500 and 50 at ₹400 cost ₹70,000 for 150 shares, an average of ₹466.67.
How many shares must I buy to bring my average down?
Shares = held × (current average − target) ÷ (target − buying price). The target must lie between the buying price and your current average.
Does averaging down reduce my loss?
No. It lowers the average price, so a smaller rise brings you back to break-even, but it also puts more money into the same share. The loss at today's price is unchanged.
Should I include brokerage in the average?
Your broker's average usually excludes charges. Add them to each buy's price if you want your true cost per share; the brokerage calculator shows them.
Trade with research, not guesswork. Live NSE charts and option chains, stock screeners, and calls from SEBI-registered Research Analysts, each one tracked minute by minute from the moment it is posted.
Start free trialFor education only; not investment advice or a recommendation to buy, sell or trade. A SEBI study (FY23) found that about 7 in 10 individual intraday traders in the cash market made net losses.


