Gross Profit Margin KPI: How to Calculate & Use It
In this article
Gross profit margin is a financial KPI that shows the percentage of revenue left after deducting the direct costs of producing goods or services. You calculate it by dividing gross profit (revenue minus cost of goods sold) by revenue and multiplying by 100. This article explains the formula, how to interpret the result, common mistakes, and how the metric compares to other profitability measures.
What Is Gross Profit Margin?
Gross profit margin measures how efficiently a company uses its materials and labor to produce and sell products. It focuses only on variable production costs—often called cost of goods sold (COGS)—and ignores overhead like rent, marketing, and administrative salaries. The result is a percentage: a 40% margin means that for every dollar of revenue, 40 cents remain to cover other expenses and profit.
For example, a bakery sells a cake for $20. The flour, eggs, packaging, and direct baker labor cost $8. Gross profit is $12, and the gross margin is 60% ($12 ÷ $20). This KPI is most useful for companies that sell physical products, but it also applies to service businesses where the “cost of goods” is the direct labor of delivering the service.
How to Calculate Gross Profit Margin
The formula is straightforward:
Gross Profit Margin (%) = (Revenue – Cost of Goods Sold) ÷ Revenue × 100
To use it, you need two numbers from your income statement:
- Revenue: total sales before any deductions.
- Cost of Goods Sold (COGS): direct costs attributable to producing what was sold, including raw materials, direct labor, and freight-in.
Suppose a furniture maker has annual revenue of $500,000. The wood, hardware, finishes, and workshop labor for the pieces sold total $200,000. Gross profit is $300,000. The margin is 60% ($300,000 ÷ $500,000 × 100).
You can also use the inverse: if you know your desired margin, you can set prices. For a target margin of 50%, the selling price must be double the COGS. This reverse calculation is common in retail and manufacturing.
Why This KPI Matters
Gross profit margin is a health check for your core business model. A stable or rising margin suggests you have pricing power, efficient production, or falling input costs. A declining margin can signal rising material costs, increased competition forcing price cuts, or inefficiencies in production.
It also helps you compare yourself to competitors. Industry averages vary widely: software companies often have margins above 80% because COGS is minimal, while grocery stores may operate on 20–30% margins due to high product costs and thin pricing. Tracking your margin against your own historical data is more useful than a single benchmark.
Investors and lenders watch this KPI because it shows whether a business can cover its operating expenses and eventually turn a profit. A company with a negative gross margin is selling products for less than they cost to make—a model that cannot survive unless subsidized.
Gross Profit Margin vs. Net Profit Margin
Gross margin and net margin are often confused, but they answer different questions. Gross margin measures production efficiency; net margin measures overall profitability after all expenses—including rent, salaries, marketing, interest, and taxes—are subtracted.
For example, a clothing retailer may have a gross margin of 50%, but after paying for stores, staff, and advertising, the net margin might be only 5%. A high gross margin does not guarantee a high net margin, and a low gross margin can still yield a decent net margin if overhead is kept extremely low.
When evaluating a business, look at both. A sudden drop in net margin with a stable gross margin points to rising operating costs. A drop in gross margin points to problems in production or pricing.
Common Mistakes and Misconceptions
One frequent error is including non-production costs in COGS. Shipping to customers, sales commissions, and storage costs are operating expenses, not COGS. Including them inflates COGS and understates your true gross margin.
Another mistake is comparing your margin to the wrong industry. A 30% margin is excellent for a supermarket but poor for a software company. Always compare against businesses with similar cost structures.
Also, be careful with inventory accounting. If you use the FIFO method during rising material prices, COGS will be lower and margin higher than under LIFO. Changes in accounting methods can make margins look better or worse without any real operational change.
Finally, a high gross margin is not always good. A luxury product with a 90% margin may have very low sales volume, while a discount retailer with a 20% margin may earn more total profit due to high volume. Margin is a ratio, not a total profit measure.
How to Improve Your Gross Profit Margin
Improving this KPI usually involves either raising prices, lowering COGS, or both. Here are practical approaches:
- Raise prices selectively on products with high demand or low price sensitivity. Even a 1% price increase can boost margin significantly if sales volume stays constant.
- Negotiate with suppliers for volume discounts or find alternative materials that meet quality standards.
- Reduce production waste—scrap, rework, and defects directly increase COGS.
- Improve labor efficiency through training or better equipment, reducing direct labor hours per unit.
- Review your product mix—promote higher-margin items and phase out low-margin ones.
Before making changes, calculate the potential impact. If your margin is 40% and you cut COGS by 5%, your margin rises to 43% (assuming revenue stays constant). That may seem small, but on $1 million in revenue, it adds $30,000 to gross profit.
Limitations of Gross Profit Margin
This KPI has blind spots. It ignores operating expenses, so a company can have a healthy gross margin but still lose money due to high overhead. It also does not account for inventory write-downs or obsolescence, which can distort true product profitability.
For service businesses, defining COGS is tricky. Is a consultant’s time the COGS? Many service firms use “cost of revenue” instead, which includes the salaries of billable staff. Without a consistent definition, comparisons between firms can be misleading.
Additionally, gross margin is a snapshot—it does not show trends in cash flow or working capital. A company can have a high margin but struggle with slow-paying customers or excess inventory. Use it alongside other KPIs like operating margin, inventory turnover, and days sales outstanding.
Frequently Asked Questions
What is a good gross profit margin?
There is no universal “good” number. It depends on your industry. Software and financial services often exceed 70%, while food retail and construction may sit below 30%. The best benchmark is your own historical margin and the average for your specific sector.
Can gross profit margin be negative?
Yes. If COGS exceeds revenue, the margin is negative. This means you are losing money on every sale before even covering overhead. It can happen during a clearance sale or if production costs spike unexpectedly. Sustained negative gross margin is a serious red flag.
How is gross profit margin different from markup?
Margin is profit as a percentage of the selling price. Markup is profit as a percentage of cost. For example, if an item costs $10 and sells for $15, the gross profit is $5. The margin is 33.3% ($5 ÷ $15), while the markup is 50% ($5 ÷ $10). Confusing the two leads to pricing errors.
Should I use gross margin or gross profit for my KPI dashboard?
Use both. Gross profit in dollars shows the absolute amount available to cover overhead, while the margin percentage shows efficiency. A company can grow gross profit while margin declines if revenue is growing faster than costs—that is not necessarily bad, but it warrants attention.
How often should I track gross profit margin?
Monthly is common for most businesses, but weekly may be useful if you have volatile material costs or frequent price changes. Annual tracking is too slow to catch problems early. The key is to compare the same period year-over-year to account for seasonality.
Does gross profit margin include taxes?
No. Taxes are not part of COGS. Gross margin is calculated before operating expenses, interest, and taxes. Taxes appear in net profit margin, which is a separate KPI.