📊
Finance

Profit Margin Calculator

Calculate gross, operating, and net profit margins for your business.

$
$

Gross Margin vs. Net Margin vs. Markup

Gross profit margin measures how much revenue remains after the direct costs of producing goods or services (COGS). It excludes overhead, salaries, rent, and taxes. A 40% gross margin means $0.40 of every revenue dollar remains after production costs.

Net profit margin measures profitability after all expenses including operating costs, interest, and taxes. This is the "bottom line" — what the business actually keeps. A healthy net margin depends on industry but 10–20% is considered good for most businesses.

Markup is different from margin: markup is profit as a percentage of cost, while margin is profit as a percentage of selling price. A 67% markup produces a 40% margin. Understanding this distinction prevents significant pricing errors.

Profit Margin Formulas

Gross Margin = (Revenue − COGS) / Revenue × 100% Net Margin = Net Income / Revenue × 100% Markup = (Selling Price − Cost) / Cost × 100%

Typical Profit Margins by Industry

IndustryGross MarginNet Margin
Software (SaaS)70–80%15–25%
Retail (e-commerce)30–50%3–8%
Restaurants60–70%3–9%
Manufacturing25–40%5–15%
Healthcare40–60%10–20%
Grocery / Supermarket25–30%1–3%

Frequently Asked Questions

Gross margin only subtracts the direct cost of goods sold. Net margin subtracts all costs: COGS, salaries, rent, utilities, interest, and taxes. Gross margin measures product profitability; net margin measures overall business profitability.
Margin expresses profit as a percentage of the selling price. Markup expresses profit as a percentage of the cost. A product that costs $60 and sells for $100 has a 40% margin but a 67% markup. Confusing the two is a common and costly pricing mistake.
Target margins vary dramatically by industry. Software businesses often achieve 20%+ net margins. Grocery stores operate on 1–3%. Focus on your industry benchmark and aim to beat it, rather than comparing to a universal target.
Margins improve by increasing prices, reducing COGS (better supplier terms, manufacturing efficiency), or cutting operating expenses. The fastest wins are usually pricing — many businesses underprice by 10–20% without realizing it. Even a 5% price increase dramatically impacts margins when COGS is fixed.