GST & Sales Tax Explained: How to Calculate Tax on Any Price
Whether you are a consumer trying to decode your bill, a business owner calculating invoices, or a student studying taxation, understanding how to calculate GST and sales tax is an essential skill. This guide covers the full picture — from India’s GST system to global sales tax — with step-by-step examples you can follow immediately.
For instant calculations, use our Sales Tax Calculator.
Two Core Calculations You Need to Know
There are two fundamental tax calculations that cover almost every scenario:
1. Adding Tax to a Price (Tax-Exclusive → Tax-Inclusive) Tax Amount = Price × (Tax Rate ÷ 100) Final Price = Price + Tax Amount
2. Removing Tax from a Price (Tax-Inclusive → Pre-Tax Price) Pre-Tax Price = Inclusive Price ÷ (1 + Tax Rate ÷ 100)
Example 1: Adding GST to a Price
You are buying a mobile phone priced at ₹20,000 (before GST). The applicable GST rate is 18%.
Step 1 — Calculate GST amount: ₹20,000 × (18 ÷ 100) = ₹20,000 × 0.18 = ₹3,600 GST
Step 2 — Calculate final price: ₹20,000 + ₹3,600 = ₹23,600 (inclusive of GST)
Example 2: Removing GST from a Price (Working Backwards)
You see a price tag of ₹23,600 that already includes 18% GST. What is the pre-tax price?
Pre-Tax Price = ₹23,600 ÷ (1 + 0.18) = ₹23,600 ÷ 1.18 = ₹20,000
This reverse calculation is critical when you need to claim Input Tax Credit (ITC) in business accounting.
India’s GST Rate Slabs (2024)
India uses a four-tier GST structure. Knowing which slab applies to your product or service is the first step:
| GST Rate | Categories |
|---|---|
| 0% (Exempt) | Essential food items (milk, vegetables, cereals), educational services, healthcare |
| 5% | Packaged foods (sugar, edible oil, tea), domestic LPG, economy hotel stays |
| 12% | Processed food, butter, ghee, notebooks, mobile phones |
| 18% | Most consumer goods, electronics, telecom services, restaurant dining, banking fees |
| 28% | Luxury goods: cars, motorcycles, tobacco, aerated drinks, air conditioners |
Most everyday retail transactions fall in the 18% GST slab.
CGST vs. SGST vs. IGST: What’s the Difference?
When GST is applied on intra-state transactions (buyer and seller in the same state), it is split equally between:
- CGST (Central GST) — collected by Central Government
- SGST (State GST) — collected by State Government
So 18% GST on a purchase in Maharashtra from a Maharashtra seller: = 9% CGST + 9% SGST
For inter-state transactions (buyer and seller in different states):
- IGST (Integrated GST) at the full rate is collected by the Centre and shared with states.
On your invoice, both CGST and SGST (or just IGST) will be itemized separately.
Is GST Included in MRP?
Yes. Under Indian consumer protection law, the Maximum Retail Price (MRP) printed on packaged goods must be inclusive of all taxes. You cannot be charged above MRP at any retail outlet.
So when you buy a ₹100 MRP product, the seller has already included their GST in that ₹100. The GST component embedded in the price is: ₹100 ÷ 1.18 = ₹84.75 (pre-tax price) ₹100 − ₹84.75 = ₹15.25 is GST (at 18% slab)
How Service Charge Works in Restaurants
Since 2022, the Central Consumer Protection Authority (CCPA) has ruled that restaurant service charges are voluntary and cannot be mandatory. However, GST on restaurant food is mandatory:
- Non-AC restaurants: 5% GST (no ITC)
- AC restaurants: 5% GST (no ITC)
- 5-star restaurants: 18% GST (with ITC)
Always check your restaurant bill — a mandatory “service charge” of 10-15% is separate from and additional to GST.
Calculating Sales Tax in Other Countries
United States
The US has no federal sales tax. Each state sets its own rate (0%–10.25%), and counties/cities can add more. There is no single formula — you must know the applicable jurisdiction.
Use our Sales Tax Calculator with any custom rate for US state calculations.
UK: Value Added Tax (VAT)
Standard VAT rate: 20% Reduced rate: 5% (home energy, children’s car seats) Zero rate: 0% (food, children’s clothing, books)
Formula is identical to GST — just change the rate.
EU Countries
Most EU countries have VAT ranging from 17%–27%. Germany is 19%, France is 20%, Hungary is 27% (highest in the EU).
GST Registration: When Does a Business Need It?
Businesses in India must register for GST if:
- Annual turnover exceeds ₹40 lakh (goods) or ₹20 lakh (services)
- The business makes inter-state taxable supply
- The business is required to deduct TDS
Once registered, businesses must charge GST on invoices, file returns, and can claim ITC on inputs.
Quick Reference: Tax Calculation Table
| Pre-Tax Price | 5% GST | 12% GST | 18% GST | 28% GST |
|---|---|---|---|---|
| ₹100 | ₹5 | ₹12 | ₹18 | ₹28 |
| ₹500 | ₹25 | ₹60 | ₹90 | ₹140 |
| ₹1,000 | ₹50 | ₹120 | ₹180 | ₹280 |
| ₹5,000 | ₹250 | ₹600 | ₹900 | ₹1,400 |
| ₹10,000 | ₹500 | ₹1,200 | ₹1,800 | ₹2,800 |
Use our Sales Tax Calculator for any amount and any custom tax rate, including the ability to extract pre-tax prices from GST-inclusive totals. You might also find our Discount Calculator useful for calculating post-discount prices before applying GST.