Skip to main content
Calculator WorldProFree online calculators

Profit Margin Calculator

Turn an income statement into the three margins analysts watch. Gross margin shows pricing power, operating margin shows efficiency, and net margin shows what's left for owners.

Rent, salaries, marketing, admin

Results update automatically as you type.

Result

Net profit margin

15.2%

Net profit $38,000.00 on revenue of $250,000.00.

Gross profit
$110,000.00
Gross margin
44%
Operating profit
$50,000.00
Operating margin
20%
Net profit
$38,000.00
Markup on COGS
78.57%
  • Cost of goods$140,000.0056%
  • Operating expenses$60,000.0024%
  • Interest & tax$12,000.005%
  • Net profit$38,000.0015%
Show calculation steps
  1. Gross profit = $250,000.00 − $140,000.00 = $110,000.00 → 44%
  2. Operating profit = $110,000.00 − $60,000.00 = $50,000.00 → 20%
  3. Net profit = $50,000.00 − $12,000.00 = $38,000.00 → 15.2%

How to use the Profit Margin Calculator

  1. Enter revenue for the period, such as a month, quarter or year.
  2. Enter direct costs (COGS), then operating expenses, interest and taxes if you know them.
  3. Read gross, operating and net margins. Leave the optional fields blank if you only need gross margin.

Formula

Gross margin = (Revenue − COGS) ÷ Revenue
Operating margin = (Gross profit − OpEx) ÷ Revenue
Net margin = (Operating profit − Interest − Tax) ÷ Revenue

Each margin divides a level of profit by revenue, so the margins are directly comparable with one another and between companies of different sizes.

Worked example: Revenue 250,000, COGS 140,000, OpEx 60,000, interest & tax 12,000

  1. Gross profit 110,000 → 44% gross margin
  2. Operating profit 50,000 → 20% operating margin
  3. Net profit 38,000 → 15.2% net margin

Net margin 15.2%.

Choosing the right tool

This calculator analyses a whole business or product line from its totals. To set a price for a target margin on a single product, use the Margin Calculator. To price from cost, use the Markup Calculator. For per-unit profit after tax, use the Profit Calculator.

Assumptions & limitations

  • Figures cover the same period and use the same accounting basis.
  • Depreciation and amortization should be included in operating expenses if you want a standard operating margin.

Frequently asked questions

What is a good profit margin?

It varies widely by industry. Grocery retail often runs on net margins of 1–3%, while software companies can exceed 20%. Compare with businesses in your sector.

What is the difference between margin and markup?

Margin is profit ÷ selling price, and markup is profit ÷ cost. A product costing $60 and selling for $100 has a 40% margin but a 66.7% markup.

Which costs belong in COGS?

Costs that vary directly with production or sales: materials, direct labour, manufacturing overhead, and inventory purchased for resale. Office rent and marketing are operating expenses.