Weighted average buy price across every purchase, with the total quantity and what it cost
Estimates only, not financial advice. What you type stays on your device. Updated on 24 Oct 2026.Ten shares bought at 100 and ninety at 200 average 190, not 150: each price counts in proportion to the money behind it, so the total cost of 19,000 divided by 100 shares is the only correct answer. Adding prices and dividing by two overstates the cheap purchase ninefold.
In the first row, enter the "Quantity" you bought and the "Price each" you paid.
Fill the second row, and press "Add another purchase" for every further buy.
Enter "Price today (optional)" to see the value and gain or loss of the holding.
Read the "Average buy price", with "Total quantity" and "Total invested" beneath it, and "Highest price paid" and "Lowest price paid" for the range of your buys.
Anyone who has bought the same share twice has an average price, and almost nobody can state it. The reason is that the obvious method is wrong. Adding the prices together and dividing by how many times you bought treats a ten-share nibble and a nine-hundred-share commitment as equals, and they are not equals: each purchase counts in proportion to the money behind it.
The correct sum is the one this page does. Add up what every purchase cost, add up how many shares it bought, and divide the first by the second. That single figure is the price the whole holding really cost, and it is the number that decides whether the position is up or down today.
The gap between the two methods is not academic. Ten shares at 100 and ninety at 200 give a naive average of 150 and a real average of 190 — forty rupees a share, and always in the flattering direction, because the naive method inflates the importance of the small, cheap, early purchase everybody remembers fondly. Whenever the two disagree this page shows both and says which is which.
There is a second question underneath the first, and it is the one people are usually really asking: how much more would I have to buy, and at what price, to bring the average down to a particular figure? That is solved here too. Enter the target and the price you could buy at and the answer is a share count and a cost. Buying at or above the target cannot reach it, and the page refuses rather than returning a negative number that reads like an instruction to sell.
Two honest limits. Brokerage and statutory charges are not included — they belong to the Brokerage Calculator, which sources each one. And capital gains on listed shares in India are computed first in, first out, not on the average, so this answers what the position cost you rather than what you will be taxed on.
Everything runs in your browser. Estimates only, not financial advice.
Multiply each purchase's quantity by its price, add those amounts together, then divide by the total number of shares. Ten at 100 plus ninety at 200 is 19,000 across 100 shares, so the average is 190. Adding the two prices and halving them gives 150, which is wrong.
Take the shares you hold, multiply by the gap between your current average and the target, then divide by the gap between the target and the price you would pay. Holding 100 at 190 and aiming for 150 while buying at 100 needs 80 more shares, costing 8,000.
Brokerage, STT, stamp duty, exchange charges and GST all raise what a purchase actually cost, so the real cost per share is a little above the figure here. This page deliberately leaves them out because they differ by broker and segment; the Brokerage Calculator adds them with each charge sourced.
No. Capital gains on listed shares in India are worked out first in, first out: the oldest shares are treated as sold first, at the price they were actually bought for. The average answers what the whole position cost you, which is a different question from what a partial sale will be taxed on.
Har khareed ki quantity aur price is page par daaliye aur average apne aap nikale jaata hai. The method is the same in any language: total money divided by total shares, never the prices added and halved. Fractional quantities work too, so mutual fund units can be entered exactly as the statement shows them.
Averaging down lowers the price at which the holding breaks even, but it does not recover money already lost; it puts more money at risk in the same share. A position 4,000 down stays 4,000 down the moment more shares are bought. The break-even price falls; the loss does not.
A split or bonus multiplies the share count without adding money, so the average falls in exact proportion: 100 shares at 190 become 200 at 95 after a 1:1 bonus. Enter the extra shares as a purchase at a price of zero and this page produces the same figure.
Formula only: no rates or limits are read from an official source.
Still stuck? Ask about Stock Average Calculator and anybody who knows can answer. No account needed.
Same job, other tools: CPI Inflation Calculator – Adjust a dollar amount for inflation with the CPI-U index, with the formula and every year · US Inflation Calculator – US inflation between any two years since 1913: price change, yearly rate and dollar value.
On the related tools: Step-up SIP Calculator – See how raising your SIP every year changes the final corpus.
Also works as: Share Average Calculator · Mutual Fund Average NAV Calculator.
In the collection Stock Market Calculators.