Citation:
Weighted average cost is a method used to determine the cost of goods sold and ending inventory in a perpetual inventory system. It involves calculating the average cost of all units available for sale, with the cost of each unit weighted by the quantity of that unit.