Profit Margin Calculator

Gross, operating and net profit margins from revenue and costs, with a clear breakdown and the formulas.

  • Runs in your browser
  • Free, no sign-up
Income statement figures

Use the same period for every figure, for example one month, quarter or year.

Direct costs: materials, direct labour, merchant and delivery costs tied to sales

Rent, salaries, software, marketing, depreciation

Net of any other income. Enter a negative number for net other income.

Changes the symbol and number format only. No exchange rates are applied.

Results

Gross margin
40%
Gross profit $80,000.00
Operating margin
15%
Operating profit $30,000.00
Net margin
10%
Net profit $20,000.00

Where each unit of revenue goes

Revenue
$200,000.00
Cost of goods sold
-$120,000.00
Gross profit
$80,000.00
Operating expenses
-$50,000.00
Operating profit
$30,000.00
Interest, taxes and other
-$10,000.00
Net profit
$20,000.00

Formulas

Gross margin = (Revenue - COGS) / Revenue = $80,000.00 / $200,000.00 = 40% Operating margin = (Gross profit - Operating expenses) / Revenue = 15% Net margin = Net profit / Revenue = 10%

This calculator produces an estimate from the figures you enter. It is not financial, tax or legal advice.Full disclaimer

How to use the profit margin calculator

  1. Enter revenue for a period such as a month, quarter or year.
  2. Enter cost of goods sold, operating expenses, and interest, taxes and other items for the same period.
  3. Read the gross, operating and net margins and the profit at each level.
  4. Copy the results or share a link to the calculation.

Worked example

$200,000 revenue, $120,000 COGS, $50,000 operating expenses, $10,000 other

Gross profit is $80,000, a 40% gross margin. Operating profit is $30,000, a 15% operating margin. Net profit is $20,000, a 10% net margin.

How it works

Gross profit = revenue − cost of goods sold. Operating profit = gross profit − operating expenses. Net profit = operating profit − interest, taxes and other items. Each margin = that profit ÷ revenue × 100.

Assumptions

  • All figures cover the same period.
  • You decide which costs count as cost of goods sold versus operating expenses; conventions vary by industry.

Frequently asked questions

What is the difference between gross and net margin?

Gross margin only subtracts direct costs of what you sell. Net margin subtracts everything, including overheads, interest and taxes, so it is always lower or equal.

Is margin the same as markup?

No. Margin is profit as a share of the selling price; markup is profit as a share of cost. A 50% markup is a 33.3% margin. Use the markup calculator to convert.

What is a good profit margin?

It depends heavily on the industry and business model. Compare with your own history and businesses like yours rather than a single benchmark.

Limitations

  • Uses the figures you enter; it does not read accounting files.
  • Does not calculate EBITDA or contribution margin by product.