ToolDox
Finance

Profit Margin Calculator

Calculate gross, operating, and net profit margin. Enter your revenue and costs below.

Enter revenue and costs above to see results

Private by design

Calculator results are estimates based on your inputs. They are useful for learning, planning, and comparison, but they are not professional advice.

Use responsibly

Finance outputs are educational projections, not investment, tax, legal, or financial advice.

Free access

ToolDox tools are free to use, require no signup, and are supported by clear navigation, guides, templates, and related tools.

Related Tools

Salary Calculator
Convert salary across pay periods with international tax est...
Debt Avalanche vs Snowball Calculator
Enter all your debts and compare avalanche vs snowball payof...
Break-Even Calculator
Find the exact units or revenue needed to cover your costs. ...
Rent vs Buy Calculator
Compare 10-year wealth, break-even point, and monthly costs ...

How to calculate profit margin — step by step

  1. Find your revenue — total sales income for the period.
  2. Subtract COGS (cost of goods sold, or direct costs). This gives you gross profit.
  3. Apply the formula: Gross Margin % = Gross Profit ÷ Revenue × 100
  4. To get operating margin, also subtract operating expenses (salaries, rent, utilities).
  5. To get net margin, also subtract interest and tax.

Quick example

A business has revenue of £80,000, COGS of £48,000, and operating expenses of £18,000:

  • Gross Profit = £80,000 − £48,000 = £32,000
  • Gross Margin = £32,000 ÷ £80,000 × 100 = 40%
  • Operating Income = £32,000 − £18,000 = £14,000
  • Operating Margin = £14,000 ÷ £80,000 × 100 = 17.5%

Margin vs markup

A common mistake is confusing margin and markup. Margin uses selling price as the base; markup uses cost as the base. A 25% markup = a 20% margin. Use the calculator above to see both simultaneously.

Frequently asked questions

How do I calculate profit margin in Excel?
Use =(Revenue - COGS) / Revenue and format as percentage. Or skip the spreadsheet and use this calculator.

What is a healthy profit margin for a small business?
Net margins of 10–20% are typically solid for small businesses. Service companies tend to run higher than product companies. Always compare to your industry average.

How is gross margin different from net margin?
Gross margin only deducts direct production costs. Net margin deducts everything — operating costs, interest, and tax. Net margin reflects true bottom-line profitability.

Can profit margin exceed 100%?
No. Profit margin is capped at 100% (which would mean zero costs). Markup, however, can exceed 100%.