Stock average calculator
When you buy the same share more than once, your average price is not the middle of the prices. It depends on how much you bought at each one. Enter your buys below and see the real average.
Average price calculator
How many more shares to reach a target average?
The formula
It is a weighted average. Buy 100 shares at ₹500, then 100 more at ₹400. You spent ₹50,000 + ₹40,000 = ₹90,000 on 200 shares, so the average is ₹450. Equal amounts, so it sits exactly in the middle.
Now buy 100 at ₹500 and 300 at ₹400. The spend is ₹50,000 + ₹1,20,000 = ₹1,70,000 for 400 shares, an average of ₹425. The average moves toward the price where you bought more.
To bring your average down, you need to buy more than you think
This catches people out. Say you hold 100 shares at ₹500 and the price falls to ₹400. To get your average to ₹450, you have to buy another 100. To get to ₹425, you need 300. And the closer the target gets to the new price, the more shares it takes, because every extra share you buy at ₹400 pulls the average only a little.
The second calculator above does this for you. Notice the money: getting from ₹500 to ₹450 here means another ₹40,000 into a share that is already losing.
Averaging down is a decision to take more risk
We would be doing you a disservice if we only gave you the sum. Buying more of a falling share lowers your average, and that feels like progress. Your loss per share against the current price has not changed, though, and you now hold more shares, so the same fall costs you more.
A fair test is to ask: would I buy this share today, at this size, if I did not own it? If not, adding to it is probably not a plan. It is a hope. If you do average, decide the total size in advance using the same risk limit you would use for any new trade, and know where you would stop. Our guide on position size shows how to set that limit.
Things the calculator does not include
- Brokerage, taxes and other charges. They add to your cost per share. For a ₹400 share the effect is small, but it is not zero, and it grows if you trade often.
- How your tax statement counts the cost. Brokers and tax software may use a method such as first-in-first-out when you sell part of a holding, which can differ from the blended average above. Treat this number as a planning figure and ask a tax professional how your gains are computed.
- Corporate actions. Splits, bonuses and rights issues change both quantity and price. Adjust your figures before you enter them.
If you trade with a stop-loss, the TradingMath journal has an Add to position option. It recalculates your average and your risk on the open trade when you buy more, so the whole position stays one trade in your records.
Common questions
How do I calculate the average price of a stock?
Add up the money spent on every purchase and divide it by the total number of shares. Do not average the prices themselves unless you bought exactly the same quantity each time.
Will my broker show the same average?
Usually, yes, as long as you enter the same buys. It can differ if charges are included in the cost, or if an adjustment such as a bonus issue applies.
Is averaging down a good idea?
It depends on why the price fell and whether your original reason still holds. As a mechanical habit it is risky, because it increases your position in the share that is working against you.
Related guides
Updated 22 November 2026. This page is for education and is not investment advice. Markets carry risk of loss. Examples are hypothetical and use round numbers. Check lot sizes, margins and charges with your broker and the exchange before you trade.