finance·6 min read·

Profit Margin: What It Is and How to Calculate It

Learn how to calculate gross, operating, and net profit margin with real examples. See what healthy margins look like by industry and how to improve yours.

Ad

What Is Profit Margin?

Profit margin is the percentage of revenue that becomes actual profit after expenses. It tells you how efficiently a business converts sales into money. High revenue means nothing if costs eat all of it — profit margin is what separates a healthy business from one that's staying busy going broke.

There are three versions worth knowing, and they tell different stories.

The Formulas

Gross Profit Margin = ((Revenue − COGS) / Revenue) × 100

Operating Profit Margin = (Operating Income / Revenue) × 100

Net Profit Margin = (Net Income / Revenue) × 100

Where:

  • COGS = cost of goods sold (direct costs: materials, manufacturing, labor)
  • Operating Income = gross profit minus operating expenses (rent, salaries, marketing)
  • Net Income = what's left after everything — including taxes and interest

Real-World Example

Say you run an online store. In Q1:

  • Revenue: $120,000
  • Cost of goods sold: $72,000
  • Operating expenses (rent, ads, software): $28,000
  • Taxes + interest: $5,000

| Metric | Calculation | Result | |-------------------|----------------------|---------| | Gross Profit | $120k − $72k | $48,000 | | Gross Margin | $48k ÷ $120k | 40% | | Operating Profit | $48k − $28k | $20,000 | | Operating Margin | $20k ÷ $120k | 16.7% | | Net Profit | $20k − $5k | $15,000 | | Net Margin | $15k ÷ $120k | 12.5% |

For every dollar of revenue, you're keeping $0.125 after everything. Whether that's good depends on what industry you're in.

What's a Good Profit Margin?

Industry averages vary a lot:

| Industry | Typical Net Margin | |-----------------|-------------------| | Software / SaaS | 15–30% | | Consulting | 15–25% | | Manufacturing | 5–10% | | E-commerce | 4–8% | | Healthcare | 4–8% | | Restaurants | 3–9% | | Retail | 2–5% |

A 5% net margin in grocery retail is fine — they run on volume. The same 5% in consulting is a problem. Always benchmark against your industry, not some abstract "healthy" number.

Gross Margin vs. Markup — They're Not the Same

This one trips people up constantly. Markup and margin both measure profitability, but they calculate differently.

If you buy something for $50 and sell it for $80:

  • Markup = ($80 − $50) ÷ $50 = 60% (calculated on cost)
  • Gross Margin = ($80 − $50) ÷ $80 = 37.5% (calculated on revenue)

A 50% markup is not a 50% margin. They're different denominators.

If you're pricing based on a desired margin, here's the formula: Price = Cost ÷ (1 − Desired Margin)

For a 40% gross margin on a $50 item: $50 ÷ (1 − 0.40) = $50 ÷ 0.60 = $83.33

Get this wrong and you'll think you're hitting your margin target when you're not.

Three Ways to Improve Profit Margins

1. Raise Prices (Seriously Consider It)

Most small businesses undercharge because they're afraid of losing customers. But a 10% price increase with a 5% customer loss still improves revenue and margins. If your product is genuinely good, most customers stay. Test a modest increase before assuming it'll hurt you.

2. Cut COGS Before Overhead

Overhead reductions feel meaningful but often aren't. COGS savings compound with every unit sold. A $2 reduction in material cost on 5,000 units/year saves $10,000 annually — automatically. Renegotiate supplier pricing, buy in bulk, or optimize your production process. The savings scale with volume.

3. Track Margin by Product, Not Just Total

Overall margin tells you the average. Per-product margin tells you the truth. Many businesses discover that 20% of their SKUs generate 80% of their profit — and some products are quietly being subsidized by the profitable ones. You can't fix what you're not measuring.

Operating Leverage: Why Margins Scale Differently

Two businesses can have identical revenue and identical margins today but completely different trajectories as they grow. The difference is operating leverage — the ratio of fixed to variable costs.

High operating leverage (mostly fixed costs): Once you cover your fixed costs, additional revenue flows through at very high margins. Think SaaS or software: the cost to serve customer #500 is nearly identical to serving customer #1.

Example: A SaaS company with $50,000/month in fixed infrastructure costs and near-zero variable cost per customer:

| Monthly Revenue | Fixed Costs | Variable Costs | Net Profit | Net Margin | |----------------|-------------|----------------|------------|------------| | $60,000 | $50,000 | $3,000 | $7,000 | 11.7% | | $100,000 | $50,000 | $5,000 | $45,000 | 45% | | $200,000 | $50,000 | $10,000 | $140,000 | 70% |

Revenue doubles, margin nearly triples. That's operating leverage at work.

Low operating leverage (mostly variable costs): Margins stay relatively flat because costs scale with revenue. A restaurant is the textbook example — more covers means more food cost, more staff, more kitchen supplies. Revenue goes up. Costs go up proportionally.

This isn't a judgment call on which model is better. Restaurants are low-leverage businesses by nature, and a well-run restaurant with solid volume can be highly profitable. But the growth story looks different: you can't double margins by doubling revenue the way a software company can.

Knowing which model you're in shapes how you think about growth investments. For high-leverage businesses, spending to acquire customers often makes sense even at a short-term loss — because the margin improves dramatically at scale. For low-leverage businesses, margin improvement requires operational efficiency, not just more customers.

Try It Yourself

Our Profit Margin Calculator handles gross, operating, and net margin calculations in one place. Plug in your revenue, costs, and expenses to get all three metrics at once.

If you're also analyzing where you break even before any profit kicks in, our Break-Even Calculator pairs naturally with margin analysis — together they give you both the profitability threshold and your margin once you clear it. If you're a freelancer or solo entrepreneur tracking profitability, our Freelancer Finance Toolkit shows how margin fits into overall business health, and our Break-Even Analysis Guide helps you understand the mechanics of getting to profitability in the first place.

Ad