Published: January 12, 2025
Last Updated: January 12, 2025

How to Calculate GST in Excel

You’ve got a spreadsheet full of prices and need to add GST to all of them. Doing it one by one? That’s going to take forever.

Here’s the good news: with one simple formula, Excel can calculate GST for hundreds of items in seconds. Let me show you exactly how.


Quick Formula Reference

For those in a hurry, here are the formulas you need:

What You WantExcel FormulaExample Result
Add GST to price=A2*(1+18/100)₹10,000 → ₹11,800
Calculate GST amount=A2*18/100₹10,000 → ₹1,800
Extract base from total=A2/(1+18/100)₹11,800 → ₹10,000
Extract GST from total=A2-A2/(1+18/100)₹11,800 → ₹1,800

Now let’s break these down step by step.


Setting Up Your Excel Sheet

Before writing formulas, let’s set up a proper structure:

Basic Column Layout

ColumnHeaderPurpose
AItem NameProduct or service description
BBase PricePrice before GST
CGST RateTax percentage (e.g., 18)
DGST AmountCalculated tax
ETotalFinal price including GST

Pro Tip: Use a Fixed Rate Cell

Instead of typing “18” in every formula, put your GST rate in a single cell (like B1) and reference it. This way, if the rate changes, you only update one cell.

Cell B1: 18

Formula 1: Calculate GST Amount from Base Price

This is the most common calculation – you have the base price and want to find the GST amount.

The Formula

=Base_Price * GST_Rate / 100

In Practice

If your base price is in cell A2 and GST rate is in cell B1:

=A2*$B$1/100

Why $B$1? The dollar signs create an “absolute reference” – when you drag the formula down, Excel won’t change B1 to B2, B3, etc. It stays locked on your rate cell.

Example

ABC
Base PriceGST RateGST Amount
1000018=A2*$B$1/100 → 1800
500018=A3*$B$1/100 → 900
2500018=A4*$B$1/100 → 4500

Formula 2: Calculate Total Price (Base + GST)

Once you have the GST amount, you can add it to the base price. But there’s a faster way – calculate the total in one step.

The Formula

=Base_Price * (1 + GST_Rate / 100)

In Practice

=A2*(1+$B$1/100)

This multiplies the base price by 1.18 (for 18% GST), giving you the total directly.

Example

Base PriceFormulaTotal
₹10,000=A2*(1+$B$1/100)₹11,800
₹5,000=A3*(1+$B$1/100)₹5,900
₹25,000=A4*(1+$B$1/100)₹29,500

Formula 3: Extract Base Price from Total (Reverse Calculation)

Got an invoice showing the total amount? Here’s how to find the original base price.

The Common Mistake

✗ Wrong Approach

=A2 - A2*18%

₹11,800 - ₹2,124 = ₹9,676 ❌

✓ Correct Approach

=A2/(1+18/100)

₹11,800 / 1.18 = ₹10,000 ✓

The Formula

=Total_Price / (1 + GST_Rate / 100)

In Practice

=A2/(1+$B$1/100)

Example

Total (Inclusive)FormulaBase Price
₹11,800=A2/(1+$B$1/100)₹10,000
₹5,900=A3/(1+$B$1/100)₹5,000
₹29,500=A4/(1+$B$1/100)₹25,000

Formula 4: Extract GST Amount from Total

Need to know exactly how much tax is included in the total price?

The Formula

=Total_Price - Total_Price / (1 + GST_Rate / 100)

In Practice

=A2-A2/(1+$B$1/100)

Or a cleaner alternative:

=A2*$B$1/(100+$B$1)

Example

TotalFormulaGST Amount
₹11,800=A2-A2/(1+$B$1/100)₹1,800
₹5,900=A3-A3/(1+$B$1/100)₹900

Pro Tip: Use Named Ranges

Instead of remembering $B$1, give your rate cell a name:

  1. Select cell B1 (your GST rate)
  2. Click the Name Box (left of formula bar)
  3. Type GSTRate and press Enter

