Ultra Calculator
    Maths

    Sales Tax Calculator

    To add tax, multiply the price by the rate ÷ 100 and add the result: 100 at 8.5% becomes 108.50. To remove tax from a total, divide by 1 + rate ÷ 100: 127.50 including 6% tax was 120.28 before tax. In the UK the equivalent tax is VAT, usually 20%.

    Last updated by Ultra Calculator

    Sales Tax

    How to calculate it

    Add tax:     Tax = P × r ÷ 100,   T = P + Tax
    Remove tax:  P = T ÷ (1 + r ÷ 100),   Tax = T - P
    P
    the price before tax
    T
    the total including tax
    r
    the tax rate as a percentage, such as 8.5
    Tax
    the amount of tax

    Removing tax is a division, not a subtraction: taking 6% off 127.50 gives 119.85, which is too low, because the 6% was charged on the smaller pre-tax price.

    Worked example

    Adding 8.5% sales tax to a price of 100

    The tax is 100 × 8.5 ÷ 100 = 8.50, so the total is 108.50.

    You enter
    Add or remove taxAdd tax to a price
    Amount$100.00
    Tax rate8.50%
    The calculator returns
    Total including tax$108.50
    Price before tax$100.00
    Tax$8.50
    Tax rate8.50%

    How to use this calculator

    1. Choose Add or remove tax: Add tax to a price for a pre-tax price, or Remove tax from a total for a price that already includes tax.
    2. Enter the Amount.
    3. Enter the Tax rate as a percentage, for example 8.5 or 20.
    4. Read the Total including tax, the Price before tax and the Tax.

    Frequently asked questions

    How do you calculate sales tax?

    Multiply the price by the tax rate and divide by 100, then add that to the price. For a 45 item at 7% tax: 45 × 7 ÷ 100 = 3.15, so you pay 48.15.

    How do you work out the price before tax (reverse sales tax)?

    Divide the total by 1 plus the rate as a decimal. With 8% tax, divide by 1.08: a total of 54 was 50 before tax. Subtracting 8% of the total instead gives 49.68, which is wrong.

    What sales tax rate should I use?

    Use the rate where the sale takes place. In the US most states and many cities or counties charge sales tax at their own rates, so add the state and local rates together and check your state's revenue department. A receipt usually prints the rate.

    I'm in the UK. Is this the same as a VAT calculator?

    The maths is the same, so it works for VAT: the standard rate is 20%, with a reduced rate of 5% and a zero rate for some goods. UK prices for shoppers normally include VAT already, so use Remove tax from a total to find the VAT in a price.

    Can I work out tax with two rates, such as state and city tax?

    If both apply to the same price, add them and enter the total rate: 6% state tax plus 2.5% local tax is 8.5%. If one tax is charged on top of the other, run the calculator twice, using the first total as the second amount.

    Learn more

    Prices with and without tax

    A tax-exclusive price has the tax added at the till, which is usual for sales tax in US shops. A tax-inclusive price already contains it: in the UK, prices shown to shoppers normally include VAT. Use Add tax for the first kind and Remove tax for the second.

    Why removing tax is a division

    Tax is charged on the pre-tax price, so a total is P × (1 + r ÷ 100). To get back to P you divide by that same factor. Taking the rate off the total uses the bigger number as the base and removes too much.

    Sales tax, VAT and GST

    All three add a percentage to the price, so the arithmetic here works for each. They differ in who collects the tax and when, and in which goods are taxed at which rate, so check the rules where you are.

    • Checking the tax on a till receipt
    • Budgeting for a trip to the US, where shelf prices usually exclude sales tax
    • Finding the VAT inside a UK receipt for an expenses claim
    • Setting a pre-tax price that gives a round total after tax
    • Adding tax to an invoice

    Subtracting the rate from a total that includes tax

    127.50 minus 6% is 119.85, but the real pre-tax price is 120.28. Choose Remove tax from a total, which divides instead.

    Using only the state rate

    Many US cities and counties add their own sales tax on top of the state rate. Add them together before you enter the rate.

    Typing the rate as a decimal

    Enter 8.5 for 8.5%, not 0.085. Entering 0.085 applies a rate of 0.085%, which gives a tiny amount of tax.

    Adding VAT to a UK price that already includes it

    Shop prices in the UK normally include VAT, so adding 20% again overstates the cost. Use Remove tax from a total to see the VAT inside the price.

    Methodology and sources

    Add tax multiplies the amount by the rate ÷ 100 and adds it on. Remove tax divides the amount by 1 + rate ÷ 100 to get the price before tax, and the tax is the difference, so the two add back to exactly what you entered. Money is shown to 2 decimal places in the currency you choose. The calculator doesn't round the tax item by item as some tills do, so a receipt can differ by a penny or a cent. It applies one rate to the whole amount, so it can't split a basket with mixed rates, and it doesn't look up rates: enter the one that applies where you are.