Step by step
- Enter the purchase price of your first stock order on the first line.
- Add the number of shares bought in that order into the weight field.
- Add a new line for each additional purchase with its price and share count.
- Read the Weighted average result below to see your true cost basis per share.
At a glance
| Scenario | Method to use | Why |
|---|---|---|
| Same number of shares each time | Simple average (mean) | Equal weights give the same result as a weighted average |
| Different share counts per order | Weighted average | Larger orders have more impact on your total cost basis |
| Selling some shares | Keep original cost basis | Selling reduces total shares but does not change your average buy price |
Related questions
How do I use an average calculator for shares?
Type each purchase price as a value and the number of shares as the weight. The weighted average gives your exact average price per share.
What is the difference between simple and weighted stock average?
A simple average treats every order equally, which is inaccurate if you bought 10 shares at one price and 100 at another. A weighted average accounts for share volume.
Does the average calculator in share market save my trades?
Your numbers are kept only in your browser so they remain there next time you visit. Nothing is sent to any server.
More questions: average calculator
- How to Average Numbers
- How to Calculate Weighted Average
- How to Average Grades
- How to Average Percentages
- Can You Average Averages?
- Can an Average Be Negative or Zero?
- How to Calculate Average Speed
- How to Average in Excel and Google Sheets
- How to Fix Average Not Working in Excel
- Mean vs Median: What Is the Difference?
Open the full average calculator →
Updated November 14, 2026.