Gross Margin vs Operating Margin
Under the GASP Standard Gross Margin takes only the cost of goods sold off revenue. Operating Margin takes operating expenses off as well.
Also asked as
- What is the difference between gross margin and operating margin?
- Is operating margin the same as EBIT margin?
- Why is operating margin lower than gross margin?
Side by side
Gross Margin
- Definition
- Revenue minus cost of goods sold (COGS), as a percentage of revenue. Measures profitability after direct delivery costs.
- Formula
Gross Margin = (Revenue (GAAP) - COGS) / Revenue (GAAP) × 100- Canonical formula
(sum(field.revenue) - sum(field.cost where field.cost_function = 'infrastructure')) / sum(field.revenue)- Unit
- percent
- Include in COGS
-
- Hosting/infrastructure costs (AWS, Azure, etc.)
- DevOps team costs that keep the service running
- Payment processing fees
- Third-party software for product delivery
- Capitalised software amortisation
- Exclude from COGS
-
- Customer Support and Customer Success teams (
cost_function=support,success_engineering). These are subtracted in the Operating Form below, not in COGS. - Implementation and onboarding (
cost_function=implementation,onboarding). Also Operating Form. - Sales & Marketing expenses (
gtm) - R&D (product development)
- G&A overhead
- Customer Support and Customer Success teams (
Operating Margin (EBIT Margin)
- Definition
- Operating income as a percentage of revenue.
- Formula
Operating Margin = Operating Income / Revenue × 100- Canonical formula
metric.gross_margin - metric.opex_ratio- Unit
- percent
What each reads
In the relationship graph of the GASP Standard a component edge runs from Gross Margin to Operating Margin.
Metrics each formula reads
Fields each data requirement names
Both
costcost_functionevent_dateperiod_startrevenue
Gross Margin only
None
Operating Margin only
None
Each field and the dataset it sits on are listed in the datasets reference.
Where the standard draws the line
Operating Income = Revenue - COGS - Operating Expenses
standard/metrics/finance.md Related
Rulings
- Is CAC payback calculated on gross margin?
- Does LTV use gross margin?
- Does gross margin include customer support costs?
- Does gross margin include hosting costs?
- Is gross margin calculated on ARR?