CalcMountain

Profit Margin Calculator

Understand your business profitability at every level. Enter your revenue and costs to see gross margin, operating margin, and net margin. Compare your margins against industry benchmarks and identify areas to improve profitability.

Profit margin is the most fundamental measure of business profitability — the percentage of revenue that becomes profit after costs. Different margins reveal different aspects of business health: gross margin shows pricing power and product economics; operating margin reveals operational efficiency; net margin shows bottom-line profitability after all expenses including taxes. Each margin matters for different decisions, and understanding all three is essential for managing or evaluating any business.

The three primary margins:

- **Gross Margin** = (Revenue − Cost of Goods Sold) / Revenue. Measures the profitability of each unit sold before overhead. Software companies typically have 70-90% gross margin (low COGS). Retailers often 25-45%. Restaurants 60-70%. Manufacturers 20-40%. Indicates pricing power and product/market fit.

- **Operating Margin** = (Revenue − COGS − Operating Expenses) / Revenue. Measures profitability from core operations before financing and taxes. Indicates operational efficiency and scale economics. Mature SaaS companies often 20-30%; well-run retail 5-12%; commodity industries 2-5%.

- **Net Margin** = (Revenue − All Expenses − Taxes) / Revenue. The bottom-line profitability. Highly variable by industry, business model, and tax structure. S&P 500 average around 10-12%; technology companies 15-25%; retail 2-5%; banks 20-30%.

This calculator computes all three margins from revenue, COGS, operating expenses, and taxes. Use it for: tracking business profitability over time, comparing your margins to industry benchmarks, identifying which costs are eroding profitability, and pricing decisions (understanding minimum margin requirements). Important context: high margins aren't inherently better than low margins — they reflect business model differences. A grocery store with 2% net margin can be hugely profitable on volume; a high-margin software company can struggle on low revenue. The right metric is comparing your margins to industry peers, not to other industries.

Inputs

$
$
$

Rent, salaries, marketing, etc.

$

Results

Net Profit

$28,000.00

Gross Margin

60.0%

Operating Margin

35.0%

Net Margin

28.0%

Revenue Breakdown

Margin Comparison

Last updated: Reviewed by the CalcMountain editorial team

Formula

Gross Profit and Gross Margin: Gross Profit = Revenue − Cost of Goods Sold (COGS) Gross Margin % = (Gross Profit / Revenue) × 100 Operating Profit and Operating Margin: Operating Profit = Gross Profit − Operating Expenses Operating Margin % = (Operating Profit / Revenue) × 100 Net Profit and Net Margin: Net Profit = Operating Profit − Taxes (and Interest, in full accounting) Net Margin % = (Net Profit / Revenue) × 100 Example: $100,000 revenue, $40,000 COGS, $25,000 operating expenses, $7,000 taxes. Gross Profit: $100,000 − $40,000 = $60,000 Gross Margin: $60,000 / $100,000 = 60% Operating Profit: $60,000 − $25,000 = $35,000 Operating Margin: $35,000 / $100,000 = 35% Net Profit: $35,000 − $7,000 = $28,000 Net Margin: $28,000 / $100,000 = 28% Margin vs. Markup: Margin = Profit / Revenue (% of selling price) Markup = Profit / Cost (% of cost) For 50% markup on $10 item: Sell for $15. Margin = $5/$15 = 33.3%. For 100% markup on $10 item: Sell for $20. Margin = $10/$20 = 50%. Common confusion: many people use "markup" and "margin" interchangeably. They're different. Markup to margin conversion: Margin % = Markup % / (1 + Markup %) Margin to markup conversion: Markup % = Margin % / (1 − Margin %) Industry benchmark gross margins (approximate): Software/SaaS: 70-90% Pharmaceuticals: 60-80% Luxury goods: 50-70% Restaurants: 60-70% Retail apparel: 40-60% Consumer packaged goods: 30-50% Specialty retail: 35-50% Grocery: 20-30% General retail: 25-45% Construction: 15-25% Manufacturing: 20-40% Auto dealers: 12-18% Commodities: 5-15% Industry benchmark net margins (approximate): Software/SaaS: 15-25% (mature companies) Banks: 20-30% Pharmaceuticals: 15-25% Technology hardware: 10-20% Professional services: 10-20% Insurance: 5-15% Manufacturing: 5-12% Retail: 2-5% Grocery: 1-3% Restaurants: 3-10% Construction: 3-7% Auto dealers: 2-3% Don't compare your margins to industries with fundamentally different business models. Compare to peers. Margin trends matter more than levels: Improving margins over time = pricing power, scale economics, efficiency gains Declining margins = competitive pressure, cost inflation, mix shift to lower-margin products Stable margins = mature business in equilibrium Tracking margin trends quarter-over-quarter and year-over-year reveals more than single-point margin values.

How to use this calculator

  1. Enter total revenue for the period (month, quarter, or year).
  2. Enter Cost of Goods Sold (COGS) — direct costs of producing the product or service (raw materials, direct labor, manufacturing overhead).
  3. Enter operating expenses — rent, salaries (non-production), marketing, software, professional fees, etc.
  4. Enter taxes (income taxes paid; corporate/business taxes).
  5. Review gross margin, operating margin, and net margin.
  6. Compare to industry benchmarks (see formula section for typical ranges).
  7. For improvement: gross margin improves through pricing (raise prices), product mix shift to higher-margin items, COGS reduction (negotiate supplier rates, improve production efficiency). Operating margin improves through overhead reduction or revenue scale economics.
  8. Track margins consistently over time (monthly or quarterly). Trends matter more than single-period numbers.
  9. For pricing decisions: calculate target sale price using desired margin (Selling Price = Cost / (1 − Margin %)).
  10. For owner-operated businesses: include reasonable owner compensation in operating expenses for accurate margins (otherwise margins appear inflated).

