Gross Margin Calculator
Comparing Businesses of Any Size on Equal Footing
A $50,000 gross profit means something completely different for a business with $100,000 in revenue than one with $2 million in revenue. Gross margin fixes that by converting gross profit into a percentage of revenue, making it possible to compare a corner bakery against a national chain, or this quarter against the same quarter three years ago, without size distorting the picture.
The Formula
Revenue must be nonzero for the ratio to be defined — a business with no sales has no margin to measure.
A Worked Example
| Revenue | COGS | Gross Margin |
|---|---|---|
| $500,000 | $300,000 | 40% |
| $500,000 | $400,000 | 20% |
| $500,000 | $250,000 | 50% |
Same revenue, three different COGS levels — margin moves inversely with cost of goods sold, holding price constant.
Where Gross Margin Matters
- Industry benchmarking — software and services businesses typically run far higher gross margins than retailers or distributors, so margin is only meaningful when compared within a similar business model.
- Pricing sensitivity — a thin gross margin means small cost increases can wipe out profitability quickly, which is a key input when deciding how much price flexibility a business can safely absorb.
- Trend monitoring — a gradually shrinking gross margin, even with rising revenue, is a common early warning sign of cost creep or discounting that hasn't been corrected.
- Investor due diligence — gross margin stability over time is often used to judge how defensible a company's pricing power actually is.
How to Use This Calculator
- Enter Revenue for the period.
- Enter Cost of Goods Sold (COGS) for the same period.
- Select Calculate to see Gross Margin as a percentage.
Related Calculations
See the dollar figure behind this percentage with the Gross Profit Calculator, or move further down the income statement with the Operating Margin Calculator.