I spent the first two years of my marketing career never once looking at a COGS line. I'd build campaigns, optimize funnels, celebrate conversion rates, and genuinely believe I was driving profit. Then a CFO pulled me aside after a quarterly review and asked, "Do you know what it actually costs us to deliver what you're selling?" I didn't. And that ignorance was costing the company more than any underperforming ad set ever could.

Cost of Goods Sold is the financial concept that separates marketers who understand business from marketers who just understand marketing. It's the total direct cost a company incurs to produce and deliver the products or services it sells. And if you're setting prices, forecasting margins, or claiming ROI on campaigns without understanding COGS, you're building on sand.

What Is Cost of Goods Sold (COGS)?

COGS represents every direct cost tied to producing a product or delivering a service that was actually sold during a specific period. According to Investopedia, COGS includes the cost of materials, direct labor, and manufacturing overhead directly tied to production. It does not include indirect expenses like distribution, sales force costs, or marketing spend.

The formula is straightforward:

COGS = Beginning Inventory + Purchases During the Period − Ending Inventory

For a physical product company, this is relatively intuitive. You started with $50,000 of inventory, bought $200,000 more throughout the year, and ended with $30,000 unsold. Your COGS is $220,000. That's the direct cost of everything you actually moved off the shelf.

But here's where it gets interesting for modern marketers: COGS looks very different depending on your business model.

COGS Across Different Business Models

The shift toward digital, SaaS, and service-based businesses has made COGS a more nuanced concept than it was in the era of pure manufacturing. What counts as a "direct cost" depends entirely on what you're selling.

Business Model Typical COGS Components Typical COGS % of Revenue
Physical Products (Retail) Raw materials, manufacturing labor, packaging, freight 40–70%
eCommerce / DTC Product cost, fulfillment, shipping, payment processing 35–55%
SaaS Hosting (AWS/GCP), DevOps, customer support, third-party APIs 10–25%
Professional Services Billable employee salaries, contractor costs, project tools 50–70%
Digital Marketing Agency Account manager salaries, media buying labor, production costs 45–65%

Sources: Shopify, SaaS Capital, NetSuite

For SaaS companies specifically, ChurnZero notes that COGS includes hosting infrastructure, customer success teams, and any third-party software embedded in the delivered product. A thriving SaaS business should target gross margins between 80–90%, meaning COGS of just 10–20% of revenue. That's radically different from a retailer operating at 40–70% COGS.

I find this comparison fascinating because it explains why investors value SaaS companies at such high multiples. When your COGS is 15%, every incremental dollar of revenue drops far more profit to the bottom line than when your COGS is 60%.

Why Marketers Need to Understand COGS

Here's my honest take: most marketers treat COGS as "the finance team's problem." That's a mistake. COGS directly impacts every pricing decision, every margin calculation, and every ROI claim you'll ever make.

Consider a simple scenario. You're running a Facebook ad campaign that generates $100,000 in revenue at a $20,000 ad spend. Your ROAS is 5x. Sounds great, right? But if your COGS on those products is $65,000, your gross profit is only $35,000. Subtract that $20,000 ad spend and you're left with $15,000 before operating expenses even enter the picture. That "5x ROAS" campaign is actually razor-thin.

Now run the same scenario with a SaaS product where COGS is $12,000. Gross profit becomes $88,000. Same $20,000 ad spend leaves you $68,000. The unit economics are completely different, and understanding contribution margin is what separates strategic marketers from tacticians.

A 2024 NIQ report found that a 1% price increase can boost margins by around 11%, provided the same volume is sold. But you can't make intelligent pricing decisions without knowing your COGS floor. Your COGS sets the price floor; price elasticity helps you find the ceiling.

How COGS Connects to Other Financial Metrics