Sales Tax Calculator

Use this sales tax calculator to move between pre-tax and post-tax prices without doing the math manually.

Choose whether to add tax or remove it from a total.
Choose a country-level tax jurisdiction to prefill a typical transaction-tax rate, then confirm the exact rate for your purchase.
Enter the pre-tax or post-tax amount, depending on the mode.
Enter the sales tax percentage.

Sales tax amount

$8.50

Subtotal$100
Total after tax$108.50
Tax rate8.5%

How to use this sales tax calculator

  1. Select a calculation mode

    Choose whether you want to add tax to a subtotal or remove tax from a final amount.

  2. Pick a tax jurisdiction

    Select a jurisdiction to prefill a typical transaction-tax rate, or enter your own combined rate.

  3. Enter the amount

    Type the pre-tax subtotal (if adding) or the post-tax total (if removing) into the amount field.

  4. Confirm the tax rate

    Verify that the tax rate reflects the combined rate for your location, including any local surtaxes.

  5. Review the breakdown

    Check the subtotal, tax amount, and total after tax in the results panel.

Methodology

How this sales tax calculator works

This sales tax calculator works in two directions. You can start with a pre-tax amount and add tax to estimate the final total, or you can start with a total amount and back the tax out to find the original subtotal. That makes it useful for pricing checks, invoices, and purchase comparisons when you want to understand how much of the final amount is tax.

Formula
Total = Subtotal × (1 + r), or Subtotal = Total ÷ (1 + r), where Tax amount = Total − Subtotal
Total Final price including sales tax
Subtotal Pre-tax price of the goods or services
r Combined sales tax rate as a decimal (e.g. 8.5% = 0.085)
Tax amount The sales tax portion — the difference between total and subtotal
Example

If an item costs $100 before tax and the combined transaction tax rate is 8.5 %, the tax is $8.50 and the final total is $108.50. Reversing it: if you paid $108.50 and need the pre-tax price, divide by 1 plus the tax rate to get $100 with $8.50 in tax. This reverse calculation is useful for receipts, expense reports, and invoice checks when you need to isolate the tax portion.

A shopper buys electronics priced at $100 before tax. The combined sales tax rate is 8.5 %, adding $8.50 in tax for a checkout total of $108.50. Knowing the tax portion in advance helps compare the true cost against a competitor in a different tax jurisdiction.

A business expense report shows a receipt total of $108.50. Removing the 8.5 % sales tax reveals a pre-tax subtotal of $100 and a tax portion of $8.50, which is the amount the business records as tax paid for reconciliation purposes.

Assumptions
  • The calculation assumes a single flat tax rate applies to the full amount entered.
  • The estimate does not automatically account for local exemptions, tiered rules, or tax-inclusive rounding policies.
  • Removing tax from a total assumes the tax rate is already correct for the purchase.
  • In jurisdictions with stacked tax rates (national, regional, and local), the user should enter the combined rate for accurate results.
  • Tax-exempt or reduced-rate items are not filtered automatically.
Notes
  • This is most useful when you want a quick pricing estimate or need to double-check a checkout total.
  • If your location uses more than one tax layer or has item-specific exemptions, treat the result as a simplified estimate.
  • Transaction tax rates vary widely across countries and local jurisdictions, especially where regional and municipal surtaxes are layered on top of a base rate.
  • For business use, keep in mind that sales tax is a transaction-level tax collected at the point of sale, unlike VAT which is collected at every stage of the supply chain.
Sources
  1. Official transaction-tax guidance for the relevant national, state, provincial, or local tax authority
  2. OECD — Consumption Tax Trends
  3. Public tax-rate schedules published by the jurisdiction you are modeling

What is sales tax?

Sales tax is a consumption tax imposed at the point of sale on goods and, in many jurisdictions, services. Unlike value added tax, which is collected at every stage of production, sales tax is typically a single-stage levy charged only when the final consumer makes a purchase. The rate and scope of sales tax vary widely: some jurisdictions apply a single flat rate to nearly all retail transactions, while others layer national, regional, and municipal rates on top of each other or exempt categories like groceries and prescription medication. Because the tax is added at checkout rather than embedded in the listed price, buyers often see a pre-tax price on the shelf and a higher total at the register. Understanding how sales tax is calculated helps with budgeting, price comparisons across regions, and verifying that receipts and invoices are correct.

Stacked rates and combined tax calculations

In many regions, the sales tax rate you pay is not a single number but a combination of several layers. A base national or regional rate may be supplemented by provincial, municipal, or local surcharges, each with its own rules about which goods are taxable. When using a sales tax calculator, you should enter the combined rate — the sum of all applicable layers — for the most accurate result. If you are unsure of the combined rate, check the tax authority website for your area or look at a recent receipt from a local purchase. Stacked rates also mean that two locations in the same country can have noticeably different effective tax rates, which matters when comparing prices across regions or when a business ships goods to customers in multiple jurisdictions.

Sales tax calculator FAQs

Can I remove tax from a total price with this calculator?

Yes. Choose the remove-tax mode and enter the final total to estimate the original subtotal and the tax portion.

Why does the final amount differ by a few cents sometimes?

Real checkout systems may round slightly differently, especially when multiple tax layers or item-level calculations are involved. Some POS systems round per item before summing, which can shift the total by a penny or two.

Does this work for VAT too?

The math is similar, but if you specifically need VAT treatment, use the VAT calculator because it matches that terminology more closely and aligns with how VAT-registered businesses handle invoicing.

What if only some items are taxable?

Calculate the taxable subtotal separately before using a single-rate estimate. If part of a basket is taxable and part is exempt, run the calculator only on the taxable portion and then add the exempt amount back to get the true total.

Can I use this for invoice checks?

Yes. It is a fast way to check whether a subtotal, tax amount, and final total are broadly aligned, which is helpful for expense reconciliation and accounts payable review.

Written by Jan Křenek Founder and tax calculator author
Reviewed by DigitSum Methodology Review Tax logic verification
Last updated Mar 10, 2026

Use this as an estimate and validate important decisions with a qualified professional.

Inputs stay in the browser unless a future feature explicitly tells you otherwise.