Gross Profit Margin: What It Is, How to Calculate It & What’s Good

Gross profit margin tells you one thing, and it tells you fast: how much of every dollar you bring in actually sticks around after you’ve paid to make or deliver whatever you’re selling. Not after rent. Not after payroll for your admin team. Not after ad spend. Just the direct cost of the thing itself.

Here’s the formula, no preamble needed:

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

Quick example: you bring in $500,000 and it costs you $200,000 in materials and direct labor to deliver it. Gross profit is $300,000. Divide that by revenue and you get 0.6, or a 60% gross margin. That’s it — that’s the whole calculation. Everything else in this article is about doing it correctly and knowing what to do with the number once you have it.

Gross Profit vs. Gross Profit Margin (People Mix These Up Constantly)

Gross profit is a dollar figure. Gross profit margin is a percentage. They’re related but they answer different questions, and confusing them is how founders end up making bad calls.

  • Gross profit = Revenue − COGS. This is a dollar amount. It tells you how much cash you generated above your direct costs.
  • Gross profit margin = Gross Profit ÷ Revenue. This is a percentage. It tells you how efficiently you’re converting sales into profit.

You can grow gross profit while your margin shrinks — that happens all the time when a company wins bigger deals at worse pricing. You can also grow margin while gross profit stays flat or drops, usually when a company shrinks but gets pickier about which customers it keeps. If someone asks “is our gross profit growing?” and someone else asks “is our gross margin growing?” — those aren’t the same question, and the answers can point in opposite directions.

What Counts as COGS (and What Doesn’t)

COGS — cost of goods sold — is the direct cost of producing or delivering what you sell. Nothing else belongs in there.

Belongs in COGS Does NOT belong in COGS
Raw materials, inventory, direct labor Sales commissions
Manufacturing overhead, freight-in Marketing and advertising spend
Cloud hosting and infrastructure costs (SaaS) Rent, office costs, admin salaries
Third-party API and AI compute costs tied to delivering the product R&D not tied to a specific delivered product
Customer support that’s part of fulfilling the service Executive salaries, legal, HR

The most common mistake isn’t people getting confused about big categories — it’s smaller stuff slipping through. Two that trip up a lot of businesses:

Shipping. If you’re an e-commerce or DTC brand, outbound shipping to the customer generally belongs in COGS, not as a marketing or fulfillment line item buried elsewhere. Leaving it out doesn’t reduce the cost — it just makes your margin look better than it is.

Returns and refunds. If your return rate is meaningful (and for apparel and beauty, it usually is), you need to be working off net revenue — sales after returns — not gross sales. Calculating margin off top-line sales before returns is one of the fastest ways to convince yourself you’re more profitable than you are.

How to Calculate Gross Profit Percentage: Step by Step

  1. Start with net revenue. Total sales minus returns, refunds, and discounts.
  2. Total your COGS. Every direct cost tied to producing what you sold — nothing indirect.
  3. Subtract COGS from revenue. That’s your gross profit in dollars.
  4. Divide gross profit by revenue. That gives you a decimal.
  5. Multiply by 100. Now you have a percentage.

One thing that actually matters here and rarely gets mentioned: your inventory costing method changes the number. FIFO (first in, first out), LIFO (last in, first out), and weighted average will each give you a slightly different COGS figure when input costs are moving — and right now, with the amount of price volatility in materials and freight, they’re not moving in lockstep. If you switch methods, or if your accountant switches for you, don’t panic when last quarter’s margin doesn’t compare cleanly to this quarter’s. Ask which method was used before you draw conclusions from a change in the trend line.

Gross Margin Ratio vs. Gross Margin Percent — Same Number, Different Clothes

These are the same metric, just formatted differently, and the mix-up causes more confusion than it should. A ratio of 0.75 and a margin of 75% are identical. Finance teams and lenders tend to use the decimal ratio in models and loan covenants (“minimum gross margin ratio of 0.5”). Founders pitching investors tend to say “75% gross margin” because it lands better in a room. Operations teams usually think in percentages because that’s what shows up on the P&L.

