Finance & Money • ⏱️ 5 min read

How to Calculate Profit Margin: Formulas & Business Guide

Gross margin, operating margin, net profit margin, industry benchmarks, and profitability analysis.

Why Profit Margin Is the Ultimate Business Health Metric

In commerce and investing, top-line revenue only tells half the story. A company generating $10 million in sales that spends $9.9 million to produce those sales is far less financially resilient than a boutique consultancy generating $1 million with $300,000 in costs.

Profit margin reveals how many cents of net profit your business retains from every single dollar of revenue earned. It is the premier indicator of pricing power, cost control, and financial sustainability.

The Gross Profit Margin Formula

Gross profit margin measures how efficiently a company produces its core goods or services before accounting for administrative overhead, marketing, or taxes:

Gross Profit = Revenue - Cost of Goods Sold (COGS)
Gross Profit Margin (%) = (Gross Profit / Revenue) × 100

Cost of Goods Sold (COGS) includes direct inventory, raw materials, manufacturing labor, and packaging directly tied to creating the unit sold.

Step-by-Step Worked Example: Retail Product Margin

Suppose an online merchant sells an ergonomic desk accessory for $100.00. The manufacturer charges $45.00 per unit, and shipping packaging adds $15.00:

  1. Calculate Total COGS: $45.00 + $15.00 = $60.00.
  2. Calculate Gross Profit: $100.00 - $60.00 = $40.00.
  3. Divide Gross Profit by Revenue: $40.00 / $100.00 = 0.40.
  4. Convert to Percentage: 0.40 × 100 = 40.0% Gross Margin.

For every $100 collected, the business keeps $40.00 to cover advertising, software, rent, and profits.

Gross Margin vs. Operating Margin vs. Net Profit Margin

A healthy balance sheet monitors profitability across three distinct tiers:

Margin LevelFormulaWhat It Measures
Gross Margin(Revenue - COGS) / RevenueDirect manufacturing and product fulfillment efficiency
Operating MarginOperating Income / RevenueProfitability after administrative expenses, marketing, and salaries
Net Profit MarginNet Income / RevenueFinal bottom-line earnings after all taxes, interest, and one-off fees

What Is a Good Profit Margin? (Industry Benchmarks)

Acceptable profit margins vary widely by industry and business model:

  • Software & Digital Products (SaaS): Often boast 70% to 85% gross margins and 20%+ net margins due to negligible marginal distribution costs.
  • Retail & E-commerce: Typically target 40% to 50% gross margins and 5% to 15% net margins.
  • Grocery & Supermarkets: High-volume, low-margin business models often operate on razor-thin net margins between 1% and 3%.
  • Professional Services: Consulting and legal firms often sustain 50% to 60% gross margins and 15% to 25% net margins.

Analyze Your Business Profit Margins Instantly

Accurately price products and analyze your business profitability with our zero-tracking financial tools:

Put This Into Practice

Skip manual calculation math and compute your numbers in seconds with our free, 100% private Profit Margin Calculator.

Open Profit Margin Calculator →