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
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
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
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
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
Total Amount Invested = Σ (Sharesi × Pricei) across all purchases. Total Shares = Σ Sharesi across all purchases.
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?
Is averaging down a good strategy?
How do I calculate my average cost basis?
What is the difference between averaging down and dollar-cost averaging?
What are the tax implications of tracking cost basis?
How do brokers track your cost basis?
Related Investment Calculators
Present Value Calculator
Calculate the present value of future cash flows and see what a future sum is worth in today's dollars.
Use Calculator →Future Value Calculator
Calculate the future value of any investment or cash flow series to see exactly how much you'll have later.
Use Calculator →ROI Calculator
Calculate return on investment (ROI) instantly — enter cost and gain to see your percentage return and profit.
Use Calculator →APY Calculator
Convert APR to APY and compare savings account rates. See the true annual yield with compounding factored in.
Use Calculator →Get Free Weekly Finance Tips
Stock averaging strategies, cost basis tips, and portfolio management insights — delivered weekly.