Equity investing

Stock Average Calculator

Enter the total amount you invested and the number of shares you hold to find your average cost per share.

  • Free
  • No sign-up
  • Updated for 2026

Investment & shares

$

Enter the amount invested and number of shares to see your average price.

Worked example

With these example inputs:

  • Total amount invested$5,000
  • Total shares200

Average price per share: $25

  • Total amount invested$5,000
  • Total shares200

Add this calculator to your site

Free to embed. Copy the snippet below, it drops the live calculator straight into any page.

What this stock average calculator does

This calculator finds your average price per share. You enter the total you invested and the shares you hold. The tool then shows your average cost. It is the price you paid per share on average. You can test different totals. The result is shown in your currency.

What averaging down means

Averaging down is buying more as a price falls. Each new buy can lower your average cost. So your break-even price drops with it. It also raises the shares you hold. This can help if the stock recovers. But it adds risk if it keeps falling.

How it is calculated

The tool takes your total invested. It divides that by your total shares. So the result is cost per share. More money for the same shares raises it. More shares for the same money lowers it. The result is your average price per share. The calculator does the math for you.

What the result tells you

The result shows your average price per share. Five thousand across two hundred shares is twenty-five each. A higher total raises the average. More shares lower it. So it shows your true cost per share. It is a clear figure.

The total amount invested

Your total invested is every dollar you put in. Add up all your buys for the stock. Include fees if you want a true cost. So this is the full money at stake. A bigger total raises the average. Use the real amount you spent. Enter your total invested.

The total shares

Your total shares are how many you hold. Add up the shares from every buy. More shares spread the cost wider. So more shares lower the average price. Use the full count you own now. A part share counts too. Enter your total shares.

Why average cost matters

Your average cost is your break-even price. Above it, your position is in profit. Below it, you are sitting on a loss. So it is the line that matters most. It also guides when to buy more. Knowing it keeps your choices clear. Watch it as you add shares.

How to use it

Enter your total invested first. Add the total shares you hold. Read the average price per share. Then add a new buy to both. See how the average shifts. Compare it with the current price. Use it to judge your position.

The limits of this calculator

Every tool has its limits. It shows average cost only. It ignores taxes on any sale. It does not predict the price. Fees can change your true cost. So treat it as a guide. So use it thoughtfully.

Common mistakes to avoid

A common mistake is leaving out fees. They raise your true cost per share. Another is averaging down on a weak stock. A lower average is not always a win. Some forget shares from an earlier buy. Others mix up cost with current value. A clear view avoids these traps.

A final tip

Use this to track your average cost. Remember it is your break-even price. Include fees for a true figure. Compare it with the current price. Do not average down without a reason. Update it after every buy. A careful check guides your position.

Frequently asked questions

How is the average share price calculated?

Divide the total amount invested by the number of shares you own. Investing $5,000 for 200 shares gives an average cost of $25 per share.

Why does the average cost matter?

Your average cost is the break-even price for the position and the basis for measuring gains. Buying more shares as the price falls lowers it, a practice known as averaging down.