Kind Margin

Home / Tools / Works anywhere

Sales tax and VAT calculator

Add a percentage tax to a price, or work out how much tax is inside a total. Works for any rate in any country.

What do you want to do?
$
The price before tax if you are adding it, or the total including tax if you are removing it.
%
Only changes how amounts are displayed.

The two formulas

Adding tax tax = net price × rate ÷ 100 total = net price + tax Removing tax net price = total ÷ (1 + rate ÷ 100) tax = total − net price

Worked example

A $250.00 price with 8% tax: the tax is $20.00 and the total is $270.00. Going the other way, a $270.00 total that includes 8% tax contains $20.00 of tax on a net price of $250.00.

The mistake to avoid when removing tax

You cannot take tax out by subtracting the rate from the total. A $120.00 total that includes 20% tax is not $120.00 minus 20%, which would be $96.00. The tax was 20% of the net price, not of the total. Dividing by 1.20 gives the right net price of $100.00 and $20.00 of tax.

Rounding

Results are rounded to two decimal places. On an invoice with several lines, tax worked out line by line can differ by a small amount from tax worked out on the invoice total. Tax authorities set their own rounding rules, so follow yours when you file.

Country pages

These pages have the local rates built in, with the official source for each:

This page does not know your local rate. Rates differ by country, sometimes by state or city, and by product. Check with your tax authority.

Page last reviewed: 10 October 2026. Results are estimates for general information. See the terms.