CalcWealth

Free Stock Average Calculator — Average Down Cost Basis

Calculate your weighted average cost per share when buying a stock at multiple prices. Track total shares, total investment, and your exact break-even price.

Use this free stock average calculator to compute your average cost per share across multiple buy transactions — whether you're averaging down, dollar-cost averaging, or tracking your cost basis across purchases made at different prices. No sign-up required.

What Is a Stock Average Calculator?

A stock average calculator computes your weighted average cost per share when you buy the same stock at multiple different prices. This is essential for investors who are averaging down (buying more after a price drop), averaging up (adding to a winner), or systematically dollar-cost averaging over time.

Knowing your average cost is critical for two reasons: it determines your break-even price (the price the stock must reach for you to be profitable) and it establishes your cost basis for tax purposes when you eventually sell. Without accurate cost basis tracking, you may overpay taxes on your investment gains.

For planning how much to invest each period, combine this tool with our investment calculator to project long-term portfolio growth from your average-cost positions.

How to Use This Calculator

  1. 1

    Add Your First Purchase

    Enter the number of shares bought and the price per share for your first transaction. The calculator immediately shows your cost basis for that lot.

  2. 2

    Add Additional Purchases

    Click "Add Purchase" to enter each subsequent buy transaction with its own shares and price. Add as many lots as needed — there is no limit to the number of purchases you can track.

  3. 3

    Review Your Average Cost

    The calculator instantly shows your weighted average cost per share, total shares owned, total amount invested, and the break-even price. The break-even price equals your average cost — the stock must reach this price for you to exit with no gain or loss.

  4. 4

    Plan Your Next Purchase

    To see how a new purchase would affect your average, add a hypothetical transaction. This is useful for planning how much to buy and at what price to reach a target average cost.

Stock Average Cost Formula

Average Cost per Share = Total Amount Invested ÷ Total Shares Purchased

Total Amount Invested = Σ (Sharesi × Pricei) across all purchases. Total Shares = Σ Sharesi across all purchases.

Break-even Price = Average Cost per Share

Your break-even price is identical to your average cost — the stock must reach or exceed this price for your position to be profitable. Any price above break-even represents profit; below represents a loss.

Note: This calculator uses the average cost method. For tax purposes, your broker may use FIFO or specific lot identification, which can yield different cost basis figures for individual shares sold.

Stock Average Calculator Examples

Three scenarios showing averaging down, DCA, and averaging up.

Averaging Down: Two Purchases at Different Prices

Buy 100 shares at $50 ($5,000), then 200 more shares at $35 ($7,000) after a price drop → Average cost = $40.00/share, 300 total shares, $12,000 total invested. The break-even price is now $40 — the stock only needs to recover from $35 to $40 (14%) rather than back to $50 (43%) for a breakeven exit.

DCA: Six Monthly Purchases at Varying Prices

Buy 50 shares/month for 6 months at prices of $40, $38, $42, $36, $44, and $41 → Total invested: $12,050 ($2,000 + $1,900 + $2,100 + $1,800 + $2,200 + $2,050) → Average cost = $40.17/share, 300 total shares. DCA smoothed out price volatility and produced an average close to the mean price.

Averaging Up: Adding to a Rising Winner

Buy 100 shares at $20 ($2,000), then 100 shares at $25 ($2,500), then 100 shares at $30 ($3,000) → Average cost = $25.00/share, 300 total shares, $7,500 total invested. Averaging up increases your average cost but allocates more capital to a proven winner. At $30/share your position is worth $9,000 vs $7,500 invested — a $1,500 unrealized gain.

Frequently Asked Questions

What is averaging down in stocks?
Averaging down means buying more shares of a stock after its price has fallen, which lowers your average cost per share. For example, if you buy 100 shares at $50 and the price drops to $35, buying 200 more at $35 reduces your average cost from $50 to $40. Averaging down increases your position size in a declining stock, so it only makes sense if you have strong conviction the stock will recover.
Is averaging down a good strategy?
Averaging down can be profitable if the stock recovers, but it concentrates more capital in a losing position — a risky strategy without strong fundamental conviction. It works well for broad index funds during market corrections (since the market historically recovers). It is dangerous for individual stocks where the decline may reflect genuine business deterioration. Warren Buffett averages down on companies he knows deeply; averaging down on a falling stock you do not understand is often a mistake.
How do I calculate my average cost basis?
Average cost basis = Total Amount Invested ÷ Total Shares Purchased. Add up all the money you spent (shares × price for each purchase) to get total invested, then divide by the total number of shares. Example: 100 shares at $50 ($5,000) + 200 shares at $35 ($7,000) = $12,000 total invested ÷ 300 shares = $40.00 average cost per share.
What is the difference between averaging down and dollar-cost averaging?
Averaging down is a reactive strategy — you buy more after a price drop specifically to lower your average cost. Dollar-cost averaging (DCA) is a planned, systematic strategy of investing a fixed dollar amount at regular intervals (weekly, monthly) regardless of price. DCA removes emotional decision-making and happens on a schedule. Averaging down is discretionary and triggered by price movement. Both can result in a lower average cost, but DCA is generally considered the more disciplined approach.
What are the tax implications of tracking cost basis?
Your cost basis determines your taxable gain when you sell shares: Gain = Sale Price − Cost Basis. A higher cost basis means a smaller taxable gain (or a larger deductible loss). For stocks purchased at multiple prices, the IRS allows several accounting methods: FIFO (first in, first out), specific lot identification, and average cost (mainly for mutual funds). Specific lot identification gives you the most tax flexibility — you can sell the highest-cost lots first to minimize gains or harvest losses.
How do brokers track your cost basis?
Since 2011, US brokers are required to report cost basis to the IRS on covered securities (stocks bought after 2011). Brokers typically offer FIFO as the default method but allow you to switch to specific lot identification before you sell. Most major brokers (Fidelity, Schwab, Vanguard, TD Ameritrade) provide cost basis tracking in their portfolio views. For inherited shares or pre-2011 purchases, you may need to calculate cost basis manually using brokerage statements or trade confirmations.

Get Free Weekly Finance Tips

Stock averaging strategies, cost basis tips, and portfolio management insights — delivered weekly.