Cost of goods sold (COGS) includes all direct costs incurred to create the products a company offers. Most of these are the variable costs of making the product—for example, materials and labor—while others can be fixed costs, such as factory overhead.
Examples of costs generally considered COGS include:
(Beginning Inventory + Purchases) – Ending Inventory = COGS