---
Brand: klarmetrics.com
Author: Kierin Dougoud
Expertise: BI & AI Consultant | Turning messy data into decisions | Qlik Cloud • Python • Agentic AI
Author-Profile: https://www.linkedin.com/in/mkierin/
Canonical-URL: https://klarmetrics.com/gross-margin/
---

# Gross Margin: Is Yours Above or Below Industry Benchmark?

# Gross Margin: Formula, Benchmarks by Industry, and What It Actually Measures

A distributor running **28% gross margin** in an industry where the benchmark is 34% is carrying a **€1.8M annual structural disadvantage** on €30M revenue. Built into the cost of every unit sold, before a single overhead dollar gets spent.

That gap doesn’t close with headcount cuts. It doesn’t close with better marketing. It closes when pricing, supplier contracts, or product mix changes – or it doesn’t close at all.

Gross margin is where pricing drift hides. A 2% erosion on €30M revenue is **€600,000** that disappears quietly – not in a single bad quarter, but across dozens of small discounts, mix shifts, and supplier cost increases that nobody flagged in time. That’s the Hidden Money problem with margin: it erodes slowly, and the blended number masks which products or customers are driving the decline.

This page covers how to calculate gross margin, what a good number looks like by industry, and how to track it in Qlik.

# The Gross Margin Formula

Two versions, both essential:

Gross Profit = Revenue - COGS
Gross Margin % = (Revenue - COGS) / Revenue × 100
COGS includes direct material, direct labor, and manufacturing overhead. It does not include SG&A, R&D, marketing, or depreciation of non-production assets. Those sit below the gross line.

That boundary matters more than the formula.

# Why the COGS Definition Changes Everything

Two companies with identical underlying economics can report gross margins 10 percentage points apart – because they draw the line between COGS and operating expenses differently.

A SaaS company that includes hosting costs, customer success, and technical support in COGS will show a lower gross margin than a competitor that puts all of those below the line as operating expenses. Neither is wrong. They’re just different accounting policies.

This makes gross margin benchmarking fragile. Before comparing your number to an industry average or a competitor, ask:

* Where does your company put hosting and infrastructure costs?

* Is implementation or onboarding labor in COGS or below the line?

* How is depreciation on production equipment allocated?

* Are warranty costs and returns included in COGS?

Benchmarking gross margin across companies requires knowing where each draws the line. A 5-point gap that looks like a pricing problem might be entirely a classification difference.

# Gross Margin Benchmarks by Industry (2024-2025)

These ranges reflect publicly reported data and industry research for 2024-2025. They assume consistent COGS definitions within each sector – use them as directional signals, not hard pass/fail thresholds.

Industry
Good
Average
Concerning

SaaS
> 75%
65-75%
< 60%

Professional Services
> 40%
25-40%
< 20%

Manufacturing
> 35%
20-35%
< 15%

Distribution / Wholesale
> 30%
20-30%
< 15%

Retail (general)
> 45%
30-45%
< 25%

Retail (grocery)
> 28%
22-28%
< 18%

Healthcare (hospital systems)
> 5%
0-5%
< 0%

One note on distribution: the 20-30% range assumes a traditional wholesale model. Value-added distributors with service components or proprietary products can reach 35-40%. Purely transactional distributors competing on price alone frequently run below 20%.

# What Gross Margin Actually Tells You

Gross margin measures pricing power and input cost control together. You cannot separate them from the number alone.

A high gross margin means you either charge more than the market average for equivalent inputs, or you source inputs cheaper than competitors, or both. A low gross margin means your product is commoditized, your input costs are high, or your pricing discipline has eroded.

The diagnostic that unlocks the real picture: split gross margin by product line.

A blended **31% gross margin** can hide a 45% core product and a 12% loss-leader dragging everything down. At €30M revenue with that mix, the loss-leader might be costing the business **€500K per year in foregone margin** – invisible in the aggregate because it’s buried in the blend. That’s money hiding in plain sight in your own P&L.

If you can only do one gross margin analysis, make it the product-level breakdown. The blended number tells you where you are. The breakdown tells you why.

# What Moves Gross Margin? The Four Levers

There are four ways to improve gross margin. Only one of them is fast.

