The short answer
Gross margin is revenue minus the direct cost of delivering the product (cost of revenue), expressed as a percentage of revenue. It shows how much of each dollar of revenue is left to pay for growth and overheads.
Key facts
| Formula | (Revenue − cost of revenue) ÷ revenue |
|---|---|
| Cost of revenue includes | Hosting, compute and model costs, payment fees, support and onboarding |
| Excludes | Sales, marketing, research and development, general and administrative costs |
| Used in | CAC payback, LTV and valuation comparisons |
Worked example
A company earns $1,000,000 of revenue in a year. Hosting, model inference, payment fees and customer support cost $300,000. Gross profit is $700,000, and gross margin is $700,000 ÷ $1,000,000 = 70%.
Why AI companies watch it closely
For companies built on large AI models, inference and compute can be a large share of cost of revenue, so gross margin can be well below that of traditional software. Investors want to see how it changes as usage grows and as model costs fall. See our research on the economics of AI-native companies.
What an investor looks for
We ask what is in cost of revenue, how it scales with each customer, and what the margin will look like at ten times today's usage.
Common mistakes
- Leaving customer support or model costs out of cost of revenue.
- Quoting a gross margin from one large customer as the company average.
- Ignoring how margin changes as usage grows.
Related terms
CAC payback · ARR vs MRR · Burn multiple · Full glossary
For education only, not legal, tax or investment advice. Terms vary by deal and rules change; check the primary sources linked below and ask your lawyer or accountant before you sign or file. How we write and review these pages.
Frequently asked questions
What counts as cost of revenue for a software company?
Costs that rise with delivering the product: hosting and compute, third-party model fees, payment processing, customer support and onboarding.
Why is gross margin important to investors?
It shows how much revenue is left to fund growth, and it makes companies with different models comparable.
Do AI companies have lower gross margins?
Often, because inference and compute costs sit in cost of revenue. The trend as usage grows matters more than today's figure.
Sources
Important information. This publication is provided for general information only and reflects the views of Cash Capital as of its date. It is not investment, legal, tax or accounting advice, and it is not an offer to sell, or a solicitation of an offer to buy, any security or any interest in any fund.
Figures, statistics and company information are drawn from third-party sources that we believe to be reliable, including news reports, data providers and company announcements. We have not independently verified them, and some may be estimates, preliminary, reported rather than confirmed, or later revised. Cash Capital makes no representation or warranty as to their accuracy, completeness or timeliness and accepts no liability for any loss arising from reliance on them. Readers should consult the original sources and their own advisers before making any decision.
Predictions, outlooks and other forward-looking statements are opinions about uncertain future events and may not occur. We do not undertake to update this publication. Companies named are used for illustration only; unless stated otherwise they are not Cash Capital portfolio companies, and naming them does not imply any relationship, endorsement or recommendation. See our Terms & Disclosures.