Bill OrganizerBillsIncomeMortgageCalculators

Stock Average Calculator: Average Cost per Share and Averaging Down

Add each purchase to get your average cost per share, and work out how many shares at today's price would move that average to a target

By the Monthly Income Booster editorial team · Updated · How we research and fact-check

Average cost per share$22.20
Total shares410
Total cost$9,100.00
Shares to buy164
Cost of those shares$2,952.00

The target has to be between the buy price and your current average. This is a tracking average, not your tax basis — see IRS Publication 550 for basis methods.

Keep your budget and bills on track month to month in the free Bill Organizer app.

List each purchase — the number of shares, the price and any commission — and the calculator adds them up to your total shares, total cost and average cost per share. Then enter a current price and a target average to see how many more shares would get you there and what they would cost. The math works the same for averaging down (buying below your average) and averaging up.

How average cost per share is calculated

Average cost = total spent (shares × price + fees, for every purchase) ÷ total shares. IRS Publication 550 (2025) uses this example: 160 shares at $25, 240 shares at $20 and a $300 dividend reinvested at $30 (10 shares). That is 410 shares costing $9,100, an average of $22.20 a share.

How many shares to average down

Shares needed = current shares × (current average − target) ÷ (target − buy price). With 410 shares averaging $22.20, buying at $18 brings the average to $21 after about 164 shares ($2,952). The target has to sit between the buy price and your current average; the closer it is to the buy price, the more shares it takes. A lower average doesn't change what the shares are worth today — it only moves the price at which the whole position breaks even.

Shares to buy to lower an average of $22.20 on 410 shares
Buy priceTarget averageShares to buyCost
$16$21.5052$832
$16$2199$1,584
$18$21.5082$1,476
$18$21164$2,952
$20$21.50191$3,820
$20$21491$9,820

Average cost and your tax basis

For tax, the IRS doesn't use one average for every holding. IRS Publication 550 (2025) allows the average basis method for mutual fund shares and for shares acquired after 2011 through a dividend reinvestment plan held with a custodian; otherwise you identify the specific shares sold or use first-in, first-out (FIFO). Your broker reports basis on Form 1099-B. The average here is a tracking number for your break-even, not a substitute for the broker's basis records.

Before averaging down

Averaging down adds money to a position that has fallen; whether that makes sense depends on why it fell and how much of your savings is in one holding. Stocks aren't FDIC insured and can keep falling. The stock profit calculator shows the gain or loss at any sale price.

Calls and puts

If you hold options on the stock too, see the profit at expiration or when you sell the contract.

Official sources

Tax rules, limits and pay data change. Check the current figures with the primary source before acting on them.

Share this calculator

Writing about this? Use this credit link — free to reuse.

<a href="https://billorganizingapp.com/income/calculators/stock-average/">Stock Average Calculator: Average Cost per Share and Averaging Down</a> by Monthly Income Booster

Frequently Asked Questions

How do I calculate my average stock price?+

Add up what you paid for every purchase (shares × price, plus fees) and divide by the total number of shares. 160 shares at $25, 240 at $20 and 10 at $30 cost $9,100 for 410 shares: $22.20 each.

How many shares do I need to buy to average down?+

Shares = current shares × (current average − target average) ÷ (target average − new price). For 410 shares at $22.20, buying at $18 to reach a $21 average takes about 164 shares.

Does averaging down lower my loss?+

It lowers the break-even price for the whole position, but the loss on the shares you already own is the same. Adding shares also adds money that can fall further.

Do fees change the average cost?+

Yes. Commissions are part of what you paid, so they are added to the cost before dividing by the number of shares.

Is the average cost the same as my tax cost basis?+

Not always. IRS Publication 550 allows average basis for mutual fund shares and certain DRIP shares; for other stocks your basis follows the specific shares sold or FIFO. Your broker's Form 1099-B shows the reported basis.

Build Your Personalized Income Plan

Get an AI-generated plan covering all 20 income types in 60 seconds.