Stock Average Cost Calculator

Calculate your weighted average stock purchase price, total shares, total investment, current market value, unrealized profit or loss, return on investment and break-even price.

Calculate Your Average Stock Cost

Add each stock purchase below. The calculator uses your shares and purchase prices to determine your weighted average cost.

Purchase 1
Purchase 2
Total Shares 200
Total Investment $18,000.00
Average Cost Per Share $90.00
Current Market Value $19,000.00
Unrealized Profit / Loss $1,000.00
ROI 5.56%
Break-Even Price $90.00
Price Difference $5.00
Your average stock cost is calculated by dividing your total investment by your total number of shares.

What Is a Stock Average Cost Calculator?

A stock average cost calculator helps investors determine the weighted average price they paid for shares purchased at different prices. This can be particularly useful when you buy the same stock multiple times over a period of time.

Instead of looking at each transaction separately, the calculator combines your purchases and gives you one average cost per share. You can then compare that average cost with the current market price to estimate your unrealized profit or loss.

Average Cost Formula

Average Cost Per Share = Total Investment ÷ Total Shares

The calculation is weighted by the number of shares purchased. Therefore, a purchase of 500 shares has a greater effect on your average cost than a purchase of 50 shares.

How to Use This Calculator

  1. Enter the number of shares purchased.
  2. Enter the purchase price for each transaction.
  3. Use Add Purchase for additional transactions.
  4. Select your preferred currency.
  5. Enter the current stock price.
  6. Select Calculate Average Cost.

The calculator will show your total shares, total investment, weighted average cost, current market value, estimated profit or loss, ROI, break-even price and price difference.

Example of Averaging Stock Purchases

Suppose an investor buys the same stock at two different prices:

Purchase Shares Price Investment
Purchase 1 100 $100 $10,000
Purchase 2 100 $80 $8,000
Total 200 — $18,000

The average cost is:

$18,000 ÷ 200 shares = $90 average cost per share

If the stock is currently trading at $95, the investor has an estimated unrealized gain of $5 per share, or $1,000 across 200 shares, before applicable taxes and transaction costs.

Why Investors Track Average Stock Cost

1. Understand Your True Entry Price

When you make several purchases at different prices, your average cost provides a clearer view of your overall position than looking at only the most recent transaction.

2. Measure Unrealized Profit or Loss

Comparing your average cost with the current market price can help you estimate whether your overall position is currently above or below your weighted purchase price.

3. Evaluate Additional Purchases

Investors sometimes use average-cost calculations when considering whether an additional purchase would increase or decrease their overall average price.

4. Track Portfolio Records

Keeping accurate records of shares and purchase prices can make it easier to monitor your investment performance over time.

Averaging Down vs. Averaging Up

Averaging down means buying additional shares at a price below your existing average cost. If the additional purchase is large enough, your new average cost will decrease.

Averaging up means buying additional shares at a price above your existing average cost. This generally increases your weighted average cost.

A lower average cost does not automatically make an investment safer. The underlying stock can continue falling, so investors should consider company fundamentals, valuation, diversification and their overall risk tolerance.

Average Cost and Break-Even Price

In this basic calculator, the break-even price is the same as your calculated average cost because transaction fees and taxes are not automatically included.

Break-Even Price ≈ Average Cost Per Share

If brokerage fees, commissions, taxes or other trading costs apply, your actual break-even price may be different.

Important Things to Consider

This calculator is designed for educational and planning purposes. It should not be treated as personalized investment advice.

Frequently Asked Questions

What is average stock cost?

Average stock cost is the total amount invested in shares divided by the total number of shares owned. It represents your weighted average purchase price.

How do I calculate my average stock price?

Add the investment amount from all purchases and divide it by the total number of shares purchased.

Does buying more shares at a lower price reduce my average cost?

Usually, yes. Buying additional shares below your existing average cost generally lowers the weighted average purchase price.

Does this calculator use live stock prices?

No. You enter the stock price manually. This calculator does not provide live market data.

Does average cost include trading fees?

The basic calculation uses your entered purchase prices and shares. If you want fees included, incorporate applicable transaction costs into the investment amount for each purchase.

Is average cost the same as the current stock price?

No. Average cost represents your weighted purchase price. Current stock price represents the market price at a particular time.

More EZTradingHub Trading & Investment Tools

Financial Disclaimer: EZTradingHub calculators are provided for educational and informational purposes only. The results are estimates based on the information you enter and may not reflect actual brokerage statements, taxes, fees, market conditions or execution prices. This tool does not constitute financial, investment, tax or legal advice. Always perform your own research and consider consulting a qualified financial professional before making investment decisions.