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
COGS is the starting domino in a chain of financial calculations that every marketer should understand:
Metric | Formula | Why Marketers Care |
Gross Profit | Revenue − COGS | How much is available to cover marketing, ops, and profit |
Gross Margin | (Revenue − COGS) / Revenue × 100 | Tells you pricing power and scalability |
Contribution Margin | Revenue − COGS − Variable Costs | What each sale actually contributes to covering fixed costs |
Break-Even Point | Fixed Costs / (Price − COGS per unit) | How many units you need to sell before profit kicks in |
Operating Income | Gross Profit − Operating Expenses | The real profitability picture after all costs |
Every one of these metrics starts with COGS. Get COGS wrong, and the entire financial picture downstream is distorted. This is why break-even analysis matters so much for campaign planning, and why I always recommend marketers learn to read an income statement.
What COGS Does NOT Include
This trips up a lot of people, so let me be clear. COGS excludes:
- Marketing and advertising expenses (these are operating expenses)
- Sales team salaries and commissions (also OpEx)
- Research and development (unless directly tied to a sold product)
- Administrative overhead (rent for corporate offices, executive salaries)
- Distribution costs to get product to the customer (some debate here, but generally excluded under GAAP)
The distinction matters because when you calculate gross profit and gross margin, you're measuring the efficiency of your production or delivery, not your go-to-market. Marketing costs come out later, in the operating expenses section. This is why a company can have healthy gross margins but still lose money if their marketing and sales costs are excessive.
Real-World COGS Examples That Matter for Marketers
Apple's iPhone: Apple's COGS on an iPhone 15 Pro Max was estimated at roughly $490–$550 per unit (TechInsights teardown analysis), while the retail price starts at $1,199. That gives Apple a gross margin north of 55% on hardware alone, before services revenue (which has even lower COGS). This is why Apple can spend billions on marketing and still be the most profitable consumer electronics company on earth.
Shopify Merchants: According to Shopify's 2026 analysis, the average eCommerce COGS runs 35–55% of revenue. A merchant selling handmade candles at $30 each with $8 in wax, $2 in jars, and $2 in labor has a per-unit COGS of $12, giving them a 60% gross margin. That's healthy enough to support meaningful ad spend.
HubSpot (SaaS): As a SaaS company, HubSpot's COGS consists primarily of hosting infrastructure, customer support, and onboarding costs. Their gross margin consistently runs around 80–82% (HubSpot annual reports), which is why they can reinvest so aggressively in content marketing and SEO while still growing profitably.
COGS and the Pricing Decision
I think the most practical application of COGS for marketers is in pricing strategy. Here's a framework I've found useful:
- Calculate your per-unit COGS (or per-customer COGS for SaaS)
- Add your target contribution margin (what you need each sale to contribute toward fixed costs and profit)
- Compare against competitive pricing using a competitive value map
- Test price elasticity through A/B testing at different price points
- Set your floor and ceiling with COGS as the absolute floor
Cost-plus pricing (COGS + desired margin) is the simplest approach, but it ignores market dynamics. The best marketers use COGS as a constraint, not a formula. You need to know it cold, but you price based on value perception and competitive positioning.
Reducing COGS: Where Marketing and Operations Overlap
Smart marketers pay attention to COGS reduction because lower COGS means more room for marketing spend (or more profit, depending on the strategy).
Common COGS reduction strategies include negotiating better supplier terms, improving manufacturing efficiency, reducing waste and defects, optimizing shipping and logistics, and switching to lower-cost (but equivalent quality) materials. For digital businesses, COGS optimization looks like moving to more cost-efficient hosting, automating customer support with AI, and reducing churn (which lowers onboarding COGS per retained customer).
CAGR analysis over multiple years can reveal whether your COGS is growing faster or slower than revenue, which is one of the most important trend lines in any business.
Frequently Asked Questions
Is marketing spend included in COGS?
No. Marketing and advertising expenses are classified as operating expenses (OpEx), not COGS. COGS only includes direct costs of producing or delivering the product or service that was sold. Your ad spend, content creation costs, and agency fees fall under sales and marketing expense on the income statement.
How do you calculate COGS for a service-based business?
For service businesses, COGS includes the direct labor costs of the people delivering the service, plus any materials or tools consumed in delivery. A marketing agency's COGS would include account manager salaries, freelancer payments for client deliverables, and production costs, but not business development or administrative salaries.
What is a good COGS percentage?
It varies dramatically by industry. SaaS companies target 10–20% COGS (80–90% gross margin). Retail typically runs 40–70%. eCommerce sits around 35–55%. The key question isn't whether your COGS is "good" in absolute terms, but whether your resulting gross margin gives you enough room to cover operating expenses and generate profit.
How does COGS differ from total expenses?
COGS covers only the direct production and delivery costs. Total expenses include COGS plus all operating expenses (marketing, sales, R&D, G&A), plus interest, taxes, and depreciation. The gap between COGS and total expenses is where your entire go-to-market operation lives.
Can COGS be zero?
Technically, yes. A solo consultant selling advice with no tools, materials, or support costs could argue their COGS is near zero. In practice, even digital products have some COGS (hosting, payment processing, support). But the closer to zero, the higher the gross margin, which is why information products and software attract so much investor interest.
Why does COGS matter for marketing ROI calculations?
Because ROI should be calculated against gross profit, not revenue. If you spend $10,000 on ads generating $50,000 in revenue but your COGS is $35,000, your gross profit is $15,000. Your actual ROI is 50% ($15K − $10K = $5K profit / $10K spend), not the 400% you'd calculate against raw revenue.
How often should a company recalculate COGS?
Most companies calculate COGS monthly or quarterly. However, in fast-moving industries with volatile input costs (like food, energy, or commodities), weekly or even daily COGS monitoring is common. Marketers should review COGS at least quarterly to ensure pricing and margin assumptions still hold.
What happens when COGS increases but prices stay the same?
Gross margin gets compressed, which means less money available for marketing, operations, and profit. This is exactly what happened to many consumer brands during the 2021–2023 inflation wave. Companies that didn't adjust prices saw their margins shrink, forcing cuts to marketing budgets. Understanding COGS protects you from being blindsided by margin compression.
Sources & References
- Shopify — Cost of Goods Sold: COGS Examples & Formula (2026)
- NetSuite — Cost of Goods Sold (COGS): What It Is & How to Calculate
- SaaS Capital — What Should Be Included in COGS for My SaaS Business (2025)
- ChurnZero — How to Calculate COGS
- Square — What Is Cost of Goods Sold and How Do You Calculate It?
- Investopedia — Cost of Goods Sold (COGS)
- HubSpot — Investor Relations / Annual Reports
- Software Equity Group — How to Calculate COGS for SaaS Companies
- Finmark — Cost of Goods Sold: COGS Examples & Formula
- Wikipedia — Cost of Goods Sold
Written by Conan Pesci | April 3, 2026 | Markeview.com
Markeview is a subsidiary of Green Flag Digital LLC.