Weighted Average Cost is a method of calculating Ending Inventory cost.
It takes Cost of Goods Available for Sale and divides it by the number of units available for sale (number of goods from Beginning Inventory + Purchases/production).