Skip to content

Business Margin Calculator

Calculate gross, operating and net profit margins from your revenue and costs — or get a quick margin from just revenue and cost — with a clear side-by-side comparison.

Revenue & cost of goods
$

Leave the fields below blank for a simple gross-margin calculation.

$
Operating costs
$
$
$
$

Net profit margin

Enter your revenue (greater than zero) to calculate margins.

What is a business margin calculator?

A margin calculator turns revenue and costs into the three margins that matter: gross, operating and net. Margins tell you not just how much you make, but how efficiently — and they are the fastest way to spot where profit leaks out of a business.

How is it calculated?

  • Gross profit = Revenue − COGS; Gross margin = Gross profit ÷ Revenue × 100
  • Operating profit = Gross profit − (Operating expenses + Marketing + Payroll)
  • Net profit = Operating profit − Other expenses
  • Margin = Profit ÷ Revenue × 100 at each level

Gross vs operating vs net margin

Gross margin shows the profitability of what you sell before overheads. Operating margin adds the cost of running the business. Net margin reflects everything, including one-off and other costs. Watching all three tells you whether a problem is in pricing/COGS, in overheads, or below the line.

Example

Revenue of $100,000 with $60,000 COGS gives a $40,000 gross profit and a 40% gross margin. Add $30,000 of operating costs and the operating margin is 10%. That single view makes it obvious whether to focus on pricing, cost of goods, or overhead.

Who should use it

  • Owners monitoring profitability and pricing.
  • Founders building simple financial models.
  • Anyone comparing product or service lines.

Related calculators

Go deeper with the business profit calculator, work out EBITDA, or find the sales you need with the break-even calculator.

Frequently asked questions

How do you calculate profit margin?

Profit margin = Profit ÷ Revenue × 100. Gross margin uses gross profit (revenue minus COGS), operating margin uses operating profit, and net margin uses net profit. This calculator shows all three at once.

What is the difference between gross, operating and net margin?

Gross margin is left after the direct cost of what you sell. Operating margin is left after running costs like payroll and marketing. Net margin is what remains after all costs. Each strips out more, so net ≤ operating ≤ gross.

What is a good profit margin?

It is highly industry-dependent. Software often has very high gross margins, while retail and food service run thin. Compare your margins to peers and track whether they are improving over time.

Can I just calculate margin from revenue and cost?

Yes. Enter revenue and cost of goods sold and leave the other fields blank for a quick gross margin, or fill them in for a full gross/operating/net breakdown.

Disclaimer. This calculator provides estimates for informational purposes only. Results are based on the information you enter and the assumptions used by the calculator. Actual financial, tax, business valuation, lending, marketplace or investment outcomes may differ. Consider consulting a qualified professional for decisions involving significant amounts of money.