---
title: "GST Formula in Excel: Add GST, Remove GST, Split CGST + SGST"
description: "GST formula in Excel for 18%, 5% or 40%: add GST, remove GST from a GST-inclusive price, split CGST + SGST or IGST, with a worked bill sheet."
canonical_url: "https://billbabu.com/blog/gst-formula-in-excel"
markdown_url: "https://billbabu.com/blog/gst-formula-in-excel.md"
type: "blog-post"
language: "en-IN"
published: "2026-11-18"
last_updated: "2026-11-18"
author: "BillBabu App Team"
category: "GST Compliance"
tags: ["gst formula in excel", "how to calculate gst in excel", "how to calculate 18 gst in excel", "reverse gst formula excel", "price including gst formula excel", "gst calculation in excel sheet"]
site: "BillBabu App (https://billbabu.com)"
---
# GST Formula in Excel: Add GST, Remove GST, Split CGST + SGST

By BillBabu App Team · Published 18 November 2026 · Category: GST Compliance

The GST formula in Excel is amount × rate ÷ 100. With the amount before GST in A2 and the rate (such as 18) in B2, the GST is `=ROUND(A2*B2/100,2)`. To take GST out of a price that already includes it, the price before GST is `=ROUND(A2/(1+B2/100),2)`. For a sale in your own State, split the GST into CGST `=ROUND(GST/2,2)` and SGST `=GST-CGST`. The same formulas work in Google Sheets.

**The formulas at a glance** (amount in A2, rate as a number such as 18 in B2, GST in G2, CGST in H2):

| You want | Formula | Example |
| --- | --- | --- |
| GST on an amount | `=ROUND(A2*B2/100,2)` | ₹10,000 at 18% → ₹1,800.00 |
| Amount + GST | `=A2+ROUND(A2*B2/100,2)` | ₹10,000 at 18% → ₹11,800.00 |
| Price before GST, from a GST-inclusive price | `=ROUND(A2/(1+B2/100),2)` | ₹11,800 at 18% → ₹10,000.00 |
| GST inside a GST-inclusive price | `=A2-ROUND(A2/(1+B2/100),2)` | ₹11,800 at 18% → ₹1,800.00 |
| CGST (same State) | `=ROUND(G2/2,2)` | ₹1,800 → ₹900.00 |
| SGST (same State) | `=G2-H2` | ₹1,800 → ₹900.00 |
| IGST (other State) | `=G2` | ₹1,800 → ₹1,800.00 |

## What is the Excel formula for 18% GST?

For an amount before GST in A2:

- **GST:** `=ROUND(A2*18/100,2)`
- **Total with GST:** `=A2+ROUND(A2*18/100,2)`

It's better to keep the rate in its own cell, so one formula serves every rate: `=ROUND(A2*B2/100,2)`. Since 22 September 2025 most goods are at 5% or 18%, with 40% for a select few ([56th GST Council, PIB](https://gstcouncil.gov.in/sites/default/files/2025-09/press_release_press_information_bureau_0.pdf)):

| Rate in B2 | GST on ₹10,000 | Total | CGST + SGST (same State) |
| --- | --- | --- | --- |
| 5 | ₹500.00 | ₹10,500.00 | ₹250.00 + ₹250.00 |
| 18 | ₹1,800.00 | ₹11,800.00 | ₹900.00 + ₹900.00 |
| 40 | ₹4,000.00 | ₹14,000.00 | ₹2,000.00 + ₹2,000.00 |

**Watch the % sign.** If you type `18` in B2, divide by 100 as above. If you type `18%`, Excel stores 0.18, and the formula becomes `=ROUND(A2*B2,2)`. Pick one way for the whole sheet; mixing them gives GST a hundred times too big or too small.

## How do I remove GST from a total in Excel?

When the price already includes GST, divide by (1 + rate ÷ 100) to get the price before GST, then subtract:

- **Price before GST:** `=ROUND(A2/(1+B2/100),2)`
- **GST:** `=A2-ROUND(A2/(1+B2/100),2)`

| GST-inclusive price | Rate | Price before GST | GST |
| --- | --- | --- | --- |
| ₹11,800 | 18% | ₹10,000.00 | ₹1,800.00 |
| ₹1,050 | 5% | ₹1,000.00 | ₹50.00 |
| ₹250 | 18% | ₹211.86 | ₹38.14 |