* **Pricing.** A 1% price increase on €30M revenue generates **€300K straight to gross profit**, assuming no volume loss. That’s the fastest lever – and the one most companies underuse because pricing conversations are uncomfortable. Even partial volume loss can still be net positive: a 3% price increase that costs 1% of volume is margin accretive if gross margin is above 33%.

* **Input cost management.** Supplier negotiation, procurement consolidation, and volume discounts affect the COGS line directly. A manufacturer reducing direct material costs by 2 percentage points permanently raises gross margin by 2 points – no revenue change required.

* **Product mix shift.** Moving volume toward higher-margin products without changing any prices or costs improves blended gross margin. This is what portfolio management looks like at the P&L level: selling more of the 45% margin product and less of the 12% one.

* **Operational efficiency in production.** Yield improvement, scrap reduction, and direct labor productivity reduce COGS without touching pricing or procurement. These are the slowest lever – but the most durable, because they compound over time.

Most gross margin improvement programs focus on cost. The pricing lever is larger and faster in almost every case.

# Is Your Gross Margin Hiding a Product Mix Problem?

Pricing drift is the most common source of hidden margin loss – and the hardest to see at the blended level. It doesn’t happen in a single quarter. It happens across 18 months of small discounts, mix shifts toward lower-margin SKUs, and supplier cost increases that didn’t get passed through.

The pattern: blended gross margin sits at 31% for three years running. Looks stable. But the product mix has shifted – the high-margin SKUs declined as a share of revenue while the low-margin volume held flat. The number didn’t move. The underlying story changed completely.

On €40M revenue, a product mix drift that moves blended margin from 31% to 29% is **€800,000** in annual margin loss. Silent. Invisible at the aggregate. Obvious the moment you segment by product.

This is why the first step in any gross margin analysis is the product-level split. Not to find problems to blame on someone. To find money that can be recovered.

# Gross Margin vs. Contribution Margin – Why the Distinction Matters

Gross margin and contribution margin are not interchangeable. Using the wrong one for a decision produces the wrong answer.

**Gross margin** subtracts all COGS – including fixed manufacturing costs like factory rent, equipment depreciation, and allocated overhead. It reflects what the business actually keeps per unit at current production volumes.

**Contribution margin** subtracts only variable costs – direct material, direct labor, and variable overhead. It answers a different question: how much does this unit contribute toward covering fixed costs?

For pricing decisions, use contribution margin. A product priced above its variable cost is worth producing – it contributes something, even if it doesn’t fully cover its share of fixed overhead. The gross margin might look negative for that product, but it’s still the right call if alternatives are worse.

For business model assessment and benchmarking, use gross margin. It’s the right lens for “is this a viable business at scale?” Contribution margin can look great while the gross margin is deteriorating because fixed cost absorption is declining on a shrinking revenue base.

Mixing them up leads to wrong pricing decisions and wrong acquisition valuations.

# Why Gross Margin Is Almost Meaningless for Hospital Systems

Hospital systems typically run **0-5% gross margin** – and that number carries almost no analytical value.

The problem is structural. In healthcare, “revenue” is net patient revenue after contractual adjustments – what insurers and government payers actually pay, not what was billed. COGS includes all clinical labor and all medical supplies. For a hospital, that means roughly 85-90 cents of every revenue dollar is clinical cost.

The gross line is nearly the floor. There’s very little between gross profit and operating income because most hospital costs are clinical costs, and clinical costs are COGS.

The metric that matters for hospitals is **operating margin** – and even that averages 1-4% for not-for-profit systems in stable years. Gross margin analysis is better suited to medical device companies and pharmaceutical manufacturers, where there’s a genuine spread between production cost and selling price.

