Unit Economics
Gross Margin
Gross Margin is the share of revenue left after you subtract the direct cost of delivering what you sold (cost of goods sold). It is usually shown as a percentage and tells you how much money each dollar of sales actually leaves on the table to cover everything else.
Also known as: gross profit margin, GM, gross margin percentage
Why it matters
Gross margin is the single number that decides whether your business model can ever work, before you spend a dollar on growth. It sets the ceiling on everything else: a company with 80 percent margins can afford expensive acquisition, fat salaries, and slow payback, while one at 20 percent has almost no room to maneuver. For validation, it tells you if you are building a real software business or a disguised services or reselling operation wearing a SaaS costume. Investors and the Rule of 40 assume software-grade margins (70 percent plus), so a low number quietly caps your valuation and your fundability. It also makes LTV honest, because lifetime value should be built on gross profit, not top-line revenue. If your margin is thin and structural (heavy infra, human-in-the-loop delivery, per-transaction fees), no amount of scale fixes it, and that is a build-or-kill signal worth catching at the napkin stage.
Formula
Gross margin % = (revenue - cost of goods sold) / revenue x 100
Worked example
A SaaS app charges 50 dollars per user per month. The direct cost to serve that user (cloud hosting, payment processing, third-party API calls, support tooling) is 8 dollars. Gross profit is 42 dollars, so gross margin is 42 / 50 = 84 percent. That 84 percent is what is actually available to fund engineering, marketing, and profit, not the full 50.
Common mistakes
- Confusing gross margin with net margin or markup. Gross margin is revenue minus COGS only, before salaries, marketing, and overhead, so a 'profitable looking' margin can still sit on top of a money-losing company.
- Forgetting variable costs that scale with usage. Payment fees, AI inference, egress, and support headcount belong in COGS. Leave them out and your margin looks like software when it is really a thin-margin operation.
- Good looks like 70 percent or higher for pure SaaS, 80 to 90 percent at scale. Below ~50 percent you are probably running a services or marketplace business and should price, package, or pivot accordingly.
Frequently asked questions
What is a good gross margin for a SaaS startup?
Healthy pure-play SaaS lands at 70 to 85 percent, and the best businesses push past 85 percent at scale. If you are below 60 percent, look hard at what is sitting in COGS, because heavy infrastructure or human delivery is usually the culprit. Investors benchmark against software norms, so a sub-50 percent margin will get you valued like a services company no matter what you call yourself.
What is the difference between gross margin and net margin?
Gross margin subtracts only the direct cost of delivering your product (COGS) from revenue. Net margin subtracts everything else too: salaries, marketing, rent, and taxes. A company can have a great 80 percent gross margin and still post a negative net margin because it is spending heavily on growth or overhead.
How do you calculate gross margin?
Take revenue, subtract cost of goods sold, then divide by revenue and multiply by 100 to get a percentage. For SaaS, COGS includes hosting, payment processing, third-party APIs, and the support and infrastructure tied directly to serving customers. It does not include sales, marketing, R and D, or general overhead.
What counts as COGS for a software company?
Cloud and hosting costs, payment processing fees, third-party API and AI inference charges, data egress, and the portion of customer support and onboarding tied directly to delivery. Salaries for engineers building new features, marketing spend, and office costs are operating expenses, not COGS. Misclassifying these is the most common way founders overstate their margin.
Why does gross margin matter for valuation and fundraising?
Gross margin caps how much you can spend to acquire and serve customers, so it directly limits growth and profitability. The Rule of 40 and most SaaS valuation multiples assume software-grade margins above 70 percent. A structurally low margin tells investors you cannot scale efficiently, which compresses your multiple and can make a round much harder to raise.
Should LTV be based on revenue or gross margin?
Always use gross margin, not revenue. Lifetime value should reflect the profit a customer generates after the cost to serve them, otherwise your LTV:CAC ratio is fiction. A customer paying 1,000 dollars over their lifetime at 80 percent margin is worth 800 dollars in real terms, and that is the number your acquisition spend has to clear.
Related terms
More in Unit Economics
Stop reading definitions. Pressure-test your idea.
Knowing the terms is the easy part. Olune runs your actual idea against live Reddit signals, competitor data, and real search demand, then gives you an honest GO / NO-GO verdict in about eight minutes. Free, no card.
Last updated 2026-06-09 · Back to the glossary