Goods Sold Equation

Cost of Goods Sold is calculated using the following equation:
Cost of Goods Sold = Beginning Inventory + Inventory Purchases – End Inventory