Stax
Tools

Stock Average Calculator

Calculate the weighted average buy price of a stock across multiple purchases. See total invested, total quantity, and unrealized P&L.

⚠️ Not financial advice. Results are illustrative only and should not be used as the basis for any investment, tax, or financial decision. Consult a qualified financial adviser or chartered accountant before acting on any figure shown.

Buy Price (₹)
Quantity
 

What is a stock average calculator?

A stock average calculator computes the weighted average buy price of a stock across multiple purchase lots. Add as many buys as you have — the calculator returns your true cost basis, total quantity held, total amount invested, and (optionally) the current unrealized P&L.

When to average down

Averaging down lowers your effective entry price and accelerates the path to break-even — but only if the underlying business is still healthy. Re-read the original investment thesis. If the reasons you bought are still true, averaging down can be a high-conviction move. If the thesis is broken, averaging down is throwing good money after bad.

Cost basis vs current value

Your average buy price is your cost basis. The current market value (price × quantity) tells you what the position is worth right now. The difference is your unrealized P&L — paper gain or loss until you sell. Capital gains tax in India only applies on realization, not on paper.

Common use cases with real scenarios

A Zerodha or Groww user bought 50 shares of Infosys at ₹1,400, then 30 more at ₹1,250 after a correction, and wants to know the average cost before entering a target price for the position — the calculator returns ₹1,343.75, making the break-even clearly visible. A mutual fund direct plan investor who made three lumpsum purchases in a single scheme at different NAVs uses the tool to calculate the blended cost basis before comparing it with current NAV. Traders running a DCA (Dollar-Cost Averaging) strategy over 12 months on Nifty 50 ETF units enter each monthly purchase to track how their average has moved relative to the current price.

Averaging down — decision framework

Before averaging down on any position, apply a three-question test: (1) Has the original investment thesis changed, or has only the price moved? A thesis change means the business fundamentals have deteriorated — averaging down into a structurally broken business accelerates losses. (2) Is the position already more than 5% of your portfolio? Concentrating further into a losing position increases portfolio risk. (3) Does the company have the balance sheet to survive a 12–18 month revenue downturn? Averaging down on a company with high debt and falling earnings is a common wealth destruction pattern. If all three answers are favorable — thesis intact, position not oversized, balance sheet strong — averaging down during temporary corrections is a valid strategy.

Tax implications of averaging down in India

In India, capital gains tax is computed on a FIFO (First In, First Out) basis by default for equity shares and mutual funds. This means when you sell, the oldest purchased units are considered sold first — which can affect whether your gains are classified as short-term (held under 12 months, taxed at 20%) or long-term (held over 12 months, taxed at 12.5% above ₹1.25 lakh threshold). If you averaged down by buying additional units within 12 months of the original purchase, the FIFO calculation means you may sell the earliest-bought units first, potentially triggering LTCG on those while the newer lower-cost units remain. Keep transaction records from your broker's contract notes for accurate ITR filing.

Frequently asked questions

What is the average price of a stock?
The weighted average price is the total amount invested divided by the total number of shares owned. It represents your true cost basis. Formula: Σ(price × quantity) / Σ(quantity). It tells you the price the stock needs to cross for you to break even.
Why use a stock average calculator?
When you buy a stock at multiple prices over time (DCA — dollar-cost averaging) or after price drops (averaging down), your effective entry price is the weighted average — not the first or last price. This calculator gives the precise number for tax filing, position tracking, and exit planning.
What is averaging down?
Buying more shares of a stock whose price h, lowering your average buy price. It works if the company is fundamentally sound and the drop is temporary. It's a value trap if the company is in structural decline. Always re-evaluate the thesis before averaging down — don't average down just because the price fell.
Does this calculator include brokerage and taxes?
No — this shows the pre-cost weighted average. To compute your true cost basis for tax purposes, add brokerage, STT, exchange fees, GST, and stamp duty to each buy. Use our Brokerage Calculator alongside this for total cost.
How is this different from CAGR?
Stock average is your cost basis (a price). CAGR is your annualized return (a rate). They answer different questions. Use stock average to know your break-even; use CAGR (or XIRR for irregular flows) to measure annualized performance.

Related tools