Profit Margin Calculator

Calculate gross margin, net margin, and operating margin from revenue and costs. Compare your profitability against industry benchmarks and find ways to improve margins.

Profit Margin Benchmarks

Industry average margins for quick comparison

(Rev−COGS)/RevGross margin formula
~10%S&P 500 avg net margin
25–35%Retail avg gross margin
70–80%SaaS avg gross margin
3–9%Restaurant net margin
Profit/Rev×100Margin% formula

Calculate Your Profit Margin

Enter your revenue and costs to instantly find gross margin, net margin, and profit in dollars.

Open Percentage Calculator →

The Three Types of Profit Margin

Profit margin isn't a single number — there are three distinct margins that tell different parts of the profitability story:

Gross Margin = (Revenue − Cost of Goods Sold) ÷ Revenue × 100
This measures how efficiently you produce or source your product. It ignores operating overhead and focuses purely on the revenue vs. direct production costs.

Operating Margin = (Revenue − COGS − Operating Expenses) ÷ Revenue × 100
This includes salaries, rent, marketing, and other operational costs. It shows how profitable the core business operations are before financing and taxes.

Net Margin = Net Income ÷ Revenue × 100
The "bottom line" — all revenue minus all expenses including taxes, interest, and depreciation. This is what the business actually keeps as profit.

Gross Margin vs Net Margin: Practical Examples

Consider a restaurant with $1,000,000 in annual revenue:

Food and beverage costs (COGS): $350,000 → Gross profit: $650,000 → Gross margin: 65%
Minus labor ($300,000), rent ($80,000), utilities ($30,000), marketing ($20,000): Operating expenses = $430,000
Operating profit: $220,000 → Operating margin: 22%
Minus taxes and interest ($150,000): Net profit: $70,000 → Net margin: 7%

This illustrates why a restaurant with a seemingly healthy 65% gross margin can end up with only 7% net margin — overhead is enormous in the hospitality industry.

Profit Margins by Industry

Margins vary dramatically by sector, driven by capital intensity, competition, and business model:

Software/SaaS: Gross margin 70–85%, net margin 15–30% (once scaled)
Financial services: Net margin 15–25% (low COGS, high revenue per employee)
Healthcare: Gross margin 50–70%, net margin 10–20%
Retail: Gross margin 25–35%, net margin 2–5% (high volume, thin margins)
Restaurants: Gross margin 60–70%, net margin 3–9% (high overhead)
Construction: Net margin 2–6% (project-based, competitive bidding)
Airlines: Net margin 2–7% (massive fixed costs, fuel exposure)

The Markup vs Margin Confusion: A Common Mistake

One of the most frequent errors in small business pricing is confusing markup with margin. A business owner says "I need 50% margin" and adds 50% to their cost — but this gives them only a 33.3% margin, not 50%.

The math: $100 cost + 50% markup = $150 selling price. Margin = ($150−$100)/$150 = 33.3%, not 50%.
To achieve a true 50% margin: Price = Cost ÷ (1 − Margin%) = $100 ÷ 0.50 = $200. Now: ($200−$100)/$200 = 50% margin.

Use the correct formula for your target: if you think in margins, use Price = Cost ÷ (1 − Margin%); if you think in markup, use Price = Cost × (1 + Markup%).

How to Improve Your Profit Margin

Margins can be improved by either increasing revenue without proportional cost increases, or reducing costs without sacrificing revenue. Key levers: Raise prices — even a 5% price increase with no volume loss significantly impacts margin. Reduce COGS — negotiate supplier contracts, reduce waste, improve production efficiency. Cut operating overhead — automate processes, optimize staffing, renegotiate leases. Focus on high-margin products — not all SKUs are equal; prioritize your most profitable lines. Reduce customer acquisition costs — improving conversion rates and retention lowers the marketing spend needed per revenue dollar.

Frequently Asked Questions

How do I calculate profit margin?

Profit Margin% = (Revenue − Costs) ÷ Revenue × 100. Revenue $500K, COGS $300K: gross margin = ($200K/$500K)×100 = 40%. For net margin, divide net income (after all expenses and taxes) by revenue.

What is the difference between gross margin and net margin?

Gross margin only subtracts direct production costs (COGS). Net margin subtracts ALL costs including operating expenses, taxes, and interest. The gap between them shows your overhead burden.

What is a good profit margin?

It's industry-specific. SaaS: 70–80% gross. Retail: 25–35% gross, 2–5% net. Restaurants: 3–9% net. S&P 500 average: ~10% net. Compare yourself to industry peers, not cross-sector averages.

What is the difference between markup and profit margin?

Markup is based on cost; margin is based on selling price. Cost $50, price $100: 100% markup but 50% margin. People often confuse them — adding 50% markup gives only 33.3% margin. Use Price = Cost÷(1−Margin%) for a target margin.

Related Tools & Calculators