Cost of goods available for sale – closing inventory =
Opening inventory
Cost of opening inventory
Work in progress ending inventory
Cost of goods sold
Cost of goods sold
Cost of goods available for sale – closing inventory = Cost of goods sold.