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.

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.
