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.
Stocks · Mutual funds · Crypto
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.
Add every buy at its quantity and price. Sells reduce your holding without changing the average cost.
Optional. Used for profit, loss and your true break-even price.
Buy (size = quantity)AverageMarket price
Work out how to average down (or up) before you place the order.
Your trades are saved in this browser only. This calculator is for planning and education, not investment advice.
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.
Add as many trades as you like, or paste a list from your broker. Sells reduce your holding and show realised profit or loss.
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.
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.
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.
Works in rupees with Indian number formatting, or dollars, euros and pounds. Decimal quantities are supported for mutual fund units and crypto.
No login and no data sent anywhere. Your trades are saved in your browser, so your position is still there next time.
| Feature | This calculator | Typical calculator |
|---|---|---|
| Number of purchases | Unlimited, plus paste | Often 2 to 5 |
| Sells and realised P&L | Yes | No |
| Shares needed for a target average | Yes | Rarely |
| Break-even after charges | Yes | No |
| Profit or loss at market price | Yes | Sometimes |
| Saves your trades | In your browser | No |
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₂ + …)
| Purchase | Shares | Price | Amount |
|---|---|---|---|
| Buy 1 | 100 | ₹500 | ₹50,000 |
| Buy 2 | 50 | ₹440 | ₹22,000 |
| Buy 3 | 150 | ₹400 | ₹60,000 |
| Total | 300 | Average ₹440 | ₹1,32,000 |
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)
Break-even = A × (1 + c) ÷ (1 − c).Both strategies change your average price. Neither is automatically right, so decide based on the business, not just the chart.
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.
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.
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.
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.
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.
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.
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.
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.
Calculate your average price, break-even and the exact order you need to reach your target average. Free and private.
Calculate my average