🔮
Markeview Website (Live) - Marketing Strategy & Trends Website
/
🧭
Marketing Frameworks
/
💰
Financial Concepts
/
🏭
COGS (Cost of Goods Sold)
🏭

COGS (Cost of Goods Sold)

COGS is the number that sits between your revenue line and your gross profit. It represents the direct costs of producing or acquiring the goods you sell. Get COGS wrong and every profitability metric downstream is wrong too: gross margin, contribution margin, break-even, and ultimately your ability to evaluate whether marketing spend is generating profitable growth.

I've seen marketers treat COGS as an accounting problem that's not their concern. That's a mistake. COGS determines your pricing floor, your margin for marketing investment, and your competitive position on price.

The Definition

COGS includes all direct costs attributable to the production or acquisition of goods sold during a period:

For manufacturers: Direct materials + Direct labor + Manufacturing overhead

For retailers: Purchase price of inventory + Freight-in costs + Import duties

For SaaS companies: Cloud hosting + Payment processing + Customer support + Third-party software licenses

The formula:

COGS = Beginning Inventory + Purchases During Period - Ending Inventory

Or for service/SaaS businesses:

COGS = Sum of all direct costs of delivering the service

What's In and What's Out

Included in COGS
NOT Included in COGS
Raw materials
Marketing and advertising
Direct labor (production workers)
Sales team salaries
Manufacturing overhead
Office rent (non-production)
Packaging materials
R&D expenses
Freight-in (inbound shipping)
General and administrative
Factory utilities
Depreciation on office equipment
Quality control
Executive compensation

The distinction matters because COGS is subtracted from revenue to calculate gross profit, while operating expenses (the "NOT included" column) come out below the gross profit line. This is why two companies with identical revenue can have very different gross margins.

Inventory Valuation Methods

How you value inventory directly affects COGS and therefore reported profitability:

FIFO (First In, First Out): Oldest inventory costs are expensed first. In inflationary environments, FIFO produces lower COGS and higher gross profit because older, cheaper inventory hits the P&L first. Most consumer goods companies use FIFO.

LIFO (Last In, First Out): Newest inventory costs are expensed first. In inflation, LIFO produces higher COGS and lower gross profit but lower tax liability. Only allowed under U.S. GAAP (not IFRS). Companies like ExxonMobil use LIFO for tax advantages.

Weighted Average Cost: Averages all inventory costs together. Smooths out price fluctuations. Common in industries where individual units are indistinguishable (chemicals, commodities, grain).

Method
In Inflation: COGS
In Inflation: Gross Profit
In Inflation: Tax Bill
FIFO
Lower
Higher
Higher
LIFO
Higher
Lower
Lower
Weighted Average
Middle
Middle
Middle

Why Marketers Should Care About COGS

Pricing Strategy

COGS sets your pricing floor. You cannot sustainably price below COGS (that's called losing money on every sale). Your gross margin = (Revenue - COGS) / Revenue tells you how much room you have for operating expenses, marketing investment, and profit.

If COGS is 70% of revenue, you have 30% gross margin to cover everything else. If COGS is 20% (typical SaaS), you have 80% gross margin. That difference determines how aggressively you can invest in customer acquisition.

Product Line Decisions

Different products have different COGS structures. A product with $50 COGS and $200 revenue (75% gross margin) is a much better marketing investment target than a product with $150 COGS and $200 revenue (25% gross margin). Same revenue, radically different contribution to the business.

Competitive Intelligence

Publicly traded competitors report COGS. If your competitor has 60% gross margin and you have 45%, they can outspend you on marketing dollar-for-dollar and still be more profitable. Understanding competitive COGS structures reveals why some competitors can afford pricing strategies you can't.

COGS by Industry (2024-2025 Benchmarks)

Industry
Typical COGS % of Revenue
Resulting Gross Margin
SaaS / Software
15-30%
70-85%
Financial Services
20-40%
60-80%
Pharmaceuticals
25-35%
65-75%
Consumer Electronics
55-70%
30-45%
Retail / E-commerce
60-80%
20-40%
Restaurants
65-80%
20-35%
Automotive
75-88%
12-25%
Grocery
72-78%
22-28%

What's Changed Recently

SaaS COGS are rising due to AI infrastructure costs. Traditional SaaS had near-zero marginal delivery costs. AI-powered SaaS products carry meaningful compute costs for model inference, training, and data processing. Companies like OpenAI, Anthropic, and AI-feature-heavy SaaS products have COGS structures that look more like cloud infrastructure than traditional software.

Supply chain transparency improved COGS visibility. Post-pandemic supply chain investments in tracking, diversification, and nearshoring changed COGS structures across manufacturing and retail. Companies that shortened supply chains often increased COGS (nearshoring is more expensive) but reduced risk and improved speed.

Inflation impact on COGS drove pricing decisions across industries. Companies that successfully passed COGS increases to customers maintained margins. Companies that absorbed increases saw margin compression. The 2022-2024 inflation cycle was essentially a stress test of every company's pricing power.

Frequently Asked Questions

What's the difference between COGS and operating expenses?

COGS are direct costs of producing or acquiring what you sell. Operating expenses are indirect costs of running the business (marketing, rent, salaries, R&D). COGS comes out of revenue to get gross profit. Operating expenses come out of gross profit to get operating income. Both matter, but they tell you different things.

How does COGS work for a service business?

For services, COGS includes the direct labor costs of delivering the service plus any direct materials or tools. A consulting firm's COGS is consultant salaries and travel. A SaaS company's COGS is hosting, payment processing, and support. The concept is the same: what does it cost to deliver the thing you sell?

Can COGS be zero?

Effectively, yes. Digital products like e-books, downloaded software, or online courses have near-zero marginal COGS once created. This is why digital products can achieve 90%+ gross margins. But even digital products have some COGS: hosting, bandwidth, payment processing.

Why do inventory valuation methods matter for marketing?

Because they affect reported gross margin, which affects how much budget is available for marketing. In inflationary periods, a company using FIFO reports higher gross margins (and profits) than the same company using LIFO. This can affect marketing budget approvals and investment decisions.

Sources & References

  1. Corporate Finance Institute. "Cost of Goods Sold (COGS)." corporatefinanceinstitute.com
  2. Investopedia. "Cost of Goods Sold (COGS) Explained." investopedia.com
  3. Wall Street Prep. "COGS Formula." wallstreetprep.com
  4. Chernev, A. (2025). Strategic Marketing Management, 11th Edition. Cerebellum Press.

Written by Conan Pesci | Last Updated: April 2026