Running it

How to Calculate Selling Price With GST

From landed cost to the price you charge: target margin instead of markup, the price before GST, GST on top, what a discount costs, and the invoice line.

Illustration: a price tag stacking a cost block, a profit block and a tax slice

The whole chain in one place

Pricing is a chain, and nearly every expensive mistake happens where two links meet. Here is the entire thing on one product. The numbers are example inputs so you can follow the arithmetic; replace each one with your own.

  1. True cost: ₹700 a unit. Everything you pay to get one unit ready to sell, with any GST you can claim back left out of the figure.
  2. A target margin, not a markup: 30 percent. Margin is measured against the selling price. Markup is measured against the cost. They are different numbers for the same rupees.
  3. Price before GST: ₹1,000. Cost divided by one minus the margin. ₹700 ÷ 0.70 = ₹1,000.
  4. GST added at the rate for your goods: ₹180 at 18 percent. The price a consumer pays is ₹1,180.
  5. A discount comes out of your profit, not out of the tax. Ten percent off takes that 30 percent margin down to 22.22 percent.
  6. The invoice shows every one of those figures separately, because the law requires it.

One formula carries the whole chain:

Selling price before GST = cost ÷ (1 − target margin)

Multiply that by one plus the GST rate to get the price on the shelf. Everything below is this chain worked out link by link, with the two places people reliably lose money marked as you reach them. The profit margin calculator and the GST calculator do the arithmetic if you would rather type than divide.

This page is arithmetic, not tax advice. Which GST rate applies to your goods or services is a classification question for your accountant or the official rate schedules.

Step 1: the cost you actually carry

Your supplier invoice is not your cost. Your cost is what one unit has absorbed by the time it is ready to sell, which is usually a handful of lines rather than one.

Cost lineExample figureWhere yours comes from
Supplier invoice, taxable value₹620.00The taxable value line on the purchase invoice, not the invoice total
Inward freight, per unit₹40.00₹2,000 for a carton of 50, divided by 50
Packing, labelling and inserts₹18.00Your own purchase records
Delivery and payment handling₹22.00Your courier and payment gateway agreements
Landed cost per unit₹700.00The sum

Two rules decide whether this number is honest.

Leave out the GST you can claim back. If you are registered and can take input tax credit on a purchase, the GST on that purchase is not a cost. It is money you recover. Putting it into the cost line inflates your cost, which pushes your price up and makes your margin look worse than it is. Work the whole chain in pre-tax figures on both sides.

Allocate, do not guess. Freight, packing and handling arrive as totals for a consignment, so divide by the units in that consignment. The percentage calculator is quicker than a spreadsheet for a one-off allocation such as working out what share of a ₹2,000 freight bill belongs to one of fifty units.

What stays out of the landed cost is your fixed overhead: rent, salaries, software. Those are paid out of the margin you are about to set, not added to the cost of each unit. Mixing the two produces a cost figure that moves every time your rent changes.

Step 2: margin, not markup

This is the first place money disappears, and it disappears quietly because both numbers look reasonable.

  • Markup is profit measured against cost: profit ÷ cost.
  • Margin is profit measured against the selling price: profit ÷ selling price.

Same rupees, different denominator, different percentage. On a landed cost of ₹700 sold at ₹1,000 before GST, the profit is ₹300. That is a 42.86 percent markup and a 30 percent margin.

Two identical coin stacks, one on a wide crate and one on a narrow crate, each measured separately
The same ₹300 of profit, measured twice. Against the ₹700 cost it reads 42.86 percent; against the ₹1,000 price it reads 30 percent. Neither number is wrong, and only one of them is a margin.

Now the trap. You want a 30 percent margin, so you add 30 percent to your cost: ₹700 × 1.30 = ₹910. The profit is ₹210, and ₹210 ÷ ₹910 is a 23.08 percent margin, not 30. You have given away almost seven points of margin on every unit in the catalogue, in the same direction, every time.

Adding the percentage to the cost sets a markup. Dividing the cost by one minus the percentage sets a margin. If a supplier quotes in markup and your accountant works in margin, every price in the sheet is wrong until somebody says which one the number is.

Converting between the two

