About this tool
A stock average price calculator (average cost calculator, also called an average-down or cost-averaging calculator) shows the average price you paid per share after several purchases.
The method is a weighted average: add up price x quantity for every buy to get the total cost, then divide by the total number of shares. Leave a quantity at 0 if you made fewer buys.
The tool also compares the average before and after a new buy, and works out the price a new buy would need to reach a target average. Currency does not matter; use the same one for every field.
Example 1: 10 shares at 50,000, 10 at 40,000 and 20 at 30,000 cost 1,500,000 for 40 shares, so the average is 37,500.
Example 2: adding 20 more shares at 20,000 brings the total to 1,900,000 for 60 shares, an average of 31,666.67, which is 5,833.33 lower than before.
Example 3: to reach a target average of 30,000 with those 20 new shares, the new buy would have to be at 15,000 ((30,000 x 60 - 1,500,000) / 20). Q: Does a lower average price mean I have made money? A: No.
The average is only your cost basis. Whether you are ahead or behind depends on the current price, and buying more also puts more money at risk. Q: Are fees and taxes included? A: No.
Trading fees and taxes change your real cost, so add them yourself if you want. Q: Can I use it for crypto or funds? A: Yes, the arithmetic is the same for anything bought in several lots.
For other money maths see the Compound Interest Calculator and the Percent Calculator. This tool only does arithmetic on the numbers you enter.
It is not investment advice and does not suggest buying or selling anything; it is for reference only and does not replace a licensed professional. Calculated in your browser, nothing is sent.
How to use
- Enter the price and number of shares for each earlier buy. Leave the quantity at 0 for unused rows.
- Enter the price and quantity of the new buy you are considering.
- Optionally enter a target average price.
- Read the average before and after, the total cost and the change.