We believe math and science education should be free and accessible to everyone. Why education matters >

Stock Average Calculator

Find your average cost per share after buying the same stock at different prices. Enter up to 5 purchases with shares and price per share, and the calculator will compute your weighted average cost basis.

Your average cost basis is the total amount you spent divided by the total shares you own. If you bought 50 shares at $100 and then 30 shares at $85, your total cost is $7,550 for 80 shares, giving you an average price of $94.38 per share.

Dollar-cost averaging (DCA) is a strategy where you buy a fixed dollar amount of stock on a regular schedule regardless of price. This naturally lowers your average cost over time because you buy more shares when the price is low and fewer when it is high. Tracking your average cost helps you see how DCA is working for you.

Your cost basis matters at tax time. When you sell shares, your capital gain or loss is based on the difference between the sale price and your average cost basis (for shares held in a brokerage account using the average cost method). Knowing your exact average cost helps you estimate tax liability before selling.

Did this solve your problem?

Frequently Asked Questions

Search Calculators

Search across all calculator categories