Target marginDivide cost byEquivalent markup
10%0.9011.11%
15%0.8517.65%
20%0.8025.00%
25%0.7533.33%
30%0.7042.86%
35%0.6553.85%
40%0.6066.67%
50%0.50100.00%
60%0.40150.00%

The two conversions, if you need a value not in the table:

  • markup = margin ÷ (1 − margin)
  • margin = markup ÷ (1 + markup)

Notice how the gap widens as the percentage climbs. At a 10 percent target the two numbers are close enough that confusing them costs little. At 50 percent, a markup and a margin are 100 percent and 50 percent of the same profit, and treating one as the other doubles or halves your intended price.

There is no general figure for a good margin. It varies enormously by trade, so the only comparisons worth making are against your own history and against your own sector. Anyone quoting you a universal benchmark is guessing.

Step 3: the price before GST

With the cost settled and the target expressed as a margin, the price before tax is one division.

Selling price before GST = ₹700 ÷ (1 − 0.30) = ₹700 ÷ 0.70 = ₹1,000.00

Check it the other way round before you trust it: profit is ₹1,000 − ₹700 = ₹300, and ₹300 ÷ ₹1,000 = 30 percent. That reverse check takes five seconds and catches the markup mistake every time. Type the cost and the price into the profit margin calculator and it returns the margin, the markup and the profit per unit together, which is the fastest way to confirm you set the one you meant to.

A column of three stacked blocks on a shop counter with a price tag hanging from the top
Landed cost ₹700, margin ₹300, GST ₹180. Only the bottom two blocks are yours: the top slice is collected and remitted, which is why it never changes the margin.

Step 4: GST on top, and the number on the shelf

GST is added to the price you just worked out, not taken out of your margin. At 18 percent:

₹1,000.00 × 1.18 = ₹1,180.00

Of that, ₹180 is tax you collect and remit. It never belonged to you, so it has no effect on the 30 percent margin. Within one state the tax splits into central GST and state GST at half each, so ₹90 and ₹90. Between states the whole ₹180 is charged as integrated GST. The total is the same either way.

RateMultiply the pre-tax price byPrice before GST ₹1,000 becomes
5%1.05₹1,050.00
18%1.18₹1,180.00
40%1.40₹1,400.00

Those are the three rates in force since 22 September 2025. If you need the arithmetic in the other direction, which is where mental maths usually breaks, our guide to calculating GST from an inclusive price covers it along with the rate structure and the official sources, so this page does not repeat it.

The consumer price you advertise has to be the inclusive one. For a pre-packed commodity, that is the law rather than a convention. When the Ministry of Consumer Affairs amended the Legal Metrology (Packaged Commodities) Rules in 2021, with effect from 1 April 2022, its press release stated that the provisions were simplified "by removing illustration and providing for making the mandatory declaration of MRP in Indian currency inclusive of all taxes". So the number you print on the pack here is ₹1,180, not ₹1,000.

Rounding that to a friendlier shelf price nudges your margin. An MRP of ₹1,199 at 18 percent works back to ₹1,199 ÷ 1.18 = ₹1,016.10 before tax, so the profit is ₹316.10 and the margin is 31.11 percent. Rounding up is free margin. Rounding down costs you margin, and a shelf price of ₹1,149 would leave 28.11 percent.

When the MRP is already printed

If you resell goods whose MRP the manufacturer sets, you cannot set the price at all, and your margin was decided when you bought the stock. The direction of the calculation reverses, and this is the second place money disappears.

Start from the MRP, strip the GST out of it, and only then compare with your landed cost:

  1. Net revenue = MRP ÷ (1 + rate). For ₹1,180 at 18 percent, ₹1,000.00.
  2. Profit = net revenue − landed cost. ₹1,000.00 − ₹700.00 = ₹300.00.
  3. Margin = profit ÷ net revenue. ₹300 ÷ ₹1,000 = 30.00 percent.

Measure against the MRP instead and you get (₹1,180 − ₹700) ÷ ₹1,180 = 40.68 percent. That is a 10.68 point error, in your favour, on a figure you may be using to decide what to stock. The MRP includes tax; your cost does not. They are not the same base, so they cannot go into the same fraction.

Step 5: what a discount does to the margin

