Free Tool

Profit Margin Calculator

Calculate gross margin, operating margin, and net profit margin. Industry benchmarks for SaaS, e-commerce, retail, and restaurants. No sign-up required.

Quick Takeaway

Gross Margin = (Revenue - COGS) / Revenue. SaaS companies average 70-85% gross margin; e-commerce 40-60%; retail 20-30%. Gross margin measures production efficiency, not overall profitability.

Key distinction: Gross margin ignores operating expenses (salaries, rent, marketing). A 70% gross margin can still be unprofitable if overhead is too high. Net margin is the true bottom-line measure — most profitable companies hit 10-20% net margin, though retail and restaurants typically operate at 2-6%.

Sources: Investopedia margin formulas, SaaS Capital 2024 benchmarks, NYU Stern industry margin data (2024)

Your Numbers

$
Total sales income for the period
$
Direct costs: materials, production, shipping
$
Salaries, rent, marketing, software, utilities
$
Loan interest, income tax, one-time fees. Leave 0 for operating-only view
Net Profit Margin
—
Bottom-line profitability
Gross Margin
—
Revenue minus COGS
Operating Margin
—
Before interest and taxes
Net Profit
—
Revenue minus all costs
Gross Profit
—
Revenue minus COGS
Industry Benchmark
70-85%
SaaS average gross margin
Copied!

Track Profit Margins in One Place

Pair this calculator with our Cold Email Outreach Tracker — a Notion template built from 200,000+ sent emails. Track campaign ROI, customer acquisition costs, and profit per customer in one workspace.

Get the Notion Template →

Core Data & Metrics

Metric Value Source Test Conditions
Gross Margin Formula (Revenue - COGS) / Revenue × 100% Investopedia Standard accounting formula, GAAP compliant
Operating Margin Formula (Revenue - COGS - Opex) / Revenue × 100% CFI EBIT margin; excludes interest, taxes, one-time items
Net Margin Formula Net Profit / Revenue × 100% Investopedia Bottom line after all expenses, interest, and taxes
SaaS Average Gross Margin 70-85% SaaS Capital 2024 Median SaaS company, public and private, 2023 fiscal year
E-commerce Average Gross Margin 40-60% Shopify 2024 DTC brands, median across categories, includes shipping
Retail Average Gross Margin 20-30% NYU Stern 2024 General merchandise retail, US public companies
Restaurant Average Gross Margin 60-70% National Restaurant Association 2024 Full-service restaurants, food cost only (labor excluded from COGS). If labor included, gross margin is 35-45%
Healthy Net Margin 10-20% (most industries) General financial principle Above 20% is exceptional; below 5% is risky for most businesses, but retail and restaurants routinely operate at 2-6% net margin

Who This Is For

Founders & CEOs

Quickly assess overall business health. Compare gross vs net margin to identify whether production or overhead is the problem.

E-commerce Sellers

Calculate true product profitability after COGS, shipping, and ad spend. Determine which products are actually making money.

Restaurant Owners

Track food cost percentage and labor cost separately. Identify menu items with low contribution margin that should be repriced or removed.

Freelancers & Agencies

Calculate project profitability after subcontractor costs and overhead. Set pricing that ensures healthy net margins, not just gross revenue.

Limitations & Best Practices

  • Gross margin ≠ profitability: A 80% gross margin means nothing if operating expenses consume 90% of revenue. Always look at net margin for the true bottom line.
  • COGS classification varies: Some companies include shipping in COGS; others treat it as operating expense. For accurate comparison, classify consistently across periods.
  • One-time expenses distort margins: Legal fees, restructuring costs, or large equipment purchases can make a single period look unprofitable. Look at trailing 12-month averages for trend analysis.
  • Cash vs accrual accounting: This calculator uses accrual-basis logic (revenue when earned, expenses when incurred). Cash-basis businesses may see different timing patterns.
  • Industry benchmarks are medians: Your business model may differ. A custom furniture maker will have lower gross margin than a SaaS company, but that doesn't mean it's worse — compare within your niche.
  • Taxes not included: Net profit here is pre-tax. Actual net margin after taxes will be lower (effective tax rates vary 15-35% depending on structure and jurisdiction).
  • Margin vs markup: Margin is profit as percentage of revenue; markup is profit as percentage of cost. A 50% markup = 33% margin. Don't confuse the two when pricing. Use our ROI Calculator for investment returns.

How This Compares

Feature This Calculator Excel Spreadsheet Accounting Software
Three margin types Yes (gross, operating, net) Manual formula entry Yes, automated
Industry benchmarks 5 industries included No, manual research Sometimes, enterprise plans
Data privacy 100% local browser Local file Data sent to vendor servers
Cost Free Excel license ($159/yr) $30-200/month
Setup time 0 seconds 10-20 minutes 1-2 weeks integration
Best for Quick estimates, what-if analysis Custom modeling Ongoing bookkeeping

Frequently Asked Questions

What is the difference between gross margin and net margin?

Gross margin = (Revenue - COGS) / Revenue. It measures production efficiency — how much is left after direct costs. Net margin = Net Profit / Revenue. It's the bottom line after ALL expenses (COGS + operating + interest + taxes). A company can have 70% gross margin but negative net margin if overhead is too high.

What is a good profit margin?

It varies by industry. SaaS: 70-85% gross, 10-20% net. E-commerce: 40-60% gross, 5-15% net. Retail: 20-30% gross, 2-6% net. Restaurants: 60-70% gross, 3-5% net. As a general rule, net margin above 10% is healthy, above 20% is exceptional, and below 5% is risky for most businesses.

What counts as COGS vs operating expenses?

COGS (Cost of Goods Sold) = direct costs of producing your product: raw materials, manufacturing labor, shipping to customer, payment processing fees. Operating expenses = indirect costs: salaries (non-production), rent, marketing, software subscriptions, utilities, insurance. If a cost would exist even if you sold zero units, it's usually operating expense, not COGS.

How do I improve my profit margin?

Three levers: (1) Raise prices — even a 5% price increase with flat costs can double net margin. (2) Reduce COGS — negotiate better supplier rates, optimize shipping, reduce material waste. (3) Cut operating expenses — audit software subscriptions, improve labor productivity, renegotiate rent. Focus on gross margin first; a 10-point gross margin improvement is worth more than any overhead cut.

What is the difference between margin and markup?

Margin = Profit / Revenue (percentage of selling price that is profit). Markup = Profit / Cost (percentage added to cost). They are NOT the same. A 50% markup on a $100 cost = $150 price = $50 profit = 33% margin. A 100% markup = $200 price = $100 profit = 50% margin. When setting prices, always calculate margin, not markup.

Why is my gross margin high but I'm losing money?

High gross margin + negative net margin means your operating expenses are too high relative to revenue. Common causes: over-hiring before revenue scales, expensive office space, excessive marketing spend with poor ROI, or too many software tools. Calculate your operating margin (gross profit - opex) / revenue to see where the leak is. If operating margin is positive but net is negative, the issue is interest payments or taxes.

Should I include taxes in net profit?

This calculator now includes an "Interest & Taxes" field — enter your estimated tax and interest payments to see true after-tax net margin. If you leave it at 0, the net profit shown is operating profit (pre-tax). Effective tax rates vary: US C-corps 21% federal + state, pass-through entities (LLC/S-corp) pay individual rates (10-37%). Consult a tax professional for your specific situation.

Is my data sent to your servers?

No. All calculations run locally in your browser. Your revenue, costs, and profit numbers are never sent to our servers or any third party. Page visit analytics (anonymous, no input data) may be collected by Cloudflare. Your financial metrics never leave your device.

More Free Tools