Calculate gross margin, operating margin, and net profit margin. Industry benchmarks for SaaS, e-commerce, retail, and restaurants. No sign-up required.
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)
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 →| 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 |
Quickly assess overall business health. Compare gross vs net margin to identify whether production or overhead is the problem.
Calculate true product profitability after COGS, shipping, and ad spend. Determine which products are actually making money.
Track food cost percentage and labor cost separately. Identify menu items with low contribution margin that should be repriced or removed.
Calculate project profitability after subcontractor costs and overhead. Set pricing that ensures healthy net margins, not just gross revenue.
| 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 |
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.
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.
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.
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.
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.
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.
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.
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.
Return on investment with annualized return and 5 industry benchmarks.
Return on ad spend with gross margin-adjusted profitable threshold.
Customer acquisition cost with gross margin-adjusted payback period.
MRR, ARR, runway, LTV, and 12-month growth projections.
Website CVR, CPA, and revenue per visitor with benchmarks.