Stock Average Calculator

Stock Average Calculator – Online calculator for Indian users

Use this Stock Average Calculator to calculate your average buy price when you purchase the same stock multiple times at different prices. Enter each buy price and quantity to find your total investment, total quantity, average price, current value, profit or loss, and break-even price.

This tool is useful for Indian stock market investors who average up, average down, accumulate shares over time, or want to understand their real position before selling.

Free trading tool

Stock Average Calculator

Use this calculator to find your average buy price when you add to the same position at different prices. See total investment, optional current value and unrealised profit or loss, and break-even before or after optional charges.

Enter your stock purchases

Add each buy with price and quantity. Empty rows are ignored. Maximum 20 rows.

Advanced options
Used for current value and unrealised P&L. Leave blank if you only need the average.
One-off total for brokerage, taxes or other costs you want reflected in all-in break-even.
If set below your average buy price, you will see a non-blocking heads-up before you sell.

How many shares to buy to reach a target average?

Uses the buys entered above. Enter the average you want and the price you can buy at now.

Entry breakdown

Per-row investment and weight in your position
EntrySymbolBuy priceQuantityInvestmentWeight %

How this average is computed

Average buy price = total investment ÷ total quantity. Total investment is the sum of each buy price × quantity for every non-empty row.

Average buy price = (Σ price × quantity) ÷ (Σ quantity)

Worked example

Suppose you buy 10 shares at ₹100 (₹1,000) and 20 shares at ₹80 (₹1,600). Total investment = ₹2,600 and total quantity = 30. Your average buy price = ₹2,600 ÷ 30 = ₹86.67.

Average down vs average up

Average down adds shares below your earlier buys and pulls the average lower. Average up adds shares above prior buys and raises the average. Both increase exposure—this tool only does the arithmetic.

Break-even

Without extra charges, break-even equals your average buy price. If you enter total extra charges, an all-in break-even approximates (total investment + charges) ÷ quantity.

Related trading tools

Important disclaimer

This Stock Average Calculator is for educational and informational purposes only. It does not provide investment advice, stock recommendations or guaranteed outcomes. Actual profit or loss may differ due to brokerage, taxes, statutory charges, slippage, timing and broker rules. Verify all figures with your contract notes and a qualified professional before acting.

FAQs

What is a stock average calculator?

It helps you calculate the average buy price when you buy the same stock multiple times at different prices.

How is average stock price calculated?

Divide total investment (sum of each price × quantity) by total quantity.

What is averaging down?

Buying more at a lower price than before. It reduces your average buy price but adds exposure if the price keeps falling.

What is averaging up?

Buying more at a higher price than before, which raises your average buy price.

Can I use this for intraday?

Yes for quick position averages, but intraday outcomes depend heavily on charges and turnover. Use the brokerage calculator for per-trade costs.

Is this investment advice?

No. It is a calculator only.

How many shares should I buy to reach a target average price?

Use n = (target × current quantity − current investment) ÷ (buy price − target). For example, with 30 shares costing ₹2,600 (average ₹86.67), buying 20 more shares at ₹70 brings the average to ₹80.00. The calculator above does this for you.

How do I lower my average buy price?

Buy more shares at a price below your current average. The lower the new price and the more shares you add, the lower the average falls. It also increases your exposure if the price keeps falling, so check the extra amount first.

Does the calculator include brokerage and taxes?

Only the total extra charges you enter. Add your estimated brokerage, STT and other charges there to see an all-in break-even and net P&L. For per-trade charges use the brokerage calculator.

Is averaging down a good idea?

It depends on your reasons, risk limits and the stock. It lowers the average price but adds money to a position that is falling, and it carries no guarantee of recovery. This calculator only shows the arithmetic and is not investment advice.

What Is a Stock Average Calculator?

A Stock Average Calculator helps you calculate the average buying price of a stock when you buy it multiple times at different prices.

For example, you may buy a stock once at ₹100, again at ₹90, and later at ₹80. Instead of manually calculating your average price, this calculator adds all your purchase values and divides the total investment by the total number of shares.

This helps you understand:

– Your average buy price
– Total quantity held
– Total amount invested
– Current value of your holding
– Profit or loss at the current market price
– Break-even price

Stock averaging is common among delivery investors, swing traders, and long-term investors who accumulate shares over time.

How to Use This Calculator
To use this calculator, enter each stock purchase separately.
Enter the buy price
Add the price at which you purchased the stock. Example: Buy Price: ₹100
Enter the quantity
Add the number of shares bought at that price. Quantity: 10
Add more buy entries
If you bought the same stock again at another price, click Add Another Buy and enter the next purchase price and quantity.
Enter current market price
This is optional, but useful if you want to calculate current profit or loss.
Check your result
The calculator will show your average buy price, total investment, total quantity, current value, profit or loss, and break-even price.

