Profit Margin Calculator

Calculate gross, operating, and net profit margins. Includes industry benchmarks, markup vs. margin explained, worked examples, and strategies to improve profitability.

Margin Analysis

Gross Margin60.0% · $30,000
Operating Margin30.0% · $15,000
Net Margin20.0% · $10,000
Total Costs$40,000
Revenue$50,000

How to Use This Tool

  1. Enter your total revenue for the period (e.g. monthly sales).
  2. Enter your Cost of Goods Sold (COGS) — direct costs of producing what you sold.
  3. Enter your operating expenses, such as rent, salaries, and marketing.
  4. Enter other expenses like taxes and interest.
  5. Review the gross, operating, and net margin bars to see how much of each revenue dollar survives at each stage.

Formula & How It Works

Gross Margin

Gross Margin % = (Revenue − COGS) ÷ Revenue × 100

Profitability after only the direct costs of producing or delivering the product.

Operating Margin

Operating Margin % = (Revenue − COGS − Operating Expenses) ÷ Revenue × 100

Profitability after also covering the day-to-day costs of running the business.

Net Margin

Net Margin % = (Revenue − COGS − Operating Expenses − Other Expenses) ÷ Revenue × 100

The final bottom-line profit percentage after every expense, including taxes and interest, is deducted.

Practical Examples & Common Use Cases

Retail business

Revenue of $50,000/month, COGS of $20,000, operating expenses of $15,000, other expenses of $5,000. Gross profit = $30,000 (60% margin). Operating profit = $15,000 (30% margin). Net profit = $10,000 (20% margin) — a healthy result for most industries.

SaaS company

Revenue of $200,000/month, COGS (hosting + support) of $30,000, operating expenses (salaries, R&D, marketing) of $130,000, other expenses of $10,000. Gross margin = 85%, operating margin = 20%, net margin = 15% — typical of software businesses with low COGS but heavy R&D and sales spend.

Restaurant

Revenue of $80,000/month, COGS (food) of $26,000, operating expenses (labor, rent) of $46,000, other expenses of $3,000. Gross margin = 67.5%, operating margin = 10%, net margin = 6.25% — reflecting the industry's typically thin bottom line despite a healthy gross margin.

Industry Benchmark: What Is a Good Margin?

"Good" margins vary dramatically by industry. Use these benchmarks to assess your business:

IndustryGross MarginNet MarginNotes
SaaS / Software70–85%15–40%Low COGS, high R&D spend
Professional Services50–70%15–25%Labor is primary cost
E-commerce / Retail25–50%2–8%Thin margins, high volume
Manufacturing20–40%5–15%Capital intensive
Restaurant60–70%3–9%High food + labor costs
Grocery / Food Retail20–30%1–3%Extremely thin; volume driven
Healthcare40–60%5–20%Varies by segment
Construction15–25%2–6%Project-based variability

If your margins are significantly below industry averages, investigate your COGS, pricing strategy, and operating efficiency. If they're above average, you have a competitive advantage worth protecting.

Markup vs. Margin: A Critical Distinction

Markup and margin both measure profit relative to cost or price, but they use different bases — and confusing them is one of the most common business math mistakes:

  • Markup = (Selling Price − Cost) ÷ Cost × 100 — profit as % of cost
  • Margin = (Selling Price − Cost) ÷ Selling Price × 100 — profit as % of revenue
Markup %Equivalent Margin %
20%16.7%
33%25%
50%33.3%
100%50%
200%66.7%

If you say "we mark up our products by 50%" that means a $20 cost item sells for $30 — and the margin is only 33.3%, not 50%. Always clarify which basis you're using when discussing profitability with partners, investors, or team members.

How to Improve Your Profit Margins

  • Increase prices: Even a 5–10% price increase with minimal volume loss dramatically improves margins. Most businesses are underpriced. Test price sensitivity before assuming you can't raise rates.
  • Reduce COGS: Negotiate with suppliers for volume discounts, source alternatives, reduce waste, or improve production efficiency. A 5% COGS reduction on $1M revenue = $50,000 straight to the bottom line.
  • Cut low-ROI operating expenses: Audit subscriptions, marketing channels, and overhead. Focus spending on activities with measurable returns.
  • Increase average order value: Upselling and bundling increase revenue without proportional cost increases, naturally improving margins.
  • Eliminate low-margin products/services: Not all revenue is equal. A product with a 5% margin may be dragging down your overall profitability.

Frequently Asked Questions

It depends heavily on industry. A 10% net margin is often cited as average, 20% as good, and above 20% as excellent. However, software/SaaS companies commonly achieve 15–40% net margins, while grocery stores operate on 1–3%. Always compare your margins to industry peers rather than a generic benchmark.

Gross margin is revenue minus Cost of Goods Sold (COGS) — it measures how efficiently you produce or deliver your product. Net margin is what's left after ALL expenses, including operating costs, interest, and taxes. A business can have a high gross margin (e.g., 70%) but low net margin (e.g., 5%) if operating expenses are very high — common in businesses with large sales forces or R&D budgets.

Margin is profit as a percentage of revenue (selling price). Markup is profit as a percentage of cost. A 50% markup equals a 33.3% margin. The confusion between these two causes significant pricing errors: if you want a 50% margin, you need a 100% markup, not a 50% markup. Always be explicit about which basis you're using.

COGS includes all direct costs of producing what you sell: raw materials, direct labor (workers who make the product), manufacturing overhead, shipping to customer, and packaging. COGS does NOT include: salaries of sales/marketing/admin staff, rent of office space, software subscriptions, or other overhead. These belong in operating expenses.

Reducing COGS through supplier negotiation, process improvement, or reducing waste directly improves gross margin. On the operating side, eliminate low-ROI spending, automate repetitive tasks, consolidate vendors, and focus on your highest-margin products/services. Also consider whether you're underpricing — most businesses are, and a small price increase often has a large margin impact.

Operating margin excludes interest expense and income taxes. If a business has significant debt, interest payments reduce net profit below operating profit. Similarly, tax expenses are deducted at the net level. A highly leveraged company might have a 20% operating margin but only 10% net margin due to debt service costs.

Track margins monthly to spot trends. Declining gross margin often signals rising COGS (supplier price increases, waste, scope creep). Declining operating margin signals overhead growing faster than revenue. Use margins to evaluate product lines — kill or reprice products with margins well below your average. Investors also use net margin to compare businesses across the same industry.

Related Tools