TheTools.World tool

GST calculator online

Add GST to a price, or work out the pre-tax base amount from a GST-inclusive price, at any tax rate. The result updates live as you type.

Calculate GST

Add GST to a price, or work out the pre-tax base amount from a GST-inclusive price, at any tax rate. The result updates live as you type.

How to use the GST calculator

  1. Enter the amount.
  2. Enter the GST rate as a percentage (common rates include 5%, 12%, 18%, and 28% in India's GST system, but any rate can be entered).
  3. Choose whether your entered amount is before GST (to add GST) or already includes GST (to remove it and find the base price).
  4. Read the base amount, GST amount, and total, which update as you type.

"Before GST" mode adds GST on top of your entered amount. "Already includes GST" mode treats your entered amount as the final, tax-inclusive price and works backward to find the pre-tax base and the GST portion within it.

How GST-exclusive and GST-inclusive calculations work

GST-exclusive (adding GST) is straightforward multiplication: GST amount = base amount × rate / 100, and total = base + GST. GST-inclusive (removing GST) requires working backward, because the entered amount already has tax baked in: base amount = total / (1 + rate/100), and the GST portion is the difference between the entered total and that calculated base. This backward calculation is the one people most often get wrong by hand, since simply subtracting rate% of the total (rather than dividing) gives an incorrect base amount.

Best practices

Common mistakes to avoid

Real-world use cases

Worked example: 1000 at 18% GST, both directions

Comparing the two modes on related numbers shows the relationship clearly:

ModeEntered amountBaseGST (18%)Total
Before GST (add)100010001801180
Already includes GST (remove)118010001801180

Both directions agree: a 1000 base with 18% GST is a 1180 total either way, confirming the inverse relationship between the two modes.

Supported formats

Amount accepts any positive number with decimal precision (like 999.99). Rate accepts any percentage from 0 to 100, including decimals like 5.5%, so this calculator works for any GST or similarly structured percentage-based tax system, not only the specific slabs common to one country.

Why dividing, not subtracting, is the correct inclusive-to-exclusive method

It helps to see why subtracting a flat percentage from a GST-inclusive total gives the wrong answer. Take a 1000 base amount with 18% GST: the total is 1180. If you (incorrectly) subtract 18% of 1180 from 1180, you get 1180 - 212.40 = 967.60, not 1000. That's because 18% of the 1180 total is a bigger number than 18% of the true 1000 base, since the total already includes the tax itself. Dividing 1180 by 1.18 correctly reverses the original multiplication and gives exactly 1000. This is the same reason you can't recover an original price from a tax-inclusive total by simply subtracting a percentage; division is required whenever you're working backward from a total that already has the percentage baked in.

Limitations

This calculator applies a single flat GST rate to a single amount; it does not handle mixed-rate invoices (multiple line items at different GST slabs), reverse charge mechanisms, or GST composition scheme calculations, which have their own specific rules beyond a simple percentage calculation.

Privacy

All calculation happens locally in your browser as you type. Nothing is sent to a server. See the privacy policy for the site's full data handling approach.

Troubleshooting

Conclusion

Use this calculator to add or remove GST at any rate, correctly handling the division-based math that inclusive-to-exclusive conversion requires. For general percentage calculations, see the percentage calculator.

FAQ

What's the difference between GST-inclusive and GST-exclusive?

Exclusive means the amount does not yet include GST (GST gets added on top). Inclusive means the amount already has GST built in (the base price needs to be calculated by working backward).

Why can't I just subtract the GST percentage from an inclusive total?

Subtracting a flat percentage from the total doesn't give the correct base amount, because the tax was calculated on the base, not on the total. Dividing by (1 + rate/100) is the correct method, which this calculator does automatically.

Does this work for tax systems other than GST, like VAT?

The underlying math (adding or removing a percentage-based tax) is the same, but this calculator is framed around GST terminology and common GST rate slabs specifically.

Is my data sent anywhere?

No. Calculation happens locally in your browser as you type.

What GST rate should I use?

It depends on the specific good or service category under your GST system's rules. Common Indian GST slabs are 5%, 12%, 18%, and 28%, but this calculator accepts any rate you enter.

Can I calculate GST for a rate that isn't a whole number, like 5.5%?

Yes. The rate field accepts decimal values, so fractional GST rates work correctly.