COGS
COGS (Cost of Goods Sold)
Quick Definition
Cost of Goods Sold (COGS) is the direct cost attributable to the production of the goods or services a company sold during a period. It is the first expense subtracted from revenue on the income statement, and its relationship to revenue determines gross profit and gross margin.
Gross Profit = Revenue - COGS Gross Margin = Gross Profit / Revenue
What It Means
COGS captures what it actually costs to produce what was sold — not overhead, not administrative salaries, not marketing. Just the direct production costs: raw materials, direct labor, and manufacturing overhead directly tied to production.
Understanding COGS is essential for evaluating business quality. A company with a high gross margin (low COGS relative to revenue) has pricing power or a scalable business model. A company with thin gross margins has little room to absorb cost increases or competitive price pressure.
What COGS Includes
| COGS Component | Description | Examples |
|---|---|---|
| Direct materials | Raw materials and components in the finished product | Steel in cars, flour in bread, screens in phones |
| Direct labor | Wages of workers directly producing the goods | Assembly workers, machinists, chefs |
| Manufacturing overhead | Indirect costs tied to production | Factory rent, utilities, equipment depreciation |
| Inbound freight | Shipping costs to receive materials | Delivery to the factory |
| Inventory write-downs | Loss from obsolete or damaged inventory | Expired food, discontinued products |
What COGS Does NOT Include
| Excluded Item | Where It Goes |
|---|---|
| Selling expenses (commissions, ads) | SG&A — below gross profit |
| Administrative salaries | SG&A — below gross profit |
| R&D spending | R&D expense — below gross profit |
| Interest payments | Below operating income |
| Outbound shipping to customers | Sometimes in COGS, sometimes in SG&A (varies by company) |
COGS Calculation Methods
For companies that carry inventory, the method used to cost that inventory affects COGS and profit:
| Method | Description | COGS in Rising Price Environment | Tax Implication |
|---|---|---|---|
| FIFO (First In, First Out) | Oldest inventory sold first | Lower COGS; higher profit | Higher taxes |
| LIFO (Last In, First Out) | Newest inventory sold first | Higher COGS; lower profit | Lower taxes (allowed for U.S. tax, not IFRS) |
| Weighted Average Cost | Average cost of all inventory | Between FIFO and LIFO | Between the two |
| Specific Identification | Tracks each item individually | Matches actual cost | Used for high-value unique items |
LIFO reserve: Companies using LIFO disclose the "LIFO reserve" — the difference between LIFO and FIFO inventory values — so analysts can compare across methods.
COGS Examples by Industry
| Industry | Major COGS Components | Typical COGS as % of Revenue |
|---|---|---|
| Grocery retail | Food products, packaging | 70-75% |
| Automotive manufacturing | Steel, parts, direct labor | 75-85% |
| Semiconductor | Raw materials, fab costs | 35-50% |
| Software (SaaS) | Hosting, support, licensing | 15-30% |
| Restaurant | Food, beverages, kitchen staff | 25-35% |
| Pharmaceutical | API, packaging, manufacturing | 20-35% |
| Fast fashion retail | Garments, sourcing | 40-55% |
Software companies have among the lowest COGS ratios because their products can be distributed digitally with near-zero marginal cost once developed.
The COGS-Inventory Connection
COGS = Beginning Inventory + Purchases - Ending Inventory
This formula links the income statement (COGS) to the balance sheet (inventory):
| Amount | |
|---|---|
| Beginning inventory (Jan 1) | $50,000 |
| + Purchases during year | $300,000 |
| = Goods available for sale | $350,000 |
| - Ending inventory (Dec 31) | $60,000 |
| = COGS | $290,000 |
If the company sold $500,000 of goods: Gross Profit = $500,000 - $290,000 = $210,000 (42% gross margin)
Gross Margin Analysis: Why It Matters
Gross margin is the most direct measure of a business's pricing power and cost efficiency:
| Company | Revenue | COGS | Gross Profit | Gross Margin |
|---|---|---|---|---|
| Apple | $383B | $214B | $169B | 44% |
| Microsoft | $212B | $65B | $147B | 69% |
| Amazon (product) | $255B | $237B | $18B | 7% |
| Nvidia | $61B | $17B | $44B | 72% |
| General Motors | $172B | $150B | $22B | 13% |
Nvidia's 72% gross margin reflects proprietary chips with minimal competition and strong pricing power. GM's 13% margin reflects commodity manufacturing with thin pricing power and high input costs.
COGS and Economies of Scale
One of the most important dynamics in business is how COGS behaves as volume increases. For many businesses:
- Fixed production overhead (factory lease, equipment) stays constant while revenue grows
- Variable costs (materials, direct labor) scale with volume
- As revenue grows, fixed costs spread over more units, reducing per-unit COGS
Example: A manufacturer with $1M in fixed overhead and $5/unit variable cost:
| Units Sold | Variable Cost | Fixed Cost | Total COGS | Revenue ($20/unit) | Gross Margin |
|---|---|---|---|---|---|
| 100,000 | $500K | $1,000K | $1,500K | $2,000K | 25% |
| 200,000 | $1,000K | $1,000K | $2,000K | $4,000K | 50% |
| 500,000 | $2,500K | $1,000K | $3,500K | $10,000K | 65% |
Gross margin expands dramatically as volume grows, because fixed overhead gets spread more thinly. This is operating leverage — a core value driver for scalable businesses.
Key Points to Remember
- COGS = direct costs of producing what was sold (materials, direct labor, manufacturing overhead)
- Gross Profit = Revenue - COGS; Gross Margin = Gross Profit / Revenue
- The inventory costing method (FIFO, LIFO, average) directly affects reported COGS
- Low COGS as a % of revenue signals pricing power, scalable business model, or proprietary products
- Software and digital businesses have extremely low COGS because marginal reproduction cost is near zero
- COGS trends over time reveal whether input cost inflation or production efficiency is improving or worsening
Common Mistakes to Avoid
- Confusing COGS with operating expenses: SG&A, R&D, and marketing are below the gross profit line — not part of COGS.
- Ignoring inventory method when comparing companies: A company using LIFO in a rising-cost environment reports higher COGS and lower profits than an identical company using FIFO.
- Overlooking COGS trends: Revenue growth with expanding COGS (falling gross margins) is a red flag — the business may be losing pricing power or facing input cost inflation.
Frequently Asked Questions
Q: What is the difference between COGS and operating expenses? A: COGS includes only direct production costs. Operating expenses (SG&A, R&D) are indirect costs not tied to production. Together, COGS + Operating Expenses = Total operating costs. The dividing line between the two determines gross margin.
Q: Do service companies have COGS? A: Service companies often use "Cost of Revenue" or "Cost of Services" instead of COGS, which includes direct labor and other costs directly tied to delivering the service. The concept is identical — direct service delivery costs that determine gross margin.
Q: How does inflation affect COGS? A: Rising input costs (materials, energy, labor) increase COGS directly. Companies with strong pricing power can pass these cost increases to customers, maintaining gross margins. Companies without pricing power absorb the increases, compressing gross margins. Gross margin trends are the clearest signal of pricing power in inflationary periods.
Related Terms
Gross Margin
Gross margin is the percentage of revenue remaining after subtracting the direct cost of goods sold, measuring how efficiently a company produces its products and how much pricing power it has.
Depreciation
Depreciation is the systematic allocation of the cost of a tangible asset over its useful life, reducing taxable income and reflecting the gradual decline in an asset's value on financial statements.
Book Value
Book value is the net worth of a company as recorded on its balance sheet — total assets minus total liabilities — representing what shareholders would theoretically receive if the company were liquidated at accounting values.
EBIT
EBIT measures a company's operating profitability before accounting for how it is financed (interest) or taxed — making it ideal for comparing operating performance across companies with different capital structures and tax situations.
Fair Value
Fair value is the estimated worth of an asset based on rational analysis and market conditions — the price at which it would exchange between a willing buyer and seller, used in both accounting and investment analysis.
Gross Profit Margin
Gross profit margin measures the percentage of revenue remaining after subtracting the cost of goods sold — revealing how efficiently a company produces its products and how much money is available to cover operating expenses and generate profit.
Related Articles
Can a Teenager Start a Business? What You Need to Know
Teenagers can legally run a business in the U.S. - but there are real legal, tax, and practical rules you need to understand first. Here's the honest guide to starting a business before 18.
Burnout Has a Price Tag: The Real Financial Cost of Ignoring It
Burnout is not a personal weakness. It is a measurable state with measurable financial consequences — on your career, your health, your savings, and your long-term earning power. Here is the full accounting.
Job Hopping vs. Staying: The Financial Case for Each Has Changed
Job hopping used to be the clear winner for salary growth. In 2026, that advantage has nearly vanished in most industries. Here is what the latest data says and how to make the right call for your situation.
How to Build Marketable Skills That Protect Your Income in Any Economy
The most durable financial asset you own is not in a brokerage account. It is your ability to earn. Here is how to build skills that hold their value when markets, industries, and employers shift.
The Real Financial Cost of Staying in a Job You Hate
Staying in a miserable job because it pays well is a financial calculation. But most people are running the math wrong — and missing the compounding costs on the other side of the ledger.
