Gross Margin Explained: How Much Profit Your Startup Really Makes
Introduction
For startups and SaaS companies, growth gets most of the attention. But if you ignore gross margin, you can scale yourself into a financial wall. Gross margin tells you how much money you actually keep from each dollar of revenue after paying for the direct costs of delivering your product.
Investors, acquirers, and sophisticated operators look at gross margin early because it answers critical questions:
- Is this business model inherently profitable at scale?
- Can we afford sales, marketing, and R&D with the money left over?
- Will adding more customers increase profits or just increase costs?
For SaaS and subscription businesses, high gross margin is often a non‑negotiable requirement. In this Startupik guide, we will break down what gross margin is, how to calculate it, what “good” looks like, and how to improve it in your startup.
Definition
Gross margin is the percentage of revenue left after subtracting the cost of goods sold (COGS) or, in SaaS, cost of revenue. It shows how efficiently your startup turns revenue into gross profit before overhead like marketing, R&D, and administration.
In plain terms: Gross margin tells you how much profit you really make from selling your core product or service, before you pay for running the company.
Two closely related concepts:
- Gross Profit = Revenue – COGS
- Gross Margin (%) = Gross Profit ÷ Revenue
Formula
The standard formula is:
Gross Margin (%) = (Revenue – COGS) ÷ Revenue × 100
| Component | What It Means | Typical Items (SaaS) |
|---|---|---|
| Revenue | Total money earned from customers in a period, recognized under your accounting policy. | Subscription fees, usage‑based fees, add‑ons, implementation fees (if recognized as revenue) |
| COGS / Cost of Revenue | Direct costs required to deliver your product or service to customers. | Cloud hosting, third‑party APIs, payment processing fees, customer support for active users, implementation labor, data costs |
| Gross Profit | Revenue minus COGS; the money left to cover other operating expenses. | Used to fund sales, marketing, R&D, G&A, and, eventually, profit for shareholders |
For SaaS founders, the tricky part is deciding what belongs in COGS. A useful rule of thumb: If the cost goes away when the customer goes away, it likely belongs in COGS.
Example Calculation
Imagine a B2B SaaS startup with the following monthly numbers:
| Item | Monthly Amount (USD) |
|---|---|
| Subscription revenue (MRR) | $100,000 |
| Cloud hosting (AWS, GCP, etc.) | $12,000 |
| Third‑party APIs & tools tied to usage | $5,000 |
| Payment processing fees | $3,000 |
| Customer support team salaries (pro‑rated for active users) | $8,000 |
| Implementation & onboarding labor | $2,000 |
First, calculate COGS and gross profit:
- Total COGS = 12,000 + 5,000 + 3,000 + 8,000 + 2,000 = $30,000
- Gross Profit = Revenue – COGS = 100,000 – 30,000 = $70,000
Now apply the formula:
Gross Margin (%) = ($100,000 – $30,000) ÷ $100,000 × 100
Gross Margin (%) = $70,000 ÷ $100,000 × 100 = 70%
This startup has a 70% gross margin. That means for every $1 in revenue, $0.70 remains to fund operating expenses and profit, after paying for the direct costs of delivering the software.
Benchmarks
What is a “good” gross margin for a startup? It depends on your business model. Investors compare your numbers to typical ranges for your category.
| Business Type | Weak | Acceptable | Strong |
|---|---|---|---|
| Pure B2B SaaS | < 60% | 60–70% | 70–85%+ |
| Usage‑based / Infrastructure SaaS | < 50% | 50–65% | 65–75%+ |
| Marketplace (take‑rate on GMV) | < 30% | 30–45% | 45–60%+ |
| Hardware + recurring software | < 30% | 30–50% | 50–65%+ |
| Consumer e‑commerce (DTC) | < 35% | 35–55% | 55–70%+ |
Investors evaluating SaaS and software‑led startups on platforms like Startupik typically look for:
- 70%+ gross margin for strong B2B SaaS.
- Improving trend over time as you scale (unit economics getting better).
- Consistency after adjustments for one‑time items or accounting changes.
How to Improve This Metric
Improving gross margin is usually more about architecture and operations than pure cost cutting. Here are practical levers for SaaS and tech startups:
1. Optimize Hosting and Infrastructure
- Right‑size servers and databases; avoid paying for unused capacity.
- Use auto‑scaling and reserved instances where appropriate.
- Refactor expensive features or queries driving disproportionate cloud costs.
2. Reduce Third‑Party Dependency Costs
- Negotiate volume discounts with API, data, or infrastructure providers.
- Replace expensive third‑party services with in‑house solutions when scale justifies it.
- Audit usage regularly; remove unused seats, environments, or tools tied to COGS.
3. Improve Customer Support Efficiency
- Invest in product quality and UX to reduce support tickets per customer.
- Introduce self‑service help centers, in‑app guides, and chatbots for common issues.
- Segment support (e.g., high‑touch for enterprise, scaled support for SMB).
4. Streamline Onboarding and Implementation
- Standardize implementations instead of fully custom setups.
- Productize onboarding with templates, wizards, and repeatable playbooks.
- Charge appropriately for complex implementations so they are not a gross‑margin drag.
5. Adjust Pricing Strategy
- Align pricing with value drivers that do not scale linearly with your costs.
- Introduce higher‑margin plans or add‑ons (analytics, premium support, advanced features).
- Review discounts and grandfathered plans that erode gross margin.
6. Focus on High‑Margin Segments
- Identify customer segments with better gross margins (e.g., lower support needs, fewer integrations).
- Prioritize marketing and sales efforts toward these segments.
- Consider sunsetting features or offerings that consistently deliver low or negative gross margin.
Common Mistakes
Founders often miscalculate or misinterpret gross margin. Some frequent pitfalls:
1. Misclassifying Expenses
- Putting clearly direct costs (cloud, support, implementation) into operating expenses instead of COGS, which artificially inflates gross margin.
- Conversely, overloading COGS with general overhead and making the business look worse than it is.
2. Ignoring Variable vs. Fixed Components
- Treating all COGS as fixed can hide how gross margin will behave at scale.
- Not modeling how usage‑based costs (APIs, data, hosting) increase with growth.
3. Using Bookings Instead of Revenue
- Calculating gross margin on annual contract value (ACV) or bookings instead of recognized revenue.
- This makes margins look better during periods of heavy prepayments or deals with delayed delivery.
4. Not Segmenting by Product or Customer Type
- Looking only at blended gross margin hides money‑losing products or customer cohorts.
- Enterprise customers with heavy support and custom work might have lower gross margin than SMB self‑serve.
5. Comparing Across Business Models
- Benchmarking a marketplace or hardware‑enabled startup against pure SaaS gross margin standards.
- Not adjusting for mixed revenue streams (e.g., low‑margin services plus high‑margin software).
Related Metrics
Gross margin connects to several other key startup metrics:
- Contribution Margin: Gross profit minus variable selling costs (e.g., sales commissions, onboarding labor).
- Customer Lifetime Value (LTV): Uses gross margin to estimate how much profit you earn over a customer’s lifetime.
- CAC Payback Period: Time it takes for gross profit from a customer to cover customer acquisition cost.
- Net Margin / EBITDA Margin: Profitability after all expenses; heavily influenced by gross margin quality.
- Net Revenue Retention (NRR): Combines expansion and churn with gross margin to show how profitable retained revenue is.
Key Takeaways
- Gross margin measures how much profit you keep from each dollar of revenue after direct delivery costs.
- For B2B SaaS, investors generally expect 70%+ gross margin or a clear path to get there.
- Correctly classifying COGS (cloud, support, implementation, usage‑based fees) is essential for an accurate picture.
- Improving gross margin comes from better architecture, vendor management, pricing, and operational efficiency—not just cost cutting.
- Track gross margin over time and by product, segment, and cohort to understand your true unit economics and scalability.


























