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 quantity = Qty1 + Qty2 + Qty3
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)

  1. Enter the quantity and price of your first purchase of the stock.
  2. Enter the quantity and price of any subsequent purchases (up to three lots).
  3. Enter the current market price of the stock.
  4. The calculator sums total quantity and total cost across all lots, then divides to get your average buy price.
  5. 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.

PurchaseQuantityPriceCost
Lot 1100₹1,200₹1,20,000
Lot 2150₹900₹1,35,000
Total250₹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

Limitations

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

Expert tips

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

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.