Agents for Data

Gross Margin Calculator

Calculate your gross margin instantly. Compare against 15+ industry benchmarks. Get AI-powered recommendations to improve profitability.

Enter Your Values
$

Total sales revenue before any deductions

$

Direct costs to produce your goods/services: materials, direct labor, manufacturing costs

%

Enter last period's gross margin to see trend

Formula

Gross Margin (%) = ((Revenue - COGS) / Revenue) × 100

Gross margin represents the percentage of each dollar of revenue that remains after paying for direct production costs. A 40% gross margin means you keep $0.40 from every $1 in sales to cover operating expenses and profit.

Gross Margin40.0%

40.0% — Healthy margins for retail and manufacturing.

Gross Profit$40,000
Revenue$100,000
Cost of Goods Sold$60,000
Markup Percentage66.7%
Revenue per $1 COGS$1.67
Margin CategoryRetail Level
If COGS -10%46.0% margin (+$6,000)

Gross Margin Benchmarks by Industry

Software/SaaS70-85% — Highly scalable businesses
> 70%
Services50-70% — Professional services, restaurants
50% – 69.99%
Retail/E-commerce30-50% — Retail, e-commerce, manufacturing
30% – 49.99%
Wholesale15-30% — Wholesale, distribution, grocery
15% – 29.99%
Low MarginUnder 15% — Very thin, high volume required
0% – 14.99%

Source: NYU Stern, Industry Benchmarks 2024

How to Calculate Gross Margin

  1. Enter your total revenue (sales) in the first field
  2. Enter your Cost of Goods Sold (COGS) in the second field
  3. Optionally add previous period margin for trend analysis
  4. View your gross margin percentage, gross profit, and markup
  5. Compare your results against industry benchmarks
  6. Get AI-powered recommendations for improvement

Gross Margin Benchmarks by Industry

70-85%

SaaS / Software

50-70%

Professional Services

40-60%

E-commerce (General)

45-55%

Retail (Apparel)

25-35%

Retail (Grocery)

25-45%

Manufacturing

60-70%

Restaurants

15-25%

Construction

15-25%

Wholesale Distribution

40-60%

Healthcare Services

60-80%

Financial Services

40-60%

Real Estate

Source: NYU Stern, Industry Benchmarks 2024

Frequently Asked Questions