How to Calculate GST: Adding It, Removing It and Splitting CGST/SGST

Formulas for adding GST to a price and extracting it from an inclusive amount, with worked examples, the CGST/SGST split and the reverse-GST mistake.

Updated September 29, 2026 5 min read

Use the free GST CalculatorAdd or remove GST at 5%, 18%, 40% and older slabs

If you run a small business in India, you do two GST calculations constantly. When you quote a price, you add GST on top of your base amount. When a supplier's bill or a shop receipt shows only the final amount, you need to pull the GST back out to know the taxable value and the input tax credit. The first is simple multiplication. The second is where most people make an error that looks right but is not.

This guide gives both formulas, works through examples you can check, explains how the tax is split between CGST and SGST, and lists the mistakes that most often cause invoice mismatches.

GST in one paragraph

Goods and Services Tax is charged as a percentage of the taxable value of a supply. For a sale within one state (intra-state), the tax is split equally between the Central GST (CGST) and the State GST (SGST, or UTGST in union territories). For a sale between states (inter-state), the whole amount is charged as Integrated GST (IGST). The total tax is the same either way; only the heads change.

The rate depends on the product or service classification (HSN or SAC code). Rates have been revised several times since GST was introduced, including a major rationalisation of slabs, so always confirm the current rate for your item on the official CBIC or GST Council sources before invoicing. The calculator lets you pick 3%, 5%, 12%, 18%, 28% or 40% so you can work with both current and older slabs.

Formula 1: adding GST (exclusive price)

When your price does not yet include tax:

GST amount  = Net amount × Rate / 100
Total price = Net amount + GST amount

Example: a consulting invoice of ₹10,000 at 18%.

  • GST = 10,000 × 18 / 100 = ₹1,800
  • Total = 10,000 + 1,800 = ₹11,800
  • Intra-state split: CGST 9% = ₹900, SGST 9% = ₹900

Formula 2: removing GST (inclusive price)

When a price already includes GST, you cannot simply take 18% of it. The GST was calculated on the net amount, so you must divide:

Net amount = Total × 100 / (100 + Rate)
GST amount = Total - Net amount

Example: a receipt for ₹2,360 that includes 18% GST.

  • Net = 2,360 × 100 / 118 = ₹2,000
  • GST = 2,360 - 2,000 = ₹360

The reverse-GST mistake

The tempting shortcut is 2,360 × 18% = ₹424.80, leaving a "net" of ₹1,935.20. That overstates the tax by ₹64.80. Check it by adding 18% back: 1,935.20 × 1.18 is about ₹2,283, not ₹2,360. The division method always round-trips correctly; the subtraction shortcut never does.

At lower rates the error is smaller but still real. For a ₹5,000 inclusive price at 5%, the correct GST is ₹238.10 (net ₹4,761.90), whereas 5% of 5,000 would wrongly give ₹250.

Calculate GST with the tool

The GST Calculator handles both directions and shows the split.

  1. Open the GST Calculator.
  2. Type the figure into Amount.
  3. Choose the rate from GST Rate (%).
  4. Under Tax Type, select Exclusive (Add GST) if the amount is before tax, or Inclusive (Remove GST) if it already contains tax.
  5. Read the result: Net Amount, GST Amount, the CGST and SGST halves, and the Total Amount.

The result updates as you type, so you can try several rates quickly. The CGST/SGST figures are simply half of the GST each; for an inter-state sale, treat the full GST amount as IGST.

Doing it in a spreadsheet

For a list of invoice lines, a spreadsheet is faster. With the amount in A2 and the rate (as a number like 18) in B2:

Purpose Formula
GST on an exclusive amount =A2*B2/100
Total including GST =A2*(1+B2/100)
Net from an inclusive amount =A2*100/(100+B2)
GST inside an inclusive amount =A2-A2*100/(100+B2)
CGST or SGST (each) =ROUND(A2*B2/100/2,2)

Use ROUND(...,2) on each tax head so your invoice totals match what accounting software produces.

Tips and pitfalls

Round each tax head, then add

On an invoice, CGST and SGST are usually shown separately. Round each to two decimals and then add them, rather than rounding the total GST and halving it, otherwise you can end up a paisa out.

Discounts come before GST

A trade discount shown on the invoice reduces the taxable value, so apply it first and calculate GST on the discounted amount. The Discount Calculator gives you the discounted price to feed in.

Check whether a quoted price is inclusive

Retail prices shown to consumers are normally tax-inclusive, while B2B quotes are often "plus GST". Misreading this is a common source of disputes. When in doubt, ask for the taxable value and the rate separately.

Different items, different rates

One invoice can carry lines at different rates. Calculate GST line by line rather than applying a single rate to the invoice total.

Keep percentages in context

GST calculations are just a special case of percentages. For margin work, remember that GST is not part of your revenue: calculate margin on the net amount with the Profit Margin Calculator. For other percentage questions, the Percentage Calculator is quicker.

Writing the amount in words

Invoices and cheques often need the total in words. The Number to Words converter produces the Indian format with lakh and crore.

GST vs VAT and sales tax

If you trade internationally, the maths is the same even though the names differ. VAT in the UK and EU is also added to a net price and extracted from gross prices with the divide-by-(1 + rate) method; the VAT Calculator handles that. US sales tax is normally added at the till rather than included in shelf prices; see the Sales Tax Calculator.

Frequently asked questions

How do I calculate GST from a total amount?

Divide the total by (1 + rate/100) to get the net amount, then subtract that from the total. For ₹2,360 at 18%, the net is ₹2,000 and the GST is ₹360.

Why can't I just take 18% of the inclusive price?

Because the 18% was charged on the net amount, not on the total. Taking 18% of the total overstates the tax; dividing by 1.18 gives the correct figure.

How is GST split between CGST and SGST?

For an intra-state supply, the GST is split equally, so 18% becomes 9% CGST and 9% SGST. Inter-state supplies carry the full rate as IGST.

Which GST rate applies to my product?

It depends on the HSN or SAC classification, and rates are revised from time to time. Check the current rate schedule on the official CBIC or GST portal before invoicing.

Does the calculator handle IGST?

It shows the total GST and a CGST/SGST split. For an inter-state sale, the whole GST amount shown is your IGST.

Try it now: GST Calculator

Loading tool…