Now your formulas become much cleaner:

// Calculate GST amount
=A2*GSTRate/100

// Calculate total
=A2*(1+GSTRate/100)

// Extract base from total
=A2/(1+GSTRate/100)

Benefits:

  • Formulas are self-documenting
  • Easier to update the rate
  • Less chance of reference errors

Advanced: Multiple GST Rates

Real-world scenarios often involve different GST rates (5%, 12%, 18%, 28%) for different products.

Method 1: Rate Column

Add a “Rate” column for each item:

ItemBase PriceRateGST AmountTotal
Food10005=B2*C2/100=B2+D2
Clothing200012=B3*C3/100=B3+D3
Electronics500018=B4*C4/100=B4+D4
Luxury1000028=B5*C5/100=B5+D5

Method 2: VLOOKUP for Automatic Rates

Create a rate lookup table and auto-fill rates based on category:

Rate Table (in cells F1:G5):

CategoryRate
Food5
Clothing12
Electronics18
Luxury28

Formula to get rate:

=VLOOKUP(A2, $F$1:$G$5, 2, FALSE)

This automatically picks the correct rate based on the item category.


Using These Formulas in Google Sheets

Great news – all these formulas work exactly the same in Google Sheets!

Bonus: ARRAYFORMULA

Google Sheets offers ARRAYFORMULA to apply a formula to an entire column automatically:

=ARRAYFORMULA(A2:A100*(1+GSTRate/100))

This fills the entire range without needing to drag the formula down.


Common Mistakes to Avoid

Mistake 1: Using relative references for the rate cell

Use $B$1 (absolute) instead of B1 (relative) so the reference doesn’t change when you copy the formula.

Mistake 2: Subtracting percentage from total to get base

Wrong: =A2-A2*18%. Correct: =A2/(1+18/100). See the formula section above for why.

Mistake 3: Number stored as text

If your formula shows an error, check if your price cells have a green triangle (text format). Convert them to numbers first.


Complete Spreadsheet Example

Here’s a full working example you can recreate:

ABCDE
1GST Rate:18
2ItemBase PriceGST AmountTotal
3Product A10000=B3*$B$1/100=B3+C3
4Product B5000=B4*$B$1/100=B4+C4
5Product C25000=B5*$B$1/100=B5+C5
6Total=SUM(B3:B5)=SUM(C3:C5)=SUM(D3:D5)

Result:

ItemBase PriceGST AmountTotal
Product A₹10,000₹1,800₹11,800
Product B₹5,000₹900₹5,900
Product C₹25,000₹4,500₹29,500
Total₹40,000₹7,200₹47,200

GST Calculator

Quick online GST calculation

Calculate Now

Reverse GST Calculator

Extract GST from total price

Calculate Now

GST Formula Explained

Understand the math behind GST

Learn More

Frequently Asked Questions

Frequently Asked Questions

What is the formula for GST calculation in Excel?

To add GST: =Price*(1+Rate/100). To extract GST from total: =Total/(1+Rate/100). For example, to add 18% GST to ₹10,000: =10000*(1+18/100) gives ₹11,800.

How do I calculate GST for multiple items at once?

Enter your formula in the first row, then drag the fill handle down to apply it to all rows. Use absolute references ($B$1) for the rate cell so it doesn't change when you drag.

Can I use these formulas in Google Sheets?

Yes! All Excel formulas shown here work exactly the same in Google Sheets. You can also use ARRAYFORMULA for automatic expansion.

How do I handle different GST rates (5%, 12%, 18%, 28%)?

Create a lookup table with item categories and their rates, then use VLOOKUP or INDEX/MATCH to automatically pick the correct rate for each item.

Why can't I just multiply by 18% to extract GST from total?

Because the 18% was applied to the base price, not the total. If you multiply ₹11,800 by 18%, you get ₹2,124 – which is wrong. The correct GST is ₹1,800.

Is there a free Excel template I can download?

We're working on a free GST calculator template with pre-built formulas. Check back soon for the download link!