Stock average calculator: share average price
Your new average price after you buy more of the same share.

Average & true breakeven
Your weighted average is ₹1,100.00. Selling at ₹1,100.00 would still not leave the position level, because the buy legs and the modelled sell leg carry charges. Your after-cost breakeven is ₹1,102.81.
What the position really costs
- Units held200
- Total spent on them · before any charge₹2,20,000.00
- Average price · ignoring every charge₹1,100.00
- Average including buy-side charges · what the units really cost you₹1,101.54
- Round-trip charges · every buy leg plus one sell leg₹560.26
- Sell price that gets you level₹1,102.81
That is ₹2.81 above the average price — the charges on both sides of the round trip, and the distance the price has to travel before anything is a gain.
Each file lists the source and the check date for every rate. The CSV comes as two files, the figures and their sources.
The link carries only these inputs. Saved inputs stay in this browser only, and are off until you turn them on.
Try one change
Each button changes exactly one input and says what that did to the headline figure. Reset undoes it.
This total includes the brokerage you typed.
What this calculator does and does not do
What this calculator does
- Averages every purchase by quantity, which is the only correct way to do it whenever the quantities differ.
- Gives the sell price that leaves the position level once the charges on both legs are counted — always above the average, never equal to it.
- Answers the arithmetic question of how many units at what price produce a chosen average, and refuses an impossible target rather than returning an enormous quantity.
- Shows what a fixed amount buys at a price you choose. It counts whole shares only and gives the new average.
- Shows the average with brokerage and the other buy-side charges, beside the plain average.
What it does not do
- Say whether to add to a position, what a fair price is, or whether a holding is worth keeping.
- Count anything but the orders you enter. Each extra purchase pays another brokerage, which pushes the breakeven back up.
- Handle corporate actions. A bonus, a split or a buyback changes the average and none of them is modelled here.
Show the method and assumptions
The method
- Average price = total amount spent ÷ total units bought.
- Breakeven sell price = the price where selling every unit covers the buys and all charges.
- Target average: the units to buy at a new price to bring the average to your target.
What it assumes
- Each buy is a separate order with its own brokerage.
- Charges use the rates in force on the trade date.
Sources, effective dates and exclusions
- Calculated on
- today
Rates follow the trade date in the form, not today's date.
Source: NSE charges circulars and the SEBI turnover-fee schedule
- Rules in force from
- 1 Mar 2026
- Source published
- not listed
- Last reviewed
- 5 Oct 2026
Not included
- Bonus issues, splits and other corporate actions.
- Your full income-tax bill.
What could change this?
- The quantity on each buy. The average is weighted by units, so a large lot at one price pulls the average towards that price more than a small one.
- The trade date and product. The breakeven sell price comes from the charge schedule in force on that date, delivery or intraday.
- Brokerage per order. Every extra buy pays it again, so splitting the same money into more orders raises the breakeven.
- A bonus, split or buyback. None of these is a purchase at ₹0. Entering one as a buy corrupts the average.
How to calculate your average share price
The average is a weighted one. Every purchase is multiplied by its quantity. The amounts are added together, and the total is divided by the number of units. Averaging the prices themselves gives a different answer, and a wrong one, whenever the quantities differ. Buy 10 units at ₹100 and 990 at ₹50. Your average is ₹50.50, not the ₹75 that averaging the two prices would suggest.
The two answer different questions. The average is a fact about money already spent. The is a condition on a sale that has not happened yet. The second number is the one most calculators leave out. Selling exactly at your average price loses money. A completed round trip carries , stamp duty and an exchange transaction charge. It also carries the SEBI turnover fee, GST on the brokerage and transaction charges, and the brokerage itself. The breakeven is always above the average. On a small delivery position the gap is a visible fraction of a percent. It grows every time you split the purchase into another order. Brokerage is charged per order rather than per position.
How the average and the breakeven are worked out
The average is weighted by quantity. Each purchase is multiplied by the number of units it bought. The amounts are added together, and the total is divided by the units. The breakeven is that same holding priced twice. It is priced once as it was bought, and once as it would have to be sold.
average = Σ (price × quantity) ÷ Σ quantity
(10 × 100) + (990 × 50) 50,500
= ────────────────────── = ────── = 50.50
10 + 990 1,000
average
including = (Σ (price × quantity) + charges on the buy legs) ÷ Σ quantity
buy costs
breakeven = the lowest sell price at which
(sale proceeds − charges on the sale) ≥ (what you paid + charges on the buys)The breakeven does not rearrange into a single line. Several of the charges are a percentage of the sale value, so they move with the answer itself. It is solved instead. Net proceeds rise steadily as the sell price rises, and the engine narrows in on the first price at which they cover the cost. It rounds that up to the next paise. It is the same round-trip cost engine the trade cost calculator uses. The rates are those in force on the trade date you enter.
A worked example: two purchases, one average
Compare two purchases of the same holding: 10 units at ₹100, then 990 units at ₹50.
first buy 10 units × ₹100 = ₹1,000
second buy 990 units × ₹50 = ₹49,500
────────
total 1,000 units ₹50,500
average ₹50,500 ÷ 1,000 = ₹50.50 a unitAveraging the two prices instead of weighting them gives ₹75. That is nearly half as much again as the real figure. It would also put the breakeven somewhere else entirely. The whole difference is the quantities. The ₹100 purchase is one unit in every hundred held.
Selling all 1,000 units at ₹50.50 still loses money. Both legs carry charges. The second purchase was a second order paying a second brokerage. The price at which the position actually comes out level therefore sits above the average. The calculator above prints that price for the trade date you give it.
A second worked example: how many shares to reach a target average
Take 10 units at ₹100 and 20 units at ₹80. Check each step by hand. That is ₹2,600 for 30 units, an average of ₹86.67.
The target field answers one question. You name a price to buy at, and a target average. How many more units would it take to get there? At ₹80 a unit, for a target average of ₹85:
units = (30 × 85 − 2,600) ÷ (80 − 85)
= (2,550 − 2,600) ÷ (−5) = 10 units
cost 10 × ₹80 = ₹800
new average ₹3,400 ÷ 40 units = ₹85.00Ten units, exactly. Most targets do not divide that cleanly. A target average of ₹85.50 gives 6.36 units. A fraction of a unit cannot be bought. Six units land the average at ₹85.56, still above the target. Seven land it at ₹85.41, just below. The calculator rounds up. Rounding down would report a target as reached while leaving the average above it.
A target average of ₹75 gets no number at all. Buying at ₹80 pulls the average towards ₹80 and stops there. It cannot go past the price being added at, however much is added. That is not a very large answer. It is no answer. The calculator says so, instead of printing an enormous quantity that looks like one.
A third worked example: a fixed amount, and the average with brokerage
Start from the two purchases the calculator opens with. 100 shares at ₹1,200 and 100 at ₹1,000 cost ₹2,20,000.00 for 200 shares. The average is ₹1,100.00.
Now say you have ₹50,000.00 to invest at ₹900.00 a share. Only whole shares can be bought, so the calculator rounds down.
shares ₹50,000.00 ÷ ₹900.00, rounded down = 55 cost 55 × ₹900.00 = ₹49,500.00 left over ₹50,000.00 − ₹49,500.00 = ₹500.00 new average ₹2,69,500.00 ÷ 255 shares = ₹1,056.86
Charges on the extra buy are not taken out of the amount. A broker adds them on top.
Now the average with brokerage. Take the first two purchases again, as delivery trades with ₹20.00 brokerage on each order. Priced at the charges in force on 5 September 2026, the buy-side charges lift the average from ₹1,100.00 to ₹1,101.54. That is what each share really cost. Flip the switch under the result to see the same figure for your own purchases.
Why the breakeven moves when you average down
Two things move it. The average price falls, which pulls the breakeven down with it. And each new purchase is another order paying another brokerage, which pushes it back up. For a small addition at a price close to your average, the second effect can outweigh the first. The calculator counts both, so the figure it shows is the one that includes the orders you actually placed.
What it will not do
It will not tell you whether to add to a position, what a fair price is, or whether a holding is worth keeping. The target feature answers a question of arithmetic: how many units at what price produce a given average. It refuses impossible targets rather than returning an enormous quantity that looks like an answer. Adding to a losing position lowers the average. It raises the amount at risk at the same time.
A bonus or a split is not a purchase
A bonus issue or stock split changes the number of units held without a new purchase. The amount spent stays the same and is divided over more units. Take 100 units bought for ₹20,000, with an average of ₹200. A one-for-one bonus makes it 200 units for the same ₹20,000. The implied average is ₹100. This change in unit count does not itself create a gain.
That is why a corporate action cannot be entered here as another purchase. Added at ₹0 it reads as money spent. It drags the average down as though something had been bought. Left out, the unit count is short. Either way the figure stops being a purchase average, which is the only thing this page computes. After a bonus or a split, a broker's displayed average has been adjusted for the event. The figure here has not. The two are answering different questions rather than disagreeing.
The same three events, from the other side. Bonus shares, splits and dividends: what actually changes works ten shares at ₹1,000 through a split, a bonus and a cash payout. It shows why adjusting a price series without adjusting the matching quantities reports a level that was never a level.
Related tools
Trade Cost & Breakeven Calculator
The same charge table applied to a single round trip, itemised line by line.
Open →Capital Gains Tax Calculator
What the tax comes to once you do sell, short term or long term.
Open →NSE & BSE Index Lot Sizes
Contract sizes for index derivatives, each with the circular behind it.
Open →Common mistakes
- Reading the new average as a breakeven. Selling exactly at the average loses money, because every buy order and the sale carried charges. The separate breakeven figure is the level at which the sale covers them.
- Treating the modelled average as the true cost after a bonus, split or rights issue. Those change the quantity or the price without a trade. The exchange's adjusted figures, not this arithmetic, are the record.
- Counting the extra buy orders as free. Each order paid its own brokerage, and accumulating in more, smaller orders raises the price you need to get out level at.
Stock average FAQ
How do I calculate the average price of a stock I bought in several lots?
Multiply each purchase quantity by its price, add those amounts together, and divide by the total number of units. It is a weighted average, so a large purchase moves it far more than a small one — averaging the prices themselves gives the wrong answer whenever the quantities differ.
If I sell at my average price, do I break even?
No. Selling exactly at your average price leaves you slightly out of pocket, because a round trip carries securities transaction tax, stamp duty, the exchange transaction charge, the SEBI turnover fee, GST and brokerage. The true breakeven is above the average, and the calculator shows both the price and the gap between them.
Does buying in more, smaller orders change my breakeven?
Yes, upwards. Brokerage is charged per executed order, so accumulating a position across five orders pays five buy-side brokerages instead of one. The average price is unchanged, but the price you need to sell at just to get level is higher.
How many more shares do I need to buy to bring my average down?
Take the target average multiplied by your current quantity, subtract what you have already invested, and divide by the difference between the price you would buy at and the target. The calculator does this and refuses impossible targets: buying more can only pull the average towards the price you are adding at, never past it.
What does a fixed amount buy, and what is my new average?
Divide the amount by the price you would buy at, and round down to whole shares. Multiply those shares by the price to get the cost. Add that cost to what you already spent, then divide by the new number of shares. Fill the price and the amount in the calculator to see this. It also shows what is left over. Charges on the new order are extra.
Does the stock average include brokerage?
The plain average leaves charges out, because it is only price times quantity. Switch the result to include buy-side charges to see the average with brokerage. That figure adds the brokerage and the other charges on every buy order. Stamp duty is one of them, and so is STT on a delivery buy. It is what each share really cost you.
What is my average share price after I sell some shares?
With a weighted average, selling part of a holding does not change the average of the shares you keep. Say you hold 200 shares at an average of ₹1,100 and sell 50. The other 150 still average ₹1,100. FIFO (first in, first out) works differently. It treats the oldest shares as sold first, so the shares left can have a different average. Brokers and tax rules may use FIFO. This calculator works out purchases only. It does not track FIFO lots.
Is averaging down a good idea?
This tool does not say, and cannot. It reports arithmetic on the numbers you enter. Adding to a position that has fallen lowers the average and simultaneously raises the amount of money exposed to the same view being wrong.
Where to go from here
The arithmetic that decides whether averaging down helps: a rise is measured on what is left, not on what you started with, so the two percentages are never the same size.
Read the lesson Then thisPosition size calculatorThe average is the price. This is the quantity: how many shares a risk budget and a stop distance allow, and what that position is worth.
OpenLast checked on 5 October 2026.
Breakeven is the point at which a defined result is exactly zero.
Read moreSecurities Transaction Tax (STT) is a statutory tax the Government of India levies on purchases and sales of securities.
Read more