How to find average price of stock

How can investors calculate their average cost basis for stock holdings?

To find the average price of a stock you own, divide the total amount spent (including all purchases) by the total number of shares you hold. This gives you the average cost per share.