A discount is taken off the price, which means it is taken entirely out of the profit. The cost does not move, and the tax falls in proportion to the price rather than cushioning anything.

On the same unit, with ₹1,000 before GST and ₹700 of cost:

Discount on the pre-tax priceTaxable valueProfit per unitMarginProfit remaining
0%₹1,000.00₹300.0030.00%100%
5%₹950.00₹250.0026.32%83%
10%₹900.00₹200.0022.22%67%
15%₹850.00₹150.0017.65%50%
20%₹800.00₹100.0012.50%33%
25%₹750.00₹50.006.67%17%
30%₹700.00₹0.000.00%0%

Read the last column rather than the first. A discount of 10 percent, which sounds modest, removes a third of the profit on the unit. A discount of 15 percent removes half.

The bottom row is worth memorising, because it is a rule and not a coincidence: a discount equal to your margin wipes out the profit entirely. A 30 percent margin cannot survive 30 percent off. If you work on thin margins, the discount you can afford is thinner than the one your competitor with fatter margins is running, and matching it sells units at a loss.

Two more things the arithmetic does rather than what the sign says:

  • Stacked discounts multiply, they do not add. Thirty percent off followed by a further twenty percent off leaves 0.8 × 0.7 = 56 percent of the price, which is a 44 percent discount, not 50. The discount calculator shows the effective single discount alongside the final price so the two cannot be confused.
  • The GST follows the discounted value when the discount is on the invoice. It is not charged on the price you crossed out.

Pricing for a discount you already plan to run

If a sale is part of the plan rather than a surprise, price off the discounted figure instead of apologising to your margin afterwards:

Price before GST = cost ÷ ((1 − margin) × (1 − discount))

For ₹700 of cost, a 30 percent margin and a planned 10 percent discount: ₹700 ÷ (0.70 × 0.90) = ₹700 ÷ 0.63 = ₹1,111.11 before GST, or ₹1,311.11 inclusive at 18 percent. Discounted by 10 percent that comes back to ₹1,000 before tax, and the margin is the 30 percent you asked for.

This is also the honest test of a permanent discount. If the pre-discount price it requires is one nobody would pay, the discount is not a promotion, it is your actual price.

Step 6: the number on the invoice

The chain ends on a document, and the document has a prescribed shape. Rule 46 of the CGST Rules lists what a tax invoice must contain, and four of its clauses are exactly the figures you have just calculated:

  • (j) total value of supply of goods or services or both
  • (k) taxable value of the supply of goods or services or both taking into account discount or abatement, if any
  • (l) rate of tax, naming central tax, State tax, integrated tax, Union territory tax or cess
  • (m) amount of tax charged in respect of taxable goods or services

For the unit above, sold within the state at 18 percent with the 10 percent discount applied:

Invoice lineFigure
Total value of supply₹1,000.00
Discount₹100.00
Taxable value₹900.00
Rate of tax18% as CGST 9% and SGST 9%
Amount of tax charged₹162.00 as CGST ₹81.00 and SGST ₹81.00
Invoice total₹1,062.00

Clause (k) is the one that matters for discounts. The taxable value is the figure after the discount, which is why the discount has to appear on the invoice itself. A reduction handed over later as a credit note is treated differently, so ask your accountant how to record one before you promise it.

Clauses (l) and (m) are why a business buyer does not care about your GST. The rate and the tax amount are itemised, so a buyer with a GSTIN claims that ₹162 as input credit and carries ₹900 of real cost. Quote a registered buyer the pre-tax figure and a consumer the inclusive figure, and neither conversation goes wrong.

If you do not yet have billing software, the invoice generator builds a PDF with line items, a tax rate and GSTIN fields for both parties, entirely in your browser. It produces a document and nothing more: it does not number your invoices, track payments or file anything, so keep your own record of what you have issued, and check the required fields for your registration before you rely on it.

Pricing a service, where there is no landed cost

A service has no supplier invoice and no MRP, so step 1 looks different and the rest of the chain is identical. Cost becomes the time a job takes, loaded with the overhead that time has to carry.

