Calci.inCalculate Today for a Better Tomorrow

Profit Margin Calculator

Gross, operating and net margin

Profit Margin details

The last three work on a single item; the first works on a whole business.

Direct costs only — materials, production labour, freight in.

Rent, salaries, marketing, utilities — everything to run the business.

The guide

Three margins, and what each one tells you

How gross, operating and net margin differ, why a healthy gross margin can still end in a loss, and what each one reveals about a business.

Last reviewed · 1,342 words

In short

  • Gross margin tests the pricing. Operating margin tests how the business is run. Net margin tests everything, including how it is financed.
  • A large gap between gross and operating margin points at overheads. A large gap between operating and net points at interest or tax.
  • Margins are only comparable within a sector. A 4% net margin is excellent in grocery and alarming in software.
  • Margin multiplied by turnover is what produces profit, which is why low-margin businesses can be very good ones.
  • Profit is an opinion shaped by accounting choices; cash is a fact. A profitable business can still run out of money.

A profit margin is profit as a percentage of revenue. There are three of them, they are calculated at different points down the income statement, and each answers a different question about the business.

The three, in order

Gross margin = (revenue − cost of goods sold) ÷ revenue

What is left after the direct cost of what you sold: materials, manufacturing labour, purchase cost of goods. It tests the pricing.

Operating margin = operating profit ÷ revenue

Gross profit minus rent, salaries, marketing, utilities, depreciation — everything to run the business but not to finance it. It tests the operation.

Net margin = net profit ÷ revenue

Operating profit minus interest and tax, plus anything non-operating. It is what actually reaches the owner.

Reading a business from the gaps

Take a company with ₹1,00,00,000 of revenue:

LineAmountMargin
Revenue₹1,00,00,000
Cost of goods sold₹60,00,000
Gross profit₹40,00,00040%
Operating expenses₹28,00,000
Operating profit₹12,00,00012%
Interest₹4,00,000
Tax₹2,00,000
Net profit₹6,00,0006%

The gaps are more informative than the levels.

Gross to operating, 40% to 12%. Overheads consume 28% of revenue. Whether that is reasonable depends entirely on the sector — high for a distributor, ordinary for a services firm, low for a restaurant.

Operating to net, 12% to 6%. Half the operating profit goes to interest and tax. ₹4,00,000 of interest against ₹12,00,000 of operating profit means the business is carrying meaningful debt, and a rate rise or a weak quarter would eat the rest.

A business with a strong gross margin and a poor net margin does not have a pricing problem. It has an overhead problem or a debt problem, and those need different fixes.

Margins are sector-specific

SectorTypical net margin
Grocery retail1–3%
General retail2–5%
Restaurants3–8%
Manufacturing5–10%
Professional services10–20%
Pharmaceuticals15–20%
Software and SaaS15–30%

Comparing across these rows is meaningless. A supermarket at 2% is running well; a software company at 2% is in trouble.

The reason is capital turnover. A grocer sells their entire stock twenty or more times a year, so 2% earned twenty times over is a strong return on the money invested. A software firm sells the same product repeatedly at near-zero marginal cost, so its margin is high and its customer acquisition cost is where the money goes.

Margin × turnover is the number that makes different business models comparable, and it is why "raise your margins" is not universally good advice — a discounter raising prices to a boutique's margin would simply lose the volume that made the model work.

What moves each one

Gross margin responds to pricing, input costs, product mix and wastage. It is the fastest to change and the most directly controllable. A 5% price increase, if volume holds, goes almost entirely to gross profit.

Operating margin responds to overhead discipline and to scale. Fixed costs spread over more revenue improve it automatically, which is the whole of operating leverage — and the reason it collapses quickly when revenue falls, since the costs do not.

Net margin additionally responds to debt and to tax structure. Refinancing at a lower rate improves it without changing anything about the business itself.

The order in which to investigate a disappointing net margin runs the same way: check the gross margin first, because if pricing is wrong nothing further down will fix it.

The volume trade-off

Cutting price to gain volume is the most common growth plan and the arithmetic is unforgiving.

At a 40% gross margin, a 10% price cut removes a quarter of the gross profit per unit. To hold total gross profit you need to sell 33% more units. At a 20% margin the same 10% cut requires doubling volume.

