Stocks · Mutual funds · Crypto

Stock Average Calculator: Average Down Smarter

Find your average share price across any number of buys and sells. This free stock average calculator also shows your profit or loss, break-even price after charges, and exactly how many shares to buy to reach a target average.

  • Unlimited buys & sells
  • Target average solver
  • Break-even with charges
  • ₹ $ € £

Your trades

Add every buy at its quantity and price. Sells reduce your holding without changing the average cost.

Paste many trades at once

Market price and charges

Optional. Used for profit, loss and your true break-even price.

Average price–Add your trades to see your average
Shares held0
Invested–
Current value–
Profit / loss–
Break-even price–
Realised P&L–

Plan your next buy

Work out how to average down (or up) before you place the order.

Enter a buy price and a target average to see how many shares you need.

Your trades are saved in this browser only. This calculator is for planning and education, not investment advice.

Why it’s better

More than an average price calculator

Most share average calculators stop at two purchases and one number. This one handles your real trade history and helps you plan the next order.

Unlimited buys and sells

Add as many trades as you like, or paste a list from your broker. Sells reduce your holding and show realised profit or loss.

Target average solver

Enter the average you want and the price you can buy at. The calculator tells you exactly how many shares to buy and what it will cost.

True break-even price

Add your brokerage and taxes as a percentage and see the price you actually need to sell at to break even, not just your average.

Visual position chart

See every buy plotted by price and size, with lines for your average and the market price, so you can spot good and bad entries at a glance.

Stocks, funds and crypto

Works in rupees with Indian number formatting, or dollars, euros and pounds. Decimal quantities are supported for mutual fund units and crypto.

Private and saved

No login and no data sent anywhere. Your trades are saved in your browser, so your position is still there next time.

How it compares with typical stock average calculators
FeatureThis calculatorTypical calculator
Number of purchasesUnlimited, plus pasteOften 2 to 5
Sells and realised P&LYesNo
Shares needed for a target averageYesRarely
Break-even after chargesYesNo
Profit or loss at market priceYesSometimes
Saves your tradesIn your browserNo
The formula

How to calculate the average price of a stock

Your average price is the total amount you paid divided by the total number of shares you bought. Each purchase counts in proportion to its size, so a large buy moves the average more than a small one.

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

Worked example: averaging down in three buys
PurchaseSharesPriceAmount
Buy 1100₹500₹50,000
Buy 250₹440₹22,000
Buy 3150₹400₹60,000
Total300Average ₹440₹1,32,000
Averaging down

How many shares to buy to reach a target average

If you hold Q shares at an average price A and can buy more at price P, the number of extra shares needed to bring your average to a target T is:

Shares to buy = Q × (A − T) ÷ (T − P)

Example

  • You own 100 shares at ₹500. The stock now trades at ₹400.
  • You want a target average of ₹450.
  • Shares to buy = 100 × (500 − 450) ÷ (450 − 400) = 100 shares, costing ₹40,000.
  • The target must sit between the buy price and your current average, otherwise it cannot be reached.

Break-even after charges

  • Brokerage, taxes and fees are paid when you buy and again when you sell, so your real break-even is above your average.
  • With charges of c% on each trade: Break-even = A × (1 + c) ÷ (1 − c).
  • At a ₹440 average and 0.1% charges, the break-even is about ₹440.88.
  • Check your broker’s contract notes for your actual all-in charges.
Strategy

Averaging down vs averaging up

Both strategies change your average price. Neither is automatically right, so decide based on the business, not just the chart.

Averaging down

  • Buying more after the price falls, which lowers your average cost.
  • Makes sense when the fall is temporary and your reasons for owning the stock have not changed.
  • Works well with index funds and SIPs, where you buy steadily over time.
  • Risky with weak businesses: adding to a falling stock can multiply losses.
  • Set a maximum position size before you start.

Averaging up

  • Buying more after the price rises, which raises your average cost.
  • Adds to positions that are already working, a common momentum approach.
  • Your break-even rises, so a small pullback can turn a profit into a loss.
  • Avoid chasing sharp spikes with large orders.
  • Use the What if panel to see how much your average and break-even will move.
Good to know

Average cost, taxes and corporate actions

Average price vs tax cost

  • This calculator uses the average cost method: selling shares does not change the average price of the shares you keep.
  • Tax rules can differ. In India, capital gains on demat shares are worked out on a first-in, first-out (FIFO) basis. Estimate your tax with our capital gains tax calculator.
  • In the US, stocks default to FIFO unless you choose specific lots, while many mutual funds allow the average cost method.

Bonus shares, splits and dividends

  • Stock split: a 1:2 split doubles your shares and halves your average. Add the extra shares as a buy at a price of 0.
  • Bonus issue: a 1:1 bonus also doubles your shares and halves your average. Add the bonus shares as a buy at 0.
  • Dividends do not change your average price, but they do add to your total return.
  • For returns over time, use our XIRR calculator.
FAQ

Stock average calculator: frequently asked questions

How do I calculate the average price of a stock?

Multiply the number of shares in each purchase by its price, add those amounts together, and divide by the total number of shares. For example, 100 shares at 500 and 100 shares at 400 cost 90,000 for 200 shares, so the average price is 450.

How many shares should I buy to average down?

Use the formula shares to buy = Q × (A − T) ÷ (T − P), where Q is your current quantity, A your average, T your target average and P the price you will buy at. The Reach a target average planner does this for you and rounds up to whole shares.

Does selling shares change my average price?

Under the average cost method used by most broker apps, no. Selling reduces the number of shares, but the remaining shares keep the same average price. Under FIFO, used for tax in some countries, selling removes your oldest shares first, which can change the cost of the shares you keep.

What is the break-even price of a stock?

It is the price at which selling all your shares returns exactly what you paid, including charges. Because brokerage and taxes apply to both buying and selling, the break-even price is slightly higher than your average price.

Is averaging down a good strategy?

It can be, when a quality investment falls for temporary reasons, and it is built into regular investing like SIPs. It is risky when a company’s fundamentals are getting worse, because you put more money into a losing position. Decide your maximum position size in advance.

Can I use this for mutual funds, SIPs and crypto?

Yes. Enter units and NAV for mutual fund purchases, or coin amounts and prices for crypto. Decimal quantities and very small prices are supported, and you can switch between rupees, dollars, euros and pounds.

Why is my broker’s average price different?

Brokers may include charges in the average, use FIFO after partial sells, or adjust for splits, bonus issues and other corporate actions. Add charges in this calculator and enter any bonus or split shares as a buy at price 0 to match more closely.

Are my trades stored anywhere?

Only in your own browser, so you can come back to your position later. Nothing is uploaded to our server. Use Start over to clear everything.

Know your numbers before the next trade

Calculate your average price, break-even and the exact order you need to reach your target average. Free and private.

Calculate my average
Scroll to Top