Calcady
Home / Financial / Stock Average Calculator (Cost Basis)

Stock Average Calculator (Cost Basis)

Calculate your new weighted average cost basis after buying more shares of a stock you already own. Instantly see your new break-even price after averaging down or up.

Current Position

$

Current cost basis.

New Purchase

$

New Average Cost Basis

$45.00
Total Capital: $9,000.00
Total Shares Owned:200
Previous Capital:$5,000.00
+ New Investment:$4,000.00
Email LinkText/SMSWhatsApp

Quick Answer: How do you calculate the new average cost after buying more shares?

The new average cost = (Old Shares × Old Price + New Shares × New Price) ÷ Total Shares. It is a weighted average — larger purchases have more influence on the result. Enter your existing position and new purchase details above. The calculator instantly shows your new average cost basis and total capital deployed, so you know exactly what price the stock needs to reach for your entire position to be profitable.

Cost Basis Formula — Step by Step

Weighted Average Cost Formula

Avg Cost = (Shares⊂1; × Price⊂1; + Shares⊂2; × Price⊂2;) ÷ (Shares⊂1; + Shares⊂2;)

Step 1

Calculate each lot cost

Shares × Price for each purchase

Step 2

Sum total cost & shares

Add all lot costs and share counts

Step 3

Divide cost by shares

Total cost ÷ total shares = new average

ⓘ Why it's weighted, not simple average

A simple average of $50 and $40 = $45. The weighted average also gives $45 only when share counts are equal. Buy 100 shares at $50 then 200 shares at $40: weighted avg = ($5,000 + $8,000) / 300 = $43.33 — not $45. The larger purchase at $40 has greater weight. This is why position sizing matters significantly in averaging strategies.

Averaging Down vs Averaging Up — Scenarios

↓ Averaging Down — NVDA Dip Buy

  1. Initial buy: 50 shares at $150
  2. Stock drops to: $110
  3. Add: 50 more shares at $110
  4. Total cost: $7,500 + $5,500 = $13,000
  5. New average: $130.00
  6. Break-even shift: From $150 down to $130 (-13.3%)

→ Only needs to recover to $130 to break even on the full position — 13.3% less recovery than the original $150 entry. Risk: if it falls to $90, you've doubled your position in a declining stock.

↑ Averaging Up — Adding to a Winner

  1. Initial buy: 100 shares at $40
  2. Stock rises to: $55 (thesis confirmed)
  3. Add: 50 more shares at $55
  4. Total cost: $4,000 + $2,750 = $6,750
  5. New average: $45.00
  6. Break-even shift: Raised from $40 to $45

→ Raising your average is rational when the original thesis is playing out. Trend-following and momentum strategies deliberately average up, capturing more of the winner's move while the momentum holds.

Break-Even Recovery Quick Reference

Stock Falls From Equal Size Add-Buy New Average
$100 → $90 (−10%)Equal shares at $90$95
$100 → $80 (−20%)Equal shares at $80$90
$100 → $60 (−40%)Equal shares at $60$80
$100 → $50 (−50%)Equal shares at $50$75
$100 → $30 (−70%)Equal shares at $30$65

Even with equal adds, averaging down on heavily beaten stocks requires very large recoveries to reach break-even.

Pro Tips & Common Mistakes

Do This

  • Set a maximum averaging-down allocation before you start. Decide before purchasing how many additional shares you will add at lower prices. "One add at -15%, final add at -30%, then stop" protects you from emotionally throwing unlimited capital at a failing position while maintaining a disciplined averaging strategy.
  • Specify tax lots when selling to optimize capital gains. If you've bought shares at multiple prices, selling specific high-cost lots first generates the smallest taxable gain (or largest deductible loss). Use "Specific ID" or "Specific Lot" method in your brokerage's sell order settings — it can save hundreds to thousands in taxes annually.

Avoid This

  • Do not average down on stocks with broken fundamentals. If the reason a stock fell is because earnings collapsed, a competitor disrupted the business model, or fraud is suspected — the "cheap" price may be fair or even too expensive. Lower price is not the same as better value. Distinguish between "temporarily mispriced" and "permanently impaired."
  • Do not confuse your brokerage's average price with your IRS cost basis. After a stock split, dividend reinvestment, or return-of-capital distribution, your brokerage average price may differ significantly from your true tax cost basis. Always confirm with official 1099-B forms or a tax professional before calculating capital gains.

Frequently Asked Questions

Does averaging down always lower my risk?

No — averaging down lowers your break-even price but increases your total dollar exposure to the position. If you had $5,000 at risk at $50/share, and add $4,000 more at $40/share, you now have $9,000 at risk. If the stock goes to $0, you've lost $9,000 instead of $5,000. Averaging down reduces the required recovery percentage but amplifies total loss if the thesis is wrong. It is a tool for disciplined investors with strong conviction — not a cure for a bad investment.

How do brokerages calculate average cost for ETFs and mutual funds?

Most brokerages default to the Average Cost method for mutual funds and ETFs (required by IRS for mutual funds). This combines all purchase lots into a single average cost — you cannot choose specific lots when selling. For ETFs and individual stocks, most brokerages default to FIFO (selling your oldest, potentially lowest-cost shares first) unless you explicitly change to Specific ID lot selection. Tax strategy nearly always favors Specific ID — check your brokerage's settings and actively choose it.

What is the wash sale rule and how does it affect averaging down?

The wash sale rule (IRS Rule 1091) prevents you from claiming a tax loss if you buy "substantially identical" securities within 30 days before or after selling at a loss. Relevant to averaging down: if you sell shares for a tax loss and then buy more shares of the same stock within 30 days, the loss is disallowed and instead added to the cost basis of the new shares. The loss isn't permanently lost — it's deferred — but timing your averaging strategy around wash sale windows is important tax planning.

Can I calculate the average cost for more than two purchases?

Yes — the formula extends to any number of lots. For 3+ purchases, chain the calculation: first compute the average of lots 1 and 2, then treat that as your "old position" and calculate the average with lot 3. Algebraically: New Avg = (Sum of all lot costs) ÷ (Sum of all shares). For ongoing tracking of many lot purchases over years, your brokerage's cost basis section is the most reliable source — it handles stock splits, dividends, and other corporate actions automatically.

Related Calculators