Back
SubmitSponsorTemplatesGlossaryBlog
Members
Backlog
Founders
Resources
Experiments
Directories
PrivacyTerms
©2026 early.tools@itsjulianpaul
Back
SubmitSponsorTemplatesGlossaryBlog
Members
Backlog
Founders
Resources
Experiments
Directories
PrivacyTerms
©2026 early.tools@itsjulianpaul
Sponsor
 

COGS (Cost of Goods Sold)

COGS (Cost of Goods Sold) is the direct cost of delivering your product to each customer. For a SaaS business that means hosting, third-party API fees, and payment processing, not sales, marketing, or general overhead.

What is COGS (Cost of Goods Sold)? SaaS Formula and Benchmarks

Formula: Gross Margin = (Revenue - COGS) / Revenue Example: A SaaS product charges $50/month per customer. Hosting, database, and Stripe fees cost $8/month per customer. COGS = $8, Gross Margin = ($50 - $8) / $50 = 84%. What counts as COGS for software: cloud hosting (AWS, Vercel), third-party API costs (OpenAI, Twilio, Stripe processing fees), and customer support directly tied to delivering the product. What doesn't count: sales salaries, marketing spend, and product development, those are operating expenses, not cost of delivery. Why COGS matters: it sets the ceiling on your gross margin, which in turn sets how much is left to cover CAC, salaries, and profit. Public SaaS companies typically run 70-85% gross margins. If COGS eats more than 30% of revenue, something is off, usually unoptimized infrastructure, expensive third-party API calls billed per usage, or a support-heavy product that hasn't been made self-serve. COGS creeps up fast in AI products specifically. A wrapper around an LLM API can look fine at launch, then margins collapse once usage scales because the AI service is billed per token per customer. Model this before pricing, not after signing a hundred customers you can't serve profitably.

Examples

An AI writing tool charges $29/month and spends $11/month per active user on model API calls. COGS is $11, gross margin is 62%, well below the 80% benchmark most SaaS investors expect, signaling the pricing or model choice needs to change before scaling.
Sponsor
 

Related Terms

CAC (Customer Acquisition Cost)

CAC is how much it costs to acquire one paying customer. Calculate it by dividing total sales and marketing spend by the number of new customers acquired in that period.

Contribution Margin

Contribution margin is revenue per customer minus variable costs (COGS). Shows how much each sale contributes to covering fixed costs and profit.

Gross Margin

Gross margin is revenue minus cost of goods sold, expressed as a percentage. Shows how much profit you keep after delivering your product or service.

SaaS (Software as a Service)

SaaS is software delivered over the internet on a subscription basis. Instead of buying and installing software, users access it through a browser. No servers to manage, no updates to install.

Unit Economics

Unit economics measures profitability per customer. It's the revenue one customer generates (LTV) minus the cost to acquire and serve them (CAC + COGS). Positive unit economics = you make money on each customer.

A/B Testing

A/B testing (split testing) means showing two versions of something to different users and measuring which performs better. Version A vs. Version B. Data wins, opinions lose.

View all terms