Sales tax is calculated by turning the tax rate into a decimal and multiplying it by the price of whatever you're buying, then adding that result to the original cost. It sounds simple because it is, but the tricky part is that the rate itself depends entirely on where you live and what you're purchasing.
At a Glance
- The formula is (tax percentage divided by 100) multiplied by the item's price.
- Rates vary by state and can stack with county or city taxes.
- Five states, Alaska, Delaware, Montana, New Hampshire and Oregon, charge no state sales tax.
- California has the highest statewide rate at 7.25 percent.
- Online purchases may or may not be taxed depending on whether the seller has nexus in your state.
The Basic Math Behind Sales Tax
Figuring out what you'll actually pay at checkout takes three steps. First, find the retail price and the local sales tax rate. Second, divide that tax rate by 100 to turn it into a decimal. Third, multiply the retail price by that decimal to get the dollar amount of tax owed. Add that figure to the original price and you have your total.
Written out, the formula looks like this: (sales tax percentage divided by 100) times the price of the good or service. A quick example makes it concrete. Say Emilia is buying a chair for $75 in Wisconsin, where the tax rate is 5 percent. Divide 5 by 100 to get 0.05, then multiply 0.05 by $75 to get $3.75 in tax. Add that to the $75 sticker price and the chair actually costs $78.75.
Why Sales Tax Rates Differ From State to State
Sales tax gets set primarily at the state level, but that's rarely the whole story. Cities and counties often pile on their own rates too. Alaska is a good example: the state itself charges no sales tax, yet individual municipalities within Alaska can and do levy their own, ranging from 1 percent up to 7 percent depending on where you are.
Nationally, 35 states plus the District of Columbia charge a sales tax of 5 percent or higher. On the low end, five states skip state sales tax altogether: Alaska, Delaware, Montana, New Hampshire and Oregon. On the high end, California tops the list at 7.25 percent, with Indiana, Mississippi, Rhode Island and Tennessee close behind at 7 percent each.
| State or Category | Sales Tax Rate |
|---|---|
| California | 7.25% (highest) |
| Indiana, Mississippi, Rhode Island, Tennessee | 7% |
| Alaska | 0% state, local rates 1% to 7% |
| Delaware, Montana, New Hampshire, Oregon | 0% |
Not every purchase gets taxed the same way even within a single state. Most states carve out exemptions for necessities like groceries, clothing, medicine, newspapers and utilities, though exactly which categories qualify differs from one state to the next. Before assuming a purchase is taxable, it's worth checking your state's specific rules, since what counts as exempt in one place might be fully taxed in another.
How Online Purchases Complicate the Sales Tax Rate Question
Whether an online purchase gets taxed often comes down to a legal concept called nexus, which essentially asks whether a seller has a meaningful business presence in your state. Traditionally, nexus meant something physical: a warehouse, an office, or an employee living in that state.
That definition has gotten messier as ecommerce retailers like Amazon have grown into a dominant force in retail without necessarily having a building or staff in every state where they ship products. Several states responded by passing what are commonly called Amazon laws, which broadened the definition of nexus beyond brick and mortar presence.

Under these updated rules, a retailer can be considered to have a constitutionally significant connection to a state, even without a warehouse or office there, and can be required to collect and remit sales tax accordingly. The practical effect is that shoppers can no longer assume an online purchase will arrive tax free just because the seller is based elsewhere.
How Sales Tax Differs From Value Added Tax
Value added tax, or VAT, works on a different principle than the sales tax most Americans are used to. Instead of taxing the full retail price once at the point of sale, VAT systems tax the value added at each stage of production and distribution. The tax at each stage is calculated based on the product's cost minus the cost of materials that were already taxed earlier in the supply chain. Sales tax, by contrast, is a single charge applied at the final retail transaction.
What This Means for Your Next Purchase
The core lesson here is that sales tax is never a flat, universal number. It depends on your state, your city or county, the category of item you're buying, and increasingly, whether the retailer you're buying from has established nexus in your state. Before a big purchase, particularly online, it pays to check your specific local rate and any relevant exemptions rather than assuming a number from a different state or a different year still applies.