From average buy price to break-even after charges

In the calculator example above, 30 shares cost ₹2,600, giving an average buy price of ₹86.67. If you estimate ₹40 in total buy and sell charges, add ₹40 under Total extra charges. Your estimated break-even becomes (₹2,600 + ₹40) ÷ 30 = ₹88.00 per share.

At a sell price of ₹90, those 30 shares would bring in ₹2,700. After subtracting the ₹2,600 purchase cost and ₹40 in estimated charges, the estimated profit would be ₹60.

How Brokerage and Charges Affect Stock P&L

Your actual profit or loss may be different from the basic calculation because stock market transactions can include several charges.

These may include:

  • Brokerage
  • STT
  • GST
  • Exchange transaction charges
  • SEBI charges
  • Stamp duty
  • DP charges
  • Other broker-specific charges

For delivery trades, DP charges may apply when you sell shares from your demat account. For intraday trades, brokerage and statutory charges can reduce your final profit.

If you want to calculate full trade charges, use our Brokerage Calculator.

Use Brokerage Calculator

Stock Average Calculator vs Brokerage Calculator

The Stock Average Calculator and Brokerage Calculator solve different problems.

Use Stock Average Calculator if:

  • You bought the same stock multiple times
  • You want to calculate average buy price
  • You want to know total investment
  • You want to calculate current profit or loss
  • You want to find your break-even price

Use Brokerage Calculator if:

  • You want to calculate charges for one trade
  • You want to know net profit or loss after charges
  • You want to calculate STT, GST, stamp duty and DP charges
  • You want to compare brokerage across brokers

For best results, use both tools together. First calculate your average buy price, then use the Brokerage Calculator to estimate charges before selling.

Important Disclaimer

This Stock Average Calculator is for educational and informational purposes only. It does not provide investment advice, stock recommendations, trading calls, portfolio management, or guaranteed return estimates.

Actual profit or loss may differ due to brokerage, taxes, statutory charges, slippage, transaction timing, broker rules, rounding methods and market movement.

Always verify charges from your broker and consult a qualified professional before making financial decisions.

Average down and average up: worked examples

Each row shows how a new buy changes the average. The figures are exact arithmetic, not predictions.

Starting positionNew buyTotal quantity and costNew averageDirection
10 shares at ₹10020 shares at ₹8030 shares, ₹2,600₹86.67Average down
30 shares, ₹2,600 (average ₹86.67)20 shares at ₹7050 shares, ₹4,000₹80.00Average down
30 shares, ₹2,600 (average ₹86.67)10 shares at ₹12040 shares, ₹3,800₹95.00Average up
100 shares at ₹50100 shares at ₹40200 shares, ₹9,000₹45.00Equal quantities give the midpoint

How many shares to buy to reach a target average price

If you hold Q shares that cost I in total and want an average of T by buying n more at price P, then (I + n × P) ÷ (Q + n) = T. Solving gives n = (T × Q − I) ÷ (P − T). The buy price P must be below T to bring the average down, or above T to raise it. The calculator above has a panel that does this and rounds up to whole shares.

Example: you hold 30 shares that cost ₹2,600 and want an average of ₹80. The number of shares to buy depends on the price you can buy at:

Buy price nowShares to buyTotal investedNew average
₹7540₹5,600₹80.00
₹7020₹4,000₹80.00
₹6010₹3,200₹80.00

The lower the price you can buy at, the fewer shares you need. In every case the money you put in grows, so the extra exposure matters as much as the average.

Things to check before you average

  • How much extra money the buy adds to a position that is already below your cost.
  • Whether your reason for holding the stock still stands, not only whether the average looks better.
  • Your own limit for how much of your money one stock should take.
  • Charges on the new buy and on the eventual sale: STT, brokerage, stamp duty, DP charges on selling. Enter an estimate under Total extra charges, or use the brokerage calculator.

Not sure which broker keeps these charges lowest for your style of trading? Try the demat account finder, or read the charges and guides hub. This page is for education and is not investment advice.

Looking for Dhan’s own tools? See our guide to Dhan calculators.

Planning for the long term? See how rising prices change what your money buys with the inflation calculator, and compare yearly broker costs for your own trading pattern with the broker cost optimizer.

Ajay Bohra
Ajay Bohra

Ajay Bohra writes about Demat accounts, trading apps, broker charges, referral offers, and personal finance tools for Indian users. His work focuses on explaining account-opening steps, brokerage structures, platform features, and referral terms in simple language. The content is educational and should not be treated as personalized investment advice.

Let's Think Wise
Compare items
  • Total (0)
Compare