The Cost of Goods Available and Sold

The cost of goods available for sale equals the beginning value of inventory plus the cost of goods purchased. The cost of goods sold equals the cost of goods available for sale less the ending value of inventory.