Cost of Goods Sold (COGS)
Cost of Goods Sold (COGS) represents the direct costs attributable to the production of the goods or services a company sells. It is the single deduction that separates revenue from gross profit — and correctly classifying costs as COGS vs. operating expenses is one of the most important distinctions in financial reporting.
What Counts as COGS?
COGS includes only costs that are directly tied to production. The general rule: if the cost would not exist without producing a specific unit of product, it belongs in COGS.
For Product Businesses (Manufacturing & Retail)
- Raw materials and components
- Direct labor (wages for assembly-line workers, machine operators)
- Manufacturing overhead (factory rent, utilities for the production facility, equipment depreciation)
- Freight-in (shipping costs to bring raw materials to the factory)
- Packaging directly associated with the product
- Inventory purchases (for retailers — the cost of buying goods for resale)
For Service Businesses
- Direct labor of employees delivering the service (consultants, technicians, developers)
- Materials consumed in providing the service
- Subcontractor costs
- Software licensing directly required to deliver the service
What Does NOT Count as COGS?
These costs are classified as Operating Expenses (OPEX) and appear further down the income statement:
- Marketing and advertising
- Sales commissions and salaries (for sales staff)
- Rent for corporate offices or retail stores (not production facilities)
- Administrative salaries (executives, HR, accounting)
- Research and development
- Legal and professional fees
- Depreciation on non-production assets
Why the Classification Matters
The COGS vs. OPEX distinction directly affects gross profit — and therefore gross margin, one of the most scrutinized metrics by investors and analysts.
| Scenario | Revenue | COGS | Gross Profit | Gross Margin |
|---|---|---|---|---|
| Correct classification | $1M | $400K | $600K | 60% |
| Misclassified (some OPEX moved to COGS) | $1M | $500K | $500K | 50% |
| Misclassified (some COGS moved to OPEX) | $1M | $300K | $700K | 70% |
Misclassification can mislead investors about the fundamental economics of the business. This is why accounting standards (GAAP/IFRS) have strict rules about what belongs in COGS.
COGS and Inventory Accounting
For product businesses, COGS is tied directly to inventory:
COGS = Beginning Inventory + Purchases − Ending Inventory
This means COGS is affected by inventory accounting methods:
| Method | Effect on COGS | Effect on Gross Profit |
|---|---|---|
| FIFO (First In, First Out) | Lower COGS (older, cheaper inventory sold first) | Higher gross profit |
| LIFO (Last In, First Out) | Higher COGS (newer, more expensive inventory sold first) | Lower gross profit |
| Weighted Average | COGS falls between FIFO and LIFO | Moderate gross profit |
During periods of rising costs (inflation), FIFO produces higher gross profit and higher taxes. LIFO produces lower gross profit and lower taxes. Most companies outside the US use FIFO or weighted average; LIFO is primarily a US tax strategy.
References
- Financial Accounting Standards Board (FASB) — ASC 330: Inventory
- Investopedia — Cost of Goods Sold (COGS) / Investopedia
- The Difference Between Gross Profit and Net Profit — Where COGS fits in the profit calculation
- The Income Statement — The financial statement that reports COGS
- Profit Margins — How COGS classification affects gross margin analysis