U.S. · Investing

Stock average down calculator.

See your new average cost after buying more, the rise needed to break even, and how many shares reach a target average.

Advertisement

Your numbers

$
$
$
Added to your cost.
$
Shows the shares needed at the price above.

Result

Advertisement

Buying more of a stock that has fallen pulls your average cost down, but by less than most people expect and at the price of a bigger bet. This calculator gives the exact new average, how far the stock still has to rise before you are even, and how many shares it would take to reach an average you choose. It also keeps the tax record straight: the average is a planning number, not necessarily the basis the IRS uses.

How this is calculated

The new average cost is total money spent divided by total shares: (existing shares x existing average + new shares x new price + fees) divided by (existing shares + new shares). To reach a target average T by buying at price P, the tool solves existing shares x (existing average - T) = n x (T - P) for n, then rounds up to whole shares. It only works when the target is below your current average and above the new buying price. The breakeven rise is the new average compared with the new buying price.

The tax side is different. IRS Publication 550 says that when you cannot adequately identify the shares you sell, the basis is that of the shares you acquired first, and that except for certain mutual fund shares you cannot use the average price per share to figure gain or loss. Commissions are part of cost. Publication 550 also says a loss on a sale is disallowed as a wash sale if you buy substantially identical stock within 30 days before or after, with the disallowed loss added to the cost of the new shares. As of 2026-10-26, the cost-basis rules are taken from Publication 550 (2025).

Worked examples (hypothetical figures, real arithmetic)

Doubling down. You own 100 shares at an average of $50 and buy 100 more at $40. Total cost is $5,000 + $4,000 = $9,000.00 for 200 shares, a new average of $45.00. The average fell 10.0%, though the price fell 20%. The stock must now rise 12.5% from $40 to get you even, and at $40 you are down $1,000.00.

Reaching a target. To bring the average to $45 by buying at $40 you need 100 x ($50 - $45) / ($45 - $40) = 100 shares. For a $44 target the same formula needs 100 x 6 / 4 = 150 shares.

Smaller add with fees. Buying 50 shares at $40 with $10 of fees on top of 100 at $50 gives a cost of $7,010 over 150 shares, a new average of $46.73.

Mistakes people make

Who this is for, and what it does not cover

It is for an investor adding to a single stock position. It does not decide whether you should buy, measure risk, or handle dividend reinvestment lots, stock splits, or lot-level tax reporting. Mutual fund shares have their own average-basis election under Publication 550.

FAQ

How do you calculate your new average price after buying more?

Add the total cost of both purchases, including fees, and divide by the total number of shares. For example, 100 shares at $50 plus 100 at $40 is $9,000 over 200 shares, or $45.

Does averaging down lower my risk?

It lowers your breakeven price but increases the money you have in the position. If the stock keeps falling you lose more.

How many shares do I need to buy to reach a target average?

Existing shares x (current average - target) divided by (target - buy price). The target must sit between the buy price and your current average.

Can I use my average cost for my tax return?

Generally not for stock. Publication 550 says that if you cannot identify which shares you sold, the basis of the shares you bought first is used, and average price is allowed only for certain mutual fund shares. Your broker may report lot-level basis.

What is the wash sale rule?

Publication 550 says you cannot deduct a loss from selling stock if within 30 days before or after the sale you buy substantially identical stock. The disallowed loss is added to the cost of the new shares.

Are commissions part of my cost?

Yes. Publication 550 treats commissions as part of the cost basis of shares you buy. Enter them in the fees box.

Sources

Retrieved 2026-10-26. Each link was opened and checked against the claim next to it.

Not tax or investment advice

This page is general information, not tax, legal, investment or financial advice. Rules, limits and rates change, and your facts may differ. Trading, options and margin can lose more than you expect. Confirm anything that matters with the IRS, a CPA, an enrolled agent or a registered adviser before you act. Everything runs in your browser; nothing you enter is sent anywhere.

Common mix-ups

  1. IRS Publication 550 (2025), basis and wash sales

Checked against these sources on .

Advertisement