Profit Margin Calculator

Calculate gross margin, operating margin, net profit margin, EBITDA margin, and markup from any revenue and cost inputs. Switch to markup mode to set a selling price from cost.

Mode:

e.g. $500,000

Direct cost of producing goods/services

Rent, salaries, marketing, etc.

Loan interest payments

U.S. corporate rate: 21%

Non-cash asset depreciation charge

Non-cash intangible amortization charge

Gross margin 60.0%, operating margin 30.0%, EBITDA margin 34.0%, net margin 22.1%.

Gross Margin

60.0%

$300,000

Operating Margin

30.0%

$150,000

EBITDA Margin

34.0%

$170,000

Net Margin

22.1%

$110,600

P&L Waterfall

Markup on COGS: 150.0%(gross profit as % of cost of goods sold)

P&L Summary

Line ItemAmount% of Revenue
Revenue$500,000100.0%
COGS($200,000)40.0%
Gross Profit$300,00060.0%
Operating Expenses($150,000)30.0%
Operating Profit$150,00030.0%
EBITDA$170,00034.0%
Interest($10,000)2.0%
Taxes($29,400)5.9%
Net Profit$110,60022.1%
Context: Average profit margins by industry: Software/SaaS ~25% net | Healthcare ~10% | Manufacturing ~8% | Retail ~3% | Restaurants ~5%. The S&P 500 average net profit margin is approximately 12–13%. A gross margin above 50% is generally considered strong for product businesses.
Disclaimer: Profit margin calculations are simplified estimates. Tax calculations use a flat rate and do not account for deductions, credits, or complex tax situations. Consult a CPA or financial advisor for business-specific financial analysis.

How to Use This Profit Margin Calculator

Calculate all four margin types in seconds. Follow these steps:

  1. Choose your mode — select Margin Calculator to analyze an existing P&L, or Markup Calculator to determine a selling price from cost.
  2. Enter revenue and costs — for margin mode, enter total revenue, cost of goods sold, and operating expenses.
  3. Add optional details — include interest, taxes, depreciation, and amortization for EBITDA and net margin.
  4. Read your margins — all four margin types are calculated instantly with a visual P&L waterfall.

Results update in real time as you type. Use the Share button to save a link to your exact inputs, or Print to export as PDF.

Formulas & Benchmarks

Gross Margin

Gross Margin = (Revenue − COGS) / Revenue × 100

Measures profit after direct production costs. Strong gross margins (>50%) indicate pricing power.

Operating Margin

Operating Margin = Operating Profit / Revenue × 100

Operating Profit = Gross Profit − Operating Expenses. Shows core business profitability before financing.

EBITDA Margin

EBITDA Margin = EBITDA / Revenue × 100

EBITDA = Operating Profit + Depreciation + Amortization. Strips out non-cash charges for cross-company comparison.

Net Margin

Net Margin = Net Profit / Revenue × 100

Net Profit = Operating Profit − Interest − Taxes. The bottom line — actual profit kept after all obligations.

Markup Formula

Selling Price = Cost × (1 + Markup% / 100)

Example: $100 cost with 50% markup → $150 selling price, $50 profit, 33.3% margin.

Margin vs. Markup Comparison

Markup on CostEquivalent Margin
25%20.0%
50%33.3%
100%50.0%
200%66.7%

Formula: Margin = Markup / (1 + Markup). Always lower than the equivalent markup percentage.

Industry Benchmark Reference

IndustryGross MarginNet Margin
Software / SaaS70–85%20–30%+
Healthcare40–60%10–15%
Manufacturing25–40%5–10%
Retail20–40%2–5%
Restaurants60–70%3–9%
S&P 500 Average~50%12–13%

Frequently Asked Questions

Related Calculators