Also known as Gross profit margin
Gross margin is gross profit as a percentage of revenue: what proportion of each sales dollar is left after the direct cost of delivering the product.
Key takeaways
Gross margin is gross profit as a percentage of revenue: what proportion of each sales dollar is left after the direct cost of delivering the product. It is the ceiling on every other margin in the business, and because it is a percentage it stays comparable as revenue grows — which gross profit in dollars does not.
Formula
Gross Margin % = ((Revenue − COGS) ÷ Revenue) × 100
On $400,000 of quarterly revenue with $92,000 of COGS, gross profit is $308,000 and gross margin is 77% ((400,000 − 92,000) ÷ 400,000).
Public B2B SaaS companies cluster in the 70–80% range, and investors treat sustained sub-70% margins in a company calling itself software as a sign that services or infrastructure costs are heavier than the label implies. E-commerce is a different business: 25–45% is normal once landed cost, merchant fees and returns are all inside COGS, and anything above 50% usually means something is being left out.
Source: Public SaaS comparables and operator benchmarks (2026)
They are the same calculation reported two ways, and the difference matters more than it sounds. Gross profit is a dollar figure: revenue minus COGS. Gross margin is that figure divided by revenue and expressed as a percentage.
| Gross profit | Gross margin | |
|---|---|---|
| Unit | Dollars | Percent |
| Answers | How much is left to cover overheads | How efficiently each sales dollar converts |
| Comparable across periods as you grow | No — it rises with revenue whatever happens to efficiency | Yes |
| Comparable to other companies | Only at the same size | Yes, within the same model |
Use gross profit when the question is whether there is enough money to fund the operating plan. Use gross margin for every trend, every board slide and every comparison, because a rising gross profit can sit on top of a falling margin and usually does in a company growing quickly.
Gross margin is decided almost entirely by where you draw the line between cost of revenue and operating expense, which means it is decided in your chart of accounts rather than in the calculation.
The test is whether the cost scales with the number of customers you serve.
The error that moves the number most
Putting all engineering salary into cost of revenue. It reports 35% for a company whose real margin is 78%, and it is the first thing a diligence process unwinds. Split the team: whoever keeps the existing product running for existing customers is COGS, whoever is building next year's product is R&D.
Only two things change gross margin: charge more, or spend less per customer served. In practice the order of effectiveness is fairly consistent.
Gross margin is the ceiling on every other margin you will ever report, and it is the number an investor uses to decide what kind of company you are rather than what you call yourself. It also determines how much revenue you need to cover a given operating plan, which makes it the first input to any hiring or fundraising decision.