How GST is worked out in India: inclusive prices, CGST, SGST and IGST
Why you divide by 1.18 and never take 18% off an inclusive price, how CGST, SGST and IGST split the tax, and the rate slabs since September 2025.
Open the GST calculator Free, in your browser, nothing uploaded.
Goods and Services Tax (GST) is added to most sales in India, and a bill has to show it clearly: the value before tax, the tax at each rate, and whether it went to the Centre and the state or to the Centre alone. This article explains the arithmetic behind the GST calculator, for shopkeepers, freelancers, accountants in training and anyone checking a bill. It is general education, not tax advice: rates depend on each item’s HSN or SAC code, so check the official source. Once the numbers are right, invoice maker turns them into a bill; for a sales tax outside India, see sales tax; and for your own income tax, try india tax.
What it is
GST is a percentage of the taxable value, the price before tax. Since 22 September 2025, most goods and services sit in two slabs, 5% and 18%, with 40% for a few sin and luxury goods, small special rates such as 3% and 0.25%, and nil for exempt items. The older 12% and 28% slabs no longer apply to most items, but old bills still carry them.
There are two directions:
- Adding GST to a price before tax: GST = value × rate ÷ 100, and total = value + GST.
- Taking GST out of a price that already includes it: value = price ÷ (1 + rate ÷ 100), and GST = price − value.
The second one is where most mistakes happen. If a price includes 18% GST, it is 118% of the value, so you divide by 1.18. Taking 18% off the inclusive price removes too much, because that 18% is worked out on a bigger number.
Who gets the tax depends on where the sale happens:
- Inside one state (intra-state), the GST is split into two equal halves: CGST for the Centre and SGST for the state (or UTGST in a Union Territory).
- To another state (inter-state), one IGST is charged at the full rate.
The total tax is the same either way; only the labels change.
How to use it
- Under What do you want to do?, choose “Add GST to a price” or “Take GST out of a price”.
- Under Where is the sale?, choose “Inside one state (CGST + SGST)” or “To another state (IGST)”.
- Type the amount for the first line and pick its rate.
- Press Add another line for each item at a different rate.
- Read the totals and the table that groups GST by rate, like the summary on a tax invoice.
- Use Copy result, Download CSV or Print, or Reset to start again.
A worked example
A stationery shop in Pune sells a school bag for ₹2,450 at 18% and notebooks for ₹1,280 at 5%, both before tax.
- Bag: GST = 2,450 × 18 ÷ 100 = ₹441.
- Notebooks: GST = 1,280 × 5 ÷ 100 = ₹64.
- Taxable value ₹3,730, GST ₹505, bill total ₹4,235.
The customer is in Pune too, so the sale is intra-state: CGST ₹252.50 and SGST ₹252.50. If the same order were shipped to a customer in Bengaluru, it would carry IGST ₹505 and the total would still be ₹4,235.
Now the other direction. A customer has a receipt for the bag that just says ₹2,891, GST included at 18%.
- Value = 2,891 ÷ 1.18 = ₹2,450, and GST = 2,891 − 2,450 = ₹441. Back to the same numbers.
- The wrong way, 18% of ₹2,891, gives ₹520.38 of GST and a value of ₹2,370.62, an error of ₹79.38 on one item.
At 40%, an inclusive price of ₹1,999 holds a value of ₹1,427.86 and GST of ₹571.14, so more than a quarter of what the customer pays is tax.
Checked with the tools
All the figures above were run through the calculator’s own maths (src/lib/india/gst.ts) in Node. gstTotals() gave ₹3,730 + ₹505 = ₹4,235 for the two lines, with the CGST and SGST halves for an intra-state sale and the full IGST for an inter-state one, and the per-rate summary of ₹441 at 18% and ₹64 at 5%. gstLine() in “remove” mode gave ₹2,450 and ₹441 for ₹2,891, and ₹1,427.86 and ₹571.14 for ₹1,999 at 40%.
Where it is used
- Shops and online sellers check that the price on the shelf, which usually includes GST, matches the tax shown on the bill.
- Freelancers and consultants add 18% to fees for services and decide whether a client in another state means IGST.
- Accounts staff reconcile purchase bills, where the tax split decides which input credit ledger it goes to.
- Buyers check a quote that says “plus GST” against one that says “all inclusive”.
Common mistakes
- Taking the rate off an inclusive price. Divide by (1 + rate ÷ 100) instead, as in the example.
- Using an old slab. A bill from before 22 September 2025 may show 12% or 28%; a new one usually should not. Check the official source for your HSN or SAC code.
- Charging CGST and SGST on an inter-state sale. The place of supply decides it. A wrong split can cause trouble for the buyer’s input credit even when the total is right.
- Rounding the total only. Invoices round each line, so the total GST may differ by a paisa or two from rounding once at the end.
- Mixing up GST and TDS or TCS. Those are separate deductions with their own rules.
Questions people ask
What is UTGST? In a Union Territory without its own legislature, the state half of the tax is called UTGST instead of SGST. The arithmetic is the same.
Is GST charged on the discount price or the list price? On the transaction value, so a discount shown on the invoice at the time of sale usually lowers the GST. Ask your accountant for your case.
Sources
- GST Council, 56th meeting (3 September 2025) and CBIC rate notifications dated 17 September 2025 (Central Tax (Rate) Nos. 9/2025 to 17/2025 and the matching Integrated Tax (Rate) notifications), in force from 22 September 2025: cbic-gst.gov.in, checked 2026-12-05. Most goods and services moved to 5% or 18%, with 40% for a few sin and luxury goods. Check the official source for the rate on your HSN or SAC code.
- Intra-state supplies carry CGST and SGST in equal halves; inter-state supplies carry IGST at the full rate (CGST Act 2017, IGST Act 2017). Rounding to the paisa on each line is fibub's choice; invoices may round differently.
If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.