Gross marginVolume increase needed after a 10% price cut
20%+100%
30%+50%
40%+33%
50%+25%

Raising prices works in reverse and is correspondingly forgiving: at a 40% margin you can lose 20% of your volume after a 10% price rise and still be no worse off.

Low-margin businesses are the ones with the least room to discount and, in practice, the ones that discount most.

Profit is not cash

The most important caveat about every margin on this page: a profitable business can fail for want of cash, and many do.

Profit is recognised when a sale is made. Cash arrives when the customer pays. A firm selling on 90-day credit while paying suppliers in 30 funds that gap out of its own pocket, and the faster it grows the larger the gap becomes. Growth consumes cash.

Inventory has the same effect. Stock bought and not yet sold is cash converted into goods, and it does not appear as an expense until it sells.

The measures that catch this are the cash conversion cycle — days of inventory plus days of receivables minus days of payables — and simple operating cash flow. A business with a 15% net margin and a 120-day conversion cycle is more fragile than one with 8% and 20 days.

Depreciation, and why margins can be chosen

Some of the numbers above are judgements rather than facts.

Depreciation schedules, inventory valuation, when revenue is recognised and how development costs are treated are all accounting choices within permitted ranges, and each moves the reported margin. Two identical businesses can report different profits legitimately.

This is why EBITDA — earnings before interest, tax, depreciation and amortisation — is quoted so often: it strips out the most discretionary items and the financing structure, making two companies more comparable. It is also why it is criticised, since depreciation represents assets genuinely wearing out, and a business that ignores it is understating what it costs to keep running.

Use the margins to understand a business, not to settle a comparison on their own.

Contribution margin and the break-even point

Gross margin treats every cost of goods as variable. In practice some costs are fixed regardless of volume, and separating the two answers a question the three margins cannot: how much must you sell before you make anything at all?

Contribution margin is revenue minus variable cost, per unit or in total. It is what each sale contributes towards fixed costs.

break-even units = fixed costs ÷ contribution per unit

A business with ₹4,00,000 of monthly fixed costs, selling at ₹500 with a variable cost of ₹300, has a contribution of ₹200 and breaks even at 2,000 units. Every unit beyond that adds ₹200 of profit; every unit short costs the same.

This is the calculation to run before a price change, because it converts a percentage into a volume you can judge. A ₹50 price cut reduces contribution to ₹150 and raises break-even to 2,667 units — a third more sales required simply to stand still.

Reading margins over time

A single period's margin is a snapshot; the trend is the information.

A falling gross margin means input costs are rising faster than prices, or the mix has shifted towards cheaper products. Both are addressable and both get worse if left.

A stable gross margin with a falling operating margin means overheads are growing faster than revenue — usually headcount, rent or marketing added in anticipation of growth that has not arrived.

Margins that improve while revenue falls often mean the business has stopped investing, which flatters the current period at the expense of the next.

Compare against the same quarter of the previous year rather than the previous quarter wherever the business is seasonal, and against sector peers rather than against an absolute standard. Both comparisons are more informative than the level itself.

What this calculator assumes

  • Revenue is net of GST and of returns and discounts. Tax collected on behalf of the government is not revenue.
  • Cost of goods sold is direct cost only — materials, direct labour, freight in.
  • Operating expenses exclude interest and tax, which are applied afterwards.
  • All three margins are computed on the same revenue figure, so they are directly comparable.
  • These are accounting margins. They say nothing about cash position, which is a separate and often more urgent question.

Sources

Frequently asked questions

What is the difference between gross, operating and net margin?

Gross margin is revenue minus direct costs — it tells you whether the product itself makes money. Operating margin also removes the cost of running the business. Net margin removes interest and tax as well, and is what actually reaches the owners.

What is a good profit margin?

It depends entirely on the industry. Grocery retail runs on 1–3% net, software on 20–40%, restaurants on 3–9%. Comparing your margin to another sector's tells you nothing; comparing it to last year's tells you a great deal.

Can gross margin be healthy while the business loses money?

Routinely, and it is the most useful thing this page shows. A 60% gross margin with operating expenses at 70% of revenue is a good product inside a business that cannot afford itself.

What belongs in cost of goods sold?

Only costs that rise and fall with what you sell — materials, production labour, inward freight. Rent and salaried staff stay in operating expenses, because they are paid whether you sell anything or not.