COGS vs Operating Expenses — What's the Difference?

~1 min read

The distinction between COGS and operating expenses (OpEx) shapes how investors evaluate a business's unit economics.

Where Each Appears on the P&L

Revenue                    $1,000,000
- COGS                       ($400,000)   ← Direct production costs
= Gross Profit                $600,000    ← Gross margin: 60%

- R&D                        ($100,000)
- Sales & Marketing          ($200,000)   ← Operating expenses (OpEx)
- General & Administrative    ($80,000)
= Operating Income (EBIT)    $220,000     ← Operating margin: 22%

What Goes Where

Cost COGS or OpEx? Why
Raw materials COGS Directly in the product
Factory worker wages COGS Direct production labor
Sales rep salary OpEx Indirect — enables sales, not production
Customer support Depends If pre-sale or general: OpEx. If post-sale fulfillment for SaaS: COGS
Cloud hosting (SaaS) COGS Cost incurred per customer served
R&D OpEx Future product, not current delivery

Why the Distinction Matters for Investors

High gross margin (low COGS ratio) signals pricing power and scalable unit economics. Operating expenses can be cut in a downturn; COGS is harder to reduce without cutting quality or volume. Investors compare gross margin first, operating margin second.

Calculate it yourself — free

Use our free COGS Calculator to run the numbers for your own business.

Open COGS →