Skip to content
toolgrid

No tool found. Try another word.

Stock Average Calculator

Calculate your average purchase price over several buys, your gain at the current price, and how much to buy to reach a target average.

SharesPriceFee

Average price
—
Total shares
—
Total cost
—
Current value
—
Gain
—
Shares to buy for the target
—

Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.

How to use the Stock Average Calculator

  1. 1 Enter each purchase: number of shares, price and optional fee.
  2. 2 Add the current price to see your gain.
  3. 3 Optionally enter a target average and the next buy price.

About the Stock Average Calculator

The average price is the total cost divided by the total number of shares: (Σ shares × price + fees) ÷ Σ shares. Fees raise your average cost, so include them for a correct cost basis.

To average down to a target, the calculator solves (cost + x × buy price) ÷ (shares + x) = target for x: x = (cost − target × shares) ÷ (target − buy price). The target must lie between the next buy price and your current average.

Averaging down lowers your break-even price but also increases your position in something that has fallen. It works the same for funds, ETFs and crypto. This is a calculation, not investment advice.

Frequently asked questions

How is the average share price calculated?

Add up the cost of all purchases including fees and divide by the total number of shares.

What does averaging down mean?

Buying more at a lower price so that your average purchase price drops.

Why does it say the target is not reachable?

Because the target is not between the next buy price and your current average. You can never average below the price you buy at.

Does it handle partial shares?

Yes, fractions of shares or coins are fine.