Skip to calculator
themoneysheet logothemoneysheet

Profit Margin Calculator

Get your gross, operating, and net margin as three distinct numbers — most tools conflate them, and the difference is where the diagnosis is.

Written by Dorothy Ibrahim, 10+ years in banking & finance

Loading calculator…

How we calculate this

This calculator computes your gross, operating, and net profit margin as three distinct numbers — because they answer three different questions. Gross margin shows what your products earn after their own costs; operating margin shows what is left after running the business; net margin shows what you actually keep after interest and taxes. Quoting one as another is the most common way owners misjudge their own health, and the gap between the three is where the diagnosis lives.

The formulas
Gross profit and gross margin
gross profit = revenue − COGS; gross margin = gross profit ÷ revenueCOGS is only the cost tied to the products sold — not rent, marketing, or payroll for non-production staff.
Operating income and operating margin
operating income = gross profit − operating expenses; operating margin = operating income ÷ revenue
Net income and net margin
net income = operating income − interest and taxes; net margin = net income ÷ revenueInterest and taxes are entered as one combined figure; leave it at 0 to stop at operating margin.
Worked example
  1. Say revenue is $500,000, COGS is $200,000, operating expenses are $180,000, and interest plus taxes total $30,000.
  2. Gross profit = $500,000 − $200,000 = $300,000, a 60% gross margin — what the products themselves earn.
  3. Operating income = $300,000 − $180,000 = $120,000, a 24% operating margin — what is left after running the business.
  4. Net income = $120,000 − $30,000 = $90,000, an 18% net margin — what you keep of every revenue dollar.
  5. Against the generic rule-of-thumb bands, 18% falls in the 10–20% "healthy" range; against the professional-services heuristic range of 15–30% it also sits in-range.
Rates, benchmarks & sources
  • Gross, operating, and net margin formulas (profit at each level ÷ revenue) Standard managerial-accounting definitions
  • Typical net-margin ranges: restaurants 3–9%, retail 2–6%, professional services 15–30%, e-commerce 5–15% — heuristics, not authoritative standards Industry rule of thumb (benchmarks.ts)
  • Generic net-margin bands: below 0% loss, 0–5% thin, 5–10% modest, 10–20% healthy, above 20% strong Rule of thumb (spec bands)

Figures current as of 2026-07-02. See our methodology & editorial standards for how constants are versioned and verified.

What this tool doesn’t model
  • The industry ranges are rules of thumb for orientation only — margins vary widely by sub-niche, region, and business age, and no range here is an authoritative standard.
  • Interest and taxes are one combined input, so the tool cannot separate a financing problem from a tax burden — a full income statement can.
  • It measures one period in isolation; a single strong or weak month says little without a trend.
  • Owner compensation is only reflected if you include it in operating expenses — many small-business net margins look inflated because the owner is unpaid.

Frequently asked questions

What is the difference between gross, operating, and net margin?

Gross margin subtracts only the cost of the products you sold (COGS). Operating margin also subtracts the cost of running the business — rent, payroll, marketing, software. Net margin further subtracts interest and taxes, so it is what you actually keep. Each level isolates a different problem: weak gross margin points at pricing or product cost, weak operating margin at overhead, weak net margin at debt or tax load.

What is a good profit margin for a small business?

It depends heavily on industry. As rules of thumb, restaurants typically net 3–9%, retail 2–6%, professional services 15–30%, and e-commerce 5–15%. Without an industry anchor, a generic heuristic reads net margin under 5% as thin, 5–10% as modest, 10–20% as healthy, and above 20% as strong — but these are orientation bands, not standards.

Why is my gross margin high but my net margin near zero?

That pattern usually means the products earn well but overhead absorbs the earnings — operating expenses are eating most of the gross profit. The reverse pattern, where gross margin itself is low, is a structural pricing or product-cost problem that cutting overhead cannot fix. Comparing the three margins side by side is exactly how you tell the two apart.

Should I include my own salary in operating expenses?

If the business needs to pay you, the honest answer is yes — a margin computed with free owner labor overstates the health of the business. Many owners run the numbers both ways: once as reported, and once with a market-rate salary for themselves included, to see what the business earns as an asset rather than as a job.

Can my net margin be negative?

Yes — a negative net margin means the business lost money in the period, and the tool shows it rather than hiding it. One negative month is not fatal, especially in seasonal businesses, but a persistently negative net margin means revenue, pricing, or cost structure has to change before the losses consume your cash reserves.

Related calculators