Anyday CalculatorAnydayCalculator

Sales Tax Calculator

Sales tax is a percentage added to the price of goods and services at the point of purchase. This calculator shows exactly how much tax a purchase carries and what the final, tax-included total comes to — and it works in reverse too, so you can strip the tax out of an inclusive price. The rate is yours to set, so it fits any jurisdiction or currency.

USD

The listed price before tax is added.

% sales tax

The combined sales tax rate that applies to the purchase.

Total with tax
$108.00
  • Pre-tax amount
  • Sales tax
Pre-tax amount
$100.00
Sales tax
$8.00
Total with tax
$108.00

Sales tax adds 8.00 to a 100.00 purchase, a 8.0% markup. Working backwards, a 108.00 tax-inclusive total was 100.00 before tax.

How it works

Sales tax is a simple surcharge: you take the pre-tax price, multiply it by the tax rate expressed as a decimal, and add the result back on. Because the tax is a fixed percentage of the price, a higher-priced item carries proportionally more tax, but the rate itself never changes with the amount.

The forward direction — adding tax to a known price — is the everyday case at a checkout. The reverse direction matters when a price is quoted tax-inclusive and you need to know the underlying amount, for example to record the net figure on an expense report or invoice. To go backwards you divide the inclusive total by (1 + rate ÷ 100). Dividing rather than simply subtracting the percentage is the step most people get wrong: subtracting the rate from the total understates the original price, because the tax was charged on the smaller pre-tax base, not on the larger total.

The formula is currency-agnostic. Switch the currency at the top of the page to read your numbers in whatever currency you use; the arithmetic is identical everywhere.

Formula

Tax = amount × (rate ÷ 100); Total = amount + Tax. To reverse it (find the pre-tax price from a tax-inclusive total), divide the total by (1 + rate ÷ 100).

Worked example

Take a 100 pre-tax purchase at an 8% sales tax rate. The tax is 100 × 0.08 = 8, so the total with tax is 108. Now reverse it: if you were handed a 108 tax-inclusive total and wanted the pre-tax price, you would divide by 1.08 — giving 100 back, exactly the figure you started from. Notice that simply subtracting 8% of 108 would have left 99.36, which is wrong, because the tax was never charged on the full 108.

Things to watch out for

Rates often combine several layers — a state or national rate plus a local or city rate — so enter the combined effective rate for an accurate total. Some categories (groceries, medicine, certain services) may be taxed at a reduced rate or exempt entirely; in those cases use the rate that actually applies. Rounding can also cause a one-unit discrepancy versus a receipt, since some sellers round the tax on each line item rather than on the order total.

Frequently asked questions

How do I work out the pre-tax price from a tax-inclusive total?+

Divide the tax-inclusive total by (1 + rate ÷ 100). For example, an 8% rate means dividing by 1.08. Do not simply subtract the percentage from the total — that gives a slightly too-low figure, because the tax was charged on the smaller pre-tax amount.

Is sales tax calculated on the discounted price or the original price?+

Sales tax is normally calculated on the final price you actually pay, so apply any discount first and then add tax to the reduced amount. Enter the post-discount price as the pre-tax amount here.

What rate should I enter?+

Enter the combined sales tax rate for your location, which may bundle a state, provincial, county, and city rate into one figure. If a category is taxed at a special reduced rate, use that rate instead.

Can I use this calculator for any currency?+

Yes. Sales tax is just a percentage, so the math is the same in every currency. Use the currency switcher at the top of the page to display your own.

Related calculators

Disclaimer: This calculator is for educational and informational purposes only and provides estimates, not financial advice. Interest rates, taxes, fees, and local rules vary and change over time. Confirm figures with a qualified professional before making any financial decision.

Last reviewed: 2026-06-22

We use cookies for analytics and to show relevant ads, which keep our calculators free. You can accept or decline non-essential cookies. Learn more.