Skip to content
SheetFluent

How to calculate GST in Excel

SheetFluent team · · 6 min read

To add 18% GST to a price in B2, use =B2*1.18. To find the GST alone, use =B2*18%. To take GST out of a price that already includes it, divide, don't subtract: =B2/1.18. For a sale within one state, CGST and SGST are each half of the GST, so =B2*9% each at the 18% rate.

Before you start: the rate

GST in India is charged at different rates for different goods and services. Since the rate changes of September 2025, most items fall in the 5% or 18% slab, with a higher rate for a small group of goods and some items exempt. Rates do change, so check the current rate for each item with the official GST sources or your accountant before you rely on a sheet.

This article uses 18% in most examples. Every formula works for any rate: swap 18% for 5%, and 1.18 for 1.05.

In a formula, 18% and 0.18 are the same number. Excel and Google Sheets both understand the % sign, so use whichever is easier to read.

Add GST to a price

Say B2 holds a price before GST of ₹1,000.

The GST amount: =B2*18% gives ₹180. Read it as "18% of the price".

The price with GST: =B2*1.18 gives ₹1,180. Multiplying by 1.18 is the same as taking the whole price (1) plus 18% of it (0.18) in one step. =B2+B2*18% gives the same answer if you find that easier to read.

Step by step for a whole column:

1. Put prices before GST in column B, starting in B2.

2. In C2, type =B2*18% for the GST amount.

3. In D2, type =B2+C2 for the total. Keeping the GST in its own column makes the invoice easy to check.

4. Select C2:D2 and fill down to the last row.

See also: Percentages: share, change and tax

Use a rate column for mixed rates

When items have different rates, don't type the rate into every formula. Put it in a column of its own, say C, with 5% or 18% for each item.

Then the GST is =B2*C2 and the total is =B2*(1+C2). The parentheses matter: Excel multiplies before it adds, so =B2*1+C2 would add the rate to the price instead of applying it. The parentheses make Excel add 1 and the rate first.

If every item uses the same rate, type it once in a cell such as G1 and lock it with dollar signs: =B2*$G$1. When the rate changes, you edit one cell.

See also: Order of operations and parentheses

Take GST out of an inclusive price (reverse GST)

A price that includes GST is the original price times 1.18. So to get back to the original, divide by 1.18: =B2/1.18. For a price of ₹1,180, that gives ₹1,000.

The common mistake is to take 18% off: =B2*0.82 or =B2-B2*18%. For ₹1,180 that gives ₹967.60, not ₹1,000. The 18% was worked out on the smaller, original price, so taking 18% of the bigger price removes too much.

Step by step:

1. Put the prices that include GST in column B.

2. In C2, type =B2/1.18 for the price before GST.

3. In D2, type =B2-C2 for the GST that was included.

4. Fill both formulas down.

To get the GST part in one step, use =B2*18/118. For ₹1,180, that's ₹180. With a rate column, the same formulas are =B2/(1+C2) and =B2*C2/(1+C2).

=B2/1.18

Split GST into CGST and SGST, or IGST

For a sale inside one state, GST is split equally into CGST (central) and SGST (state). For a sale from one state to another, the whole amount is IGST.

At 18%, CGST is 9% and SGST is 9%. If the price before GST is in B2:

CGST: =B2*9%. SGST: =B2*9%. Total: =B2+C2+D2, where C and D hold the two halves.

With a rate column, halve the rate: =B2*E2/2 for each, where E2 holds 18%. That keeps the sheet right when one item is at 5% (2.5% each).

For IGST, one column is enough: =B2*E2.

Add a column that says Intra-state or Inter-state, and IF can choose for you: =IF(F2="Intra-state",B2*E2/2,0) for CGST, with 0 for inter-state sales.

Rounding

GST amounts often come out with long decimals, such as ₹152.5424 on an inclusive price of ₹1,000. Format can hide the extra digits, but the hidden value is still used in totals, so totals can be off by a paisa.

Round each amount to two decimal places with ROUND: =ROUND(B2/1.18,2). ROUND takes the number, then how many decimal places to keep.

Round at the same step your invoices do. Rounding each line and then adding can differ by a paisa or two from adding first and rounding the total. Neither is wrong, but your sheet should match your billing.

See also: Round money with ROUND

A simple GST sheet layout

A layout that keeps every number visible makes mistakes easy to spot. One row per item, with these columns:

A: Item. B: Price before GST. C: GST rate, such as 18%. D: GST amount, =ROUND(B2*C2,2). E: CGST, =ROUND(D2/2,2). F: SGST, =D2-E2. G: Total, =B2+D2.

Working out SGST as the GST minus CGST, and not as a second half, means the two halves always add up to the GST exactly, even after rounding.

At the bottom, add up each column with SUM, for example =SUM(D2:D20) for the total GST. The totals of E and F together should equal the total of D.

A quick check

After any GST sheet, test one row by hand. Take the price before GST, multiply by 1.18, and see whether you get the inclusive price. If =C2*1.18 gives back B2 on a reverse-GST sheet, the formulas are right.

See also: Excel formula not working? How to find the cause and fix it

Try it here

Type the formula into the answer cell, then press Enter or Check.

Column B shows prices that include 18% GST. In C2, work out the price before GST. It will be filled down to C6.

ABC
1ItemWith GST (₹)Before GST (₹)
2Kettle1,180 (answer cell)
3Lamp590
4Mixer2,360
5Fan4,720
6Iron354
Start practicing

Questions people ask

How do I remove 18% GST from a price in Excel?

Divide by 1.18: =B2/1.18. Don't multiply by 0.82, which removes too much because the 18% was charged on the smaller price.

How do I find the GST amount in an inclusive price?

Use =B2*18/118 at 18%, or =B2-B2/1.18. For ₹1,180 both give ₹180.

How do I calculate CGST and SGST?

For a sale within one state, each is half the GST rate on the price before GST. At 18%, that's =B2*9% for CGST and the same for SGST.

Does this work in Google Sheets?

Yes. The formulas, the % sign and ROUND all work the same way in Google Sheets.

Keep practicing

Practice this in the full track