Skip to content
AllCalcHub

Profit Margin Calculator

Find gross, operating and net profit margin from revenue and costs.

About the Profit Margin Calculator

Enter revenue, cost of goods sold, operating expenses, and interest and taxes. The calculator gives gross, operating and net profit and each as a margin of revenue.

Gross margin shows what's left after the direct cost of what you sell; operating margin also subtracts overheads; net margin is what remains after interest and taxes. Margins are a share of revenue, unlike markup, which is a share of cost.

The formula

Margin = profit ÷ revenue × 100

Worked example

Revenue 100,000; COGS 55,000; operating expenses 25,000; interest and taxes 5,000

  1. Gross profit 45,000: 45% margin
  2. Operating profit 20,000: 20%
  3. Net profit 15,000: 15%

Questions people ask

What is a good margin?

It depends on the industry: grocery retail nets 1–3%, software often 20%+.

Margin vs markup?

A 50% markup is a 33.3% margin; see the markup calculator.

Why watch gross margin?

It shows whether pricing covers direct costs before overheads; falling gross margin is an early warning.