Stock average calculator: your new average price
Your average price is the total you paid divided by the number of shares you own. Buying more below your average pulls it down, and buying above it pulls it up. The calculator below does both sums for you.
Average price calculator
Fill in what you own now and the buy you are planning. Everything is worked out in your browser.
How many shares to reach a target average?
Say you'd like your average to be $70. This works out how many shares you need to buy at today's price to get there.
The formula
A worked example
| Shares | Price | Cost | |
|---|---|---|---|
| You own | 50 | $80 | $4,000 |
| You buy | 30 | $60 | $1,800 |
| Together | 80 | $72.50 | $5,800 |
$5,800 ÷ 80 shares = $72.50. To reach a target average, the number of shares to buy is: shares owned × (old average − target) ÷ (target − today's price). Here that's 50 × (80 − 70) ÷ (70 − 60) = 50 shares.
Averaging down: what it does and doesn't do
- It lowers the price you need to break even. In the example the stock only has to climb back to $72.50, not $80.
- It doesn't shrink today's loss. At $60 you are still down $1,000 on the first 50 shares. A lower average just spreads that over more shares.
- It puts more money on one company. Ask whether you'd buy the stock today if you didn't already own it. If not, a lower average isn't a reason on its own.
- Averaging up is fine too. Adding to a winner raises your average. That only matters for taxes and for how the gain looks, not for how good the company is.
Selling doesn't change your average
When you sell some shares, the average price of the shares you keep stays the same (the "average cost" method, which many brokers and apps use). Your realized gain is the sale price minus that average, times the shares sold. Some countries and brokers use first-in, first-out (FIFO) instead, which can give a different gain for tax.
This article is for education only and isn't financial advice. Examples use made-up numbers.