Skip to content
Nika

What is Cost of Goods Sold (COGS)?

Cost of Goods Sold (COGS) is the total of all direct costs incurred to produce or acquire the goods and services a business sells during a period. It includes raw materials, direct labour, and manufacturing overhead, and it is deducted from revenue to calculate gross profit on the income statement.

COGS captures only the costs that move in lockstep with sales — the materials in the product, the labour on the production line, the factory overhead absorbed per unit. Indirect costs like marketing, rent for the head office, or administrative salaries are operating expenses, not COGS. The distinction matters because gross profit (revenue minus COGS) is the first profitability line on the income statement and the basis for gross margin, which investors and lenders use to compare businesses within an industry.

COGS is calculated as beginning inventory plus purchases minus ending inventory. A service business with no inventory still has a form of COGS — the direct labour and materials billable to each job. Because COGS directly reduces taxable income, accurate tracking matters: over-stating it understates profit and starves the business of the margin data needed for pricing decisions.

Example

A bakery sells €12,000 of bread in a month. Flour, yeast, and the baker’s hourly wage for that production total €4,800. COGS is €4,800, gross profit is €7,200, and gross margin is 60% — telling the owner that pricing and recipe cost are healthy before rent and wages are considered.

Questions

What is the difference between COGS and operating expenses?

COGS covers only the direct costs of producing or buying what you sell — materials, direct labour, factory overhead. Operating expenses (OpEx) cover everything else: rent, marketing, admin salaries, insurance. COGS scales with sales volume; OpEx is largely fixed regardless of how much you sell.

Is COGS the same as cost of sales?

Essentially yes. "Cost of Goods Sold" is the traditional term for manufacturers and retailers with physical inventory; "Cost of Sales" or "Cost of Revenue" is preferred by service and software businesses where direct labour or hosting costs replace physical goods. Both sit in the same position on the income statement, immediately below revenue.

Related terms