Use this calculator to determine the average cost basis for multiple stock purchases. Enter up to 25 purchases below.
Calculating the average cost of your stock purchases is crucial for tracking your investment performance and determining capital gains or losses. This guide will walk you through the process of calculating the average stock cost.
The formula for calculating the average stock cost is:
$$\text{Average Cost} = \frac{\text{Total Cost}}{\text{Total Shares}}$$
Where:
Let's calculate the average cost for the following stock purchases:
Total Shares = 100 + 50 + 75 = 225 shares
Total Cost = (100 × $50) + (50 × $45) + (75 × $55)
Total Cost = $5,000 + $2,250 + $4,125 = $11,375
$$\text{Average Cost} = \frac{\$11,375}{225} = \$50.56\text{ per share}$$
Therefore, the average cost per share for these purchases is $50.56.
This bar chart illustrates the price per share for each purchase and the calculated average cost. The average cost (in red) provides a clear visual representation of how it relates to individual purchase prices.