Average Stock Price Calculator: Average Down & Cost Basis
Add your buys and get your average price per share, total invested, profit or loss, and how many shares to buy to reach a target average.
Add the current price to see your profit or loss. Add a target average to see how many more shares you would need to buy at the current price to reach it.
About this tool
What is an average stock price calculator?
When you buy the same stock, ETF or coin several times at different prices, your real cost per share is the weighted average of all purchases. This calculator adds up every buy and shows your average price, your total invested amount and, if you enter the current price, your profit or loss.
How to use it
- Enter the number of shares and the buy price for each purchase. Use Add purchase for more rows.
- Optionally enter the current price to see your value, profit or loss and return.
- Optionally enter a target average to see how many more shares you must buy at the current price to reach it.
Formula
Average price = total money spent / total shares. To reach a target average T by buying n more shares at price P: n = shares x (average - T) / (T - P).
Example
You buy 100 shares at 10 and 50 shares at 16. You spent 1,800 for 150 shares, so your average price is 12. If the price drops to 9 and you want an average of 11, you need to buy 75 more shares at 9: (1,800 + 675) / 225 = 11.
FAQ
What does averaging down mean?
Buying more of an asset after its price has fallen, which lowers your average cost per share. It also increases your exposure, so it is not risk-free.
Does it include fees?
No. Add fees to the buy price if you want them in your cost basis.
Can I use decimals?
Yes, both 12.5 and 12,5 work, so it also suits fractional shares and crypto.
This tool is for calculation only and is not financial advice.
