Finance

How to Calculate Profit Margin — Formula & Examples

Profit margin is the single most important indicator of a business's financial health. This guide covers the three core margin types — gross, operating, and net — with the exact formulas and worked examples.

Advertisement

What is Profit Margin?

Profit margin expresses how many cents of profit a business generates for every dollar of revenue. It is always expressed as a percentage. A margin of 25% means that for every $100 in sales, the business keeps $25 as profit after paying certain costs.

There are three distinct types of profit margin, each stripping away a different layer of costs:

1. Gross Profit Margin Formula

Gross profit margin measures profitability after deducting the direct cost of producing goods (the Cost of Goods Sold, or COGS).

Gross Margin (%) = ( Revenue − COGS ) ÷ Revenue × 100

Example: A shoe brand sells a pair for $120 and it costs them $45 to manufacture. Gross Margin = (120 − 45) ÷ 120 × 100 = 62.5%.

This indicates that 62.5 cents of every dollar of revenue is available to cover overhead and generate profit. Typical gross margins vary widely by industry: software companies often see 70%+, while grocery stores may only achieve 25%.

2. Operating Profit Margin Formula

Operating margin goes one level deeper, subtracting operating expenses (OpEx) like salaries, rent, and marketing from gross profit.

Operating Margin (%) = EBIT ÷ Revenue × 100

EBIT stands for Earnings Before Interest and Taxes. Using the shoe brand example: if operating expenses (warehousing, marketing, salaries) total $40 per pair, EBIT = $75 − $40 = $35. Operating Margin = 35 ÷ 120 × 100 = 29.2%.

3. Net Profit Margin Formula

Net profit margin is the "bottom line" — it deducts absolutely everything: COGS, OpEx, interest on debt, and income taxes.

Net Margin (%) = Net Income ÷ Revenue × 100

If the shoe company pays $5 in taxes and $2 in loan interest per pair, net income = $35 − $7 = $28. Net Margin = 28 ÷ 120 × 100 = 23.3%.

What is a Good Profit Margin?

IndustryTypical Net Margin
Software / SaaS15–35%
Retail E-Commerce3–8%
Restaurant / Food2–6%
Financial Services12–30%
Manufacturing5–12%

Context is everything. A 5% net margin is excellent for a grocery chain but concerning for a tech startup. Always compare your margin to industry benchmarks, not absolute numbers.

How to Improve Your Profit Margin

  • Raise prices strategically: A 5% price increase on the same volume directly drops to net income (assuming elastic demand allows it).
  • Reduce COGS: Negotiate with suppliers, reduce waste, or shift to more cost-effective materials.
  • Cut overhead: Review recurring software subscriptions, renegotiate leases, and automate repetitive tasks.
  • Shift product mix: Push higher-margin products or services more aggressively in your sales and marketing.

Free Tool

Try our Margin Calculator

Calculate gross, operating, and net margin instantly — no signup.

Open Calculator