ProCalc.ai
Pro
FinanceBusiness Finance11 min read

Profit Margin Calculator: Gross, Net, and Operating Margin Explained

P

ProCalc.ai Editorial Team

Reviewed by Jerry Croteau, Founder & Editor

Table of Contents

When someone says a business has a 15% profit margin, you do not actually know very much yet. That number could refer to gross margin, operating margin, or net margin — and they measure fundamentally different things. Understanding all three tells you whether a business is efficient, well-managed, and financially healthy.

Our profit margin calculator computes all three from your revenue and cost inputs. This guide explains what each one means, how to calculate it, and what benchmarks to compare against.

The three margin types

Each margin strips out a different layer of costs to show profitability at a different level of the business:

  • Gross margin — revenue minus cost of goods sold (COGS). Shows how efficiently you produce or source what you sell.
  • Operating margin — gross profit minus operating expenses. Shows how efficiently you run the business day-to-day.
  • Net margin — operating profit minus interest, taxes, and other items. Shows what the business actually keeps as profit.

Gross profit margin

Formula: Gross Margin = (Revenue - COGS) / Revenue x 100

COGS includes the direct costs of producing your product or delivering your service: materials, direct labor, manufacturing overhead. It does not include sales, marketing, rent, or administrative costs.

Worked example: Product business

A furniture maker sells $500,000 in chairs. Materials and direct labor cost $200,000.

Gross Profit = $500,000 - $200,000 = $300,000

Gross Margin = $300,000 / $500,000 x 100 = 60%

Gross margin by industry

IndustryTypical gross margin
Software / SaaS70-85%
Financial services60-80%
Retail (clothing)40-60%
Retail (grocery)20-30%
Manufacturing20-40%
Construction15-25%
Restaurants60-70% (food cost only; operating margin is much lower)

High gross margin means there is room to cover operating expenses and still turn a profit. Low gross margin businesses (like grocery) depend on high volume and tight operational efficiency. A restaurant's 65% gross margin looks great until you realize rent, labor, and utilities consume most of it.

Operating profit margin

Formula: Operating Margin = Operating Income / Revenue x 100

Operating Income = Gross Profit - Operating Expenses (rent, salaries, marketing, admin, depreciation)

Worked example: continuing the furniture maker

Gross Profit: $300,000. Operating expenses: rent $60,000, salaries $120,000, marketing $30,000 = $210,000 total.

Operating Income = $300,000 - $210,000 = $90,000

Operating Margin = $90,000 / $500,000 x 100 = 18%

Operating margin reveals how well management controls overhead. A business can have excellent gross margin but terrible operating margin if the overhead structure is bloated. Comparing operating margin over time — or against competitors — shows whether the business is getting more or less efficient.

Net profit margin

Formula: Net Margin = Net Income / Revenue x 100

Net Income = Operating Income - Interest Expense - Taxes - Other non-operating items

Worked example: completing the furniture maker

Operating Income: $90,000. Interest on business loan: $8,000. Taxes (25%): $20,500.

Net Income = $90,000 - $8,000 - $20,500 = $61,500

Net Margin = $61,500 / $500,000 x 100 = 12.3%

Net margin is the bottom line — the percentage of each dollar of revenue the business actually keeps. It is the most comprehensive measure, but it can be distorted by one-time items, unusual tax situations, or financing structure. That is why analysts often look at all three margins together.

Net margin benchmarks by industry

IndustryTypical net margin
Software / SaaS15-30%
Banks and financial services20-30%
Healthcare5-15%
Manufacturing5-10%
Retail2-6%
Restaurants3-9%
Construction2-6%
Grocery1-3%

A 2% net margin is excellent for a grocery chain and a serious warning sign for a software company. Always compare margins within the same industry.

Markup vs margin: the common confusion

Markup and margin both describe the relationship between cost and price, but they use different bases and cannot be used interchangeably.

Margin: (Price - Cost) / Price x 100 — based on selling price

Markup: (Price - Cost) / Cost x 100 — based on cost

Example

You buy a product for $60 and sell it for $100.

Margin = ($100 - $60) / $100 x 100 = 40%

Markup = ($100 - $60) / $60 x 100 = 66.7%

Quoting a "40% margin" when you mean "40% markup" understates profitability significantly. Retailers typically talk in margin. Manufacturers and wholesalers often talk in markup. Make sure you know which one is being used in any conversation about pricing.

Using margin to set prices

If you know your target gross margin and your cost, you can work backward to find the required selling price:

Price = Cost / (1 - Target Margin)

To achieve a 60% gross margin on a product that costs $40:

Price = $40 / (1 - 0.60) = $40 / 0.40 = $100

Use the profit margin calculator to run these scenarios quickly, or the break-even calculator to find the sales volume needed to cover your fixed costs at any margin level.

Related Calculators

Share:

Get smarter with numbers

Weekly calculator breakdowns, data stories, and financial insights. No spam.

Discussion

Be the first to comment!

More from Finance

We use cookies to improve your experience and show relevant ads. Read our privacy policy

Profit Margin Calculator: Gross, Net, and Opera — ProCalc.ai