Using Our Tools · Guide · Money & Finance
How to Calculate Profit Margin
Gross, operating, and net profit margin explained with worked examples — so you know which number to quote and why.
Revenue is what the business brings in. Profit margin is what it actually keeps. A company can double its revenue and go bankrupt if margins collapse along the way — which is why the founders and operators who last are the ones who track margin, not just top-line sales.
This guide explains the three different profit margins that matter, how to calculate each one, what benchmarks to aim for by industry, and the levers that lift margin without requiring you to grow revenue. If you only check one financial metric, make it this one.
Advertisement
The three margins you should know
Gross margin = (revenue − cost of goods sold) ÷ revenue. Tells you how profitable the product itself is. Operating margin = (revenue − COGS − operating expenses) ÷ revenue. Tells you how efficient the business is at running operations. Net margin = net profit ÷ revenue. The bottom-line number after interest, taxes, and everything else. Each one answers a different question.
Gross margin: is the product profitable?
If you sell a t-shirt for $25 and it costs you $10 to produce (fabric, printing, labor, shipping), your gross margin is (25 − 10) ÷ 25 = 60%. This number has to cover every cost the business has that’s not directly tied to producing the product — rent, salaries, marketing, software. Below 30% gross margin, you usually don’t have enough left to build a sustainable business around it. Calculate instantly with our profit margin calculator.
Markup is not margin
Markup and margin are not the same number. Markup = (price − cost) ÷ cost.Margin = (price − cost) ÷ price. A product sold at $100 with $50 in cost has a 100% markup but only a 50% margin. Mixing these up is the single most common pricing mistake — founders think they’re pricing at a healthy margin when they’re pricing at a razor-thin markup.
Healthy margin benchmarks by industry
Grocery and supermarkets: 2–5% net margin — they survive on volume. Restaurants: 3–9% net. E-commerce: 10–20% net for healthy operators. Software (SaaS): 70–90% gross, 10–25% net when scaled. Consulting / services: 15–30% net. Compare your numbers to your industry, not to software margins you read about on Twitter.
Lever 1: raise prices on low-elasticity items
A 10% price increase on an item that sells the same quantity is a 10% gross revenue lift — and almost all of it drops to the bottom line because costs didn’t move. Start with your premium SKUs and your least price-sensitive customer segment. Test on a subset first; if volume holds, roll it wider.
Lever 2: cut COGS
Negotiate with suppliers once a year. Switch to a cheaper shipping tier for non-urgent items. Rework packaging. Buy in bigger batches if cash flow allows. Shaving 5% off cost of goods on a 40% margin product pushes margin to 43% — a meaningful improvement over chasing more sales at the old margin.
Lever 3: shift your product mix
If two products sell equal dollars but one has 60% margin and the other has 20%, your business is held hostage by the 20% product. Either raise its price, find a substitute, or sell more of the 60% product. Most founders obsess over the low-margin revenue because it’s bigger in absolute terms — but the high-margin product is what funds growth.
Lever 4: cut operating expenses
Every recurring subscription, service, and seat gets reviewed once a quarter. Cancel the ones nobody uses. Downgrade the over-featured plans. Consolidate tools that overlap. Use our subscription cost calculator to see what’s quietly eating margin.
Lever 5: operational leverage at scale
Some costs (rent, base salaries, core software) are fixed. Selling more units against the same fixed cost improves net margin even if gross margin stays flat. This is why you often see margins improve meaningfully as a business crosses a revenue threshold — the fixed cost per unit falls.
Track margin per customer segment
A single blended margin number hides the truth. Your biggest customers often have the worst margin — they get volume discounts and demand extra service. Your smallest often have the best. Calculate margin by segment and you’ll find out which customers you’re actually profiting from.
Watch margin trend, not absolute value
A 35% gross margin isn’t good or bad in isolation. What matters is the direction — is it climbing, flat, or falling? A falling trend is a warning: pricing pressure, rising input costs, or product mix shifting to low-margin items. Catch it in the first month, not the fourth quarter.
Build a monthly margin review
Once a month, 20 minutes: calculate gross, operating, and net margin from last month’s books. Compare to the three prior months. Note anything that moved more than 2 percentage points and why. That’s the whole habit. Do it for a year and you’ll manage your business better than 90% of operators who only look at revenue.
Related: how to price freelance work, how to make a simple invoice, and how to track expenses so you have clean numbers to calculate margin from.