100 at ₹250 and 50 at ₹200 average ₹233.33, not ₹225
Each purchase counts in proportion to how many shares it bought. ₹25,000 was spent at ₹250 and only ₹10,000 at ₹200, so the average sits much closer to ₹250 than to ₹200.
Free share average calculator
Enter up to five purchases of the same share — the price and the quantity of each — and see the weighted average price, the total shares, the total invested, and, with today's price, the current value, the profit or loss and how far the price must rise to reach your average. Switch to the averaging-down planner to find how many shares to buy at a new price to reach a target average. Everything is worked out in your browser; nothing is sent anywhere.
This is the price average before charges. Brokerage, STT, stamp duty and other charges are NOT included, so a broker's all-in figure can differ slightly. For Indian capital-gains tax, demat sales are matched first-in first-out, not by average — the average is for tracking a position, not for a tax return. This is a calculation, not investment advice.
The sample — 40 shares at ₹250 and 30 at ₹220, averaging ₹237.14 — is filled in. Pick a starting point below, or replace any figure with your own.
Average = (40 × ₹250.00 + 30 × ₹220.00) ÷ 70 = ₹237.14.
Current value = 70 × ₹210.00 = ₹14,700.00. Profit/loss = ₹14,700.00 − ₹16,600.00 = ₹-1,900.00 (-11.45%). The price must rise 12.92% to reach ₹237.14.
Brokerage, STT, stamp duty and other charges are NOT included — this is the price average before charges. For Indian capital-gains tax, demat sales are matched first-in first-out, not by average.
Select Work it out to keep up to five checks while this page is open.
The sample, worked through
Every figure on the sample: the two buys, the total shares, the total invested, the average, the current value and the profit or loss.
| Item | Figure | How it is worked out |
|---|---|---|
| Lot 1 — 40 shares at ₹250 | ₹10,000.00 | 40 × ₹250.00 |
| Lot 2 — 30 shares at ₹220 | ₹6,600.00 | 30 × ₹220.00 |
| Total shares | 70 shares | 40 + 30 |
| Total invested | ₹16,600.00 | ₹10,000.00 + ₹6,600.00 |
| Average price | ₹237.14 | ₹16,600.00 ÷ 70 |
| Current value at ₹210 | ₹14,700.00 | 70 × ₹210.00 |
| Profit / loss | ₹-1,900.00 (-11.45%) | ₹14,700.00 − ₹16,600.00 |
The total invested is 40 × ₹250 + 30 × ₹220 = ₹16,600 for 70 shares; the average is ₹16,600 ÷ 70 = ₹237.14 — exactly stocknotify's published figures, to the paisa.
Understand the result
It answers one question: what did I pay on average for this share across my buys? Each purchase counts in proportion to how many shares it bought, so the answer is the total invested divided by the total shares. On the sample — 40 shares at ₹250 and 30 at ₹220 — the total invested is ₹16,600 for 70 shares, so the average is ₹237.14. At today's price of ₹210 the holding is worth ₹14,700, a loss of ₹1,900 (−11.45%), and the price must rise 12.92% to reach the average. The XIRR, CAGR and Lumpsum calculators measure returns over time; this tool answers the single question of what you paid on average for this share across your buys. Everything is worked out in your browser; nothing is sent anywhere.
Each purchase counts in proportion to how many shares it bought. ₹25,000 was spent at ₹250 and only ₹10,000 at ₹200, so the average sits much closer to ₹250 than to ₹200.
The planner works backwards: 100 × (₹500 − ₹460) ÷ (₹460 − ₹400) = 67 shares, costing ₹26,800, for a new average of ₹459.88. Rounding up lands just past the target.
With today's price the tool also shows the current value, the profit or loss in rupees and percent, and how far the price must rise to reach your average — 12.92% on the sample.
Those tools measure returns over time. The XIRR calculator works out the annualised return on irregular cash flows, the CAGR calculator the steady yearly growth rate, and the Lumpsum calculator what a one-time investment grows to. This tool is different: it answers the single question of what you paid on average for this share across your buys. For the tax side, the Capital Gains Tax calculator works out the tax — remembering that demat sales are matched first-in first-out, not by average.
How it works
Start with the buys, then today's price — and read the average, the total invested, the profit or loss and the rise to the average.
One row per purchase: the price you paid per share and how many shares you bought. Leave unused lots at zero. The order of the buys does not change the average.
The current market price, if you want the profit or loss and how far the price must rise to reach your average. Leave it at zero and the tool shows only the average.
Switch to the averaging-down planner and enter the shares you hold, your current average, the price you would buy at and the average you want. The tool gives the shares, rounded up, the money needed and the new average — or says the target cannot be reached at that price.
The average price, the total shares, the total invested, the current value, the profit or loss in rupees and percent, and the rise needed to break even on the average.
The formula
Average price = total invested ÷ total shares, where total invested is the sum over the lots of price × quantity. Current value = total shares × current market price. Profit or loss = current value − total invested, in rupees and as a percentage of the total invested. The rise to the average = (average price − current price) ÷ current price, from the average as shown. Shares to buy for a target average = current quantity × (current average − target) ÷ (target − new price), rounded UP to a whole share — and only when the target lies strictly between the current average and the new price. Money is rounded to paise; shares are whole numbers. Brokerage, STT, stamp duty and other charges are NOT included.
Three honest limits, and the page states them: brokerage, STT, stamp duty and other charges are NOT included — this is the price average before charges, so a broker's all-in figure can differ slightly. For Indian capital-gains tax, demat sales are matched first-in first-out, not by average — the average is for tracking a position, not for a tax return. And averaging down adds size to a losing position and increases the risk: a lower average is not a lower risk.
Worked examples
Each example below is shown with the figure this calculator produces, so you can see the method in action. The published examples are reproduced exactly. Select any of the six with a button to load it into the calculator and check the working for yourself.
The sample the page opens with, from stocknotify's worked example: 40 shares at ₹250 is ₹10,000 and 30 at ₹220 is ₹6,600, so ₹16,600 for 70 shares — an average of ₹237.14, or ₹237 to the rupee. At today's price of ₹210 the holding is worth ₹14,700, a loss of ₹1,900, and the price must rise 12.92% to reach the average.
→ ₹237.14
rupeescalc's worked example, reproduced exactly before charges: 100 at ₹200 is ₹20,000, 50 at ₹160 is ₹8,000 and 75 at ₹130 is ₹9,750 — ₹37,750 for 225 shares, an average of ₹167.78, or ₹168 to the rupee. The page's ₹168.24 is the charges-inclusive average, adding its ₹105 of charges: (₹37,750 + ₹105) ÷ 225. This tool takes no charges, so it gives ₹167.78.
→ ₹167.78
blogbanking's worked example, reproduced exactly: 50 at ₹1,480 is ₹74,000, 30 at ₹1,320 is ₹39,600 and 20 at ₹1,210 is ₹24,200 — ₹1,37,800 for 100 shares, an average of ₹1,378. At today's price of ₹1,250 the holding is worth ₹1,25,000, a loss of ₹12,800 (−9.29%), and the price must rise 10.24% to reach the average. Buying 37 more at ₹1,200 costs ₹44,400 and takes the average to ₹1,329.93.
→ ₹1,378.00
a2z's worked example, reproduced exactly: 100 at ₹250 is ₹25,000 and 50 at ₹200 is ₹10,000 — ₹35,000 for 150 shares, an average of ₹233.33, or ₹233 to the rupee. A simple average of the two prices gives ₹225, which is wrong because twice as many shares were bought at ₹250. At today's price of ₹210 the holding is worth ₹31,500, a loss of ₹3,500 (−10.00%).
→ ₹233.33
stocknotify's planner example, reproduced exactly: you hold 100 shares at ₹500 and the price is now ₹400. New shares = 100 × (₹500 − ₹460) ÷ (₹460 − ₹400) = 4,000 ÷ 60 = 66.67, rounded up to 67 shares, costing ₹26,800. The new average is (₹50,000 + ₹26,800) ÷ 167 = ₹459.88 — just past the ₹460 target, because shares round up.
→ ₹26,800.00
thebeststockbroker's worked example, reproduced exactly: 100 at ₹200 is ₹20,000 and 50 at ₹160 is ₹8,000 — ₹28,000 for 150 shares, an average of ₹186.67, or ₹187 to the rupee. At today's price of ₹180 the holding is worth ₹27,000, a loss of ₹1,000 (−3.57%), and the price must rise 3.71% to reach the average.
→ ₹186.67
The trap a2z warns about, worked through: 100 shares at ₹250 and 50 at ₹200. Adding the two prices and halving them gives ₹225 — but ₹25,000 was spent at ₹250 and only ₹10,000 at ₹200, so the true average is ₹35,000 ÷ 150 = ₹233.33, or ₹233 to the rupee. The simple average is only right when every quantity is identical.
→ ₹233.33
stocknotify's selling example, reproduced exactly: you hold 200 shares at ₹462.50 and sell 80 at ₹520, for a profit of 80 × (₹520 − ₹462.50) = ₹4,600. The remaining 120 shares still average ₹462.50. Buy 30 more at ₹480 and the new average is (120 × ₹462.50 + 30 × ₹480) ÷ 150 = ₹69,900 ÷ 150 = ₹466 — ₹466 to the rupee, on 150 shares worth ₹78,000 at ₹520.
→ ₹466.00
Buying more — what does it do to the average?
You hold 100 shares at ₹500 (₹50,000 invested, average ₹500). Buy 50 more shares at five different prices and see where the average lands. The new shares are the same fifty in every column — only the price changes.
| Measure | Buy at ₹400 | Buy at ₹450 | Buy at ₹500 | Buy at ₹550 | Buy at ₹600 | What it means |
|---|---|---|---|---|---|---|
| New shares bought | 50 | 50 | 50 | 50 | 50 | Fifty more shares in every case, so only the price moves the answer. |
| Cost of the new shares | ₹20,000 | ₹22,500 | ₹25,000 | ₹27,500 | ₹30,000 | Fifty shares × the buy price. |
| Total shares | 150 | 150 | 150 | 150 | 150 | 100 held + 50 bought. |
| Total invested | ₹70,000 | ₹72,500 | ₹75,000 | ₹77,500 | ₹80,000 | ₹50,000 held + the cost of the new shares. |
| New average price | ₹466.67 | ₹483.33 | ₹500.00 | ₹516.67 | ₹533.33 | Total invested ÷ total shares. |
| Change in the average | −₹33.33 | −₹16.67 | ₹0.00 | +₹16.67 | +₹33.33 | Buying below the average pulls it down; buying above pushes it up. |
Buying below your average pulls it down and buying above pushes it up — but only by a third of the gap, because the fifty new shares are one third of the 150 you end up holding. Buying at ₹400 moves the average ₹33.33; buying at ₹600 moves it ₹33.33 the other way. The average can only ever move towards the price you buy at, never past it.
The planner in full
blogbanking's table, reproduced exactly: you hold 100 shares at an average of ₹1,378 and would buy at ₹1,200. The closer the target is to the buy price, the more shares it takes — lowering the average to ₹1,250 needs 256 shares, more than twice the holding. The last row is stocknotify's planner example. The target must lie between the current average and the buy price, or it cannot be reached at that price.
| Target average | Shares to buy | Money needed | What it means |
|---|---|---|---|
| ₹1,350 | 19 | ₹22,800 | New average ₹1,349.58 — rounding up lands just past the target. |
| ₹1,330 | 37 | ₹44,400 | New average ₹1,329.93. |
| ₹1,300 | 78 | ₹93,600 | New average ₹1,300.00 exactly. |
| ₹1,250 | 256 | ₹3,07,200 | New average ₹1,250.00 — more than twice the original holding. |
| ₹460 | 67 | ₹26,800 | 100 at ₹500, buy at ₹400; new average ₹459.88. |
The target must lie between the current average and the buy price. The closer it is to the buy price, the more shares it takes — and the shares are rounded up, so the new average lands at or slightly past the target.
Six share-average figures worth knowing by heart
All six are published worked examples from the five competitor calculators, reproduced exactly. The figure is the average price — except the last row, which is the shares to buy.
| Figure | Value | What it means |
|---|---|---|
| stocknotify — 40 at ₹250, 30 at ₹220 | ₹237.14 | ₹16,600 for 70 shares. |
| rupeescalc — 100 at ₹200, 50 at ₹160, 75 at ₹130 | ₹167.78 | ₹37,750 for 225 shares before charges; ₹168.24 with the ₹105 of charges. |
| blogbanking — 50 at ₹1,480, 30 at ₹1,320, 20 at ₹1,210 | ₹1,378 | ₹1,37,800 for 100 shares; the price must rise 10.24% from ₹1,250 to reach it. |
| a2z — 100 at ₹250, 50 at ₹200 | ₹233.33 | ₹35,000 for 150 shares — not ₹225, the simple average. |
| thebeststockbroker — 100 at ₹200, 50 at ₹160 | ₹186.67 | ₹28,000 for 150 shares. |
| Averaging down — 100 at ₹500, buy at ₹400 to reach ₹460 | 67 shares | ₹26,800; the new average is ₹459.88. |
Every figure is the price average before charges — brokerage, STT, stamp duty and other charges are NOT included. The rupeescalc figure of ₹167.78 is before its ₹105 of charges; with them it is ₹168.24.
Common mistakes
The calculation is short, but five readings trip people up. Each one can set the answer wrong by hundreds of rupees.
100 shares at ₹250 and 50 at ₹200 average ₹233.33, not ₹225 — the simple average of the two prices. The error is ₹8.33 a share, or ₹1,250 on the 150 shares. Weight every price by its quantity: total invested ÷ total shares.
rupeescalc's example averages ₹167.78 before charges and ₹168.24 with its ₹105 of charges — a 46-paise gap on the same buys. This tool takes no charges, so its figure is the price average. To match a contract note, add the charges to the buy price first.
For shares held in demat form, sales are matched first-in first-out for capital gains — the earliest purchases are treated as sold first — not by average. The average is for tracking a position; the tax cost can differ, so keep the contract notes.
Buying at ₹400 can only pull an average of ₹500 down towards ₹400, never below it. A target of ₹380 at a buy price of ₹400 is impossible at any quantity — and so is a target equal to the current average. This tool says the target cannot be reached instead of showing a meaningless number.
A lower average is not a lower risk: it is a bigger position in a share that has already fallen. stocknotify's example makes the point — a planned loss of ₹2,000 on 100 shares at ₹500 with a stop at ₹480 becomes ₹12,000 if you buy 100 more at ₹460 and the price keeps falling to ₹420. Decide the exit before adding more shares.
Before you act on the figure
Run every result through the same nine checks before you act on it.
Your questions, answered
Add up the cost of every purchase — quantity × price for each buy — and divide by the total number of shares. For 40 shares at ₹250 and 30 at ₹220, the total invested is ₹16,600 for 70 shares, so the average is ₹237.14. Averaging only the prices would give ₹235, which is wrong because the quantities differ.
New shares = current quantity × (current average − target) ÷ (target − new price), rounded up to a whole share. Holding 100 shares at ₹500 with the price at ₹400, reaching a ₹460 average needs 67 shares costing ₹26,800. The target must lie between the current average and the buy price, or it cannot be reached.
Because it gives every price equal importance and ignores how many shares were bought at each one. 100 shares at ₹250 and 50 at ₹200 average ₹233.33, not ₹225: ₹25,000 was spent at ₹250 and only ₹10,000 at ₹200. The simple average is only right when every quantity is identical.
No. Selling part of a holding lowers the share count but keeps the average cost of the remaining shares the same. With 200 shares at ₹462.50, selling 80 leaves 120 shares still averaging ₹462.50; the sale price only sets the profit or loss on the 80 shares sold. For income tax on demat shares, sales are matched first-in first-out, so the tax cost can differ.
The amount invested stays the same and the share count rises, so the average falls in proportion: new average = old average × old shares ÷ new shares. 100 shares at ₹900 become 200 shares at ₹450 after a 1:1 bonus, or 500 shares at ₹180 after a split from ₹10 to ₹2 face value. Enter the adjusted quantity and price before adding any new purchase.
Usually because of charges, corporate actions or timing. Some broker views include brokerage and taxes in the cost, adjust for bonuses and splits automatically, or reset the average when a position is fully sold and bought again. This tool averages prices only — enter prices with charges included, and quantities after any bonus or split, to match the broker's figure.
Yes. If the new price is above your current average, the target must sit between the two. Holding 50 shares at ₹300 with the price at ₹360, a ₹330 target needs 50 more shares. Adding to a winning position raises your average, so recheck the total risk afterwards.
Har purchase ka price × quantity karke total investment nikaalein, phir use total shares se divide karein. Jaise 40 shares ₹250 par aur 30 shares ₹220 par: ₹10,000 + ₹6,600 = ₹16,600, aur 70 shares, to average = ₹237.14. Dhyan rakhein, averaging down karne se pehle stop loss aur total risk zaroor check karein — kam average ka matlab kam risk nahi hota.
No. Every calculation runs in your browser, on your own device. Nothing you enter is uploaded or stored, and there is no signup.
Average price = total invested ÷ total shares, where total invested is the sum over the lots of price × quantity. Current value = total shares × current market price. Profit or loss = current value − total invested, in rupees and as a percentage of the total invested. The rise to the average = (average price − current price) ÷ current price, from the average as shown. Shares to buy for a target average = current quantity × (current average − target) ÷ (target − new price), rounded UP to a whole share — and only when the target lies strictly between the current average and the new price. Money is rounded to paise; shares are whole numbers. Brokerage, STT, stamp duty and other charges are NOT included.
The figures were checked 14 November 2026 against stocknotify, rupeescalc, blogbanking, thebeststockbroker and a2z. stocknotify reproduces exactly: 40 shares at ₹250 and 30 at ₹220 average ₹237.14 on ₹16,600 for 70 shares; 100 at ₹500, 50 at ₹440 and 50 at ₹410 average ₹462.50; and its planner gives 67 shares for a ₹460 target at ₹400, costing ₹26,800 for a new average of ₹459.88. rupeescalc reproduces exactly before charges: 100 at ₹200, 50 at ₹160 and 75 at ₹130 average ₹167.78 on ₹37,750 for 225 shares — its ₹168.24 is the charges-inclusive average, adding its ₹105 of charges, and this tool takes no charges. blogbanking reproduces exactly: 50 at ₹1,480, 30 at ₹1,320 and 20 at ₹1,210 average ₹1,378 on ₹1,37,800 for 100 shares, and its planner table gives 19, 37, 78 and 256 shares for targets of ₹1,350, ₹1,330, ₹1,300 and ₹1,250. thebeststockbroker reproduces exactly: 100 at ₹200 and 50 at ₹160 average ₹186.67 on ₹28,000 for 150 shares. a2z reproduces exactly: 100 at ₹250 and 50 at ₹200 average ₹233.33, not ₹225, and its planner gives 200 shares, costing ₹42,000, for a ₹220 target at ₹210. For related tools, the XIRR calculator, the CAGR calculator, the Lumpsum calculator and the Capital Gains Tax calculator.
Last updated 14 November 2026.
Try different buys or a different target — or run the same check with the related tools for your other plans.