Average Share Price Calculator
Your numbers
Result
Investors rarely buy their entire holding in a company in a single order. Most accumulators build positions gradually over weeks, months, or quarters—buying initial tranches, adding during market pullbacks ("averaging down"), or adding as earnings growth confirms the company's trajectory ("averaging up").
Because each purchase involves a different quantity of shares at a different price, a simple arithmetic average gives an inaccurate figure. This calculator computes your true volume-weighted average purchase price, total capital outlay, and current unrealized gain or loss.
What this calculator does
The Average Share Price Calculator computes:
- Weighted average purchase price: Your exact cost per share based on total money spent divided by total shares held.
- Total investment capital: The combined rupee amount deployed across all purchase tranches.
- Total shares accumulated: The aggregate volume of shares in your demat account.
- Current holding value: Total value based on current market price (CMP).
- Unrealised P&L: Absolute rupee gain or loss and percentage return.
How to use this calculator
- First purchase: Enter the quantity and execution price of your initial order.
- Second purchase: Enter the quantity and price of your second order tranche.
- Third purchase (optional): Enter details for an additional accumulation tranche (leave at 0 if not applicable).
- Current market price (CMP): Enter the live trading price on NSE or BSE to see your current mark-to-market position.
The weighted average formula
To find your true average price, divide your total capital deployed by the total number of shares owned:
A verified averaging down example
Consider an investor building a position in an established manufacturing company across two distinct tranches:
| Transaction Tranche | Quantity | Purchase Price | Capital Deployed |
|---|---|---|---|
| First purchase (initial order) | 100 shares | ₹1,200 | ₹1,20,000 |
| Second purchase (market pullback) | 150 shares | ₹900 | ₹1,35,000 |
| Third purchase | 0 shares | ₹0 | ₹0 |
| Total shares accumulated | 250 shares | — | — |
| Total capital invested | — | — | ₹2,55,000 |
| Weighted average purchase price | — | ₹2,55,000 ÷ 250 | ₹1,020 per share |
| Current market price (CMP) | — | — | ₹1,050 per share |
| Current holding valuation | 250 × ₹1,050 | — | ₹2,62,500 |
| Unrealised profit / loss | ₹2,62,500 − ₹2,55,000 | — | +₹7,500 (+2.94%) |
In this example, purchasing 150 shares at ₹900 pulled the investor's average cost basis down from ₹1,200 to ₹1,020. Consequently, when the stock rebounded to ₹1,050, the holding moved into an unrealized profit of ₹7,500, whereas waiting without averaging would have left the initial lot at an unrealized loss.
Weighted average vs FIFO taxation in India
While tracking your weighted average price is the right way to manage position sizing and emotional psychology, remember that the Indian Income Tax Department does not use weighted average cost for demat equity taxation. Under Section 45 of the Income Tax Act, capital gains are calculated strictly on a First In, First Out (FIFO) basis. When you sell 100 shares from the 250-share holding above, the tax authorities calculate your capital gain against the first lot bought at ₹1,200, not against the ₹1,020 average.
Frequently asked questions
Why can't I just take the simple average of my purchase prices?
A simple average treats every transaction equally regardless of quantity. If you buy 10 shares at ₹1,000 and 90 shares at ₹500, a simple average suggests a cost of ₹750, whereas your true volume-weighted cost is ₹550. Calculating weighted average price ensures your cost basis matches the actual money invested.
What is the risk of averaging down on a falling stock?
Averaging down lowers your break-even price, but it also increases your financial concentration in a declining business. If the stock drops due to structural deterioration in earnings, corporate governance issues, or severe debt, buying more shares magnifies capital losses. Averaging down should only be applied to businesses with strong balance sheets and enduring competitive advantages.
How does the Indian Income Tax Department treat averaged share purchases for capital gains?
For tax purposes in India, Section 45 and CBDT rules mandate the FIFO (First In, First Out) method for shares held in demat form. Even if your personal portfolio tracker shows an averaged purchase price of ₹1,020, the tax department assumes the shares you sell were acquired from your earliest purchase lot at that specific lot's price.
How does averaging up work during an ongoing bull run?
Averaging up means purchasing additional shares as the stock price increases. While this raises your average cost basis, it ensures you commit larger capital only to positions that have validated your investment thesis through positive market price action.
Related stock market calculators
- Stock Brokerage Calculator — Calculate statutory transaction charges and break-even points.
- Dividend Yield Calculator — Track dividend cash flows relative to your cost basis.
- Portfolio Return Calculator — Benchmark overall equity returns against market indices.
- Capital Gains Tax Calculator — Estimate tax liability using FIFO rules upon selling shares.
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.