Stock average calculator
Average cost is what you paid for every purchase, including fees, divided by the total number of shares. Completely empty rows are ignored. Break-even sale price equals that average and ignores dividends. Values in USD. Informational only; not investment advice.
Average cost = (quantity × price + fees) ÷ total shares
Average cost
Enter quantity and price for at least one purchase. Empty rows are ignored.
How to calculate average stock cost
- Enter each purchase. Quantity, share price, and optional fee for every lot.
- Add another purchase. Use the button if you bought more than once. Completely empty rows are ignored.
- Read average cost. Total invested divided by total shares is the break-even sale price, before dividends.
Frequently asked questions
- How do you calculate average stock cost?
- Add up what you paid for every lot, including fees, then divide by the total number of shares. Ten shares at $100 and ten at $120 with a $10 fee cost $2,210, so the average is $110.50 a share.
- Are trading fees included in average cost?
- Yes. Each lot's cost is quantity times price plus that lot's fee. Break-even sale price equals that average, ignoring dividends.
- Is this investment advice?
- No. The calculator is for general informational and educational purposes only. It is not a recommendation to buy, sell, or hold any security.