---
title: "Business Margin Calculator: Markup vs Margin Formula for Indian Retailers"
description: "Margin and markup are not the same number, and confusing them is how shops price below cost. Here are the four formulas, worked on GST-inclusive Indian purchase prices."
author: "Amresh Kumar"
published: 2026-11-18T10:00:22.838Z
updated: 2026-11-18T10:00:22.856Z
url: https://blog.mybillplease.com/business-profit-margin-calculator-formula
---
# Business Margin Calculator: Markup vs Margin Formula for Indian Retailers

## Key takeaways

- Margin is profit as a share of the selling price. Markup is profit as a share of the cost. A 25% markup is only a 20% margin.
- Always work margin on the GST-exclusive price on both sides — GST is money you collect for the government, not revenue.
- To price from a target margin: selling price = cost ÷ (1 − margin). Dividing by the margin instead is the most common shop-floor error.
- Input tax credit does not improve your margin. It only means the GST you paid was never your cost in the first place.
- A discount given off the selling price costs you far more margin than the same percentage looks like it should.

> **GST rates used in this article, checked 28 October 2026**
> 
> The worked examples use the live slabs of **5% and 18%**. Since the GST 2.0 rationalisation effective **22 September 2025**, the 12% and 28% slabs no longer exist; the structure is 0%, 5% and 18% with a 40% de-merit rate, plus special rates of 3% on gold, silver and jewellery and 0.25% on rough diamonds. If you are re-pricing an old sheet, check the current rate of each item before you trust the arithmetic on it.

Ask a shopkeeper what margin he makes and he will usually tell you his markup. The two words get used as if they mean the same thing. They do not, and the gap between them is bigger than most people expect.

A product you buy for ₹100 and sell for ₹125 carries a **25% markup** and a **20% margin**. Same transaction, same ₹25, two different numbers. When a distributor promises you "20% margin" and you price at cost plus 20%, you have just given away a quarter of the profit you were expecting.

Add GST to it — which every Indian invoice does — and a third kind of error creeps in: calculating margin on the price including tax, which inflates the number you are reporting to yourself and hides a product that is barely breaking even.

This post fixes all three. Four formulas, worked on real Indian numbers, with the GST handled properly.

## Margin vs markup: the ₹100 example

Both measure the same rupee of profit. They differ in what they divide it by.

- Markup divides profit by what you paid. It answers: how much did I add on top of cost?
- Margin divides profit by what you charged. It answers: of every rupee that came in, how much did I keep?

Margin is the honest number, because it is the one that lines up with your turnover. Your rent, salaries and electricity are paid out of sales, not out of cost. Your accountant works in margin. Your supplier talks in markup. Know which language you are in.

## The same product, both ways
| Markup % | Cost | Selling price | Profit | Margin % |
| --- | --- | --- | --- | --- |
| 10% | ₹100 | ₹110 | ₹10 | 9.1% |
| 20% | ₹100 | ₹120 | ₹20 | 16.7% |
| 25% | ₹100 | ₹125 | ₹25 | 20.0% |
| 33.3% | ₹100 | ₹133 | ₹33 | 25.0% |
| 50% | ₹100 | ₹150 | ₹50 | 33.3% |
| 100% | ₹100 | ₹200 | ₹100 | 50.0% |

Read the bottom row again. Doubling your money is a 100% markup and a 50% margin. That is the single most useful line in the table, because it is the one everybody gets wrong in the other direction.

## The four formulas

Keep these four on a card near the till. Every pricing question a shop faces is one of them.

### 1. Gross margin from cost and price

**Margin % = (Selling price − Cost) ÷ Selling price × 100**

Cost ₹800, selling price ₹1,000. Margin = 200 ÷ 1,000 = **20%**.

### 2. Markup from cost and price

**Markup % = (Selling price − Cost) ÷ Cost × 100**

Same numbers: 200 ÷ 800 = **25%**.

### 3. Selling price from a target margin

**Selling price = Cost ÷ (1 − Margin %)**

You want 30% margin on an item costing ₹700. Price = 700 ÷ 0.70 = **₹1,000**. Note what you did *not* do: 700 ÷ 0.30, and not 700 × 1.30 either, which would have given ₹910 and a margin of only 23%.

### 4. Cost you can afford, from a price and a target margin

**Maximum cost = Selling price × (1 − Margin %)**

The market will bear ₹1,500 and you need 35% margin. You cannot pay more than 1,500 × 0.65 = **₹975** for it. This is the formula to use when negotiating with a distributor, because it turns a pricing question into a purchasing limit.

