Profit Margin Calculator — Free Gross, Operating & Net Margin Tool 2026
Your revenue is $500,000. COGS is $200,000. You think your profit margin is 60% — that’s the gross margin. But after $150,000 in operating expenses and $30,000 in interest and taxes, your net profit is $120,000. Your actual net margin is 24%. Three different numbers, three different pictures of your business health. Bankrate and OmniCalculator show gross margin only — neither compares your result against industry benchmarks.
This calculator shows all three margins simultaneously — gross, operating, and net — and benchmarks them against your industry. Select your sector and see whether your margins are above, at, or below what similar businesses achieve in 2026.
Profit Margin Calculator
Gross · Operating · Net margin + industry benchmarks + markup vs margin
Enter revenue and costs to see all three profit margins
What This Profit Margin Calculator Shows
All Three Margins — Simultaneously
Enter your revenue, COGS, operating expenses, and interest/tax expenses. The tool calculates and displays:
Gross Profit Margin = (Revenue − COGS) ÷ Revenue. Shows core product or service profitability before overhead.
Operating Profit Margin = (Revenue − COGS − OPEX) ÷ Revenue. Shows business efficiency after all operating costs.
Net Profit Margin = (Revenue − COGS − OPEX − Interest − Taxes) ÷ Revenue. Shows the final profit percentage after every dollar of cost.
Industry Benchmark Comparison
Select your industry and the tool overlays your calculated margins against 2026 median benchmarks for that sector. If your gross margin is 45% and the retail benchmark is 35%–45%, you’re at or above average. If your net margin is 2% and your industry peers average 5%–8%, you have a measurable gap to close.
What Each Input Covers
COGS (Cost of Goods Sold): Direct costs — materials, direct labor, manufacturing, cloud hosting per unit, COGS per order. Does NOT include rent, management salaries, or marketing.
OPEX (Operating Expenses): Rent, staff salaries, marketing, admin, software subscriptions. NOT COGS. The line between COGS and OPEX is the most common calculation error in margin analysis.
Interest & Tax Expenses: Loan interest payments + income tax. Used only for net margin calculation.
How to Calculate Profit Margin — All Three Formulas
How to Calculate Gross Profit Margin
Gross Profit Margin % = (Revenue − COGS) ÷ Revenue × 100
This gross profit margin calculator formula is the starting point for all margin analysis. Example: $500,000 revenue − $200,000 COGS = $300,000 gross profit. $300,000 ÷ $500,000 × 100 = 60% gross margin.
Gross margin tells you how efficiently you produce your product or deliver your service — before paying for the overhead required to run the business. A company with 60% gross margin has $0.60 of every revenue dollar available to cover operating costs and generate profit.
How to Calculate Operating Profit Margin
Operating Profit Margin % = (Gross Profit − Operating Expenses) ÷ Revenue × 100
The profit margin calculation formula for operating margin uses EBIT (Earnings Before Interest and Taxes) as the numerator. Example: $300,000 gross profit − $150,000 OPEX = $150,000 operating profit (EBIT). $150,000 ÷ $500,000 × 100 = 30% operating margin.
Operating margin reveals whether the business model is profitable when running costs are included. It strips out financing structure (interest) and tax strategy — making it the cleanest comparison metric between different companies and industries.
How to Calculate Net Profit Margin
Net Profit Margin % = Net Income ÷ Revenue × 100
Where Net Income = Revenue − COGS − OPEX − Interest − Taxes
Example: $150,000 operating profit − $30,000 interest/taxes = $120,000 net income. $120,000 ÷ $500,000 × 100 = 24% net margin.
Net margin is the bottom line — the actual percentage of each revenue dollar that becomes profit after every cost is paid. This is the number investors, lenders, and potential acquirers use to evaluate overall business health.
How to Calculate Profit Margin Percentage for a Product
For product-level margin calculation (not company-wide): Product Gross Margin % = (Selling Price − Product Cost) ÷ Selling Price × 100
A product sold at $120 with $45 in COGS: ($120 − $45) ÷ $120 × 100 = 62.5% gross margin.
This is different from markup. A 62.5% margin does NOT mean you marked up 62.5% over cost — it means 62.5% of the selling price is gross profit.
Profit Margin Benchmarks by Industry — 2026 Data
Why Industry Benchmarks Matter
Gross margin alone is meaningless without context. A 30% gross margin is excellent in grocery retail, terrible in SaaS, and average in construction. The benchmark section of this calculator places your margins in context — telling you not just what your margins are, but whether they indicate a problem or a strength relative to your sector.
Retail — Profit Margin Benchmarks
Use this as your retail profit margin calculator reference. Gross margin benchmark: 25%–50% (varies significantly by category — grocery 15–25%, specialty retail 40–60%). Operating margin benchmark: 3%–8% Net margin benchmark: 2%–5%
Retail is a volume-driven, low-margin business at the net level. Gross margin varies dramatically by product category. Specialty retailers running 45%+ gross margin with 5%+ net margin are performing above median. Mass retail under 3% net margin is normal. If your retail business is below 25% gross margin, examine COGS — either product mix, supplier pricing, or shrink/returns are eroding the foundation.
E-Commerce — Profit Margin Benchmarks
Gross margin benchmark: 40%–65% (higher than physical retail due to lower rent/staff per sale) Operating margin benchmark: 10%–20% Net margin benchmark: 5%–15%
Based on analysis of 5,000+ ecommerce stores in 2026, stores in the 60%–70% gross margin range are well-positioned for profitable scaling. Below 40% gross margin, paid advertising becomes economically difficult — your break-even ROAS requirement rises steeply. E-commerce businesses with gross margins below 30% typically cannot sustain profitable growth on digital advertising.
SaaS / Software — Profit Margin Benchmarks
Gross margin benchmark: 70%–80% (can reach 85%+ for pure software) Operating margin benchmark: 15%–25% (highly variable by growth stage) Net margin benchmark: 10%–20% at maturity
SaaS companies with gross margins below 70% often struggle to reach profitability at scale due to insufficient operating leverage. The Rule of 40 benchmark (revenue growth rate + profit margin ≥ 40%) remains a key SaaS health metric in 2026. Early-stage SaaS may have negative net margins while investing in growth — gross margin above 70% indicates the unit economics support eventual profitability.
Restaurant / Food Service — Profit Margin Benchmarks
Gross margin benchmark: 60%–70% (food cost = 30%–40% of revenue) Operating margin benchmark: 5%–15% Net margin benchmark: 3%–9%
Restaurants operate on thin net margins but strong gross margins when food cost is controlled. The industry rule: food cost + labor cost = 55%–65% of revenue (“prime cost”). Manage prime cost below 60% and the restaurant is likely profitable. Net margins above 9% indicate exceptional operations. Below 3%, one slow month or unexpected repair can produce a loss. The restaurant margin calculator section below uses these benchmarks for F&B-specific analysis.
To understand what revenue level covers all costs at your margin, the break-even calculator translates your contribution margin into a minimum revenue target.
Agency / Consulting — Profit Margin Benchmarks
Gross margin benchmark: 50%–65% (after contractor/direct staff costs) Operating margin benchmark: 15%–25% Net margin benchmark: 10%–20%
Agency gross margin = Revenue minus direct delivery costs (contractor time, freelancers, project-specific software). Operating margin after fixed staff, rent, and overhead typically sits 15%–25% for well-run agencies. Net margins above 20% indicate pricing power and efficient operations.
Manufacturing — Profit Margin Benchmarks
Gross margin benchmark: 25%–40% Operating margin benchmark: 8%–15% Net margin benchmark: 4%–10%
Manufacturing margins vary by product complexity and volume. High-volume commodity manufacturing: 20%–30% gross. Precision manufacturing or specialty components: 35%–55% gross. Net margins are compressed by capital costs, depreciation, and energy. Manufacturers with net margins above 10% typically have proprietary products, strong pricing power, or high automation.
Healthcare — Profit Margin Benchmarks
Gross margin benchmark: 40%–60% (service-intensive — varies by specialty) Operating margin benchmark: 10%–20% Net margin benchmark: 5%–15%
Healthcare margins vary enormously by payer mix. Cash-pay services (elective, wellness) carry 30%–50% higher margins than insurance-reimbursed treatments. Practices with net margins above 15% typically have strong cash-pay components or have optimized billing. Below 5% net, the practice may be sustainable but vulnerable to reimbursement changes.
Construction — Profit Margin Benchmarks
Gross margin benchmark: 15%–25% (general contractors) — 25%–40% (specialty trades) Operating margin benchmark: 5%–10% Net margin benchmark: 2%–6%
General contractors running thin gross margins are highly sensitive to cost overruns. Specialty trades (HVAC, electrical, plumbing) command higher gross margins (30%–45%) due to licensed expertise and lower direct competition. Net margins in construction are notoriously thin — 2%–4% is common for GCs; 5%–8% is excellent.
Wholesale / Distribution — Profit Margin Benchmarks
Gross margin benchmark: 15%–30% Operating margin benchmark: 3%–8% Net margin benchmark: 1%–5%
Distribution is volume-driven with compressed margins. Gross margins above 25% in distribution typically indicate value-added services, proprietary products, or specialty distribution with limited competition. Net margins above 5% in distribution are high performers — most large distributors operate at 1%–3% net.
Fintech / Finance — Profit Margin Benchmarks
Gross margin benchmark: 60%–80% Operating margin benchmark: 20%–35% Net margin benchmark: 15%–25%
Fintech companies at scale achieve some of the highest margins of any sector — revenue is often largely software or transaction fees with low marginal cost. Early-stage fintech may show negative operating margins while acquiring customers. At maturity, payment companies, lending platforms, and financial software can achieve 20%–30% net margins.
Enter your fintech revenue and cost structure above to see where your margins fall relative to the 2026 sector benchmark
Restaurant Profit Margin Calculator — F&B Specific Analysis
How Restaurant Margins Work
Restaurants are the most margin-misunderstood business type. A restaurant with $800,000 annual revenue and $480,000 in food + labor costs has a 40% gross margin — but that’s before rent ($9,000/month), utilities, insurance, and marketing. Net margin may be 5%–8% on the same revenue that looks profitable at the gross level.
The Prime Cost Rule
Prime cost = Food cost + Labor cost. Industry target: keep prime cost below 60%–65% of revenue. Above 65%, the restaurant is unlikely to generate meaningful net profit regardless of other efficiency gains.
Restaurant margin calculation example: Revenue: $80,000/month. Food cost: $26,000 (32.5%). Labor cost: $24,000 (30%). Prime cost: $50,000 = 62.5% — within target. Operating costs (rent + utilities + insurance + marketing): $18,000 (22.5%). Operating margin: ($80,000 − $50,000 − $18,000) ÷ $80,000 = 15% — above benchmark.
Bar Profit Margin Calculator
Bars and beverage-focused establishments carry significantly higher gross margins than food-focused restaurants. Beverage COGS typically runs 18%–25% (versus 28%–35% for food). A bar with $60,000 monthly revenue and 22% beverage COGS has gross margin of 78% — well above the restaurant benchmark. Net margins for bars typically run 7%–15%, higher than full-service restaurants due to lower food cost.
HVAC, Construction, and Trades — Profit Margin Calculator
HVAC Profit Margin Calculator
HVAC companies operate with gross margins of 35%–50% on service/installation work. Parts and equipment carry 20%–30% gross margin; labor-intensive service calls and diagnostic work can exceed 60% gross margin. Net margins for HVAC businesses typically run 8%–15% for well-managed shops.
Target benchmarks for HVAC 2026: Service calls gross margin: 55%–70%. Equipment installation gross margin: 25%–40%. Maintenance contracts: 50%–65% gross margin, highest recurring value.
If your HVAC gross margin is below 30%, investigate labor efficiency (hours per job), parts markup (industry standard: 40%–60% markup on parts), and call volume per technician.
Construction Gross Margin Calculation
On a construction project: Project Revenue minus Direct Job Costs (materials, subcontractors, direct labor, permits) = Gross Profit. General overhead (office staff, equipment depreciation, insurance) reduces this to operating profit.
A GC with $2.5M annual revenue, $2.0M in job costs, and $350,000 in overhead: Gross margin: ($2.5M − $2.0M) ÷ $2.5M = 20%. Operating margin: ($500,000 − $350,000) ÷ $2.5M = 6%.
Both within typical GC benchmarks. Specialty trades running the same numbers with $1.8M in job costs (28% gross margin) would be performing above the GC benchmark.
Markup vs Margin — The Most Common Confusion
Why Markup Is Not the Same as Margin
Markup and margin both express the relationship between cost and selling price — but they’re calculated differently and mean different things. Confusing them leads to systematic underpricing.
Markup % = (Selling Price − Cost) ÷ Cost × 100 Margin % = (Selling Price − Cost) ÷ Selling Price × 100
On a product with $50 cost sold at $100: Markup = ($100 − $50) ÷ $50 × 100 = 100% markup Margin = ($100 − $50) ÷ $100 × 100 = 50% margin
The same product has 100% markup AND 50% margin. Neither is wrong — they measure different things.
Markup to Margin Conversion
If you know markup percentage: Margin % = Markup % ÷ (1 + Markup %) 100% markup → 100% ÷ 200% = 50% margin ✓
If you know margin percentage: Markup % = Margin % ÷ (1 − Margin %) 50% margin → 50% ÷ 50% = 100% markup ✓
Why This Matters for Pricing
If you set prices by adding a 25% markup and believe you have a 25% margin, you’re wrong. A 25% markup produces a 20% margin. For a business targeting 25% gross margin, the required markup is: 25% ÷ (1 − 25%) = 33.3% markup.
Retail businesses systematically underprice when they set markup targets as margin targets. A 50% “margin” target actually requires a 100% markup. This calculator uses margin (percent of selling price) throughout — the standard for profit analysis.
Net Profit Margin Calculator — What the Bottom Line Actually Means
What Is a Good Net Profit Margin?
A good net profit margin depends entirely on your industry. SaaS companies achieve net margins of 10%–20% at maturity, while restaurants net 3%–9%. Using generic “5%–10% is good” advice without industry context is misleading.
The benchmark table in this calculator uses 2026 data by industry. General context:
- Below your industry median → investigate specific cost drivers
- At industry median → business is functioning normally; improvement is possible
- Above industry median → pricing power or cost efficiency advantage
- Well above (top quartile) → competitive moat: replicate and protect whatever creates it
How Net Margin Connects to Business Valuation
Higher operating margins command higher EBITDA multiples in M&A. A business with 20% operating margin in field services may get 5–6× EBITDA; one with 10% margin may get 4–4.5×. Understanding and improving net margin is not just operational — it directly affects what your business is worth if you ever sell, raise capital, or bring on investors.
Real Profit Margin Scenarios
Scenario 1: SaaS Company — Priya’s Business
| Amount | Calculation | |
|---|---|---|
| Revenue | $500,000 | — |
| COGS (hosting, support) | $100,000 | — |
| OPEX (salaries, marketing) | $200,000 | — |
| Interest & taxes | $30,000 | — |
| Margin | Result | vs Benchmark |
|---|---|---|
| Gross margin | 80% | ✅ Above benchmark |
| Operating margin | 40% | ✅ Well above benchmark |
| Net margin | 34% | ✅ Top quartile |
Verdict: All three margins are green. Priya’s SaaS unit economics are strong — high gross margin means every extra revenue dollar drops to the bottom line efficiently.
Scenario 2: Restaurant — Marcus’s Business
| Amount | % of Revenue | |
|---|---|---|
| Revenue | $95,000/month | — |
| Food cost | $32,300 | 34% |
| Labor | $28,500 | 30% |
| Prime cost total | $60,800 | 64% — above 62.5% target ⚠️ |
| OPEX (rent, utilities, etc.) | $22,000 | 23% |
| Net income | $12,200 | 12.8% |
| Margin | Result | vs Benchmark |
|---|---|---|
| Gross margin | 36% | ❌ Below F&B benchmark |
| Operating margin | 12.8% | ✅ Above benchmark |
| Net margin | 12.8% | ✅ Top quartile |
Verdict: Net and operating margins are strong — but gross margin is soft. Labor at 30% pushes prime cost to 64%, above the 62.5% industry target. The question is not whether Marcus is profitable (he is) — it’s whether revenue per labor hour is optimized before a slow month exposes the gap.
Scenario 3: Specialty Retail — Sarah’s Business
| Amount | % of Revenue | |
|---|---|---|
| Revenue | $380,000 | — |
| COGS | $228,000 | 60% |
| Gross profit | $152,000 | 40% |
| OPEX | $114,000 | 30% |
| Net income | $38,000 | 10% |
| Margin | Result | vs Benchmark |
|---|---|---|
| Gross margin | 40% | ✅ At median |
| Operating margin | 10% | ✅ Above retail benchmark |
| Net margin | 10% | ✅ Well above retail median |
Verdict: Healthy across all three metrics. A 10% net margin in retail outperforms most peers. The risk to watch: any COGS increase — supplier price hike, shrinkage, markdowns — directly erodes gross margin, which then compresses net margin with no buffer.
Frequently Asked Questions
What is a profit margin calculator?
A profit margin calculator estimates your gross, operating, and net profit margins based on revenue, cost of goods sold, operating expenses, and interest/tax costs. A complete calculator shows all three margin types simultaneously and compares them against industry benchmarks — so you can see not just what your margins are, but whether they’re strong or weak for your specific sector.
How to calculate profit margin?
Gross margin % = (Revenue − COGS) ÷ Revenue × 100. Operating margin % = (Revenue − COGS − OPEX) ÷ Revenue × 100. Net margin % = Net Income ÷ Revenue × 100. Each formula uses different cost inputs — gross margin only subtracts direct production costs; net margin subtracts everything including interest and taxes.
What is a good profit margin?
A good profit margin depends entirely on your industry. SaaS: 70%+ gross, 15%+ operating, 10%+ net. Restaurants: 60%+ gross (food cost control), 5%+ net. Retail: 30%+ gross, 3%+ net. Construction: 20%+ gross, 5%+ net. The industry benchmark section of this calculator shows 2026 medians for 10 sectors so you can evaluate your margins in context.
What is the difference between gross, operating, and net profit margin?
Gross margin subtracts only direct production costs (COGS). Operating margin subtracts COGS plus all operating expenses — rent, salaries, marketing. Net margin subtracts everything including interest and taxes — it’s your final take-home percentage per revenue dollar. A business can have strong gross margin but weak net margin if overhead or debt costs are high.
What is the difference between markup and margin?
Markup is the percentage added to cost to reach selling price: (Selling Price − Cost) ÷ Cost. Margin is the profit as a percentage of selling price: (Selling Price − Cost) ÷ Selling Price. The same product has both a markup percentage AND a different (lower) margin percentage. A 100% markup = 50% margin. Setting prices using markup but measuring with margin (or vice versa) causes systematic pricing errors.
How do I calculate profit margin for a product?
Product gross margin = (Selling Price − Unit Cost) ÷ Selling Price × 100. Selling Price $80, Unit Cost $30: ($80 − $30) ÷ $80 × 100 = 62.5% gross margin. For net margin at the product level, also subtract allocated overhead per unit (fixed costs ÷ units sold per period).
What is operating profit margin and how is it calculated?
Operating profit margin = (Revenue − COGS − Operating Expenses) ÷ Revenue × 100. Operating expenses include rent, staff salaries, marketing, software, and admin — but NOT interest payments or income tax. Operating margin is the cleanest profitability metric for comparing different businesses because it excludes financing structure and tax treatment.
Data Sources
Accuracy & Verification
Industry margin benchmarks sourced from multiple 2026 datasets: SaaS benchmarks from SaaS Capital and KeyBanc analysis of 1,000+ private SaaS companies. E-commerce benchmarks from TrueProfit analysis of 5,000+ ecommerce stores. Restaurant benchmarks from National Restaurant Association 2025–2026 industry data. Construction benchmarks from Associated General Contractors of America financial surveys. Retail benchmarks from National Retail Federation margin analysis. All benchmarks represent 2026 median values. Last verified: April 2026.
This tool provides estimates for informational purposes only. Results do not constitute financial, accounting, tax, or investment advice. Actual margins depend on your specific cost structure, accounting methodology, and industry niche. Consult a CPA for accurate financial analysis before making pricing or investment decisions.
Related Calculators
Tools That Connect to This One
Understanding your margin is the starting point — the break-even calculator shows how many units or dollars of revenue you need to cover all costs given your contribution margin. For businesses considering debt to fund growth, the loan calculator models how interest expense (which reduces net margin) affects your bottom line. And to see what your margin-driven profitability means for business value, the business valuation calculator estimates enterprise value based on EBITDA multiples in your sector.
