Average Share Price Calculator

Calculate average stock purchase price

How the Average Share Price Calculator Works

The Average Share Price Calculator helps investors determine the weighted average cost per share when they have made multiple purchases of the same stock at different prices. Whether you are building a position over time through dollar cost averaging or adding to a holding during market dips, knowing your true average cost is essential for tracking investment performance.

Simply enter the number of shares and the price per share for each purchase. The calculator multiplies each purchase's shares by its price to get the total cost, sums all costs and shares, then divides the total investment by the total number of shares to produce your average price.

Formula

Average Price = Total Investment / Total Shares

For example, if you purchased 100 shares at $50 (= $5,000) and later bought 200 shares at $60 (= $12,000), your total investment is $17,000 for 300 shares. The average share price is $17,000 ÷ 300 = $56.67 per share.

Understanding Cost Basis and Dollar Cost Averaging

Your cost basis is the original value of a stock for tax purposes, typically the purchase price plus any commissions or fees. When you sell shares, the difference between the sale price and your cost basis determines your capital gain or loss. The IRS allows several methods for calculating cost basis, including average cost, FIFO (first in, first out), and specific identification.

Dollar cost averaging (DCA) is a popular investment strategy where you invest a fixed dollar amount at regular intervals, regardless of the share price. This disciplined approach helps smooth out the effects of market volatility — you automatically buy more shares when prices are low and fewer shares when prices are high, which can result in a lower average cost per share over the long term.

Tracking your average share price allows you to see at a glance whether your position is currently profitable. If the market price is above your average cost, you are in a gain; if below, you are in a loss. This insight is critical for making informed decisions about when to add to your position, take profits, or cut losses.

Frequently Asked Questions

Average share price (also called average cost basis) is the weighted average price you paid per share across multiple purchases. It is calculated by dividing your total investment amount by the total number of shares purchased. This figure helps investors understand their true cost per share when they have bought the same stock at different prices over time.

Cost basis is calculated by adding up the total amount spent on all purchases of a stock (including commissions and fees) and dividing by the total number of shares owned. For example, if you bought 100 shares at $50 and 200 shares at $60, your total cost is $17,000 for 300 shares, giving an average cost basis of $56.67 per share.

Dollar cost averaging (DCA) is an investment strategy where you invest a fixed amount of money at regular intervals regardless of the stock price. This approach reduces the impact of market volatility because you buy more shares when prices are low and fewer shares when prices are high, resulting in a lower average cost per share over time.

Tracking your average share price is essential for determining your profit or loss on an investment, calculating capital gains taxes when you sell, evaluating your investment performance, and making informed decisions about whether to buy more shares or sell. It provides a clear benchmark against the current market price.

Related tools: ROI Calculator for measuring investment returns, Compound Interest Calculator for growth projections, or Tax Calculator for estimating capital gains tax.

This calculator is for informational purposes only and does not constitute financial advice.

Feel free to browse if anything stands out.

Affiliate Disclosure: Some of the links on this page are affiliate links. This means that if you click a link and make a purchase, we may earn a small commission at no additional cost to you. Prices and availability are subject to change. The information provided here is for general informational purposes only and should not be considered financial or professional advice.