## Always calculate on the GST-exclusive price

This is where real money leaks.

GST is not your income. You collect it from the customer and hand it to the government. It should not be in the numerator or the denominator of a margin calculation. The same goes for the GST you paid your supplier, which comes back to you as input tax credit.

So both sides of the formula must be stripped of tax:

- Cost = supplier's taxable value, i.e. invoice total minus the GST you will claim as credit.
- Selling price = your taxable value, i.e. the MRP or shelf price divided by (1 + rate).

To strip GST out of a tax-inclusive figure, divide by 1 plus the rate: an inclusive ₹1,180 at 18% has a taxable value of 1,180 ÷ 1.18 = ₹1,000. Our guide to [calculating GST forwards and backwards](/how-to-calculate-gst) has the full working, including the back-calculation table for 5%, 18% and 40%.

## Worked example: a retailer buying at ₹1,180 inclusive of 18% GST

A hardware shop buys an item for ₹1,180 all-in and sells it at ₹1,534 all-in. Both are at 18%. What is the margin?

## Stripping the tax out before you measure
| Step | Working | Amount |
| --- | --- | --- |
| Purchase invoice total | As billed by the supplier | ₹1,180 |
| GST in the purchase (claimed as ITC) | 1,180 − (1,180 ÷ 1.18) | ₹180 |
| Your real cost | Taxable value of the purchase | ₹1,000 |
| Shelf price to the customer | Inclusive of 18% GST | ₹1,534 |
| GST you collect and pay over | 1,534 − (1,534 ÷ 1.18) | ₹234 |
| Your real revenue | Taxable value of the sale | ₹1,300 |
| Gross profit | 1,300 − 1,000 | ₹300 |
| Gross margin | 300 ÷ 1,300 × 100 | 23.1% |
| Markup | 300 ÷ 1,000 × 100 | 30.0% |
| Wrong answer if you use inclusive prices | (1,534 − 1,180) ÷ 1,534 × 100 | 23.1% — the same here, but only because both rates match |

That last row deserves a warning. When the purchase and the sale carry the *same* GST rate, using inclusive prices happens to give the right margin percentage, because the tax scales both sides equally. The moment the rates differ — and they often do, because you buy raw material at one rate and sell a finished product at another — the inclusive calculation is simply wrong.

Example: you buy packing material at 18% and sell a food product at 5%. Inclusive-price margin will overstate your profit every single time. Strip the tax first, always, and the question never arises.

## Does input tax credit improve my margin?

No, and this confusion costs businesses real pricing accuracy.

ITC does not add profit. It means the GST component of your purchase was never your cost. If you are registered and claiming credit properly, your cost is the taxable value and the margin calculation above is already correct.

Where it genuinely changes the number is when you *cannot* claim it. A composition dealer cannot claim ITC at all, so his cost is the full ₹1,180 and his margin on a ₹1,534 sale is a different, much thinner number. The same applies to any registered business on purchases where credit is blocked under Section 17(5), and to purchases used for making exempt supplies. In those cases the GST is a real cost and belongs in the cost figure. The [input tax credit guide](/input-tax-credit-guide) sets out which purchases are blocked.

## What a discount really costs you

Discounts come out of margin, not out of price, and the ratio is brutal. On a 20% margin, a 10% discount does not cost you a tenth of your profit — it costs you half of it.

## Discount off the selling price, at a 20% starting margin
| Discount given | New selling price (₹1,000 base) | Profit left (cost ₹800) | New margin |
| --- | --- | --- | --- |
| 0% | ₹1,000 | ₹200 | 20.0% |
| 5% | ₹950 | ₹150 | 15.8% |
| 10% | ₹900 | ₹100 | 11.1% |
| 15% | ₹850 | ₹50 | 5.9% |
| 20% | ₹800 | ₹0 | 0.0% |
| 25% | ₹750 | −₹50 | −6.7% |

At a 20% margin, a 20% discount is the break-even point. Anything beyond it is a loss that volume cannot rescue, because every additional unit loses money.

Two GST points on discounts, because they are handled differently:

- A discount shown on the invoice itself reduces the taxable value, so you charge GST on the net amount. This is the clean way to do it.
- A discount agreed after the supply — a quarterly volume scheme, say — only reduces taxable value if it was agreed before or at the time of supply and can be linked to specific invoices, and it needs a credit note. Otherwise you have paid GST on money you never kept.

