GST on an invoice looks complicated because three different taxes can appear on it. The arithmetic is simple once you know the order of operations: decide which tax applies, compute the taxable value of each line, apply the rate, and add up. This tutorial walks through that order with examples you can check with a calculator.

Before you start: the rates in these examples are for illustration only. GST rates are set per HSN/SAC code and have been revised more than once, so always check the current rate for your product and confirm treatment with your CA.

1. Which tax applies: CGST + SGST, or IGST

The deciding question is whether the supply is intra-state or inter-state. That is determined by the supplier's location and the place of supply (for goods, generally where the movement of goods ends for delivery to the recipient).

  • Intra-state (supplier and place of supply in the same state): the rate is split equally into CGST (central) and SGST (state). An 18% rate becomes 9% CGST + 9% SGST. Union territories without a legislature use UTGST instead of SGST.
  • Inter-state (different states): the full rate is charged as IGST. An 18% rate is 18% IGST.

The total tax is the same either way; what changes is which government it goes to, and how it appears on the invoice and in your returns. The first two digits of a GSTIN are the state code, which is why good billing software can suggest the place of supply from the buyer's GSTIN.

2. Start from the taxable value of each line

For each line: taxable value = quantity × rate per unit − discount shown on the invoice. A discount given before or at the time of supply and recorded on the invoice reduces the value on which GST is charged. Tax is then calculated on that taxable value, line by line, at the line's GST rate.

3. Example 1: a sale within the state

A Gujarat manufacturer sells 100 units at ₹50 each to a buyer in Gujarat. The product's rate is 18%.

StepCalculationAmount
Taxable value100 × ₹50₹5,000.00
CGST @ 9%₹5,000 × 9%₹450.00
SGST @ 9%₹5,000 × 9%₹450.00
Invoice total5,000 + 450 + 450₹5,900.00

4. Example 2: the same sale to another state

Same goods, same price, but the buyer is in Maharashtra and the goods are delivered there.

StepCalculationAmount
Taxable value100 × ₹50₹5,000.00
IGST @ 18%₹5,000 × 18%₹900.00
Invoice total5,000 + 900₹5,900.00

Same total, different tax heads. Charging CGST + SGST on an inter-state sale (or the reverse) is one of the most common billing mistakes, and it is not fixed simply by paying the right total.

5. Example 3: with a 5% discount on the invoice

Example 1 again, with a 5% trade discount shown on the invoice.

StepCalculationAmount
Gross value100 × ₹50₹5,000.00
Less discount 5%₹5,000 × 5%− ₹250.00
Taxable value₹4,750.00
CGST @ 9%₹4,750 × 9%₹427.50
SGST @ 9%₹4,750 × 9%₹427.50
Invoice total₹5,605.00

6. Example 4: two products at different rates

An intra-state invoice with two lines: Product A, taxable value ₹2,000 at 5%; Product B, taxable value ₹3,000 at 18%. Tax is calculated per line and then summarised by rate, which is how the tax summary on a proper invoice is laid out.

RateTaxable valueCGSTSGST
5%₹2,000.00₹50.00 (2.5%)₹50.00 (2.5%)
18%₹3,000.00₹270.00 (9%)₹270.00 (9%)
Total₹5,000.00₹320.00₹320.00

Invoice total: ₹5,000 + ₹320 + ₹320 = ₹5,640.00. Never apply one "average" rate to the whole invoice.

7. Round-off and amount in words

When line calculations produce paise, many businesses round the invoice total to the nearest rupee and show the difference as a separate round-off line, so the total in figures, the total in words and the amount your customer pays all match. If Example 3 had come to ₹5,605.40, the invoice would show a round-off of −₹0.40 and a total of ₹5,605. Confirm your exact rounding practice with your CA and apply it consistently.

The amount in words should follow Indian numbering (lakh, crore): ₹1,25,400 is "Rupees One Lakh Twenty-Five Thousand Four Hundred Only".

8. Common mistakes to check for

  • Wrong tax head for the place of supply (CGST + SGST vs IGST).
  • Discount applied after tax instead of before.
  • A single rate applied to items that have different HSN rates.
  • A mistyped buyer GSTIN. The last character is a check digit, so software can reject most typos at entry.
  • Round-off hidden inside a line instead of shown separately.

You can try all of this in our GST invoice demo (sample data, runs in your browser) or with the GST calculator.