Gross profit margin is the percentage of revenue that remains after deducting the direct costs of producing the goods or services a company sold.
How it works
The calculation uses two lines from the income statement:
- Revenue (net sales): what the company earned from customers in the period.
- Cost of goods sold (COGS), sometimes called cost of sales or cost of revenue: the direct costs tied to what was sold, such as raw materials, factory labour, and freight-in. For a retailer, it is mainly the purchase cost of the inventory sold.
The formula is:
Gross profit = Revenue − COGS
Gross profit margin = Gross profit ÷ Revenue × 100
What counts as a direct cost is a matter of accounting policy. Marketing, head-office salaries, rent on administrative buildings and research are usually operating expenses, so they sit below the gross profit line. Some companies place depreciation of production equipment inside COGS, while others show it separately. The inventory method used (FIFO or LIFO, where permitted) can also move COGS when input prices change. Reading the notes to accounts is therefore important before comparing two firms.
Worked example
Take a hypothetical manufacturer with annual revenue of ₹500 crore (or, equivalently in scale, $60 million). All figures are round and illustrative.
- Revenue: 1,000 units of currency
- COGS: 650 units
- Gross profit: 1,000 − 650 = 350
- Gross profit margin: 350 ÷ 1,000 = 35%
Now suppose input costs rise and COGS grows to 720 while revenue stays at 1,000. Gross profit falls to 280, and the margin drops to 28%. Seven percentage points of margin vanished without any change in sales volume, which is why analysts watch this ratio for early signs of cost pressure or pricing weakness.
The reverse also matters. If the firm raises prices by 5% with no change in volume or costs, revenue becomes 1,050, gross profit becomes 400, and the margin rises to about 38.1%.
Why margins differ across sectors
A margin that is strong in one industry can be alarming in another. The table below uses broad, hypothetical ranges to show the pattern, not data for any real company.
| Business type | Typical cost structure | Illustrative gross margin pattern |
|---|---|---|
| Software and digital services | Low direct cost per extra customer | Often high |
| Branded consumer goods | Moderate production cost, pricing power | Medium to high |
| Manufacturing | Materials and labour heavy | Medium |
| Grocery and general retail | Thin mark-ups, high volume | Low to medium |
| Commodity processing | Prices set by the market | Low and volatile |
Low-margin businesses can still be excellent if they turn inventory quickly and keep overheads small. High-margin businesses can still disappoint if sales and administration costs consume the difference. Gross margin describes one layer of the cost structure, not the whole business.
Why it matters to investors
- Pricing power: A stable or rising margin can suggest a company can pass on cost increases or sells something customers value beyond price.
- Cost control: A falling margin may signal rising input costs, discounting, or an unfavourable shift in product mix.
- Operating leverage: A high gross margin leaves more room to cover fixed costs, so profit can grow faster than sales once volume rises. The same leverage works in reverse during downturns.
- Valuation context: Margins feed into earnings forecasts, which in turn drive valuation methods such as discounted cash flow.
What to watch out for
- Comparing across sectors. A 25% margin means very different things for a supermarket and a software company.
- Differences in accounting. Classification of costs inside or outside COGS can make two similar firms look different. Check the notes.
- Mix effects. A margin can fall because the company sold more of a lower-margin product, not because anything went wrong.
- One-off items. Inventory write-downs or unusual commodity swings can distort a single period. Look at several years.
- Stopping at gross margin. A healthy gross margin can coexist with heavy overheads, debt costs and weak net profit.
Related concepts
Gross margin is the first of several profitability layers. Operating margin deducts operating expenses, and net profit margin goes all the way to the bottom line after interest and tax. Inventory valuation methods influence COGS, while the income statement is the source of every input. Analysts often combine margins with turnover ratios in DuPont analysis to see how profitability and efficiency together produce return on equity.
This entry is for education and is not a recommendation about any security.