how to calculate the cost of goods sold
To compute cost of goods sold, start with the cost of beginning inventory of finished goods, add the cost of goods manufactured, and then subtract the cost of ending inventory of finished goods. Suppose your chocolate milk factory started out with $2,000 worth of beginning inventory of finished goods.