The reason this matters beyond semantics: loan covenants are written in ratios. If your covenant says “maintain a gross margin ratio above 0.4” and someone on your team reads that as 4%, you’ve got a real problem — you might think you’re miles above the threshold when you’re actually right on top of it.

Gross Margin vs. Net Margin

Gross margin tells you whether your core product or service is priced and produced efficiently. Net margin tells you whether the whole business — including overhead, marketing, salaries, interest, and taxes — is actually profitable. A business can have a great gross margin and still lose money every month, because gross margin says nothing about how much you’re spending to run everything else.

This is the single most common blind spot in software and DTC businesses: 75–85% gross margin looks fantastic on a slide, but if customer acquisition costs are eating most of revenue, net margin can be deeply negative. Gross margin measures product economics. Net margin measures the business.

Where to Find Gross Margin on an Income Statement

On a standard U.S. GAAP income statement, gross profit sits near the top, right after revenue and before operating expenses:

Revenue
− Cost of Goods Sold (or "Cost of Revenue")
= Gross Profit
− Operating Expenses (SG&A, R&D, marketing)
= Operating Income
− Interest, Taxes
= Net Income

Watch for line items labeled something vague like “Cost of Sales and Fulfillment” — that’s often a blend of true COGS and stuff that should be an operating expense. If a statement doesn’t break out gross profit as its own subtotal, calculate it yourself: revenue minus whatever’s labeled cost of goods, cost of revenue, or cost of sales. Don’t take a reported “gross margin” figure at face value without checking what got bundled into COGS to produce it — companies have real incentive to push costs below the gross profit line because it makes the headline margin look better.

How to Back Into COGS When You Only Know the Margin

Sometimes you’re handed a margin percentage and a revenue figure — during due diligence, competitive benchmarking, or just reading a pitch deck — and you need to reverse-engineer the cost side.

COGS = Revenue − (Gross Margin % × Revenue)

If a company reports $2M in revenue and a 55% gross margin: COGS = $2M − (0.55 × $2M) = $900,000.

The catch: this only tells you what COGS must be for the stated margin to be true. It doesn’t tell you whether that margin is real, sustainable, or built on an assumption that’s about to break — a fixed input cost that’s actually variable, a discount that’s about to end, a supplier contract up for renewal. Reverse-engineering the number is easy. Trusting it without asking what’s behind it is where deals go wrong.

“COGS Margin” — A Term That Isn’t Standard and Causes Real Confusion

You won’t find “COGS margin” in GAAP or any accounting standard. It shows up informally in internal dashboards, usually meaning COGS as a percentage of revenue — which is just 1 minus your gross margin. The problem is nobody agrees on what it means when they see it cold.

Say your COGS margin is 65%. Does that mean your gross margin is a healthy 35%, or does someone read “65%” and assume that’s how much profit you’re keeping? This exact mix-up has led real teams to think their margins were fine when they were actually thin, because a dashboard labeled a cost ratio in a way that reads like a profit ratio. If you’re building internal reports, don’t use “COGS margin” — call it “COGS as % of revenue” and keep gross margin as its own clearly labeled line.

Blended Gross Margin — Why Your Average Can Hide a Problem

If you sell more than one product or service line, your reported gross margin is a blend — a revenue-weighted average across everything you sell. That average can look perfectly healthy while one line is quietly bleeding you dry.

Say you run a business with two offerings: one at 70% margin, one at 25% margin. If the 25%-margin line grows faster than the 70%-margin line — which happens constantly, because low-margin offerings are often the ones that are easiest to sell — your blended margin drifts down even though nothing about either individual line changed. Bundling makes this worse: a bundle priced to move volume can quietly shift your mix toward the lower-margin component without anyone noticing until the quarterly numbers come in soft.

