CalculatorAid
Investment

Stock Average Calculator

Use this share average calculator to find your average buy price across multiple purchases of the same stock. Add the current market price to see your profit or loss, or use the average down calculator tab to find how many shares you need to buy to reach a target average.

Your Purchases

Enter how many shares you bought and the price for each buy

QtyPrice (₹)
#1
#2

Awaiting Inputs

Enter the shares and price of at least one purchase to see your average price.

What is Stock Averaging?

Stock averaging — also called rupee cost averaging or dollar cost averaging — is a technique where you purchase shares of the same company at different price points over time. Instead of trying to time a single perfect entry, you spread your investment across several purchases. This smooths out the effect of short-term market swings on your overall purchase price.

Your average cost per share is simply the total amount you have invested divided by the total number of shares you hold. This becomes your effective breakeven price — the stock must trade above this level for you to be in profit.

Stock Average Calculator Formula

The share average price is a weighted average — each buy price is weighted by the number of shares bought at that price:

Average Price = (Q₁ × P₁ + Q₂ × P₂ + … + Qₙ × Pₙ) ÷ (Q₁ + Q₂ + … + Qₙ)

Here Q is the quantity bought in each purchase and P is the price paid per share. Simply averaging the buy prices (adding them and dividing by the number of buys) gives the wrong answer whenever you bought different quantities each time.

To find the shares needed to reach a target average, the formula is rearranged:

Shares to Buy = Held Shares × (Current Avg − Target Avg) ÷ (Target Avg − Buy Price)

How to Calculate Average Stock Price (Step by Step)

  1. List every purchase of the stock with its quantity and buy price.
  2. Multiply quantity × price for each purchase to get the amount invested.
  3. Add up all the amounts to get the total investment.
  4. Add up all the quantities to get the total shares held.
  5. Divide total investment by total shares — that is your average price per share.

Example with three purchases:

PurchaseSharesPrice (₹)Amount (₹)
Buy #1105005,000
Buy #2204509,000
Buy #3154206,300
Total45₹451.11 avg20,300

Average price = ₹20,300 ÷ 45 shares = ₹451.11 per share. Note that the simple average of the three prices, (500 + 450 + 420) ÷ 3 = ₹456.67, is incorrect because it ignores how many shares were bought at each price.

Averaging Down vs Averaging Up

Averaging down means buying more after the price falls, which lowers your average. Averaging up means adding to a winning position after the price rises, which raises your average but keeps you in a stock that is already working. Starting from 100 shares bought at ₹1,000:

ScenarioBuy atInvestedNew Avg
Avg. down₹800₹1,80,000₹900
Avg. up₹1,200₹2,20,000₹1,100

Averaging down lowers your breakeven but increases your money at risk in a falling stock. Before adding more, check whether the fall is due to a temporary market dip or a real change in the company's fundamentals.

Do Brokerage, STT and Other Charges Affect Your Average?

Every delivery purchase on NSE or BSE carries charges: brokerage (zero at many discount brokers for delivery), Securities Transaction Tax (STT), stamp duty, exchange transaction charges, SEBI turnover fees and GST on brokerage and exchange fees. Your true cost per share is:

Effective Average = (Total Amount Invested + Total Charges) ÷ Total Shares

Most broker apps show the average price excluding charges, which is why your actual breakeven is slightly higher than the figure in your holdings. For capital gains tax in India, brokerage can be added to your cost of acquisition, but STT cannot.

Why Your Broker App May Show a Different Average Price

  • Partial sales (FIFO): brokers remove your oldest shares first when you sell, so the average of the remaining shares can change after a partial sale.
  • Bonus issues and stock splits: the number of shares increases while your investment stays the same, so the average drops (a 1:1 bonus halves it).
  • Intraday vs delivery: shares bought and sold on the same day are not added to holdings, so they don't affect your delivery average.
  • Corporate action delays: your holdings average may only update a few days after a bonus, split or rights issue is credited.

Track Your Returns Beyond the Average Price

Your average price tells you where you break even, but not how well the investment performed over time. Use the CAGR calculator to see the annualized growth of a single investment, or the XIRR calculator when you have bought at different dates — exactly the situation stock averaging creates. Short-term traders can plan entries with the pivot point calculator.

Frequently Asked Questions

Multiply the quantity of each purchase by its buy price, add these amounts to get the total invested, and divide by the total number of shares. Average Price = (Q1 × P1 + Q2 × P2 + …) ÷ (Q1 + Q2 + …). For example, 10 shares at ₹500 and 20 shares at ₹450 cost ₹14,000 for 30 shares, giving an average of ₹466.67 per share.

Stock averaging (or cost averaging) is the strategy of buying more shares of the same stock at different price points over time. By spreading purchases across multiple price levels, you reduce the impact of short-term price volatility on your overall cost basis.

Averaging down means buying additional shares of a stock after its price has fallen below your original purchase price. This lowers your average cost per share, so you need a smaller price recovery to break even or make a profit.

Use the formula Shares to Buy = Held Shares × (Current Average − Target Average) ÷ (Target Average − Buy Price). If you hold 50 shares at ₹800 and the stock now trades at ₹600, reaching a ₹700 average needs 50 × (800 − 700) ÷ (700 − 600) = 50 more shares, an extra ₹30,000. The target must lie between the current price and your current average.

Averaging down can be effective for fundamentally strong stocks in a temporary dip, but it increases your total exposure to that stock. It is risky if the stock continues to fall due to deteriorating fundamentals. Always evaluate the reason behind the price drop before averaging down.

Your true cost per share includes charges such as brokerage, STT, stamp duty, exchange fees and GST. Most broker apps show the average price excluding these charges. For capital gains tax in India, brokerage can be added to your cost of acquisition, but STT cannot.

Mathematically, selling part of a holding does not change the weighted average of the shares that remain. However, Indian brokers and the tax rules apply FIFO (first in, first out), so the oldest lots are removed first, and the average shown in your app can change after a partial sale.

Your total investment stays the same, but the number of shares increases, so the average price falls proportionally. A 1:1 bonus on 100 shares at ₹1,000 gives 200 shares at ₹500. A 1:5 split on the same holding gives 500 shares at ₹200.

Your breakeven price is equal to your average cost per share (plus charges). If the stock's current market price rises above this figure, you are in profit; if it falls below, you are at a loss.