What Is Gross Margin?
Gross margin is the percentage of revenue that remains after subtracting the cost of goods sold (COGS). It measures how efficiently a business turns revenue into profit at the production level, before accounting for operating expenses like rent, salaries, and marketing.
The formula is: Gross Margin = ((Revenue - COGS) / Revenue) x 100
COGS includes direct costs tied to producing your product or delivering your service: raw materials, direct labor, manufacturing overhead, and shipping to your warehouse. It does not include sales commissions, office rent, or executive salaries.
A B2B SaaS company with $2M in annual revenue and $400K in hosting, infrastructure, and support costs has a gross margin of 80%. That means 80 cents of every dollar goes toward operating expenses and profit.
Gross Margin Benchmarks by Industry
Gross margin varies widely by industry because different business models have different cost structures. A software company has near-zero marginal cost per customer, while a manufacturer pays for raw materials on every unit. Use the table below to benchmark your margin against your industry.
| Industry | Typical Gross Margin | Notes |
|---|---|---|
| Software / SaaS | 70-85% | Low marginal cost. Hosting and support are primary COGS. |
| Professional Services | 40-60% | Labor-intensive. Utilization rate is the key driver. |
| Healthcare / Pharma | 60-75% | High R&D is operating expense, not COGS. |
| Financial Services | 50-70% | Varies by product type (insurance vs lending vs advisory). |
| E-commerce | 25-55% | Wide range depending on private label vs resale. |
| Retail (General) | 25-40% | Grocery runs 20-30%, apparel 45-55%. |
| Manufacturing | 20-35% | Raw materials and direct labor dominate COGS. |
| Food & Beverage | 25-45% | Branded products higher than commodity ingredients. |
| Restaurants | 55-68% | Food cost target is 28-35% of revenue. |
| Construction | 15-25% | Materials and subcontractor costs are high. |
| Distribution / Wholesale | 15-30% | Low margin, high volume model. |
| Automotive | 8-18% | Thin margins; volume and financing drive profit. |
Source: NYU Stern (Damodaran), compiled from public company filings. Margins for private companies may differ.
How to Calculate Gross Margin
The gross margin formula has two variables: revenue and cost of goods sold.
Gross Margin (%) = ((Revenue - COGS) / Revenue) x 100
Worked example: A mid-size e-commerce company generates $850,000 in quarterly revenue. Their COGS (product cost, freight to warehouse, packaging) totals $340,000.
- Gross Profit = $850,000 - $340,000 = $510,000
- Gross Margin = ($510,000 / $850,000) x 100 = 60%
- Markup = ($510,000 / $340,000) x 100 = 150%
This means the company keeps $0.60 of every revenue dollar after direct costs. The remaining 60% covers operating expenses (marketing, salaries, rent) and profit.
Gross Margin vs Markup
Margin and markup measure the same profit from different angles. Margin uses revenue as the base. Markup uses cost as the base. They are not interchangeable.
| Cost | Selling Price | Profit | Gross Margin | Markup |
|---|---|---|---|---|
| $40 | $100 | $60 | 60% | 150% |
| $50 | $100 | $50 | 50% | 100% |
| $70 | $100 | $30 | 30% | 42.9% |
| $80 | $100 | $20 | 20% | 25% |
The quick conversion: Margin = Markup / (1 + Markup). A 100% markup always equals a 50% margin. A 50% markup equals a 33.3% margin.
Why Gross Margin Matters
Gross margin is one of the first numbers investors, lenders, and acquirers look at because it reveals how much room a business has to cover operating costs and generate profit.
Pricing power. A high gross margin means the market values your product well above its production cost. This signals strong brand, differentiation, or switching costs.
Scalability. Businesses with high gross margins (like software) can grow revenue without proportionally growing costs. Businesses with low gross margins (like distribution) need high volume to generate meaningful profit.
Early warning system. Declining gross margin over time signals trouble: rising input costs, pricing pressure from competitors, or a shift toward lower-margin products. Catching this trend early gives you time to adjust pricing or renegotiate supplier terms.
A Series A SaaS company presenting to investors with a 72% gross margin and expanding trend will get a very different reception than one at 55% and declining. The margin tells the story of unit economics before anything else.
How to Improve Gross Margin
There are two paths: increase revenue per unit or decrease cost per unit. Most businesses have more room on the cost side than they think.
1. Renegotiate supplier contracts. Request volume discounts, longer payment terms, or rebates. Even a 3-5% reduction in materials cost drops directly to gross profit.
2. Raise prices strategically. Test price increases on new customers or lower-volume products first. Many businesses underprice because they anchor to competitors rather than the value they deliver.
3. Reduce waste and defects. In manufacturing and food service, waste directly inflates COGS. Track waste as a percentage of materials purchased and set reduction targets.
4. Shift product mix toward higher-margin items. If you sell both products and services, calculate the gross margin on each. Promote and prioritize the higher-margin lines.
5. Automate production steps. Replacing manual processes with automation reduces direct labor cost per unit. The upfront investment is a capital expense, not COGS, so it improves gross margin immediately.
This calculator provides estimates for informational purposes only. It does not constitute financial advice. Actual results depend on your specific business circumstances, industry, and market conditions. Consult a qualified financial advisor or accountant before making financial decisions.