You can also get the GST in one step with price × rate ÷ (100 + rate): `=ROUND(A2*B2/(100+B2),2)`. For ₹11,800 at 18%, that is 11,800 × 18 ÷ 118 = ₹1,800.

**The common mistake** is `=A2*18%` on the GST-inclusive price. On ₹11,800 it gives ₹2,124, which is 18% of the total, not the GST inside it. The GST is ₹1,800.

**Watch the last paisa.** In the ₹250 row, the price before GST is ₹211.86. If you now bill ₹211.86 and add 18%, the GST is ₹38.13 and the total ₹249.99. How to show that paisa on the bill: [round off in a GST invoice](https://billbabu.com/blog/round-off-in-gst-invoice).

## How do I split GST into CGST and SGST in Excel?

When you and your customer's place of supply are in the same State, the sale is intra-State and the GST is charged as CGST plus SGST, half each ([IGST Act section 8](https://taxinformation.cbic.gov.in/content/html/tax_repository/gst/acts/2017_IGST_Act/active/chapteriv/section8_v1.00.html); the central tax rates in [Notification 9/2025-CT(Rate)](https://taxinformation.cbic.gov.in/view-pdf/1010436/ENG/Notifications) are 2.5%, 9% and 20%, half of 5%, 18% and 40%). When they are in different States, the whole GST is IGST ([section 7](https://taxinformation.cbic.gov.in/content/html/tax_repository/gst/acts/2017_IGST_Act/active/chapteriv/section7_v1.00.html)).

With the GST in G2:

- **CGST:** `=ROUND(G2/2,2)`
- **SGST:** `=G2-H2` (H2 holds the CGST)
- **IGST:** `=G2`, with CGST and SGST at zero

**Why SGST is GST minus CGST.** Take GST of ₹118.75 (₹2,375 at 5%). Half is ₹59.375. If you round both halves, `=ROUND(G2/2,2)` gives ₹59.38 twice, and ₹59.38 + ₹59.38 = ₹118.76, one paisa more than the tax. With SGST as GST minus CGST, you get ₹59.38 + ₹59.37 = ₹118.75.

**Let the sheet pick CGST + SGST or IGST.** This uses a new layout, the bill sheet below: type your State in B1 and the place of supply in B2, and the rate moves to column E of each item row. Then, for a GST amount in G5:

- **CGST (H5):** `=IF($B$1=$B$2,ROUND(G5/2,2),0)`
- **SGST (I5):** `=IF($B$1=$B$2,G5-H5,0)`
- **IGST (J5):** `=IF($B$1=$B$2,0,G5)`

Type the State names the same way each time (pick them from a list if you can), or the IF test will treat "Maharashtra" and "Maharastra" as two States. More on the split in [CGST, SGST and IGST explained](https://billbabu.com/blog/cgst-sgst-igst-explained-india).

## Worked sheet: a small GST bill in Excel

_Sample data: the items, prices and quantities are made up, and the rates are examples. Check your own item's rate with your CA._

A shop in Maharashtra sells three items to a customer in Maharashtra. Here is the layout:

| Cell | What goes in it |
| --- | --- |
| A1, B1 | "Our State", Maharashtra |
| A2, B2 | "Place of supply", Maharashtra |
| Row 4 | Headings: Item, HSN, Qty, Rate (before GST), GST %, Taxable value, GST, CGST, SGST, IGST, Line total |
| Rows 5 to 7 | One item per row |
| Row 8 | Totals |
| Row 9 | Round off |
| Row 10 | Bill total |

The formulas for row 5, copied down to rows 6 and 7:

| Column | Heading | Formula in row 5 |
| --- | --- | --- |
| F | Taxable value | `=ROUND(C5*D5,2)` |
| G | GST | `=ROUND(F5*E5/100,2)` |
| H | CGST | `=IF($B$1=$B$2,ROUND(G5/2,2),0)` |
| I | SGST | `=IF($B$1=$B$2,G5-H5,0)` |
| J | IGST | `=IF($B$1=$B$2,0,G5)` |
| K | Line total | `=F5+G5` |

Row 8 adds each column with SUM, for example `=SUM(F5:F7)` and `=SUM(K5:K7)`. Row 9 has the round off, `=ROUND(K8,0)-K8`, and row 10 the bill total, `=ROUND(K8,0)`.

What the sheet shows (₹):

| Item | HSN | Qty | Rate | GST % | Taxable value | GST | CGST | SGST | IGST | Line total |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Detergent powder 1 kg | 3402 | 30 | 96.50 | 18 | 2,895.00 | 521.10 | 260.55 | 260.55 | 0.00 | 3,416.10 |
| Toothpaste 150 g | 3306 | 25 | 95.00 | 5 | 2,375.00 | 118.75 | 59.38 | 59.37 | 0.00 | 2,493.75 |
| Cola with added sugar, 750 ml | 2202 | 24 | 33.90 | 40 | 813.60 | 325.44 | 162.72 | 162.72 | 0.00 | 1,139.04 |
| **Total** |   |   |   |   | **6,083.60** | **965.29** | **482.65** | **482.64** | **0.00** | **7,048.89** |
| Round off |   |   |   |   |   |   |   |   |   | 0.11 |
| **Bill total** |   |   |   |   |   |   |   |   |   | **7,049.00** |

Each line is taxed at its own rate, and CGST + SGST add up to the GST on every row. Change B2 to Gujarat and the sheet moves the whole ₹965.29 into the IGST column, with CGST and SGST at zero; the totals don't change.

## Why use ROUND, and to how many decimals?

**Two decimals for every amount on the bill.** Formatting a cell to two decimals only hides the rest: ₹250 ÷ 1.18 is really 211.864406… Excel keeps every digit and adds them up, so a column of formatted figures can total a paisa more or less than what you see. ROUND removes the hidden digits. The GST portal also takes GSTR-1 values up to two decimals ([GSTR-1 FAQ](https://tutorial.gst.gov.in/userguide/returns/GSTR_1.htm), Q40).

**Whole rupees only for the final total.** `=ROUND(K8,0)` sends 50 paise and above up and the rest down. That matches [Section 170](https://taxinformation.cbic.gov.in/content/html/tax_repository/gst/acts/2017_CGST_act/active/chapter21/section170_v1.00.html) of the CGST Act, which rounds tax and other sums payable under the Act to the nearest rupee. Don't use ROUNDUP, ROUNDDOWN or INT for this; they always go one way.

## Does it work in Google Sheets?

Yes. Every formula on this page uses ROUND, IF and SUM, which work the same way in Google Sheets. Type them as shown. If your sheet is set to a region that writes decimals with a comma, Sheets separates the parts of a formula with semicolons instead, such as `=ROUND(A2*B2/100;2)`.

## Can I make a GST bill in Excel?

Yes, for a few bills a month. Add your business name, address and GSTIN at the top, the customer's details and GSTIN, a bill number and date, and the item sheet above. [CGST Rule 46](https://taxinformation.cbic.gov.in/content/html/tax_repository/gst/rules/cgst_rules/active/chapter6/rule46_v1.00.html) wants the taxable value, the rate and the amount of each tax shown separately, which the columns above do. Our [GST bill format](https://billbabu.com/formats/gst-bill-format) has an Excel download that already works out the GST and totals. For a single amount, the [GST calculator](https://billbabu.com/tools/gst-calculator) adds or removes GST and shows the split.

A sheet starts to pinch when you bill every day: you number the bills yourself, retype rates, and keep track of who has paid in another file.

BillBabu App does the sheet's work on your phone. You save each item's rate **before** GST, and the app works out CGST + SGST or IGST from your State and the customer's, line by line to the paisa, with an odd paisa going to CGST, just like the SGST = GST − CGST formula above. It has no box for a GST-inclusive price, so if your price list includes GST, use the "price before GST" formula first and save that figure. See [how to make a GST bill in mobile](https://billbabu.com/blog/how-to-make-gst-bill-in-mobile).

Reading in Hindi? [GST कैसे निकालें](https://billbabu.com/hi/gst-kaise-nikale) has the same formulas with Excel examples.

## Frequently asked questions

### What is the Excel formula for 18% GST?

With the amount before GST in A2, the GST is =ROUND(A2\*18/100,2) and the total with GST is =A2+ROUND(A2\*18/100,2). On ₹10,000 that gives ₹1,800 GST and ₹11,800 in all. Put the rate in its own cell, such as B2, and use =ROUND(A2\*B2/100,2) so the same formula works for 5% and 40%.

### How do I remove GST from a total in Excel?

With the GST-inclusive total in A2 and the rate (such as 18) in B2, the price before GST is =ROUND(A2/(1+B2/100),2) and the GST is =A2-ROUND(A2/(1+B2/100),2). ₹11,800 at 18% gives ₹10,000 before GST and ₹1,800 GST. Don't take 18% of the total: that gives ₹2,124, which is wrong.

### How do I split GST into CGST and SGST in Excel?

For a sale within your State, CGST is =ROUND(G2/2,2), where G2 holds the GST, and SGST is =G2-H2, where H2 holds the CGST. Working SGST out as GST minus CGST keeps the two halves adding up to the GST when the GST has an odd paisa. For a sale to another State, the whole GST is IGST.

### How do I calculate GST when the price already includes it?

The GST inside a GST-inclusive price is price × rate ÷ (100 + rate). In Excel: =ROUND(A2\*B2/(100+B2),2). For ₹11,800 at 18%, that is 11,800 × 18 ÷ 118 = ₹1,800.

### How do I round GST to two decimals in Excel?

Wrap the formula in ROUND with 2 as the second argument, for example =ROUND(A2\*B2/100,2). Formatting a cell to two decimals only hides the extra digits; ROUND removes them, so totals match the figures you see. Use =ROUND(total,0) only for the final bill total in whole rupees.

### Is there a GST calculator sheet for Excel?

Yes. The GST bill format on billbabu.com has an Excel download that works out the GST and totals for you. For a single amount, the GST calculator on billbabu.com adds or removes GST in your browser and shows the CGST + SGST or IGST split.

### Can I make a GST bill in Excel?

Yes, for a few bills. Add your business details, the customer's details and GSTIN, a bill number and date, and an item table with HSN code, quantity, rate, taxable value and the CGST + SGST or IGST columns. You will number bills and track payments by hand, so a billing app is easier once you make bills every day.

**From the sheet to a bill.** Save your items once with their rate before GST, and BillBabu App works out CGST + SGST or IGST on every bill and makes the PDF. Start free, no card needed; unlimited bills need Pro (paid). [Get BillBabu App on Google Play](https://play.google.com/store/apps/details?id=com.billbabu.app).

_Rules checked: 17 November 2026._

This article is general information, not tax or legal advice. Rules change; check the official GST portal and your CA before acting. BillBabu App is a private app by Central Bharat Labs; it is not a government service.

Official sources: [IGST Act sections 7](https://taxinformation.cbic.gov.in/content/html/tax_repository/gst/acts/2017_IGST_Act/active/chapteriv/section7_v1.00.html) and [8](https://taxinformation.cbic.gov.in/content/html/tax_repository/gst/acts/2017_IGST_Act/active/chapteriv/section8_v1.00.html), [CGST Act Section 170](https://taxinformation.cbic.gov.in/content/html/tax_repository/gst/acts/2017_CGST_act/active/chapter21/section170_v1.00.html), [CGST Rule 46](https://taxinformation.cbic.gov.in/content/html/tax_repository/gst/rules/cgst_rules/active/chapter6/rule46_v1.00.html) and [Notification 9/2025-CT(Rate)](https://taxinformation.cbic.gov.in/view-pdf/1010436/ENG/Notifications) on CBIC; the [56th GST Council recommendations](https://gstcouncil.gov.in/sites/default/files/2025-09/press_release_press_information_bureau_0.pdf); the [GSTR-1 FAQ](https://tutorial.gst.gov.in/userguide/returns/GSTR_1.htm) on the GST portal.

## Related guides

- [How to Make a GST Bill in Mobile, Step by Step](https://billbabu.com/blog/how-to-make-gst-bill-in-mobile): Make a GST bill on your Android phone: add your business, pick the customer and items, check CGST + SGST or IGST, then send the PDF on WhatsApp.
- [Discount on a GST Invoice: Trade, Cash and Post-Sale Discounts](https://billbabu.com/blog/discount-in-gst-invoice): When a discount lowers the GST on your bill: trade discount on the invoice, cash discount, and year-end discounts by credit note, with a distributor example.
- [Freight Charges in a GST Invoice: Rate, HSN and How to Show It](https://billbabu.com/blog/freight-charges-in-gst-invoice): Freight on your own sales bill usually takes the goods' GST rate and HSN code. Transport sold on its own: heading 9965. What P&F means, ₹ example.

---

This is the Markdown version of https://billbabu.com/blog/gst-formula-in-excel for AI assistants. Product summary and every page: https://billbabu.com/llms.txt
