A stock average calculator finds your average cost per share across several purchases. Multiply each buy price by its number of shares, add those up, and divide by the total shares. Buying 10 at 100, 10 at 90 and 20 at 80 gives a total cost of 3,500 for 40 shares, so your average price is 87.50 a share.
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How to Use the Stock Average Calculator
- Enter your buy prices, one per purchase, separated by commas.
- Enter the shares bought in each purchase, in the same order.
- Read your average price, total shares and total invested.
- Add another buy to see how it moves your average.
Here is what each result means:
| Result | What it means |
|---|---|
| Average price per share | Your total cost divided by your total shares: the real break-even before fees. |
| Total shares | The number of shares you hold across all buys. |
| Total amount invested | The sum of every purchase. |
What Is Stock Averaging?
Stock averaging means buying the same stock at different prices and working out a single average cost per share. Your average price is the total money invested divided by the total shares, and it is the price the stock must pass for your whole position to break even, before fees and taxes.
It matters because it is easy to lose track after several buys. Knowing your true average, rather than the price of your first or last purchase, tells you where you actually stand and what a sale would realise.
How Does the Stock Average Calculator Work?
It is a weighted average: each buy price is weighted by how many shares you bought at it, so a large purchase counts for more than a small one.
Average price = Sum(Price x Shares) / Sum(Shares)- Multiply each buy price by the shares bought at it.
- Add those amounts for your total cost.
- Divide the total cost by the total shares for the average price.
Stock Average Example
Suppose you buy 10 shares at 100, 10 at 90 and 20 at 80.
Calculation: total cost = (10x100) + (10x90) + (20x80) = 1,000 + 900 + 1,600 = 3,500. Total shares = 40. Average = 3,500 / 40 = 87.50.
Even though your first buy was at 100, your average is 87.50 because the larger, cheaper purchase pulls it down. The stock only needs to reach 87.50 for the position to break even.
Averaging Down vs Averaging Up
Buying more shares after the price moves changes your average in a predictable direction.
| Action | What happens | Effect on average |
|---|---|---|
| Averaging down | Buying more below your average | Lowers your average price |
| Averaging up | Buying more above your average | Raises your average price |
Averaging down lowers your break-even but increases your exposure to a stock that is already falling, which can be risky if the decline reflects a real problem. Averaging up is common when adding to a winner. Neither is automatically good; both depend on your view of the stock.
Factors That Change Your Average
The Size of Each Buy
Bigger purchases pull the average toward their price. A large cheap buy can move your average far more than a small expensive one.
How Far the Price Has Moved
Buying well below or above your current average shifts it more than buying near it.
Fees and Taxes
Brokerage fees and taxes raise your real cost per share. This calculator shows the pre-fee average, so add costs for your true break-even.
When to Use a Stock Average Calculator
After Multiple Buys
Find your true average once you have bought a stock several times at different prices.
Planning a Break-even
See the price the stock must reach for your whole position to break even before you decide to hold or sell.
Weighing Another Purchase
Test how a new buy would change your average before you place it. Compare the potential gain with the ROI calculator.
Common Mistakes
1. Using a Simple Average of Prices
Averaging the prices alone ignores how many shares you bought at each. The correct method weights by shares.
2. Forgetting Fees
Brokerage and taxes raise your real cost. The break-even price is a little above the pre-fee average.
3. Misaligning Prices and Quantities
The first price must match the first quantity, and so on. A mismatched order gives a wrong average.
4. Confusing Average with Your First Buy
Your break-even is the average, not the price you first paid.
5. Averaging Down Blindly
A lower average does not fix a bad investment. Consider why the price fell before buying more.
Accuracy and Limitations
The math is exact for the buys you enter, but it is a cost calculation, not investment advice.
What it calculates accurately
- Your weighted average cost per share
- Your total shares and total invested
- How each buy changes the average
What it does not account for
- Brokerage fees, commissions and taxes
- Dividends and corporate actions such as splits
- Currency conversion
- Whether averaging is a wise decision
How We Calculate Your Average
Frequently Asked Questions
How do I calculate my average stock price?
Multiply each buy price by the shares bought at it, add those amounts for your total cost, then divide by your total shares. Buying 10 at 100, 10 at 90 and 20 at 80 gives 3,500 / 40 = 87.50 per share.
What is averaging down?
Averaging down means buying more shares below your current average, which lowers your average cost. It reduces your break-even price but increases your position in a stock that has already fallen.
Does the stock average include fees?
No, this tool shows the average cost before fees. Brokerage commissions and taxes raise your real cost per share, so add them to find your true break-even.
Is my average price my break-even?
Before fees, yes. The average price is the level the stock must reach for your whole position to be worth what you paid. Add fees and any taxes for the exact break-even.
How does a new purchase change my average?
A buy below your current average lowers it, and a buy above raises it, with larger purchases having a bigger effect. Enter the new buy above to see the exact new average.
Why is the weighted average different from a simple average of prices?
A simple average of prices ignores how many shares you bought at each price. The weighted average counts a large purchase more than a small one, which is the correct method.
Can I use this for averaging up?
Yes. Enter every buy, including those above your average. Buying at a higher price raises your average, which the calculator shows automatically.
Does it handle stock splits or dividends?
No. It calculates your average from the buys you enter. Splits, bonus shares and reinvested dividends change your share count and cost basis and would need to be entered as adjusted figures.
Is my information saved?
No. The calculation runs entirely in your browser and nothing you enter is stored or sent anywhere unless you choose to Save a result, which stays only in this browser.
Sources
- Cost basis and average cost (US SEC Investor.gov).
- Weighted average explained (Corporate Finance Institute).
- Dollar-cost averaging basics (US SEC Investor.gov).
Related Guides
Related Calculators
Looking for more investing and money tools?
Explore all finance calculatorsThis calculator is for general education only and is not investment advice. It computes your average cost from the buys you enter; it does not predict prices or account for fees, taxes or currency. Confirm figures with your broker and consider professional advice before trading. Spotted an error? Let us know.
Author
Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.




