GST / VAT Calculator

Add sales tax to a price, or pull it back out of a total that already includes it, which is the direction almost everyone gets wrong. Works for VAT, GST and any rate you type in.

How to use it

Two directions.

  1. Choose the direction Add tax if your figure excludes it; remove tax if the figure on the invoice already includes it.
  2. Enter the amount and rate Or click one of the common rates listed below the result.
  3. Read the breakdown Net price, tax amount and gross price are all shown, whichever direction you started from.
Full instructions

Common rates

click to use
In depth

Adding and removing sales tax without the usual mistake

Nearly everyone who tries to remove tax from a price does it wrong. They subtract the percentage from the gross amount, and the result is always too low. This article explains why the correct operation is division, walks through every field in the calculator, and covers the CGST and SGST split for Indian sellers.

Screenshot: Adding and removing sales tax
Adding and removing sales tax as it appears when the page opens.

The two directions and why one trips people up

Adding tax to a net price is straightforward multiplication. If the rate is 18 percent, you multiply by 1.18. A net price of 100 becomes 118. Nobody gets this wrong.

Removing tax from a gross price is where the mistakes happen. The instinct is to subtract 18 percent of 118, which gives 96.76. But the correct net price is 100, because the tax was calculated on 100, not on 118. To go backwards you need to divide by 1.18, not multiply by 0.82.

The gap between the wrong answer and the right one grows with the tax rate. At 5 percent the difference is small and easy to miss. At 18 percent it is noticeable. At 28 percent, which is the highest Indian GST slab, the intuitive method is out by nearly 8 percent of the net price. There is a neat rule behind that: the shortfall is the rate multiplied by itself. At 18 percent you are 3.24 percent short of the true net, at 20 percent you are 4 percent short, and at 28 percent you are 7.84 percent short. The higher the rate, the worse the wrong method gets, and it gets worse faster than the rate itself rises. For a business reconciling hundreds of invoices, that adds up to real money.

Walking through the controls

The panel on the right is labelled Your figures. Start with the Currency dropdown, which sets the symbol shown in the result. It does not convert between currencies. It is there so the output reads correctly for whoever is using it.

Next is the What do you want dropdown. It offers two options. Add tax to a price takes a net amount and computes the gross. Take tax out of a price takes a gross amount and works backwards to the net. Choose the one that matches what you are starting with.

The Amount field is where you type your figure, either net or gross depending on the direction you chose. Tax rate is the percentage. You can type any number, but there is also a panel of common rates below the result that you can click to fill in the field automatically.

Below those is a checkbox labelled Split into CGST and SGST. When ticked, the result breaks the total tax into two equal halves: the central goods and services tax and the state goods and services tax. This split applies to sales within a single Indian state. For sales between states, a single integrated rate called IGST applies instead, and you would leave the box unticked.

The maths behind the division

Understanding why division is correct takes one paragraph. When you added tax at 18 percent, you multiplied the net price by 1.18 to get the gross. The reverse of multiplying by 1.18 is dividing by 1.18, not subtracting 18 percent. Subtraction and division are different operations and they give different answers.

Put another way, the tax was a fraction of the net price, not a fraction of the gross price. When you subtract 18 percent of the gross, you are removing 18 percent of a larger number, and you overshoot. Division undoes the multiplication exactly.

The formula is: net price equals gross price divided by one plus the rate expressed as a decimal. For 20 percent VAT, divide by 1.20. For 5 percent, divide by 1.05. The tax amount is then the gross minus the net, or equivalently, the net multiplied by the rate.

Common rates and where they come from

Below the main result is a panel headed Common rates. It lists tax rates that appear frequently in different countries. For India there are the four GST slabs: 5, 12, 18 and 28 percent. For the United Kingdom there is the standard VAT of 20 percent and the reduced rate of 5 percent. Several other country rates appear as well.

Clicking any of these fills in the Tax rate field for you and recalculates the result. It saves a few keystrokes and, more importantly, prevents the kind of typo that turns 18 into 1.8 or 180.

The rates shown are common figures at the time the page was built. Tax rates change with legislation, sometimes overnight and sometimes retroactively. Always confirm the current rate for the specific goods or services you are dealing with before filing anything official. The presets are a convenience, not legal advice.

The Indian GST split

India's goods and services tax works differently for sales within a state and sales between states. For an intra-state sale, the total rate is split equally between the central government and the state government. An 18 percent total becomes 9 percent CGST and 9 percent SGST. Both appear on the invoice and both are reported separately in returns.

For an inter-state sale, the same 18 percent is collected as a single tax called IGST, the integrated goods and services tax. The split does not apply and only one line appears on the invoice.

The checkbox on the calculator controls which of these views you see. Tick it for an intra-state sale and the result shows the two halves. Leave it unticked for an inter-state sale, or for any country that does not use a split structure, and you see a single tax line.

Getting the split right matters for returns. A seller who reports the full amount as IGST when it should have been split into CGST and SGST, or the other way around, creates a mismatch that will need to be corrected later. The calculator shows the right breakdown for the mode you choose, so you can copy the numbers directly onto your invoice.

