Gross Margin Calculator
Gross margin is the share of revenue left after paying the direct costs of delivering your product or service.
Gross Margin Calculator
Results
- Gross margin
- 78%
- Gross profit
- $78,000
Formula breakdown
- $100,000.00 − $22,000.00 = $78,000.00
- $78,000.00 ÷ $100,000.00 × 100 = 78%
Why businesses use it
It shows how much of each dollar of revenue is available for sales, marketing, development, and profit. It also feeds into CAC payback and LTV.
How the formula works
Gross Profit = Revenue − COGS • Gross Margin = (Revenue − COGS) ÷ Revenue × 100
In SaaS, COGS commonly includes hosting, third-party software embedded in the product, and customer support. Sales, marketing, and R&D are operating expenses, not COGS.
Worked example
Quarterly revenue is $100,000 and COGS is $22,000.
- Gross profit = $100,000 − $22,000 = $78,000
- Gross margin = $78,000 ÷ $100,000 × 100 = 78%
Gross margin is 78%.
How to interpret the result
- Track gross margin over time; a falling margin may signal rising hosting or support costs.
- Report services revenue separately if it has much lower margins than subscriptions.
Assumptions and limitations
- Gross margin says nothing about operating expenses or overall profitability.
- Results depend on which costs you classify as COGS, which varies between companies.
Common mistakes
- Putting sales or R&D salaries into COGS.
- Using revenue and costs from different periods.
- Leaving out support and payment processing costs.
Frequently asked questions
- Is customer support part of COGS?
- Support that keeps existing customers running is commonly included in COGS. Pre-sales support usually belongs in sales and marketing.
- Can gross margin be negative?
- Yes, when COGS is larger than revenue. The calculator shows the negative value rather than hiding it.
- Gross margin vs. net margin?
- Gross margin subtracts only direct costs. Net margin subtracts all expenses, including operating costs, interest, and taxes.
Related calculators
Results are estimates based on your inputs and the simplified model described above. They are for informational purposes only and are not financial, tax, or investment advice.