Profit Margin Calculator

Added

Calculate gross profit, gross margin %, net profit and net margin % from revenue and cost inputs.

Gross profit
Gross margin
Operating profit
Operating margin
Net profit
Net margin
Found this useful?

~5 min read

Profit margin is one of the most fundamental metrics in any business, but the terminology trips people up: gross margin, net margin, and operating margin all measure profitability at different points in the income statement.

Gross Profit = Revenue − Cost of Goods Sold (COGS) Gross Margin % = (Gross Profit ÷ Revenue) × 100

Operating Profit = Gross Profit − Operating Expenses (salaries, rent, marketing) Operating Margin % = (Operating Profit ÷ Revenue) × 100

Net Profit = Operating Profit − Interest − Taxes Net Margin % = (Net Profit ÷ Revenue) × 100

For SaaS businesses, gross margin is especially important because it directly feeds into LTV calculations (LTV = ARPU × Gross Margin % ÷ Churn Rate). SaaS businesses typically target 70–80%+ gross margins; software with high hosting or third-party API costs can see 50–65%.

How to use the profit margin calculator

  1. Enter revenue, COGS, and operating expenses.
  2. Optionally add taxes and interest to compute net profit.
  3. Each margin level is shown as a dollar amount and a percentage.

Frequently asked questions

What's a good gross margin for a SaaS business? 70–80% is standard for cloud SaaS. Below 50% often signals high infrastructure costs or a services-heavy revenue component that makes scaling harder. Above 80% is achievable for pure software products with efficient hosting.

Why is gross margin more useful than revenue for valuing a SaaS company? Because revenue growth is meaningless if COGS grows at the same rate. A SaaS company generating $1M ARR at 80% gross margin is worth significantly more than one at $1M ARR with 30% gross margin, since the former has $800k to cover operating expenses and profit, while the latter has only $300k.

Is it possible to have positive gross margin and negative net margin? Yes, and it's common in growth-stage startups: the product earns more than its direct costs, but sales, marketing, and R&D spending exceeds gross profit. This is deliberate "invest now, profit later" — sustainable only if unit economics (LTV:CAC) are healthy.

↑ Back to calculator

What Is a Good Profit Margin? Benchmarks by Industry

Industry profit margin benchmarks for SaaS, retail, manufacturing, and services — and how to interpret whether your margin is healthy.

"Is my profit margin good?" depends entirely on your industry. A 5% net margin is thriving in grocery retail but disastrous in SaaS. Here are benchmarks across the sectors most relevant to founders and small businesses.

Gross margin benchmarks

Sector Typical gross margin
SaaS / software 65–85%
Professional services 40–70%
E-commerce 25–45%
Manufacturing 25–35%
Retail (physical) 20–35%
Restaurants / food 60–70% (food cost)

Net margin benchmarks

Sector Typical net margin
SaaS / software 10–30%+
Professional services 10–20%
E-commerce 2–8%
Retail 2–6%
Restaurants 3–9%

The Rule of 40 for SaaS

For SaaS companies, the Rule of 40 (revenue growth rate + profit margin ≥ 40%) is more useful than pure margin. A company growing 60% can justify a −20% margin. One growing 10% should be at 30%+ margin.

Calculate your specific margins with the profit margin calculator.

↑ Back to calculator

Gross Margin vs Net Margin: What's the Difference?

Understand the difference between gross margin, operating margin, and net margin — and which one to track at each stage of your business.

Gross margin, operating margin, and net margin measure profitability at different levels of your income statement. Each answers a distinct question.

The three margins

Gross margin = (Revenue − COGS) / Revenue Measures how efficiently you produce or deliver your product. High gross margin gives you the runway to invest in sales, marketing, and R&D.

Operating margin = (Revenue − COGS − Operating expenses) / Revenue Measures business model efficiency before interest and taxes. It shows whether your core operations generate profit.

Net margin = Net income / Revenue Bottom-line profit after all costs including interest and taxes. This is what's available for reinvestment or distribution.

Which to track when

Stage Primary focus
Pre-revenue Gross margin on pilots
Early growth Gross margin + burn rate
Scale Operating margin trend
Mature Net margin vs. sector

Investors at Series A/B care most about gross margin trajectory. Public market investors focus on operating and net margin sustainability.

Use the profit margin calculator to compute all three from your financials.

↑ Back to calculator

Profit Margin Benchmarks by Industry

Typical gross, operating, and net profit margins across SaaS, e-commerce, services, and other common industries — know what 'good' looks like for your business type.

"Is my margin good?" only has a meaningful answer once you know what's typical for your industry — a 10% net margin is excellent for a grocery retailer and alarming for a software company.

Typical margins by industry

Industry Gross Margin Net Margin
SaaS / software 70–85% 15–30% (mature)
Professional services 40–60% 10–20%
E-commerce / retail 20–50% 2–8%
Restaurants 60–70% (food cost basis) 3–9%
Manufacturing 25–40% 5–10%
Construction 15–25% 3–7%

Why the gap between gross and net margin varies so much

SaaS businesses have very high gross margins (low direct cost per additional customer) but often low or negative net margins early on because sales, marketing, and R&D spending consumes most of the gross profit — a deliberate growth trade-off. Retail and restaurants have thinner gross margins but a shorter path to positive net margin because operating costs are more proportional to revenue.

Using benchmarks correctly

Compare within your specific sub-category, not just the broad industry — "software" spans everything from a $20/month tool with 90% gross margin to an AI product with expensive inference costs running 40–50% gross margin. Always sanity-check a benchmark against your actual cost structure rather than applying it blindly.

When a below-benchmark margin is fine

A margin below the industry average isn't automatically a problem if it's a deliberate, time-boxed investment — heavy R&D spend ahead of a product launch, or aggressive pricing to win market share early. The question isn't "am I at benchmark today" but "is there a credible path to benchmark margins as the business matures."

Frequently asked questions

Which margin should I compare against industry benchmarks — gross or net? Both, but for different purposes. Gross margin tells you if your unit economics are sound at the product level. Net margin tells you if the whole business, including overhead, is sustainable.

Do these benchmarks apply to early-stage or only mature companies? They mostly describe mature, at-scale companies. Early-stage companies — especially venture-backed ones prioritizing growth — routinely run below these net margin figures by design.

Use the Profit Margin Calculator to compute your own gross, operating, and net margins and compare them against the table above.

↑ Back to calculator

Recommended tools

Tools our audience uses alongside this calculator.

QuickBooks Accounting

Automatically tracks revenue, COGS, and operating expenses — so you see real-time gross and net margin without building a spreadsheet.

Try QuickBooks →
FreshBooks Invoicing + P&L

Simple invoicing and P&L reporting built for small businesses and freelancers. Connects to Stripe so revenue is tracked automatically.

Try FreshBooks free →