Profit Margin Calculator

Last Updated:

Calculate gross, operating, and net profit margins instantly. Includes markup, breakeven revenue, and industry benchmarks.

📊 Revenue & Costs

$
$
$
$

Net Profit Margin

0%

Gross Margin0%
Operating Margin0%
Markup on COGS0%
Gross Profit$0
Operating Profit$0
Net Profit$0
Breakeven Revenue$0
Total Costs$0

📐 Profit Margin Formulas

Gross Profit = Revenue − COGS
Gross Margin % = (Gross Profit ÷ Revenue) × 100
Operating Profit = Gross Profit − Operating Expenses
Operating Margin % = (Operating Profit ÷ Revenue) × 100
Net Profit = Operating Profit − Other (interest, taxes)
Net Margin % = (Net Profit ÷ Revenue) × 100
Markup % = (Gross Profit ÷ COGS) × 100
Breakeven Revenue = (Opex + Other) ÷ Gross Margin %

Gross Margin vs. Net Margin: Why Both Matter

Gross margin measures how efficiently your business converts sales into profit after production costs. A high gross margin (60%+) means you have room to cover operating expenses and still profit. Net margin is the bottom line — what the business keeps after every cost. Many businesses with impressive gross margins have thin or negative net margins due to high overhead.

Average Profit Margins by Industry

IndustryGross MarginNet Margin
SaaS / Software70–85%15–25%
Consulting / Professional Services40–60%15–35%
E-commerce / Retail30–50%2–5%
Restaurants / Food Service60–70%3–9%
Manufacturing20–35%5–10%
Healthcare / Medical40–60%5–15%

Markup vs. Margin — A Common Confusion

Markup and margin are often confused but measure different things. Markup is the profit as a percentage of cost. Margin is the profit as a percentage of revenue. A product costing $60 that sells for $100 has a 67% markup but a 40% gross margin. Retailers set prices using markup; investors evaluate performance using margin. This calculator shows both.

How to Improve Profit Margins

There are only four levers: raise prices, reduce COGS, cut operating expenses, or grow revenue faster than costs. Price increases are the highest-leverage action — a 1% price increase on $1M revenue adds $10,000 directly to profit without affecting volume. Reducing COGS through supplier negotiation or process improvement is the second most impactful lever. Cutting operating expenses helps but often has limits without affecting quality or growth.

How to Use the Profit Margin Calculator

1

Enter revenue

Input your total sales revenue for the period. This is the top-line number — total income before any costs are deducted. For a single product, multiply units sold by selling price.

2

Enter cost of goods sold (COGS)

Input the direct costs of producing or acquiring what you sold: raw materials, manufacturing labour, packaging, and direct shipping. Do not include rent, salaries, or overhead here — those are operating expenses.

3

Enter operating expenses

Add indirect costs of running the business: salaries, rent, utilities, marketing, insurance, and depreciation. These are subtracted to calculate operating profit.

4

Review gross, operating, and net margin

Each margin percentage tells a different story. Gross margin shows production efficiency. Operating margin shows business operation efficiency. Net margin is the ultimate profitability measure.

How to Calculate Gross and Net Profit Margin by Hand: Worked Example

A business reports $250,000 in revenue, $150,000 in Cost of Goods Sold (COGS), and $60,000 in operating expenses (rent, salaries, marketing, etc.).

Gross profit = revenue − COGS = $250,000 − $150,000 = $100,000.
Gross margin = gross profit ÷ revenue × 100 = $100,000 ÷ $250,000 × 100 = 40.0%.

Net profit = gross profit − operating expenses = $100,000 − $60,000 = $40,000.
Net margin = net profit ÷ revenue × 100 = $40,000 ÷ $250,000 × 100 = 16.0%.

The gap between the 40% gross margin and the 16% net margin — a full 24 percentage points — represents everything spent running the business beyond the direct cost of the product itself. Tracking both figures separately reveals different problems: a healthy gross margin with a weak net margin points to bloated operating expenses, while a weak gross margin points to pricing or production-cost issues that operating efficiency alone can't fix.

Markup vs Margin: Why the Same Numbers Produce Different Percentages

What's the actual difference between markup and margin?

Both compare the same profit figure, but divide by a different base. For an item costing $60 and selling for $100: margin = ($100−$60)÷$100 = 40% (profit as a percentage of the selling price), while markup = ($100−$60)÷$60 = 66.7% (profit as a percentage of the cost). These will never be equal except at very low percentages, and confusing the two is a common, costly pricing mistake — setting a price using a 40% "markup" when 40% margin was actually intended results in underpricing every single unit sold.

What profit margins are typical across different industries?

Margins vary enormously by business model: grocery and retail often run thin net margins in the low single digits due to high volume and intense competition; software and other high-fixed-cost, low-marginal-cost businesses can sustain net margins of 20% or higher once past their break-even scale; restaurants commonly target net margins in the mid-single digits given high labor and food costs. Comparing a specific business's margin against its own industry benchmark is far more meaningful than comparing it to an unrelated industry's typical figures.

What's the most reliable way to improve a weak net margin?

Three levers exist, and they rarely work equally well: raising prices (fastest, but risks losing volume-sensitive customers), reducing COGS (often requires supplier renegotiation or production changes, slower to implement), and cutting operating expenses (immediate but has a ceiling before it damages the business itself). Most sustainable margin improvement combines small moves across all three rather than relying on one lever alone.

Frequently Asked Questions

A 'good' profit margin varies widely by industry. For retail, net margins of 2–5% are typical. For SaaS and software, 15–25%+ is achievable. For restaurants, 3–9% net margin is normal. For consulting and professional services, 15–40% is typical. A net margin above 10% is generally considered healthy across most industries.
Gross margin = (Revenue − Cost of Goods Sold) / Revenue × 100. It measures profitability before operating expenses. Net margin = Net Profit / Revenue × 100. It measures overall profitability after ALL costs — COGS, operating expenses, interest, and taxes. Gross margin tells you production efficiency; net margin tells you overall business health.
Gross Margin % = ((Revenue − COGS) / Revenue) × 100. Operating Margin % = ((Revenue − COGS − Operating Expenses) / Revenue) × 100. Net Margin % = (Net Profit / Revenue) × 100. Example: $100,000 revenue, $60,000 COGS, $25,000 operating expenses. Gross margin = 40%, Operating margin = 15%, Net margin depends on interest and tax.
Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost. On a product costing $60 sold for $100: margin = $40 ÷ $100 = 40%; markup = $40 ÷ $60 = 67%. Confusing the two leads to serious pricing errors. Retail typically uses margin; manufacturing typically uses markup.
Gross Profit Margin = (Revenue − Cost of Goods Sold) ÷ Revenue × 100. If your revenue is $500,000 and COGS is $300,000: GPM = ($500,000 − $300,000) ÷ $500,000 × 100 = 40%. Gross margin covers operating expenses and leaves net profit. A gross margin below 30% leaves little room for overhead in most service businesses.

Sources & Methodology

Calculations are based on the most current publicly available data from authoritative government and industry sources: