Blog / Product Series

KPI: Gross Profit Margin

KPI: Gross Profit Margin

Dave Willson

July 1, 2025

Calculating the Gross Profit Margin (GPM) may appear straightforward on the surface—but as with most things in accounting and finance, the challenge lies in the details. The formula is simple:

Gross Profit Margin = (Total Revenue - Total Cost of Sales) / Total Revenue

However, the complexity arises when determining what qualifies as revenue and what counts as cost of sales. These classifications can differ significantly based on the nature of the business and its accounting practices. Misclassification can lead to misleading performance indicators and ultimately poor decision-making.

Let's explore the core concepts behind GPM, highlights common pitfalls, and review practical strategies to ensure consistency and relevance in your calculations.

Deconstructing Total Revenue

At its core, revenue represents the inflows generated by a company's core operations. But in practice, not every inflow should be counted as “Total Revenue.” We must begin by asking: What does the business do to generate value?

Understanding revenue starts with business context. A focused operation, such as a lemonade stand, has simple and clear revenue sources. A complex enterprise, like Amazon or Google, may derive revenue from advertising, subscriptions, product sales, logistics services, and more.

To determine what belongs in revenue, consider:

  • What is the company's main economic activity?
  • Which inflows are recurring and directly tied to core services or products?
  • Which inflows are incidental or non-operational?

Examples:

BusinessCore Revenue Activities
Lemonade StandSelling lemonade
Car DealershipSelling cars, parts, offering repairs
Accounting FirmTax preparation, bookkeeping, advisory services
SaaS PlatformSubscription access to software tools

We need to segregate operational revenues from incidental ones. Incomes such as interest earned on loans to shareholders, gains on disposal of equipment, or affiliate commissions are not typically central to operations and should be classified under Other Income.

NameCategory
Product SalesRevenue
Service RevenueRevenue
Subscription RevenueRevenue
Consulting FeesRevenue
Affiliate CommissionsOther Income
Interest EarnedOther Income
Gain on Asset DisposalOther Income
Rental IncomeOther Income

Accounts such as Rental Income could be a core revenue item for a real estate business but classified as Other Income for a consulting firm renting out a spare office. The key is contextual relevance to the primary business model.

Understanding Total Cost of Sales

Cost of Sales (also referred to as Cost of Goods Sold or Direct Costs) refers to expenditures directly tied to producing or delivering a company’s goods or services. While this sounds clear-cut, in practice, classification often requires judgment.

There are no absolute rules about which expenses must be included in Cost of Sales versus Operating Expenses. Instead, the decision hinges on a few key principles:

  1. Direct vs. Indirect Relationship to Revenue
  2. Materiality and Operational Impact
  3. Industry Standards and Benchmarking

The goal is to accurately reflect the cost required to earn the revenue reported. This includes raw materials, manufacturing labor, direct service labor, and associated inputs. It does not include general administrative costs, sales & marketing expenses, or office overhead.

Alternative Terminology

  • Cost of Goods Sold (COGS)
  • Cost of Services
  • Direct Costs
  • Production Costs

While terminology may vary, the principle remains the same: identify costs incurred to directly deliver value to customers.

The Gray Area: Ambiguous Accounts

Ambiguity often arises with accounts that serve dual purposes. For example:

NameReason
Freight & ShippingCOGS if direct to customer. OPEX if for general logistics
Packaging & SuppliesCOGS if packaging of product. OPEX for office usage
Wages/SalariesCOGS if direct to product. OPEX for admin, marketing, sales, etc
Software CostsCOGS if production related (Saas to build product or provide service). OPEX for admin, marketing, sales, etc
Maintenance & RepairsCOGS if for equipment used in production. OPEX for office or nonproduction assets

Companies must define clear internal policies for these accounts and apply them consistently. This may involve splitting categories into separate line items.

Labor Cost Classification: A Practical Dilemma

Labor is one of the most debated cost categories when it comes to GPM. In some cases, companies split labor into:

  • Direct Labor (COGS) – e.g., factory workers, consultants billing time to clients
  • Indirect Labor (OpEx) – e.g., admin, HR, marketing, executive salaries

However, this division can be difficult in practice. In our own accounting firm, we ultimately chose not to separate staff time between client delivery and administrative tasks because the tracking burden outweighed the benefits. While this choice made operations easier, it reduced the precision of our GPM and impacted how we interpreted results.

This example highlights a key concept in GAAP: the cost-benefit constraint. Perfect accuracy isn't always practical. Instead, companies must weigh the value of more granular insights against the costs of tracking and maintaining them.

Contra-Expenses in Cost of Sales

Another important consideration is the inclusion of contra-expense accounts, such as:

  • Vendor Rebates
  • Refunds or Returns
  • Volume Discounts

These are typically recorded as negative expenses and reduce the overall Cost of Sales. Including them properly can significantly impact Gross Profit Margin by showing the net cost incurred after rebates or incentives.

Consistency is Critical

If there's one rule to remember, it's this:

Consistency in calculation is more important than perfection.

Changing how you calculate GPM over time undermines your ability to compare performance across periods. If you must change your classification method, consider restating historical data to preserve trend comparability.

Additionally, consistency allows for external benchmarking. Understanding how your industry classifies expenses helps you evaluate your performance objectively. Even if you disagree with the standard treatment, conforming can aid in comparability and storytelling.

What to Do After You’ve Calculated GPM

Once you’ve consistently defined and calculated Gross Profit Margin, you can begin to leverage it for insights:

  • A declining GPM may indicate rising costs from suppliers, shrinking pricing power, or operational inefficiencies.
  • An increasing GPM may reflect improved pricing, cost controls, or product mix shifts.

Identify Margin Leaks

Break down each component of Cost of Sales as a percentage of revenue. This will help pinpoint where rising costs are eating into profits—whether it's wages, materials, or third-party services.

Spot Inconsistencies

Sudden swings in GPM can be a red flag for poor data integrity. Companies without proper inventory tracking or revenue recognition controls often report erratic GPM, which renders the KPI nearly useless for pricing and profitability decisions.

Use GPM to Refine Pricing Strategy

Gross Profit Margin isn't just an internal metric—it’s a strategic lever. If margins are consistently rising, you might ask:

  • Should we lower prices to drive volume?
  • Should we reinvest margin gains into marketing or R&D?
  • Are our margins consistent with customer value perception?

GPM should be reviewed in light of broader business goals—not just a static performance metric.

Conclusion: Make Gross Profit Margin Work for You

Gross Profit Margin is one of the most powerful indicators of financial health and operational efficiency—but only when calculated with care and clarity.

To make GPM work for you:

  • Define revenue and direct costs thoughtfully, based on your business model.
  • Scrutinize ambiguous accounts and set internal classification policies.
  • Be consistent over time—and restate historical financials when changes are made.
  • Use the metric proactively—not just as a report card, but as a roadmap for action.

As part of this KPI series, GPM is just the beginning. Future posts will cover other critical performance indicators such as Operating Profit Margin, Net Profit Margin, Operating Break Even, Current Ratio, Return on Assets, Altman Z-score, and more.

Understanding your KPIs isn’t just for your accountant—it’s for your strategy, your pricing, your product mix, and ultimately your success.

Know your portfolio

Purpose-built insights. Deep analysis. Relentless attention to details.

Know your portfolio