How Sales Tax Is Calculated (US Guide)

How Sales Tax Is Calculated (US Guide)

Unlike countries with a single national consumption tax, sales tax in the United States is a patchwork of state, county, and city-level rates - meaning the exact amount added to your purchase depends entirely on where you are shopping. Here is how it is calculated, and how to work backward from a tax-inclusive total when you need to.

Why US Sales Tax Rates Vary So Much

Sales tax in the US is not set at the federal level - each state sets its own base rate, and many local jurisdictions (counties, cities) add their own additional percentage on top. This means the effective combined rate can differ noticeably even between two neighboring towns, and a handful of states charge no state-level sales tax at all.

The Basic Sales Tax Formula

Sales Tax Amount = Price x (Tax Rate / 100)
Total Price = Price + Sales Tax Amount

Worked Example

A $100 item in an area with a combined 6.5% sales tax rate:

Sales Tax = 100 x (6.5 / 100) = $6.50

Total Price = 100 + 6.50 = $106.50

Working Backward: Finding Pre-Tax Price From a Total

If you only know the final, tax-included price and need to find the original pre-tax amount:

Original Price = Total Price / (1 + Tax Rate / 100)

Worked Example

A receipt shows a total of $106.50, and you know the local rate was 6.5%:

Original Price = 106.50 / 1.065 = $100.00

Just like with GST, you cannot simply calculate 6.5% of $106.50 to find the tax portion - that would give an incorrect number, since $106.50 already includes tax on top of the original $100.

What Is Typically Exempt From Sales Tax?

Exemptions vary significantly by state, but common categories that are often partially or fully exempt include groceries, prescription medications, and certain clothing items below a set price threshold. Always check your specific state and local rules, since what counts as exempt in one state may be fully taxable in another.

Origin-Based vs Destination-Based Sales Tax

For online and remote sales, states generally use one of two approaches: origin-based taxation charges the rate where the seller is located, while destination-based taxation charges the rate where the buyer receives the item. Most states use destination-based rules, which is part of why online retailers need to calculate different tax rates for orders shipped to different states.

Combined Rates: State + County + City

The rate you actually pay at checkout is usually a sum of multiple layers:

LayerExample Rate
State rate4.0%
County rate1.5%
City rate1.0%
Combined rate6.5%

This is why the same product can cost a slightly different final amount just a few miles apart, if you cross a county or city line with a different combined rate.

Step-by-Step: Calculating Sales Tax Yourself

  1. Determine the combined sales tax rate for your specific location (state + county + city, if applicable).
  2. Decide your direction - are you adding tax to a price, or extracting it from a tax-inclusive total?
  3. Apply the appropriate formula from above.
  4. Check for exemptions that might apply to your specific item category.

Skip the Manual Math - Use Our Free Sales Tax Calculator

Our free Sales Tax Calculator handles both directions instantly - add tax to a price, or work backward from a tax-inclusive total to find the original amount.

Final Thoughts

US sales tax calculations come down to two things: knowing your correct combined local rate, and choosing the right formula depending on whether you are adding tax or extracting it from a total. The math itself is simple - the real complexity is just in tracking the right rate for your specific location.