Stock Average Calculator
Calculate your average share cost across multiple buys, and preview your new average before buying more. Works with PSX, NSE, US stocks and crypto.
About the Stock Average Calculator
When you buy the same stock at different prices, your true cost basis is the weighted average of all your purchases. This stock average calculator lets you add a row for each buy — number of shares and price per share — and instantly shows your average cost per share, total shares held and total amount invested. Add or remove rows as your history grows.
The formula is total money invested divided by total shares: buying 100 shares at 52.50 and another 50 at 45 costs 7,500 for 150 shares, an average of 50 per share. The 'what if I buy more' section answers the question every investor asks before averaging down: enter a hypothetical new purchase and see your new average before you place the order.
The calculator is currency-agnostic, so it works identically for PSX shares in rupees, NSE/BSE stocks, US stocks in dollars, mutual fund units or crypto. All figures stay in your browser — nothing about your portfolio is uploaded.
How to Use the Stock Average Calculator
- 1Add a row for each purchase: number of shares and the price you paid.
- 2Read your average cost per share, total shares and total invested.
- 3In the what-if section, enter a possible new buy to preview your new average.
- 4Add or remove rows anytime — results update live.
Frequently Asked Questions
How do I calculate my average stock price after multiple buys?
Divide total money invested by total shares owned. If you bought 100 shares at 52.50 (5,250) and 50 shares at 45 (2,250), you own 150 shares for 7,500 — an average cost of 50 per share. The calculator does this across any number of purchases.
What is averaging down and when does it make sense?
Averaging down means buying more of a stock after its price falls, which lowers your average cost. If your average is 50 and you buy 150 more shares at 40, your new average drops to about 45. It only makes sense if the company's fundamentals are still sound — otherwise you are adding money to a losing position.
How many shares do I need to buy to reach a target average?
Use the what-if section and adjust the share count until the new average hits your target. For example, holding 150 shares at an average of 50, buying 150 more at 40 gives (7,500 + 6,000) ÷ 300 = 45. The further the new price is from your average, the fewer shares you need to move it.
Does this calculator include brokerage fees and taxes?
Enter the effective price per share including costs if you want fee-adjusted numbers — for example, if you paid 52.50 plus 0.50 per share in fees, enter 53. Since fee structures differ between PSX, Indian and US brokers, folding them into the price keeps the calculator accurate everywhere.
Does the stock average calculator work for crypto and mutual funds?
Yes. The math is identical for anything bought in units at varying prices — crypto coins, mutual fund units, ETFs or gold grams. Fractional quantities are fully supported, so you can enter 0.05 BTC at one price and 0.02 at another.