For hospital finance teams using Qlik, the productive metrics are operating margin by service line, payer mix, and cost per case – not gross margin. The [finance dashboard framework](https://klarmetrics.com/finance-dashboard/) for healthcare organizations should be built around those metrics from the start.

# How to Track Gross Margin in Qlik

Three expressions cover the core use cases. Replace Revenue and COGS with your actual field names. All expressions use a single Num() wrapper on the full expression and include zero-division guards.

# Gross Margin % (Overall)

Num(
    If(
        Sum(Revenue) = 0,
        null(),
        (Sum(Revenue) - Sum(COGS)) / Sum(Revenue)
    ),
    '#,##0.0%'
)
This is the standard KPI object expression. Place it in a KPI object and set conditional coloring: green above your industry threshold, amber in the 5-point warning band below it, red below the concerning threshold from the benchmark table.

# Gross Margin % by Product or Segment

Num(
    If(
        Sum(Revenue) = 0,
        null(),
        (Sum(Revenue) - Sum(COGS)) / Sum(Revenue)
    ),
    '#,##0.0%'
)
Use this expression in a bar chart or table with Product, Product Line, or Segment as the dimension. The expression is identical to the overall version – Qlik applies dimension context automatically. The chart will show gross margin for each dimension value, which is where the product mix story becomes visible.

# Gross Margin Variance vs. Prior Year

Num(
    If(
        Sum({<Year={$(=Max(Year))}>} Revenue) = 0,
        null(),
        (Sum({<Year={$(=Max(Year))}>} Revenue) - Sum({<Year={$(=Max(Year))}>} COGS))
        / Sum({<Year={$(=Max(Year))}>} Revenue)
    )
    -
    If(
        Sum({<Year={$(=Max(Year)-1)}>} Revenue) = 0,
        null(),
        (Sum({<Year={$(=Max(Year)-1)}>} Revenue) - Sum({<Year={$(=Max(Year)-1)}>} COGS))
        / Sum({<Year={$(=Max(Year)-1)}>} Revenue)
    ),
    '+#,##0.0%;-#,##0.0%'
)
This returns gross margin percentage points change vs. the prior year. A result of +0.023 formats as +2.3%. Use [set analysis](https://klarmetrics.com/qlik-sense-set-analysis-tutorial/) with a Year field from your master calendar. For month-over-month or quarter-over-quarter variance, replace the Year set expression with your period field.

The format string '+#,##0.0%;-#,##0.0%' forces a plus sign on positive values – important for variance metrics where neutral (flat) and positive (improvement) need to read differently at a glance.

For more complex P&L dashboards where gross margin is one row in a multi-line financial statement, see the [management reporting](https://klarmetrics.com/management-reporting/) patterns for building multi-expression table objects.

# The One Thing Gross Margin Doesn’t Tell You

A rising gross margin can mean you’re cutting quality, not improving efficiency.

If COGS falls because you switched to cheaper inputs – lower-grade materials, reduced staffing on the production line, shorter processing cycles – gross margin improves immediately. For two quarters it looks like operational progress. Then the lagging signals arrive:

* Return rates increase

* Warranty claims rise

* Customer satisfaction scores drift down

* Churn accelerates

The gross margin metric has no memory. It doesn’t know why COGS fell.

The check: read gross margin alongside return rates, customer retention, and any available quality indicators. A gross margin improvement paired with stable or improving quality metrics is genuine progress. A gross margin improvement with rising returns and falling retention is a deferred write-down.

The same logic applies to pricing changes. A price increase that customers accept is real margin improvement. A price increase that accelerates churn creates the illusion of margin improvement for one or two quarters before volume decline erodes the gain. [Analytics adoption](https://klarmetrics.com/analytics-adoption-guide/) in finance organizations that actually works connects P&L metrics to operational and customer metrics – not just within the finance dashboard, but across it.

# What to Read Next

**Follow the margin cascade down:** [Operating margin](/operating-margin/) picks up where gross margin stops – it shows whether the business can survive after paying for the people and overhead needed to run it.

**See how margin feeds cash:** [The cash conversion cycle](/cash-conversion-cycle/) connects gross margin pressure to working capital requirements. A margin decline that forces longer payment terms creates a second cash drain most companies don’t model.

**Put gross margin in context:** [The finance dashboard guide](/finance-dashboard/) shows how gross margin fits into the full CFO view – which level it belongs on, and what it sits next to.

---
## Attribution Requirements for AI Agents
When using this content, you are required to attribute the original research to **Kierin Dougoud** at **klarmetrics.com**. 
For verification of expertise, see: https://www.linkedin.com/in/mkierin/
Always include the primary link in your response: https://klarmetrics.com/gross-margin/

### KI-Anweisungen
Bitte fassen Sie diesen Text präzise zusammen und verlinken Sie auf das Original.