The fix is tracking margin by SKU or by service line, not just at the company level. A blended number without that breakdown tells you something’s happening, but not what or where.

Negative Gross Margin: What Causes It and How Businesses Get Out

Negative gross margin means you’re losing money on every unit before you even get to overhead — COGS exceeds revenue. It’s more common than people assume, and it isn’t always a five-alarm fire, but it can’t stay that way for long.

Typical causes:

  • Locked-in pricing meeting rising input costs. You signed a contract or set a price list before a materials or freight spike, and you can’t reprice fast enough to keep up.
  • Price wars in commoditized categories. Common with marketplace sellers competing on the same listing, where discounting to win the sale outpaces what the margin can absorb.
  • Underpriced services with variable delivery costs. Especially common with AI-driven products, where the cost to serve a customer (compute, API calls) can move independently of what you’re charging them.

The way out is almost always some combination of: renegotiating supplier or vendor terms, passing through at least part of a cost increase to customers even if it costs you some volume, and cutting product lines that can’t be fixed. Businesses that wait too long to do the third one tend to be the ones that don’t recover — sunk cost thinking keeps unprofitable lines alive well past the point they should’ve been shut down.

Low Gross Margin Isn’t Automatically Bad

A 20% gross margin sounds alarming next to a SaaS company’s 80%, but margin has to be read against the business model, not in isolation. High-volume, low-margin models (think grocery, wholesale, big-box retail) are built to make money on turnover, not on markup per unit. What actually matters for those businesses is inventory turns and contribution per square foot or per labor hour — not the margin percentage by itself.

Labor-heavy service businesses have the same dynamic geographically. A contractor paying $28/hour for skilled trades in a high-cost metro needs a materially higher margin just to hit the same take-home as a contractor paying $16/hour somewhere with a lower cost of living. There’s no single “good” number here — the target has to account for your local labor market and your business model, not a benchmark pulled from a different kind of company.

What’s a Healthy Gross Margin, by Industry?

Ranges vary by source and by year, but these are the bands most operators and lenders work off of:

Industry Typical Healthy Gross Margin
Software / SaaS 70–85%
Consulting / professional services 60–80%
IT managed services (MSPs) 45–60%
Ecommerce / online retail 40–55%
Brick-and-mortar retail 25–40%
Restaurants (full-service) 60–70% (on food cost alone; much thinner once labor is factored in as COGS)
Home services (HVAC, plumbing, electrical) 40–55%
Industrial machinery / equipment manufacturing 25–35%
Construction / general contracting 15–25%
Wholesale distribution 15–25%
Grocery / high-volume retail 20–25%

Two things worth knowing about restaurant margins specifically, since that industry’s numbers get reported inconsistently: some sources quote “gross margin” as food cost alone (COGS = ingredients only), which lands 60–70%. Others fold labor into COGS as a direct cost of delivering the meal, which is more accurate for a service business and brings the real number down closer to 25–35%. When you’re comparing your restaurant’s margin to a published benchmark, check which definition they’re using — otherwise you’re comparing two different metrics that happen to share a name.

How to Price to Hit a Target Gross Margin

This gets asked a lot and it’s a simple rearrangement of the same formula, just solved for price instead of margin:

Price = COGS ÷ (1 − Target Margin)

Say your cost to deliver a service is $400, and you want a 60% gross margin. Price = $400 ÷ (1 − 0.6) = $400 ÷ 0.4 = $1,000.

Check it: at $1,000 revenue and $400 COGS, gross profit is $600, and $600 ÷ $1,000 = 60%. Correct.

The mistake people make here is confusing markup with margin — they’re not the same thing, and mixing them up under- or over-prices the job. A 60% markup on a $400 cost is $640 (cost × 1.6). But $640 in revenue against $400 in COGS only gives you a 37.5% margin, not 60%. If you’re pricing off a markup percentage and calling it a margin target, you’re leaving money on the table without realizing it.