Using example figures, with your own in place of each:

  1. Monthly cost to deliver: ₹1,20,000. Your own draw, any salaries, software, rent, internet, accounting.
  2. Billable hours a month: 100. Hours you can actually invoice, not hours you work.
  3. Cost per billable hour: ₹1,200. ₹1,20,000 ÷ 100.
  4. A job estimated at 30 hours costs ₹36,000.
  5. At a 40 percent target margin: ₹36,000 ÷ 0.60 = ₹60,000 before GST.
  6. At 18 percent GST: ₹60,000 × 1.18 = ₹70,800 on the invoice, of which ₹10,800 is tax.

Step 2 is where service pricing usually fails. Divide by the hours in the month rather than the hours you can bill and the rate collapses. At 160 working hours the same costs give ₹750 an hour, the 30 hour job prices at ₹37,500, and the 100 billable hours in the month bill roughly ₹1,25,000 against ₹1,20,000 of cost. That is a four percent margin on a sheet that says 40 percent.

Estimate the hours honestly too. A 40 percent margin on an estimate you overrun by half is a 10 percent margin on the hours you actually spent.

Rounding, and which end to round

Work the chain to two decimal places and round only once, at the end, on the figure you print. Rounding twice compounds.

You also have to choose which end is neat, because both rarely are. A pre-tax price of ₹1,000 gives a tidy ₹1,180 inclusive at 18 percent, which is unusually lucky. A pre-tax ₹999 gives ₹1,178.82, and a tidy inclusive ₹1,199 comes from ₹1,016.10 before tax. Decide whether your customer sees the inclusive number, in which case round that one and let the base be untidy, or whether your buyer works from the taxable value, in which case keep the base clean.

Where figures have to reconcile to the paisa with an accounting system, compare against that system. Billing software rounds across a whole invoice in its own way, and the aggregate can differ from line by line rounding by a rupee or two.

Frequently asked questions

How do I calculate a selling price with GST?

Divide your cost by one minus your target margin to get the price before GST, then multiply by one plus the GST rate. A cost of ₹700 at a 30 percent margin gives ₹1,000 before tax, and ₹1,180 at 18 percent.

What is the formula for selling price from a target margin?

Selling price before GST = cost ÷ (1 − margin). The margin goes in as a decimal, so 30 percent is 0.30 and the divisor is 0.70.

Is margin the same as markup?

No. Margin divides profit by the selling price, markup divides it by the cost. A 42.86 percent markup and a 30 percent margin describe the same ₹300 of profit on a ₹700 cost.

Should GST be in the price I use to work out margin?

No. Work in pre-tax figures on both sides. GST is collected for the government and is not revenue, so including it overstates the margin. This is the error that makes an MRP look 10 points more profitable than it is.

Does a discount reduce the GST I charge?

Yes, when the discount is shown on the invoice. Rule 46(k) requires the taxable value to take discount or abatement into account, so the tax is charged on the reduced figure. A reduction given afterwards by credit note is treated differently.

How much discount can I afford?

Strictly less than your margin, because a discount equal to the margin leaves nothing. Use the table above to read the margin a given discount leaves you, or set the planned discount into the price with cost ÷ ((1 − margin) × (1 − discount)).

How do I price a service with GST?

The same chain, with cost per billable hour in place of landed cost. Divide your monthly cost to deliver by the hours you can genuinely invoice, multiply by the hours the job needs, divide by one minus the margin, then add GST.

Which GST rate applies to my product?

That depends on the HSN or SAC code, which is a classification question rather than an arithmetic one. Check the official rate schedules or ask your accountant. The three current rates are 5, 18 and 40 percent.

What if percentages are what I keep getting wrong?

Two different percentage questions sit inside this chain, and they have different formulas. Percentage change versus percentage difference sorts out which one you are asking when you compare two prices rather than build one.

When the arithmetic needs to live in software

Working a price out by hand once is fine. Doing it for four hundred products, keeping the rate right on the date of supply, applying a discount to the taxable value rather than the total and printing an invoice that satisfies Rule 46 is a build problem rather than a calculator problem.

If that is where you have arrived, the scoping half is covered in our guide to writing a software brief for an accurate quote, and our website development service builds the catalogue, checkout and invoicing side of it. If you are still deciding whether any of this needs to leave a spreadsheet yet, do I need a website if I have Instagram is the earlier question.

Tools mentioned in this post