Savvy Nickel LogoSavvy Nickel
Ctrl+K

COGS

Financial Statements
Share:

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 ComponentDescriptionExamples
Direct materialsRaw materials and components in the finished productSteel in cars, flour in bread, screens in phones
Direct laborWages of workers directly producing the goodsAssembly workers, machinists, chefs
Manufacturing overheadIndirect costs tied to productionFactory rent, utilities, equipment depreciation
Inbound freightShipping costs to receive materialsDelivery to the factory
Inventory write-downsLoss from obsolete or damaged inventoryExpired food, discontinued products

What COGS Does NOT Include

Excluded ItemWhere It Goes
Selling expenses (commissions, ads)SG&A — below gross profit
Administrative salariesSG&A — below gross profit
R&D spendingR&D expense — below gross profit
Interest paymentsBelow operating income
Outbound shipping to customersSometimes 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:

MethodDescriptionCOGS in Rising Price EnvironmentTax Implication
FIFO (First In, First Out)Oldest inventory sold firstLower COGS; higher profitHigher taxes
LIFO (Last In, First Out)Newest inventory sold firstHigher COGS; lower profitLower taxes (allowed for U.S. tax, not IFRS)
Weighted Average CostAverage cost of all inventoryBetween FIFO and LIFOBetween the two
Specific IdentificationTracks each item individuallyMatches actual costUsed 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

IndustryMajor COGS ComponentsTypical COGS as % of Revenue
Grocery retailFood products, packaging70-75%
Automotive manufacturingSteel, parts, direct labor75-85%
SemiconductorRaw materials, fab costs35-50%
Software (SaaS)Hosting, support, licensing15-30%
RestaurantFood, beverages, kitchen staff25-35%
PharmaceuticalAPI, packaging, manufacturing20-35%
Fast fashion retailGarments, sourcing40-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:

CompanyRevenueCOGSGross ProfitGross Margin
Apple$383B$214B$169B44%
Microsoft$212B$65B$147B69%
Amazon (product)$255B$237B$18B7%
Nvidia$61B$17B$44B72%
General Motors$172B$150B$22B13%

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 SoldVariable CostFixed CostTotal COGSRevenue ($20/unit)Gross Margin
100,000$500K$1,000K$1,500K$2,000K25%
200,000$1,000K$1,000K$2,000K$4,000K50%
500,000$2,500K$1,000K$3,500K$10,000K65%

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.

Back to Glossary
Financial Term DefinitionFinancial Statements