Rounding and why invoices differ by a penny

Tax arithmetic often produces numbers that do not round neatly. A net price of 33.33 at 20 percent VAT gives a tax of 6.666, which must be rounded to two decimal places for an invoice. Whether that becomes 6.66 or 6.67 depends on the rounding rule, and different tax authorities specify different rules.

Some jurisdictions require rounding per line item. Others require rounding per invoice total. A few require rounding down always. The calculator here shows figures to two decimal places using standard rounding, which is the most common convention. If your jurisdiction uses a different rule, adjust the last digit accordingly.

This is also why two calculators can give answers that differ by one penny or one paisa. Neither is necessarily wrong. They are applying different rounding at different points in the chain. For any amount where the difference matters, check what your local tax authority requires.

Practical scenarios

A freelancer quotes a client 5,000 excluding GST at 18 percent. She sets the direction to Add tax to a price, enters 5000, and types 18 as the rate. The result shows a gross of 5,900. The invoice shows a net of 5,000, tax of 900, and a total of 5,900.

A retailer buys goods for 2,360 including 18 percent GST and needs to know the net price to calculate margin. He sets the direction to Take tax out of a price, enters 2360, and types 18. The result shows a net of 2,000 and tax of 360. If he had subtracted 18 percent of 2,360 instead, he would have got 1,935.20, which is 64.80 short of the real net price. That error alone is larger than the profit on many low-margin products.

A UK business receives an invoice for 600 including 20 percent VAT. The accountant uses the tool to confirm the net is 500 and the VAT is 100. This is the figure that goes into the VAT return as reclaimable input tax.

A small online seller lists a product at 849 including 12 percent GST and wants to know the profit after tax. She uses the tool to confirm the net is 758.04 and the tax portion is 90.96. Her cost price is 550, so the margin before other expenses is 208.04. Without the tool she might have subtracted 12 percent of 849, getting a tax of 101.88 and a net of 747.12, which would understate her real margin by nearly 11.

Nothing leaves your browser

The entire calculation runs on your own device. No amounts, rates, or results are sent to any server. There is no account, no history saved, and no data stored beyond what is on your screen at the moment.

Financial figures are sensitive by nature. Whether you are working out tax on a quote, checking an invoice, or reconciling a return, the numbers stay where you typed them and disappear when you close the tab. You can confirm this by loading the page, switching off your internet connection, and entering a new amount. The result still updates because the arithmetic runs locally and was never reaching out to anything else.

Help

Adding and removing sales tax

Two directions. Adding tax to a price you have quoted net is simple multiplication. Extracting the tax already inside a gross price is division — and doing it the intuitive way gives the wrong answer every time.

Choose the direction

Add tax if your figure excludes it; remove tax if the figure on the invoice already includes it.

Enter the amount and rate

Or click one of the common rates listed below the result.

Read the breakdown

Net price, tax amount and gross price are all shown, whichever direction you started from.

Split it if you are in India

Tick the box to show the CGST and SGST halves for an intra-state sale.

Taking 18% off a price does not remove 18% tax

This is the single most common invoicing mistake and it costs businesses real money. Suppose an item sells for 118 including 18% GST. The instinct is to subtract 18% of 118, giving 96.76 — but the correct net price is 100, because the tax was calculated on 100, not on 118. To go backwards you divide by 1.18, not multiply by 0.82. The gap widens as the rate rises: at 28% GST the intuitive method is out by nearly 8% — 92.16 recovered from a 128 gross instead of 100. Anyone reconciling invoices, claiming input credit or working out a margin from a retail price needs the division, which is what "take tax out of a price" does here.

Good to know

The divisor is 1 plus the rate

For 20% VAT divide by 1.2; for 5% divide by 1.05. The tax portion is what is left over.

CGST and SGST are just halves

An 18% intra-state GST is 9% central and 9% state. For inter-state sales it is a single 18% IGST instead.

Rates change — check before filing

The presets are common rates at the time of writing, not legal advice. Confirm the current rate for your category.

Rounding rules differ by jurisdiction

Some tax authorities require rounding per line item, others per invoice. This shows exact figures to two decimals.

Common questions

How do I remove GST from a price?
Divide the gross price by one plus the rate. For 18% GST, divide by 1.18. Choose "Take tax out of a price" and it does this for you.
How do I add VAT to a price?
Multiply by one plus the rate. For 20% VAT, multiply by 1.2. Choose "Add tax to a price".
Why can I not just subtract the percentage?
Because the tax was calculated on the smaller net figure, not on the gross total. Subtracting always leaves you short.
What is the difference between CGST, SGST and IGST?
For sales within one Indian state the GST is split equally into central and state halves. For sales between states a single integrated rate applies instead.
Are the listed rates current?
They are common rates at the time of writing and are there for convenience. Always confirm the correct rate for your goods or services.
Is my data sent anywhere?
No. Everything is calculated in your browser.