Gross margin vs net margin, explained with a grocery example

Gross margin measures what remains from sales after the cost of the goods sold. Net margin measures what remains after operating expenses and other relevant costs are also deducted. Gross margin tells you whether buying and selling prices work; net margin tells you whether the whole business model works.

Confusing the two leads to statements such as “I make 20% on every item, so the shop should earn 20% profit.” Rent, salaries, electricity, spoilage, delivery, payment charges and interest still have to be paid from the gross profit.

Calculate gross margin correctly

Gross profit = net sales − cost of goods sold.

Gross margin percentage = gross profit ÷ net sales × 100.

Suppose a shop sells goods for ₹1,00,000 and the cost of those sold goods is ₹78,000. Gross profit is ₹22,000 and gross margin is 22%. This does not mean the owner can withdraw ₹22,000. Operating expenses have not yet been considered.

Use net sales after relevant returns and discounts. Use the cost of inventory sold, not blindly all purchases. If the shop bought extra stock that remains on shelves, that stock is an asset tied up in cash and not all a current-period cost of sales.

Different categories have different margins. Staples may bring customers but carry low margin, while personal-care or convenience items may contribute more. A blended shop margin depends on the sales mix.

Calculate net margin after expenses

Net profit in a simplified operating view = gross profit − operating expenses. Net margin percentage = net profit ÷ net sales × 100.

Using the ₹1,00,000 sales example, suppose expenses are:

  • Rent: ₹7,000
  • Staff: ₹6,000
  • Electricity: ₹1,500
  • Transport: ₹1,000
  • Wastage and other costs: ₹1,500

Total expenses are ₹17,000. Net profit is ₹22,000 − ₹17,000 = ₹5,000. Net margin is 5%, even though gross margin was 22%.

Accounting reports may also consider tax, interest, depreciation and exceptional items. Use a qualified accountant for the final statutory treatment. The operational lesson remains: gross margin funds every overhead before becoming net profit.

Worked grocery basket example

Consider a day with three groups:

  • Staples: sales ₹20,000, cost ₹18,000, gross profit ₹2,000
  • Snacks and drinks: sales ₹10,000, cost ₹7,500, gross profit ₹2,500
  • Personal care: sales ₹5,000, cost ₹3,500, gross profit ₹1,500

Total sales are ₹35,000. Total cost is ₹29,000. Gross profit is ₹6,000 and gross margin is about 17.1%.

Notice the mix. Staples are more than half of sales but contribute only one-third of gross profit. Snacks and drinks generate less sales but more gross profit than staples. This does not mean the shop should stop selling staples; they may drive visits and basket size. It means category contribution should guide shelf space, pricing attention and stock availability.

Now allocate that day’s share of monthly overhead at ₹4,200. Net operating profit is ₹1,800, giving a net margin of about 5.1%. If ₹700 of products spoil or disappear and the loss was not included in cost, net profit falls to ₹1,100. A small stock-control issue can remove a large part of final profit.

Why margin falls while sales rise

Higher sales can accompany lower margin for several reasons:

  • More sales came from low-margin categories.
  • Discounts increased without supplier-cost reductions.
  • Purchase prices rose but selling prices did not.
  • Returns, damage, spoilage or theft increased.
  • Entries used the wrong cost or quantity.
  • UPI, delivery or marketplace fees grew.

Compare category margins and volumes rather than only total sales. A festival promotion may deliberately reduce margin to move stock or attract customers, but the owner should know the expected result before approving it.

Supplier schemes also need care. “Buy ten, get one free” lowers average unit cost only if all units are usable and sold. Expired free stock has no benefit. Record discounts and free quantity consistently so the margin is not based on a guessed cost.

Margin is not markup

Markup is measured on cost; margin is measured on selling price. If an item costs ₹80 and sells for ₹100, the markup is ₹20 ÷ ₹80 = 25%, while the gross margin is ₹20 ÷ ₹100 = 20%. Calling both “20%” or “25%” creates pricing errors.

For a target margin, calculate the required selling price from cost ÷ (1 − target margin rate). Before using a formula, include the relevant landed cost: purchase price, inward transport, packing or other direct cost according to your method.

Do not set prices mechanically without considering market competition, maximum retail price rules, taxes and customer value. Margin analysis explains a price; it does not override legal or commercial constraints.

Use contribution for decisions

An item with high percentage margin but very low sales may contribute less rupee profit than a moderate-margin fast seller. Review:

  • Gross profit rupees
  • Gross margin percentage
  • Units sold
  • Stock days
  • Wastage or expiry
  • Shelf space and customer pull

For example, an item earning ₹15 per unit and selling 500 units contributes ₹7,500 gross profit. An item earning ₹80 but selling 20 units contributes ₹1,600. Both percentage and velocity matter.

Use this information with ABC analysis. “A” items may be high by sales value or contribution, depending on the objective. Protect availability for important fast movers and reduce cash trapped in slow items.

Improve net margin without harming the shop

Start with leaks rather than blind price increases. Verify purchase cost, reduce spoilage, prevent duplicate discounts, reconcile stock, collect overdue udhar and review recurring fees. Negotiate supplier terms where volume supports it. Remove expenses that do not improve availability, service or compliance.

Price changes should focus on items where the current margin is clearly inadequate and market conditions allow adjustment. A small increase on a suitable item can help, while increasing a highly visible staple may drive customers away.

Measure the result over a complete period. One unusually busy weekend or one large repair can distort a daily margin. Monthly trends and category comparisons are usually more useful.

Practical takeaway

Gross margin is sales minus the cost of goods sold, expressed against sales. Net margin is what remains after operating expenses and other relevant costs. Always calculate both. A healthy gross margin can still produce weak net profit, and strong sales can hide a poor category mix.

Take last month’s sales, cost of goods and operating expenses and calculate the two percentages. Then identify the category that contributes most gross profit rupees, not just sales. Continue with markup versus margin for pricing and ABC inventory analysis for stock decisions.