Cost of Goods Sold (COGS)
Quick Definition
The direct costs attributable to producing the goods or services a company sells, including materials and direct labor.
Key Takeaways
- Direct costs of producing goods or services sold
- Gross Profit = Revenue - COGS
- Does NOT include indirect costs like marketing, admin, or R&D
- Higher COGS as percentage of revenue means lower gross margins
- COGS trends reveal pricing power, input cost pressure, and efficiency
What Is Cost of Goods Sold (COGS)?
Cost of goods sold (COGS) represents the direct costs of producing the products or services that a company sells during a period. For a manufacturer, COGS includes raw materials, direct labor, and manufacturing overhead directly tied to production. For a retailer, it's the wholesale cost of merchandise. For a software company, COGS (often called cost of revenue) might include server hosting costs, customer support, and third-party software licenses.
COGS is the first expense subtracted from revenue on the income statement, producing gross profit. The formula is: Gross Profit = Revenue - COGS. This relationship makes COGS critical for understanding a company's fundamental profitability. Gross margin (gross profit as a percentage of revenue) reveals how much of each revenue dollar remains after covering direct costs. Companies with high gross margins (like software at 70-85%) have more money left for R&D, marketing, and profit than low-margin businesses (like grocery at 25-30%).
For investors, COGS trends reveal important information about a business. Rising COGS as a percentage of revenue might indicate increasing input costs, loss of pricing power, or product mix shift toward lower-margin items. Companies that can reduce COGS through economies of scale, automation, or supply chain optimization tend to expand margins over time. COGS does NOT include indirect costs like marketing, administration, or research — those fall under operating expenses (OpEx). Understanding the distinction between COGS and OpEx is essential for financial analysis, as they behave differently and have different implications for business quality.
Cost of Goods Sold (COGS) Example
- 1A bakery spending $3 on ingredients to make a $10 cake has COGS of $3 and gross profit of $7 per cake.
- 2Apple's COGS includes component costs (chips, screens), assembly labor, and warranty provisions.
- 3SaaS companies report "cost of revenue" instead of COGS, which includes hosting and customer success costs.
Related Terms
Gross Margin
Revenue minus cost of goods sold, expressed as a percentage—measuring the profit retained after direct production costs.
Revenue
The total amount of money a company earns from its business activities before any expenses are deducted, also called sales or top line.
Income Statement
A financial statement showing a company's revenues, expenses, and profits over a specific period, also known as the profit and loss statement.
Operating Margin
Operating income as a percentage of revenue—measuring profitability from core business operations before interest and taxes.
EBITDA (Earnings Before Interest, Taxes, Depreciation & Amortization)
A widely used profitability metric that strips out financing, tax, and non-cash capital costs to approximate operating cash generation.
Net Income
A company's total profit after all expenses, taxes, and costs have been deducted from revenue—the "bottom line" of the income statement.
Expand Your Financial Vocabulary
Explore 130+ financial terms with definitions, examples, and formulas
Browse Fundamental Analysis Terms