Want the answer straight away? The sales tax and VAT calculator does this for you and shows every step.
Sales tax, VAT, GST: same sum, different names
In the UK and Europe it is VAT, in India, Australia and Canada GST, in Pakistan sales tax, and in the US sales tax. The details of who collects it differ, but on a receipt the maths is identical. A price, a rate, and a tax amount.
One practical difference: in most countries shelf prices already include the tax. In the US they usually don’t, and the tax is added at the till.
Adding tax to a price
Tax = price × rate ÷ 100 and Total = price × (1 + rate ÷ 100)
A service costs 50 before tax, and the rate is 18%.
- Tax: 50 × 0.18 = 9
- Total: 50 × 1.18 = 59
Freelancers and small shops do this every time they write an invoice. Show the price, the tax and the total on separate lines so the customer can see each part.
Taking tax out of a price
This is the one to get right. If 59 already includes 18% tax, the tax is not 18% of 59. That would be 10.62, and it is wrong.
The reason: the 18% was worked out on the price before tax, not on the total. So you divide instead:
Price before tax = total ÷ (1 + rate ÷ 100)
- 59 ÷ 1.18 = 50 before tax
- Tax: 59 − 50 = 9
Open this example in the sales tax calculator.


A UK VAT example
A laptop costs £120 including 20% VAT. Divide by 1.2: £120 ÷ 1.2 = £100 before VAT, and the VAT is £20. A shortcut for 20% VAT only: the VAT inside a VAT-inclusive price is always one sixth of it. £120 ÷ 6 = £20.
Finding the rate from two prices
If you know the price before and after tax, divide the after-tax price by the before-tax price and subtract 1. 59 ÷ 50 = 1.18, so the rate is 18%. Handy when a receipt shows totals but not the rate.
Discounts and tax together
When a shop takes a discount off and also charges tax, the usual order is discount first, then tax on the reduced price. 100 with 20% off and then 10% tax: 100 × 0.80 = 80, then 80 × 1.10 = 88.
Mathematically, the order doesn’t change the final total when both are percentages. It does change how much of it is tax, which matters for your records.
Mistakes we see a lot
- Taking the rate off the total instead of dividing, as shown above.
- Using the standard rate for items that have a reduced rate or are exempt. Food, medicine, books and children’s clothes often have their own rates.
- Rounding each line on a long invoice, then finding the total is a few cents or paisa off. Most tax authorities accept rounding on the invoice total; check your local rule.
Rates change, sometimes every budget. Before you invoice, confirm the current rate with your tax authority’s website or your accountant.
Common questions
Is tax charged on the delivery fee?
Often yes, if the item itself is taxable, but it depends on where you are. Check your local tax authority’s guidance.
How do I add tax in Excel?
If the price is in A1 and the rate (as a percent) in B1, use =A1*(1+B1/100) for the total, and =A1/(1+B1/100) to take tax out of a total.
Why is my tax a few cents different from the receipt?
Shops round each item or the whole bill to the nearest cent, so small differences are normal.
Do I charge tax if I am a freelancer?
That depends on your country and how much you earn. Many places only require you to register above a certain turnover. Ask a local accountant.
Want the answer straight away? The sales tax and VAT calculator does this for you and shows every step.