Gross Margin
The full value of a customer contract over its entire term, including all fees and commitments.
What Is Gross Margin?
Gross margin is the share of revenue left after subtracting the direct costs of delivering the product, expressed as a percentage. It shows how much of every dollar of revenue is available to fund sales, marketing, engineering, and profit. Gross margin is the ceiling on every other margin a company reports.
How Gross Margin Works
Gross margin separates the cost of making the sale from the cost of serving it. Everything required to deliver the product to a paying customer sits in cost of revenue, or COGS. Everything spent to win the customer or run the company sits below the line in operating expense.
The number matters because it is multiplicative, not additive. At 80 percent gross margin a company keeps 80 cents of each new dollar to spend on growth. At 55 percent it keeps 55 cents, so it needs roughly 45 percent more revenue to fund the same sales team. That gap compounds every quarter and it is the single largest driver of how much runway a given ARR figure actually buys.
How to Calculate Gross Margin
Formula: (Revenue - Cost of Revenue) / Revenue x 100
Worked example. A SaaS company finishes the year with $10,000,000 in revenue. Cost of revenue totals $2,600,000: $1,100,000 in cloud hosting, $850,000 in customer support and technical account management, $350,000 in third party software embedded in the product, and $300,000 in payment processing and delivery infrastructure.
Gross profit is $10,000,000 minus $2,600,000, or $7,400,000. Gross margin is $7,400,000 / $10,000,000 x 100, which equals 74 percent. If that company also books $1,500,000 of professional services at a 15 percent margin, blended gross margin falls to roughly 66 percent even though the software has not changed at all.
Gross Margin in Plain English
If you sell a subscription for $100 and it costs you $25 in servers, support, and processing to deliver it, you keep $75. That $75 pays the sales team, the engineers, the office, and whatever is left over is profit. Gross margin does not tell you whether a company is profitable. It tells you how much room the company has to become profitable.
What Belongs in COGS for a SaaS Company
Cloud and hosting costs, the support organization that serves paying customers, customer success headcount tied to service delivery rather than expansion selling, third party licenses and data feeds embedded in the product, payment processing fees, and amortization of capitalized development. Professional services delivery belongs there too, which is why services heavy companies report a blended and a software only figure.
Sales, marketing, research and development, and general and administrative costs stay out. The most common classification error is burying support or infrastructure engineering in operating expense, which flatters gross margin and makes benchmarking meaningless. The second most common is the reverse: loading customer success entirely into COGS when half that team is really selling expansion.
SaaS Gross Margin Benchmarks and the Rule of 40
Pure software companies typically report 70 to 85 percent, with the strongest at or above 80 percent. Products with heavy inference, streaming, or transaction infrastructure often land in the 50 to 70 percent band, and that is a structural feature of the product, not a sign of sloppy operations. Blended margin below 60 percent in a company calling itself SaaS usually signals a large services component.
The Rule of 40 adds growth rate to profit margin and looks for 40 or better. Gross margin sets the upper bound on the profit half of that equation, so two companies growing at the same rate with a 20 point margin gap are not comparable businesses. This is also why investors apply lower revenue multiples to lower margin revenue.
Gross Margin vs Contribution Margin in Unit Economics
Gross margin is a company level view. Contribution margin goes one layer deeper by subtracting the variable costs attributable to a specific customer, segment, or product, including the sales and marketing spend that produced the account. A segment can show healthy gross margin and negative contribution margin if it costs more to acquire and serve than it returns.
For real unit economics, pair contribution margin with CAC payback and lifetime value. Gross margin tells you the quality of the revenue; contribution margin tells you whether a particular slice of it is worth pursuing.
Gross Margin and the Closing Motion
Discounting is the fastest way to destroy gross margin, and most discounts are not granted over value. They are granted over timing, when a buyer wants to spread payments and the seller wants cash now. A 15 percent prepay discount on a 74 percent margin business hands over roughly a fifth of gross profit to solve a cash problem, permanently, at Propose and Close. Ratio removes that trade. With Ratio Trade the buyer pays monthly or quarterly while the seller collects the full total contract value upfront, so Collect no longer depends on conceding price. Ratio Boost does the same for signed recurring contracts, converting them to upfront capital without dilution or warrants, so gross margin stays intact.
Common Questions About Gross Margin
What is the difference between gross margin and gross profit?
Gross profit is the dollar amount left after cost of revenue. Gross margin is that same amount stated as a percentage of revenue. Profit tells you scale, margin tells you efficiency, and comparing companies of different sizes requires the percentage.
Should customer support be included in COGS?
Yes, when the support exists to keep paying customers running. Support is part of delivering the service. Teams that sell renewals and upsells sit in sales and marketing instead, and companies that mix the two make their gross margin unreadable to anyone outside.
Can gross margin improve as a company scales?
Usually, yes. Infrastructure commitments get negotiated down, support ratios improve with better product and documentation, and fixed elements of cost of revenue spread across more customers. Expect gradual gains of a few points per year, not step changes, unless the delivery model itself changes.
Key Takeaways
- Gross margin is revenue minus cost of revenue, divided by revenue, and it caps every downstream margin.
- Pure SaaS gross margin benchmarks run 70 to 85 percent, and services or heavy infrastructure pull the blended figure down.
- COGS should include hosting, support, embedded third party software, and processing, but not sales, marketing, or R&D.
- Gross margin sets the profit half of the Rule of 40 and directly influences revenue multiples.
- Contribution margin extends gross margin into true unit economics by charging acquisition cost to the segment that caused it.
↗
The Closing Motion Platform
Sellers on Ratio see up to 30% higher close rates and 25% higher ACV.