Stock Average Calculator
Calculate your average stock price after multiple purchases.
Purchase #1
Purchase #2
What Is the Stock Average Calculator?
A Stock Average Calculator determines your average purchase price when buying shares of the same stock at different prices over time. This is especially useful when "averaging down" after a price drop, or building a position gradually through several purchases rather than one single buy order.
Most investors don't buy their entire position in a stock in one transaction — they add to it over weeks, months, or years, sometimes at higher prices and sometimes at lower ones. Without tracking each purchase, it's easy to lose track of your true blended cost basis, which matters both for judging your actual profit or loss and for tax reporting when you eventually sell.
Once you know your average price, the Stock Profit Calculator can help you work out your realistic take-home profit or loss on a sale after accounting for brokerage, taxes, and other trading charges.
Stock Average Calculator Formula
Average Price = Total Investment ÷ Total Shares
How Is the Stock Average Calculator Calculated?
Each purchase contributes its own price × quantity to the total investment, and its own quantity to the total share count. Dividing the combined investment by the combined shares gives a weighted average — purchases with more shares influence the average more than smaller ones.
This is a quantity-weighted average, not a simple average of the prices themselves — buying a small number of shares at a very low price won't pull your average down as much as buying a large number of shares at that same low price would. This distinction matters when deciding how many additional shares to buy if your goal is to meaningfully shift your average cost basis.
Stock Average Calculator Example
Example 1: Buying 100 shares at $150 and later 50 shares at $120 gives a total investment of $21,000 across 150 shares — an average price of $140.
Example 2 (averaging down across three buys): 200 shares at $50, then 150 shares at $40, then 100 shares at $35 gives a total investment of $19,500 across 450 shares — an average price of about $43, well below the first purchase price thanks to the two lower-priced buys.
Example 3 (equal-sized purchases): Buying 500 shares at $1,000 and later 500 shares at $1,200 gives a total investment of $1,100,000 across 1,000 shares — an average price of exactly $1,100, the simple midpoint, since both purchases were the same size.
How to Use the Stock Average Calculator
Step 1
Enter the price and quantity for each purchase you made.
Step 2
Add more purchases using the "Add Purchase" button if needed.
Step 3
Remove any purchase row you entered by mistake using the Remove button.
Step 4
Click Calculate to see your total shares, total investment, and average price.
Step 5
Compare the resulting average price against the current market price to gauge your unrealized position.
Step 6
Re-run the calculation with a hypothetical extra purchase to see how much it would shift your average.
Benefits
- Handles any number of purchases at different prices in one calculation.
- Shows total investment and shares alongside the average, not just the average alone.
- Useful for tracking cost basis across multiple buy transactions.
- Makes it easy to test "what if I bought more shares now" scenarios before actually placing an order.
- Removes the manual spreadsheet math many investors do by hand to track a growing position.
- Helps clarify exactly how much a lower-priced purchase actually moves your average, which is often less than people expect.
Common Stock Average Calculator Scenarios
Scenario 1
Calculating your cost basis after averaging down on a stock.
Scenario 2
Tracking the true average price of a position built up over several purchases.
Scenario 3
Deciding whether further purchases would meaningfully change your average.
Scenario 4
Reconciling your own records against a broker statement showing an unfamiliar average price.
Scenario 5
Planning how many additional shares you'd need to buy at a given price to hit a target average.
Scenario 6
Comparing your average cost basis to a stock's current price to judge an unrealized gain or loss at a glance.
Understanding Your Result
The average price is your effective cost basis per share across all entered purchases — useful for comparing against the current market price to gauge your unrealized profit or loss.
This figure only reflects the purchases you've entered — it says nothing about whether the stock is fundamentally worth that price or higher. A lower average cost basis makes it easier to reach break-even, but it doesn't change what the stock is actually worth or guarantee its price will recover to your average.
Tips
- Compare your average price to the current market price to quickly see your position's unrealized gain or loss.
- Remove purchases you entered by mistake using the Remove button before recalculating.
- Averaging down only makes sense if you still believe in the stock's fundamentals.
- Keep a running log of your purchases outside this calculator too, since brokers sometimes calculate average cost differently for tax purposes.
- Before averaging down, separate "the price fell because of short-term market noise" from "the price fell because the business is actually struggling" — the right response differs.
Common Mistakes
- Averaging down repeatedly on a stock whose fundamentals have genuinely deteriorated, rather than just its price.
- Forgetting to include brokerage or transaction charges, which slightly raise your true cost basis.
- Entering quantity and price in the wrong fields for a purchase row.
- Assuming a lower average price guarantees the stock will recover — it only lowers the bar for breaking even, not the odds of it happening.
- Confusing this simple quantity-weighted average with the specific cost-basis method (FIFO, LIFO, etc.) your tax authority may require for reporting gains.
Frequently Asked Questions
What does "averaging down" mean?
It means buying more shares of a stock after its price has fallen, which lowers your overall average purchase price.
Is averaging down always a good strategy?
Not necessarily — it works well if the stock's fundamentals remain strong, but can increase losses if the price continues to decline for valid reasons.
Can I use this for more than two purchases?
Yes, you can add as many purchases as needed to calculate the combined average price across all of them.
Does this account for brokerage fees?
No, this calculates the average based on price and quantity only — add brokerage charges to your price per share manually if you want a fully loaded cost basis.
When would I use this calculator?
Typically when you've bought shares of the same stock at two or more different prices and want to know your true blended cost basis, often to decide whether to buy more, hold, or sell.
Does averaging down guarantee I'll break even sooner?
No — it lowers your average cost basis, which reduces the price needed to break even, but the stock still needs to recover to that new average price; it doesn't guarantee the stock will actually go back up.
How does this affect my tax cost basis?
Tax rules on cost basis vary by country and account type — check your local tax rules, since this calculator's average may not exactly match the cost basis method your tax authority requires.
Should I include brokerage or transaction fees in my average price calculation?
This calculator doesn't automatically add fees — if you want a fully accurate average, add estimated brokerage costs to each purchase amount before entering it.
Is averaging down different from dollar-cost averaging?
Yes — dollar-cost averaging means investing a fixed amount at regular intervals regardless of price, while averaging down specifically means buying more of a stock after its price has dropped to lower your average cost.
Can I share my stock average price as an image?
Yes — tap Share and, on supported devices, your average price is shared as a branded image card, not just a text link.
Why does buying more shares at a lower price not always lower my average as much as expected?
Because the average is weighted by quantity — if your existing position is much larger than the new purchase, even a sharply lower price on a small additional buy will only nudge the average down slightly, not dramatically.
Can I use this calculator for assets other than stocks, like crypto or mutual fund units?
Yes — the underlying math (total cost ÷ total quantity) works identically for any asset bought in multiple lots at different prices, including cryptocurrency, ETF units, or mutual fund NAV purchases.
How is average price different from the price shown on my broker's app?
Most broker apps calculate the same quantity-weighted average shown here, but some also adjust for corporate actions like stock splits, bonus shares, or dividends reinvested — check your broker's specific methodology if the numbers don't match exactly.
Should I sell at a loss instead of averaging down?
That depends entirely on your view of the underlying business, not on this calculator — averaging down only makes sense if you still believe the stock is undervalued at the lower price, not simply because it's now cheaper than what you originally paid.
Important Information
This calculator provides a simple estimate for informational purposes only and does not constitute investment advice.
Last updated: July 25, 2026