average share price calculator

Average Share Price Calculator

Enter each stock purchase lot (shares + price paid). The calculator computes your weighted average cost per share.

Lot Shares Buy Price ($) Remove

Your Position Summary

What is an average share price?

Your average share price is the weighted cost you paid across multiple buys of the same stock. It is not just the simple average of purchase prices. Instead, each buy is weighted by the number of shares in that lot.

This is important because investors typically buy over time: one lot today, another on a dip, maybe another after a rally. A weighted average gives you a clear break-even point and helps you evaluate gain/loss objectively.

Formula used by the calculator

The weighted average share price formula is:

Average Price = (Total Cost of All Lots) / (Total Shares Across All Lots)

Where:

  • Total Cost = sum of (shares in each lot × buy price of each lot)
  • Total Shares = sum of shares from all lots

Quick example

  • Buy 10 shares at $100 = $1,000
  • Buy 20 shares at $80 = $1,600
  • Total shares = 30
  • Total cost = $2,600
  • Average share price = $2,600 / 30 = $86.67

Even though the two buy prices are $100 and $80, your actual cost basis per share is $86.67.

Why this matters for investors

Knowing your average price can improve decision quality. Instead of reacting to emotions, you can compare the current market price with your real cost basis.

  • Track whether your position is currently profitable
  • Set realistic take-profit or stop-loss levels
  • Estimate portfolio break-even points accurately
  • Plan future buys when dollar-cost averaging

Average down vs. average up

Averaging down

Averaging down means buying more shares after price drops, reducing your average cost. This can work for high-conviction investments, but it also increases risk if fundamentals are weakening.

Averaging up

Averaging up means adding as price rises. This is common in trend-following strategies where investors add to winners. It increases average cost but can build larger exposure to strong performers.

Common mistakes to avoid

  • Using simple average instead of weighted average: this gives incorrect cost basis.
  • Ignoring position size: larger lots affect average price more than smaller lots.
  • Forgetting fees and taxes: real net return can differ from raw share-price calculations.
  • Overtrading around your average: cost basis is useful, but strategy and risk controls matter more.

Tips for practical use

  • Update your lots after every buy transaction.
  • Keep a separate log of fees and dividends for a complete performance view.
  • Use the current price field to quickly estimate unrealized gain/loss.
  • Pair this tool with position sizing rules to manage risk consistently.

Final thoughts

The average share price calculator is a simple but powerful investing utility. If you buy in multiple tranches, your weighted average cost is the number that should guide your performance analysis. Use it regularly to stay grounded in data, not market noise.

🔗 Related Calculators