OCRPos Coming soon · See plansPlans

How to Calculate Profit Margin in a Retail Shop

Learn how to calculate profit margin in a retail shop, why a 20% markup is not a 20% margin, and how to price loose items with clear rupee examples and a table.

The OCRPos team 6 min read

Picture the distributor’s salesman leaning on your counter. “Bhaiya, this one gives you 20% margin.” You nod, add 20% to the cost, and price it. Six months later the numbers don’t feel like 20%.

They aren’t. Somewhere between “margin” and “markup”, a few percent went missing.

If you’ve ever wondered how to calculate profit margin in a retail shop properly, this is the bit most people mix up, and it costs real money over a year. The good news is the maths is simple once it clicks. This post walks through it in rupees, with a table you can stick on the wall.

Markup and margin are not the same thing

Both measure profit. They just measure it against different numbers.

  • Markup is profit compared with your cost price.
  • Margin is profit compared with your selling price.

Take an item you buy for ₹80 and sell for ₹100. Profit is ₹20.

  • Markup = ₹20 ÷ ₹80 = 25%
  • Margin = ₹20 ÷ ₹100 = 20%

Same item, same ₹20 profit, two different percentages. Neither is wrong. The trouble starts when someone says one and you hear the other.

Why a 20% markup is not a 20% margin

Say you buy a bottle of oil at ₹80 and want “20%”. You add 20% to the cost:

₹80 + 20% of ₹80 = ₹80 + ₹16 = ₹96

Your profit is ₹16. As a share of the ₹96 you sell it for:

₹16 ÷ ₹96 = 16.7% margin

So if you meant 20% margin, you’re short by more than three percentage points on every bottle.

To actually get a 20% margin, you work backwards from the selling price:

Selling price = cost ÷ (1 − margin) = ₹80 ÷ 0.80 = ₹100

That’s a 25% markup. Here’s the quick reference:

Markup on cost Margin on selling price
10% 9.1%
20% 16.7%
25% 20%
33.3% 25%
50% 33.3%
100% 50%

Two formulas to remember:

Margin % = (selling price − cost) ÷ selling price × 100

Selling price for a target margin = cost ÷ (1 − margin as a decimal)

When a company or distributor quotes “margin”, it usually means on the selling price or MRP, but schemes vary. If the number matters, ask them to show you the rupee amounts.

How to calculate profit margin in a retail shop, step by step

For any product:

  1. Find your true cost per unit. Purchase price, plus anything you paid to get it to the shelf (transport, loading), minus any scheme discount you actually received.
  2. Note the selling price you actually charge, after any regular discount.
  3. Subtract to get profit per unit.
  4. Divide profit by selling price and multiply by 100.

An illustrative example. You buy a case of 24 soaps for ₹672, and the distributor charges ₹24 for delivery. True cost is ₹696 ÷ 24 = ₹29 each. You sell at ₹35.

Profit = ₹35 − ₹29 = ₹6

Margin = ₹6 ÷ ₹35 = 17.1%

Markup = ₹6 ÷ ₹29 = 20.7%

Do this for your 20 best sellers once and you’ll know more about your shop than most monthly reports tell you.

Remember that this is margin on the product, before your rent, electricity, salaries and wastage. For anything to do with tax, GST or how to report profit, check with your accountant or CA.

Pricing loose items like rice, dal and sugar

Loose goods are where margins leak quietly. You buy by the sack and sell by the kilo, and somewhere in between there’s spillage, moisture loss and the extra 20 grams you give to keep a customer happy.

Say you buy a 30 kg bag of rice for ₹1,350. On paper that’s ₹45 a kg. But suppose roughly 2% is lost to spills, cleaning and generous weighing. You only sell about 29.4 kg.

True cost per kg = ₹1,350 ÷ 29.4 = about ₹45.92

For a 20% margin:

₹45.92 ÷ 0.80 = about ₹57.40, so ₹58 a kg

If you’d priced from the paper cost of ₹45, you’d have charged ₹56.25 and earned noticeably less than you thought. The wastage figure here is only an example; weigh a few bags yourself to find your own.

Tips for loose items:

  • Weigh your actual yield from a few sacks to know your real loss.
  • Use a calibrated scale, checked regularly.
  • Pre-pack popular weights (500 g, 1 kg) during quiet hours. It speeds up billing and reduces “a little extra” at the counter.
  • Recheck price whenever the sack price changes, not just when you remember.

When to round prices

Rounding makes life easier for you and your customers, but which way you round matters.

  • Round up for small-value items. ₹57.40 to ₹58 is fair and protects your margin.
  • Round to give change easily. Prices ending in 0 or 5 speed up cash counters, especially on busy days.
  • Don’t round below your floor. If a target margin gives ₹57.40, rounding down to ₹55 drops your margin to about 16.5%.
  • Keep an eye on MRP. You can’t charge more than the printed MRP on packaged goods, so rounding up only works below it.

Small rounding choices across hundreds of sales a day add up to real money over a month, in either direction.

Track your cost price, not just your selling price

Most shopkeepers know their selling prices by heart. Far fewer know their current cost price for every item, because it changes with each delivery and scheme.

Without the cost price, you can’t know your margin. And you won’t notice when a supplier quietly raises the price and your margin shrinks to almost nothing.

Simple ways to track it:

  • Write the cost in code on the shelf tag or inside the product register, so you can check it at a glance.
  • Update it with every new purchase bill, not once a year.
  • Flag anything where margin drops below your minimum.

If you use a billing app, put the cost price in alongside the selling price. In OCRPos, cost price is optional for each product, there are quick markup chips to set a price from the cost, and it warns you if a price is below cost. You can read more under billing on the features page or in our guide to a billing app for a grocery store.

Knowing your cost also makes other decisions easier. When should you discount near-expiry stock, and how far? Our post on how to reduce expiry loss in a grocery store uses exactly this maths to work out the floor price.

Put the table on the wall

You don’t need a degree in accounting. You need the difference between markup and margin, a true cost for your main items, and the habit of checking when prices change. Stick the table above near the counter, and the next time someone says “20%”, ask: on cost or on selling price?

OCRPos is coming soon to Google Play, with cost prices, markup chips and loss warnings built into each product. The features and pricing pages have the details. A notebook and a calculator will get you most of the way too. The important part is knowing which number you’re actually looking at.

Questions people ask

What is the difference between markup and margin?

Markup is profit as a percentage of your cost price. Margin is profit as a percentage of your selling price. On the same item, the margin percentage is always lower than the markup percentage.

How do I calculate selling price from a target margin?

Divide the cost price by (1 minus the margin as a decimal). For a 20% margin on an item costing ₹80, that's ₹80 ÷ 0.8 = ₹100.

Is 20% markup the same as 20% margin?

No. A 20% markup on a ₹80 item gives a price of ₹96 and a profit of ₹16, which is only about 16.7% of the selling price. To earn a 20% margin you need a 25% markup.

The OCRPos team builds OCRPos at Zecrari. We write about running a small shop: billing, stock, expiry and credit. Questions or a topic you'd like covered? support@zecrari.com

Open your counter in five minutes.

Free to start. 7-day free trial on paid plans. No account needed.

Coming soon onGoogle PlaySee pricing