Average Share Price Calculator
Your numbers
Result
When a stock you own falls further after you've bought it, buying more at the lower price is a common instinct — it lowers your average cost and reduces the gain needed to break even. But doing the maths in your head across multiple purchase lots quickly gets messy.
The Average Share Price Calculator works out your weighted average buy price across up to three separate purchases, along with your total investment, current holding value and unrealised profit or loss. It removes the guesswork from tracking a position you've built up over time.
Whether you are averaging down after a dip or simply adding to a winning position in tranches, knowing your true average cost is essential before deciding your next move.
What is the Average Share Price Calculator?
It is a tool that computes the quantity-weighted average price you paid for a stock across multiple purchase transactions, rather than a simple average of the prices themselves. It also compares this average cost against the current market price to show your unrealised gain or loss.
This differs from a plain average because larger purchases influence the result more than smaller ones, which is how your actual cost basis works in practice.
How the calculator works
You enter the quantity and price for up to three separate purchases of the same stock, plus the current market price. The calculator multiplies each purchase's quantity by its price to get the cost of that lot, adds up all lot costs and all quantities, then divides total cost by total quantity to get your weighted average price.
It then values your total holding at the current market price and compares it against your total investment to show unrealised profit or loss in both rupees and percentage.
Formula
Total investment = (Qty1 × Price1) + (Qty2 × Price2) + (Qty3 × Price3)
Average buy price = Total investment / Total quantity
Current value = Total quantity × Current market price
Unrealised P&L = Current value − Total investment
Calculation method (step by step)
- Enter the quantity and price of your first purchase of the stock.
- Enter the quantity and price of any subsequent purchases (up to three lots).
- Enter the current market price of the stock.
- The calculator sums total quantity and total cost across all lots, then divides to get your average buy price.
- It compares your total investment against the current value to show your unrealised gain or loss.
Real-life example
Suppose you bought 100 shares at ₹1,200, then averaged down with 150 shares at ₹900, and the stock now trades at ₹1,050.
| Purchase | Quantity | Price | Cost |
|---|---|---|---|
| Lot 1 | 100 | ₹1,200 | ₹1,20,000 |
| Lot 2 | 150 | ₹900 | ₹1,35,000 |
| Total | 250 | — | ₹2,55,000 |
| Average buy price | ₹2,55,000 / 250 = ₹1,020 | ||
| Current value (250 × ₹1,050) | ₹2,62,500 | ||
| Unrealised P&L | ₹7,500 (2.9%) | ||
Without averaging down, your original ₹1,200 buy price would still be underwater at the ₹1,050 market price; the second purchase brought the break-even point down to ₹1,020, turning the position marginally profitable.
Benefits
- Gives an accurate weighted average, not a misleading simple average of prices.
- Helps decide whether averaging down has genuinely improved your break-even point.
- Shows unrealised profit or loss instantly against the current market price.
- Useful for tracking staggered SIP-style purchases in individual stocks.
Limitations
- Limited to three purchase lots; positions built over many more transactions need a manual or spreadsheet-based calculation.
- Does not account for brokerage, STT or other transaction charges on each purchase.
- Ignores corporate actions like stock splits or bonus issues that change share count and cost basis.
- Figures are educational estimates; consult your contract notes for exact cost basis used for tax purposes.
Who should use it
Investors who average down or up on a stock across multiple purchases, long-term holders building a position gradually, and anyone reviewing whether adding more shares at a lower price actually helped their overall position should use this calculator.
Common mistakes to avoid
- Averaging down repeatedly on a fundamentally weak stock just because the price is falling, without reassessing the investment thesis.
- Using a simple average of purchase prices instead of a quantity-weighted one.
- Forgetting that averaging down increases your total exposure and concentration risk in a single stock.
- Not tracking brokerage and taxes, which raise your effective average cost slightly above the raw calculation.
Expert tips
- Set a maximum allocation limit for any single stock before you start averaging down, to avoid over-concentration.
- Reassess the business fundamentals before adding to a losing position — averaging down works only if the thesis still holds.
- Track your average price after every trade so you always know your real break-even, not just your latest purchase price.
- Factor in transaction charges separately using a brokerage calculator for a fully accurate net position.
Frequently asked questions
What is the difference between average price and simple average of prices?
Average price is weighted by the quantity bought in each transaction, so a larger purchase influences the result more. A simple average of just the prices ignores quantity and can give a misleading picture of your actual cost basis.
Is averaging down always a good strategy?
No, it only makes sense if the underlying business fundamentals remain sound and the price fall is temporary. Averaging down on a genuinely weakening company simply increases your losses and concentration risk.
Does this calculator include brokerage in the average price?
No, it uses only the raw purchase price and quantity you enter. To get a fully loaded average cost, add brokerage and other charges to each purchase price manually before entering it, or calculate them separately.
How does a bonus issue affect my average price?
A bonus issue increases your share count without any additional investment, which lowers your average cost per share proportionally. You would need to manually adjust quantity and recompute using this calculator to reflect the bonus shares.
Can I use this for mutual fund units instead of shares?
Yes, the same weighted-average logic applies to mutual fund units purchased at different NAVs across multiple transactions, giving you your average cost per unit for tracking gains.
What does unrealised P&L mean?
It is the notional profit or loss on your holding based on the current market price, which becomes an actual, taxable gain or loss only once you sell the shares. Until then, it can rise or fall with market movements.
Related calculators
- Stock Brokerage Calculator — factor in transaction charges on each purchase and sale.
- Portfolio Return Calculator — measure returns across your entire portfolio, not just one stock.
- Capital Gains Tax Calculator — estimate tax due when you eventually sell.
- XIRR Calculator — find the annualised return once your position is closed.
Trust, accuracy and transparency
Educational purpose
FinToolkit is an educational tool. Nothing here is investment, tax, insurance or legal advice, and no result should be treated as an offer or a quote.
Financial accuracy
Every result is produced by a published formula running at full double precision in your browser. Only the displayed figures are rounded.
Formula verification
Each formula is checked against the standard method used by Indian lenders, fund houses, insurers or the relevant statute, and re-verified whenever rules change.
Data sources
Rules and rates are taken from official sources such as the Income Tax Department, RBI, SEBI, EPFO, PFRDA and India Post.
Privacy commitment
Calculations run entirely on your device. We do not store, transmit or sell the figures you enter. See our privacy policy.
Review policy
Pages carry a last-updated and next-review date. Corrections are welcome through the contact page.