Skip to content
K Knidox Search…
Finance · Shopping

Sales Tax Calculator

Add sales tax to a price, or work backwards to strip the tax out of a tax-inclusive total.

The pre-tax amount.
%
Sales tax, GST, or VAT rate.
Mode
Common rates
Total with tax
$54.00

Tax: $4.00 on a $50.00 price.

An 8% sales tax on a $50 price is 50 × 8 ÷ 100 = $4, for a $54 total. Working backwards, a $54 tax-inclusive total at 8% means a pre-tax price of 54 ÷ 1.08 = $50. Change the amount or rate and both directions update.

How sales tax works

Sales tax is a percentage added on top of a price at the point of sale. Multiply the price by the rate to get the tax, then add it back to reach the total you actually pay. In the United States the rate is usually shown exclusive of tax — the shelf price is pre-tax and the tax appears at the register — so the total is always a little higher than the sticker.

tax = price × rate ÷ 100

total = price + tax · reverse: pre-tax = total ÷ (1 + rate ÷ 100)

Worked example

A $50 item with an 8% sales tax.

  1. 1
    Multiply the price by the rate. 50 × 8 = 400.
  2. 2
    Divide by 100 to get the tax. 400 ÷ 100 = $4.
  3. 3
    Add the tax to the price. $50 + $4 = $54 total.
  4. 4
    To reverse it, divide the total by 1 + rate. $54 ÷ 1.08 = $50 pre-tax.

Common rates on a $50 price

Sample rates only — actual sales tax, GST, and VAT rates vary by country, state, county, and city, and some goods are taxed at reduced or zero rates.

RateTax on $50Total
5%$2.50$52.50
8%$4.00$54.00
10%$5.00$55.00
15%$7.50$57.50
20% (VAT)$10.00$60.00

Sales tax vs. VAT, and tax-inclusive pricing

U.S. sales tax is charged once, at the final retail sale, and is added on top of the listed price. VAT (value-added tax, common in Europe) and GST (goods and services tax) are collected in stages along the supply chain, and the price on the shelf is usually tax-inclusive — the total you see already contains the tax.

That difference is exactly why the reverse calculation matters. When a price already includes tax, you cannot just multiply by the rate to find the tax; you have to divide the total by 1 + rate ÷ 100 to recover the pre-tax amount, then subtract. A $54 total at 8% is $50 pre-tax plus $4 tax — not $54 × 0.08. Use the reverse mode whenever you are handed a tax-inclusive figure and need the net price, for example to log an expense or reclaim VAT.

How do I add sales tax to a price?
Multiply the price by the rate and divide by 100 to get the tax, then add it to the price. For an 8% rate on $50: 50 × 8 ÷ 100 = $4 tax, so the total is $50 + $4 = $54.
How do I remove sales tax from a total?
Divide the tax-inclusive total by 1 + rate ÷ 100. A $54 total at 8% gives 54 ÷ 1.08 = $50 pre-tax, and the tax was $54 − $50 = $4. Switch the tool to “Remove tax” mode to do this automatically.
What is the difference between sales tax and VAT?
U.S. sales tax is added once at the final sale and shown on top of the listed price. VAT and GST are collected in stages through the supply chain and are normally built into the displayed, tax-inclusive price.
Why do sales tax rates vary so much?
Rates are set by different layers of government — country, state, county, and city — and a single purchase can combine several. Some places have no sales tax at all, and certain goods like groceries or medicine may be taxed at a reduced or zero rate.
Is sales tax charged on the pre-discount or post-discount price?
In most places tax is applied to the discounted price you actually pay, so a coupon lowers the tax too. Manufacturer rebates can be treated differently in some states — there the tax may be based on the pre-rebate price.
Why is the reversed pre-tax price not just the total minus rate%?
Because the rate applies to the smaller pre-tax base, not the larger total. Taking 8% off $54 overshoots; you must divide by 1.08 instead, which correctly returns $50 rather than $49.68.