ToolZoneX
Blog

Stock Average Calculator

Calculate your weighted average cost per share and total invested amount across multiple buy transactions.

Buy Transactions

Average Price / Share

₹ 112

Total Shares

25

Total Invested

₹ 2,800

What is average stock price / cost basis?

If you've bought shares of the same stock across multiple transactions at different prices, your "average price" (or cost basis) is the quantity-weighted average of what you paid — not a simple average of the prices. Buying more shares at a lower price pulls your average down further than buying the same number of shares would at a higher price.

Formula

Average Price = Σ(Quantity × Price) ÷ Σ(Quantity)

Add each buy transaction — quantity and price per share — below. Remove a row with the trash icon if you entered it by mistake. The calculator recomputes your weighted average cost and total invested amount as you type.

Example

You buy 10 shares at ₹100 (₹1,000 invested) and later buy 15 more shares at ₹120 (₹1,800 invested). Your total investment is ₹2,800 for 25 shares, giving a weighted average price of ₹112 — not the simple average of ₹100 and ₹120, which would be ₹110.

Common Use Cases

  • Tracking your true cost basis after averaging down or up on multiple purchases.
  • Working out the breakeven price you'd need to sell at to avoid a loss.
  • Deciding whether adding to a position at a lower price meaningfully improves your average.

FAQs

Is average price the same as breakeven price?

Roughly, yes, before accounting for brokerage fees and taxes — selling all your shares exactly at your average price would return your original invested amount. Include any transaction charges separately if you need an exact breakeven figure.

Does "averaging down" always help?

It lowers your average cost, but only makes sense if you still believe in the stock's long-term prospects — buying more of a falling stock purely to lower your average, without reassessing why it fell, can increase your losses if the decline continues.

Can I use this for a stock I've partially sold?

This calculator only totals buy transactions. If you've sold part of a position, most brokers use FIFO (first-in-first-out) accounting to determine which lot was sold, which can change your remaining average cost — check your broker's statement for the post-sale average rather than recomputing it here.