Gross Margin
Gross margin is the percentage of revenue left after subtracting the direct costs of delivering your product (Cost of Goods Sold / COGS). For SaaS, COGS includes hosting, customer support, and payment processing โ typically leaving 70-85% gross margins. For e-commerce, COGS includes product costs, shipping, and packaging โ typically 30-50% margins. Gross margin determines how much money you have to invest in growth (sales, marketing, R&D). A SaaS company with 80% gross margins has $0.80 per revenue dollar for growth; a hardware company with 30% margins has only $0.30.
The Trap
The trap is miscategorizing expenses to inflate gross margin. Some companies exclude customer success, onboarding, or infrastructure costs from COGS to make gross margins look SaaS-like (75%+) when they're really services businesses (50-60%). VCs see through this immediately. If your 'SaaS' has 55% gross margins, you're not a SaaS company โ you're a services company with a software wrapper. The valuation difference is 3-5x.
What to Do
Calculate gross margin honestly: include ALL costs directly related to delivering your product to one more customer. For SaaS: hosting/infrastructure, payment processing, customer support, DevOps. Formula: Gross Margin = (Revenue โ COGS) รท Revenue ร 100. Target: 70%+ for SaaS, 50%+ for marketplace, 30%+ for e-commerce. Track monthly and investigate any decline โ it usually means infrastructure costs are scaling faster than revenue.
Formula
In Practice
Atlassian achieves 83% gross margins on $3.5B+ revenue with zero traditional sales team. Their entire go-to-market is self-serve: developers find Jira or Confluence through word of mouth, sign up online, and pay with a credit card. By eliminating the most expensive COGS line item (sales-assisted onboarding and support), they keep margins 10-15 points above the SaaS median. Their support is primarily community forums and documentation.
Pro Tips
- 01
SaaS gross margins should INCREASE with scale because infrastructure costs have economies of scale โ hosting 1,000 users doesn't cost 10x hosting 100 users. If your margins are flat or declining as you grow, investigate your infrastructure cost structure.
- 02
Gross margin is the single best predictor of a SaaS company's valuation multiple. Companies with 80%+ margins trade at 15-20x revenue; companies with 60% margins trade at 6-8x. Each percentage point matters.
- 03
Customer support is a hidden margin killer. If support costs scale linearly with customers (1 ticket per customer per month), you have a gross margin problem. Invest in self-serve support, documentation, and in-app help to bend the cost curve.
Myth vs Reality
Myth
โHigh gross margins mean the company is profitableโ
Reality
Gross margin only covers direct costs. A SaaS company with 85% gross margins but spending 120% of revenue on sales and marketing is still losing money. Gross margin is a necessary but not sufficient condition for profitability.
Myth
โAll SaaS companies should have 80%+ gross marginsโ
Reality
Infrastructure-heavy SaaS (video streaming, cloud storage, AI/ML) can have 50-65% margins and still be excellent businesses. Snowflake's gross margins are ~67% because compute costs are real. Context matters โ compare within your category.
Try it
Run the numbers.
Pressure-test the concept against your own knowledge โ answer the challenge or try the live scenario.
Knowledge Check
Challenge coming soon for this concept.
Industry benchmarks
Is your number good?
Calibrate against real-world tiers. Use these ranges as targets โ not absolutes.
Gross Margin %
B2B SaaS companiesElite
> 85%
Good
75-85%
Average
65-75%
Below Average
50-65%
Not SaaS
< 50%
Source: KeyBanc Capital Markets 2024 SaaS Survey
Real-world cases
Companies that lived this.
Verified narratives with the numbers that prove (or break) the concept.
Atlassian
2015-2023
Atlassian maintained 83%+ gross margins while scaling to $3.5B revenue by running a no-sales-team model. All customer acquisition happens through product-led growth โ developers discover Jira through peers, sign up free, and upgrade when ready. Customer support is handled through community forums and self-serve documentation, not expensive enterprise support teams.
Gross Margin
83%
Revenue (2023)
$3.53B
Sales Team Size
0 (self-serve)
Active Users
250K+ orgs
Product-led growth isn't just a distribution strategy โ it's a gross margin strategy. Eliminating sales-assisted onboarding and premium support from COGS dramatically improves unit economics.
Peloton
2020-2022
Peloton's Connected Fitness hardware had 25-35% gross margins (typical for hardware), while their digital subscription had 60%+ margins. During the COVID boom, they over-invested in hardware production and logistics. Post-COVID, hardware demand collapsed but fixed manufacturing costs remained, pushing gross margins negative on hardware. They were stuck with $1B+ in unsold inventory.
Hardware Gross Margin (Peak)
35%
Hardware Gross Margin (Trough)
-17%
Subscription Gross Margin
67%
Unsold Inventory
$1B+
Mixing high-margin recurring revenue with low-margin hardware creates a blended number that hides the truth. Track gross margin by product line, not just in aggregate.
Decision scenario
The AI Cost Squeeze
Your SaaS company has 78% gross margins on $400K MRR. You want to add an AI-powered feature using GPT-4 API calls. The feature costs $3 per user per month in API usage. You have 2,000 users paying $200/month average.
MRR
$400K
Gross Margin
78%
COGS
$88K/month
Users
2,000
ARPU
$200/month
Decision 1
Adding the AI feature would increase COGS by $6K/month ($3 ร 2,000 users). Your gross margin would drop from 78% to 76.5%. The product team estimates the feature could reduce churn by 20% (from 3.5% to 2.8% monthly).
Don't add the feature โ you can't afford to lose 1.5 percentage points of gross marginReveal
Add the feature AND raise prices by $15/month to more than offset the $3 COGS โ the AI feature justifies the increaseโ OptimalReveal
Go Deeper: Certifications
The global gold standard for investment analysis and portfolio management fundamentals.
$1,200โ$2,400 (exam + study materials)
via Coursera
The standard license for accountants covering audit, tax, regulation, and financial reporting.
$2,000โ$4,000 (review courses + exam fees)
via Coursera
Covers marketing, finance, operations, and accounting from the Wharton School โ the business fundamentals MBA foundation.
$49/month (Coursera subscription)
via Coursera
Related concepts
Keep connecting.
The concepts that orbit this one โ each one sharpens the others.
Beyond the concept
Turn Gross Margin into a live operating decision.
Use this concept as the framing layer, then move into a diagnostic if it maps directly to a current bottleneck.
Typical response time: 24h ยท No retainer required
Turn Gross Margin into a live operating decision.
Use Gross Margin as the framing layer, then move into diagnostics or advisory if this maps directly to a current business bottleneck.