Stock Average Cost Calculator

Find your average cost per share and plan an average down.

Your numbers

Purchase 1
$
Purchase 2
$
Purchase 3
$
Purchase 4
$
Purchase 5
$
Now and next
$

Used for your profit or loss today and the average-down plan.

$

Must be between the current price and your average cost.

Results update as you type. Nothing you enter leaves your browser.

Your results

Average cost per share

$35.20

100 shares, $3,520 invested across 3 purchases.

Value at current price
$3,000
Profit or loss
-$520 (-14.8%)
Shares to buy to reach $33.00
74
Cost of those shares
$2,200

Buying about 74 shares at $30.00 ($2,200) would bring your average to $33.00. That also adds $2,200 more money at risk in the same stock.

See the full breakdown

Estimates based on your inputs and the assumptions listed below. Not tax, financial or lending advice. Disclaimer

Your full breakdown

Your purchases

Average cost is weighted by how much you spent at each price, not a simple average of the prices.

PurchaseSharesPriceCostShare of total
Purchase 150$40.00$2,00056.8%
Purchase 230$32.00$96027.3%
Purchase 320$28.00$56015.9%
Total100$35.20$3,520100%

What buying more at the current price does

Each extra share bought at $30.00 pulls the average toward that price, with less effect each time.

Buy moreSharesCostNew average
25% more shares25$750$34.16
50% more shares50$1,500$33.47
100% more shares100$3,000$32.60
200% more shares200$6,000$31.73

Cost per share vs. price

  • Your average cost$35.20
  • Current price$30.00
  • Target average$33.00

Good to know

  • The formula: average cost = total spent / total shares. Include commissions in what you spent if you paid any.
  • Averaging down lowers your break-even price, but it also puts more money into one position. A lower average doesn't change whether the stock recovers.
  • For taxes, each purchase (tax lot) keeps its own basis. Your broker may sell specific lots or the oldest first, so your taxable gain can differ from the average.
  • Reinvested dividends are purchases too. Add them as rows to keep your average accurate.

Short answer

Your average cost per share is the total amount you spent divided by the total shares you own. To average down, buy more at a lower price: the calculator shows how many shares at today's price it takes to bring your average to the level you choose.

Example

Buying 100 shares for $3,520 in total gives an average cost of $35.20 per share. Buying about 74 more at $30.00 would bring it to $33.00.

How it's calculated

Average cost = sum of (shares x price) / total shares. Shares needed to reach a target average = (total spent - target x shares owned) / (target - current price).

Assumptions

  • Commissions aren't included unless you add them to the price.
  • The average-down plan buys at the current price you enter.

Frequently asked questions

How do I calculate my average cost per share?

Add up what you paid for every purchase and divide by the total number of shares. It's weighted by how much you bought at each price, not a simple average of prices.

What does averaging down mean?

Buying more shares of something you already own after its price has fallen, which lowers your average cost. It also puts more money into the same position.

Is average cost the same as cost basis for taxes?

Not always. Each purchase keeps its own basis, and your broker may match sales to specific lots or to the oldest shares first. Mutual funds can use an average basis method.

Sources

  1. Topic no. 703, Basis of assets IRS

Formulas and figures last checked Nov 5, 2026.

Go deeper

Related guides and calculators