Free goods schemes are a third case: buy-ten-get-one-free is usually treated as a quantity discount on the eleven units rather than a free supply, which is why the invoice should show all eleven with the discount, not ten plus a gift.

## The margin you actually need

Gross margin is not profit. It is what is left to pay for everything that is not stock. Work out the minimum margin your shop needs rather than copying a number from the trade.

**Required gross margin % = Monthly fixed costs ÷ Monthly sales (excluding GST) × 100**, plus whatever you want to earn.

A shop with ₹1,20,000 of monthly rent, salaries, electricity and interest, doing ₹8,00,000 of GST-exclusive sales, needs a 15% gross margin just to break even. To take ₹60,000 a month out of the business it needs 22.5%. Any product priced below that is being subsidised by the rest of the shelf, which is fine if you know you are doing it and a slow disaster if you do not.

Track it monthly rather than annually. A margin that drifts down by half a point a month is invisible until the year-end accounts arrive. Our notes on [the billing mistakes small businesses make](/gst-billing-mistakes-small-business) and on [keeping compliance costs down](/save-money-gst-compliance-tips) cover the operational side of the same problem.

If you are still doing this in a spreadsheet, the comparison in [Excel billing versus GST software](/excel-billing-vs-gst-software) is worth ten minutes — margin per item is the one report that spreadsheets almost never produce correctly, because the GST stripping has to happen on every line.

**See margin per item, not just turnover**
myBillPlease stores cost and selling price GST-exclusive, so the margin on every bill is right without a spreadsheet. Works offline on mobile and desktop.

[Start billing free](https://www.mybillplease.com)

## FAQ

### Should I calculate margin on the cost price or the selling price?

On the selling price. Margin % = (Selling price − Cost) ÷ Selling price × 100. Dividing by cost instead gives you markup, which is always the larger number. The practical reason to prefer margin is that your rent, salaries and other overheads are paid out of sales, so a margin percentage can be compared directly against your costs as a percentage of turnover. Markup cannot.

### Do I include GST in the selling price when working out my margin?

No. Strip GST out of both the purchase and the sale before you calculate. GST collected is not your revenue and GST paid is not your cost if you can claim it as input tax credit. To remove tax from an inclusive figure, divide by 1 plus the rate — ₹1,180 at 18% has a taxable value of ₹1,000. If the purchase and sale rates happen to be identical, an inclusive calculation gives the same percentage by coincidence; the moment the rates differ it is wrong.

### What is a 30% markup as a margin percentage?

23.08%. The conversion is Margin = Markup ÷ (1 + Markup), so 0.30 ÷ 1.30 = 0.2308. Going the other way, Markup = Margin ÷ (1 − Margin). The ones worth memorising: a 25% markup is a 20% margin, a 50% markup is a 33.3% margin, and a 100% markup is a 50% margin.

### How do I work backwards from the margin I want to the price I should charge?

Divide the cost by one minus the margin, written as a decimal. For 30% margin on a ₹700 cost: 700 ÷ 0.70 = ₹1,000. The common mistake is multiplying by 1.30 instead, which gives ₹910 and a margin of only 23%. Do this on the GST-exclusive cost, then add GST at the applicable rate to get the shelf price.

### Does input tax credit change my real margin on a purchase?

Not if you can claim it — the GST you paid simply was never your cost, and the margin on the taxable values is already the true one. It does change if you cannot claim it: a composition dealer gets no credit at all, credit is blocked on the items listed in Section 17(5), and credit attributable to exempt supplies has to be reversed. In those cases the GST is a genuine cost and must be added into the cost figure before you calculate margin.

### How do trade discounts and cash discounts affect the margin I report?

A discount shown on the face of the invoice reduces the taxable value, so both your margin and the GST charged come down together. A discount given after the supply only reduces taxable value if it was agreed before or at the time of supply, is linked to specific invoices, and is passed through a credit note — otherwise you have paid GST on money you never received. A cash discount for early payment is usually a financing cost rather than a price reduction, so it belongs below the gross margin line, not inside it.

### What gross margin does my shop actually need?

Work it from your own costs rather than a trade rule of thumb. Required gross margin % = monthly fixed costs ÷ monthly GST-exclusive sales × 100, plus the drawings you want. A shop with ₹1,20,000 of monthly fixed costs on ₹8,00,000 of sales needs 15% to break even and about 22.5% to pay the owner ₹60,000. Any line priced below that figure is being carried by the rest of the shelf.