Worked examples

SaaS company

$1M ARR, $80K COGS (cloud infrastructure, support), $600K operating (engineering, sales, marketing), $80K taxes. Gross Profit: $920K Gross Margin: 92% (excellent — typical SaaS pattern) Operating Profit: $320K Operating Margin: 32% (strong for SaaS, indicates good scale economics) Net Profit: $240K Net Margin: 24% (excellent profitability) Healthy SaaS unit economics. High gross margin (low COGS) is the SaaS advantage; operating margin reflects whether the company has achieved scale efficiency. A 24% net margin SaaS would be considered profitable and well-run. Early-stage SaaS typically has negative operating/net margins (heavy investment in sales/marketing for growth) but high gross margin. Mature SaaS achieves 20-30% net margins.

Restaurant

$800K revenue, $260K food costs (COGS), $440K operating (labor, rent, utilities, marketing), $30K taxes. Gross Profit: $540K Gross Margin: 67.5% (typical for restaurants — food cost ratio of 32.5%) Operating Profit: $100K Operating Margin: 12.5% (above average for industry; well-run) Net Profit: $70K Net Margin: 8.75% (above industry average of 3-10%) Healthy restaurant. Food costs around 30-35% of revenue is the industry standard target. Labor typically 25-35% of revenue. Rent 5-10%. Profitable restaurants achieve 8-15% net margins; many breakeven or operate at 2-5%. Restaurant industry is brutal: high failure rate, thin margins, labor-intensive. Strong unit economics here suggests this restaurant is well-managed.

Retail store

$2M revenue, $1.2M product costs (COGS), $700K operating (rent, labor, utilities, marketing), $30K taxes. Gross Profit: $800K Gross Margin: 40% (typical specialty retail) Operating Profit: $100K Operating Margin: 5% (mediocre for retail) Net Profit: $70K Net Margin: 3.5% (below average specialty retail) Concerning retail economics. While 40% gross margin is reasonable, the 5% operating margin suggests overhead is consuming most gross profit. Improvement levers: rent renegotiation, labor optimization, marketing efficiency, or revenue scale to spread fixed costs. Specialty retail can achieve 8-15% operating margins when well-managed. This store has room for improvement — either reducing operating costs or growing revenue while keeping operating costs flat.

When to use this calculator

Use this calculator when analyzing business profitability, benchmarking against industry standards, making pricing decisions, tracking financial trends, or preparing financial reports for stakeholders.

Pair with break-even (volume needed for profitability), cash-flow (working capital management), and financial-ratios (broader business health analysis).

Important profit margin considerations:

1. **Different margins serve different purposes.** Gross margin = pricing power. Operating margin = operational efficiency. Net margin = bottom-line profitability. All three matter for understanding business health.

2. **Industry context is everything.** A 5% net margin in commodities is excellent; the same margin in software is failing. Compare to industry peers, not across industries.

3. **Margin trends > margin levels.** Improving margins (even if absolute levels are low) signals positive momentum. Declining margins (even from high baseline) signals problems requiring attention.

4. **Margin vs. markup confusion is common.** Margin = profit ÷ revenue. Markup = profit ÷ cost. A 100% markup is only 50% margin. Be specific about which you're using.

5. **Owner-operated business gotcha.** Many small business owners don't pay themselves market wages, inflating apparent margins. For accurate analysis, include reasonable owner compensation in operating expenses.

6. **Beware of non-recurring items.** One-time gains (asset sale, lawsuit settlement) inflate net margin temporarily; one-time costs depress it. Look at underlying operating performance for trends.

7. **Margin improvement levers (general).** Gross: raise prices, change mix, reduce input costs. Operating: reduce overhead, achieve scale economics. Net: same as operating + tax optimization + financing changes.

8. **High margin doesn't mean high profit dollars.** Walmart's 3% net margin on $600B revenue = $18B profit. A 30% net margin small business on $500K revenue = $150K profit. Volume × margin = total profit.

9. **Negative margins in early-stage companies.** Startups and growth-phase businesses often run negative operating/net margins intentionally (investing for growth). Compare to industry norms for stage of business.

10. **Margin compression is a red flag.** Sustained decline (3-4 quarters) typically signals competitive pressure, input cost inflation, mix shift to lower-margin products, or operational issues. Identify cause and address.

11. **Margin expansion targets.** When entering a new growth phase, set margin expansion goals (e.g., "improve operating margin from 12% to 15% over 18 months"). Concrete targets focus management attention.

12. **Service vs. product margins differ.** Services typically have higher gross margins than physical products (no COGS for inventory) but often lower operating margins (heavier on labor expenses). Compare like-to-like.

Common mistakes to avoid

  • Confusing margin with markup. Margin is % of revenue; markup is % of cost. A 50% markup is only 33% margin.
  • Comparing margins across industries. A grocery store's 2% net margin is healthy; the same number is failing for software.
  • Ignoring industry context. Compare to industry peers, not absolute thresholds.
  • Not including owner compensation in small business calculations. Inflates apparent margins; misleads decisions.
  • Focusing on single-period margins. Trends over 4-8 quarters reveal more than any single point.
  • Confusing margin levels with profit dollars. Low-margin/high-volume businesses can be far more profitable than high-margin/low-volume ones in absolute terms.

Frequently Asked Questions

Sources & further reading

SponsoredShop Top Deals on AmazonSupport CalcMountain — browse top-rated products at no extra cost to you.

Related Calculators