Gross Profit Margin % Formula & How to Calculate
In this article
Gross profit margin is the percentage of revenue that remains after subtracting the direct costs of producing goods or services (COGS). You calculate it with the formula: (Revenue – Cost of Goods Sold) ÷ Revenue × 100. This article explains the formula, walks through a real example, and shows how to interpret the result for your business.
What Is Gross Profit Margin?
Gross profit margin measures how efficiently a company uses its materials and labor to produce and sell products. It is one of the most common financial ratios used by business owners, investors, and analysts to assess profitability before overhead costs like rent, marketing, and salaries are considered.
The margin is expressed as a percentage. A higher percentage means the company keeps more money from each dollar of sales to cover other expenses. A lower percentage indicates that production costs eat up a larger share of revenue, leaving less for operating expenses and profit.
The Formula and What Each Part Means
The gross profit margin formula is:
Gross Profit Margin = (Revenue – Cost of Goods Sold) / Revenue × 100
- Revenue – total sales income from goods or services before any deductions (also called net sales if returns and discounts are subtracted).
- Cost of Goods Sold (COGS) – direct costs attributable to producing the goods sold. This includes raw materials, direct labor, and manufacturing overhead. It does not include indirect expenses like shipping to customers, sales commissions, or administrative costs.
Sometimes you’ll see the intermediate value called gross profit:
Gross Profit = Revenue – COGS
Then divide gross profit by revenue and multiply by 100 to get the percentage.
Worked Example
Let’s say a small bakery has monthly revenue of $20,000. The cost of flour, sugar, eggs, and other ingredients plus the baker’s direct wages totals $8,000.
- Calculate gross profit: $20,000 – $8,000 = $12,000
- Divide gross profit by revenue: $12,000 ÷ $20,000 = 0.6
- Convert to a percentage: 0.6 × 100 = 60%
So the bakery’s gross profit margin is 60%. For every dollar of sales, the bakery keeps $0.60 to cover rent, utilities, marketing, and other operating costs, and whatever remains is net profit.
How to Use Gross Profit Margin in Your Business
Gross profit margin is most useful when tracked over time or compared with industry benchmarks. A single margin number doesn’t tell you much on its own, but trends and comparisons reveal a lot.
- Track monthly or quarterly – a declining margin may signal rising material costs, pricing pressure, or inefficiency.
- Compare with industry averages – software companies often have margins above 80%, while grocery stores might be around 20–30% because they sell high-volume, low-margin goods.
- Use it for pricing decisions – if your margin is lower than desired, you may need to raise prices or find cheaper suppliers.
- Evaluate product lines – calculate margin per product to see which items are most profitable.
Remember that gross profit margin is not the same as net profit margin. Net profit margin subtracts all operating expenses, interest, and taxes. A healthy gross margin doesn’t guarantee profitability if overhead is high.
Common Mistakes and Misconceptions
One frequent error is confusing gross profit margin with markup. They are related but different:
- Gross profit margin = (Revenue – COGS) ÷ Revenue. It expresses profit as a percentage of the selling price.
- Markup = (Price – Cost) ÷ Cost. It expresses profit as a percentage of the cost.
For example, if an item costs $50 and you sell it for $75, the gross profit is $25. The margin is 33.3% ($25 ÷ $75), but the markup is 50% ($25 ÷ $50). Mixing these up leads to incorrect pricing and financial analysis.
Another common mistake is including indirect costs in COGS. Rent, office salaries, and advertising are not part of COGS. Only costs directly tied to production belong there. Including too much in COGS will understate your margin; excluding too little will overstate it.
Limitations of the Gross Profit Margin
Gross profit margin is a useful snapshot, but it has limits. It does not account for operating expenses, interest, or taxes, so it cannot show overall profitability. A company with a high gross margin could still lose money if its selling and administrative costs are excessive.
Also, the definition of COGS can vary by industry and accounting method. For a service business, COGS might include labor costs of the service providers; for a retailer, it’s the wholesale price of goods sold. Different accounting treatments (FIFO, LIFO, or weighted average) can affect COGS and therefore the margin. Always compare margins using the same accounting basis.
Finally, gross profit margin is a percentage, so it doesn’t reflect the total dollar amount of profit. A small business with a 70% margin on $10,000 in sales makes $7,000 in gross profit, while a larger company with a 30% margin on $1,000,000 in sales makes $300,000. The percentage alone doesn’t tell you which is more successful.
Frequently Asked Questions
What is a good gross profit margin?
There is no universal “good” number because margins vary widely by industry. As a rough guide, a 20% margin is often considered low, 40% is average for many industries, and 60% or higher is strong. Compare your margin to industry benchmarks rather than an arbitrary number.
How is gross profit margin different from net profit margin?
Gross profit margin only subtracts the direct cost of goods sold from revenue. Net profit margin subtracts all expenses, including operating costs, interest, taxes, and depreciation. Net margin is always lower than gross margin if the company has any operating expenses.
Can gross profit margin be negative?
Yes. If the cost of goods sold exceeds revenue, the gross profit margin is negative. This can happen if you sell products below cost or if production costs are extremely high. A negative gross margin is a serious warning sign because you lose money on every sale before considering other expenses.
Do I include shipping costs in COGS?
Shipping costs to deliver finished goods to customers are generally considered operating expenses, not COGS. However, freight-in costs (shipping raw materials to your facility) are typically included in COGS because they are part of acquiring the materials. The classification can vary by accounting standard, so check your specific rules.
How often should I calculate gross profit margin?
Most businesses calculate it monthly or quarterly to spot trends. If you’re pricing a new product or evaluating a large contract, calculate it for that specific decision. Regular tracking helps you catch cost increases or pricing issues early.