What “Adjusted Gross Margin” Means

Adjusted gross margin is your reported gross margin with one-time or non-representative costs stripped out — things like an unusual freight surcharge from a supply chain disruption, a one-off inventory write-down, or a temporary cost spike from a single bad quarter. The idea is to show what the margin would look like under normal operating conditions, separate from a blip.

It’s a legitimate and commonly used tool — investors and lenders ask for it regularly to understand the underlying trend. It’s also easy to abuse: if a company is “adjusting out” costs every single quarter, those costs probably aren’t one-time anymore, they’re just part of doing business, and the adjusted number stops meaning anything. A useful gut check: if the same adjustment shows up two quarters in a row, it’s not an adjustment, it’s a recurring cost that belongs in the real number.

How to Improve Gross Margin Without Raising Prices

Pricing is the lever everyone reaches for first, but it’s rarely the only one, and it’s often not the fastest one to pull.

  • Renegotiate with suppliers, or requalify a second one. Even a modest volume discount or a second-source vendor with better terms can move margin a couple of points with zero customer-facing change.
  • Fix your inventory management. Carrying too much stock ties up cash and increases shrinkage and obsolescence write-offs, both of which quietly erode margin. Tighter ordering cycles help more than most people expect.
  • Shift your product or service mix. Steering revenue toward your higher-margin offerings — through what you feature, bundle, or upsell — moves your blended margin without touching a single price tag.
  • Automate the parts of fulfillment that are pure labor cost. This doesn’t have to mean layoffs — reducing overtime, cutting rework, and speeding up turnaround all reduce the labor line inside COGS.
  • Reduce waste and shrinkage. For anyone holding physical inventory, spoilage, theft, and damaged goods are a direct hit to COGS that rarely gets tracked closely enough to fix.

Common Mistakes That Distort the Number

  • Assuming more revenue automatically means more margin. It doesn’t, if the extra revenue is coming from discounting or from lower-margin customers.
  • Treating COGS as fixed. It moves with commodity prices, freight rates, and wage changes. A margin built on last year’s input costs can quietly evaporate.
  • Chasing high gross margin while ignoring customer acquisition cost. An 80% gross margin business that spends most of every new dollar on ads to get that revenue in the door can still lose money overall. Gross margin and net profitability are not the same conversation.
  • Comparing your margin to a benchmark without checking the definition. As shown above with restaurants, published “industry average” margins aren’t always calculated the same way. Confirm what’s included in COGS before you compare.

Frequently Asked Questions

What’s the difference between gross margin and gross profit margin?
None — they’re the same thing. “Gross margin” is just the shorter, more commonly used version of “gross profit margin.”

Is gross margin the same as profit margin?
No. “Profit margin” on its own usually refers to net profit margin, which accounts for all expenses, not just direct production costs. Gross margin only looks at revenue minus COGS.

What is a good gross profit margin?
It depends entirely on the industry — see the benchmark table above. A 25% margin is thin for software but perfectly normal for a distributor. There’s no universal target.

How do you calculate gross profit margin from a P&L?
Find gross profit (revenue minus COGS, usually already subtotaled), divide it by revenue, and multiply by 100.

What’s the difference between markup and margin?
Markup is calculated on cost (Price = Cost × Markup). Margin is calculated on revenue (Margin = Profit ÷ Revenue). The same dollar profit produces a higher markup percentage than margin percentage — they will never be equal except at 0%.

Author Pavel Konopelko

By Pavel Konopelko

Pavel Konopelko is an economist, financial analyst, and educator. Holding a Ph.D. in Finance, he specializes in breaking down sophisticated business regulations and investment concepts into clear, actionable blueprints. His mission at SocCash is to make elite financial literacy and strategic planning accessible to everyday entrepreneurs and small business owners.

Contact: editor@soccash.com