To figure sales tax, multiply the price of the taxable item by the tax rate expressed as a decimal. If you’re buying something for $50 and your local sales tax rate is 8.25%, the math is $50 × 0.0825 = $4.13 in tax, bringing your total to $54.13. That core formula works whether you’re estimating what you’ll pay at the register or calculating what to charge a customer.
The Basic Formula
Every sales tax calculation follows the same structure:
- Sale price × tax rate = tax amount
- Sale price + tax amount = total price
Convert the percentage to a decimal by moving the decimal point two places to the left. A 6% rate becomes 0.06. A 9.5% rate becomes 0.095. Then multiply. For a $249.99 item at 7%, you’d calculate $249.99 × 0.07 = $17.4993. That brings up the question of what to do with the extra fraction of a cent.
Most states follow standard rounding: if the third decimal place is 5 or higher, round up to the next cent. If it’s below 5, round down. So $17.4993 rounds down to $17.50 (since the third decimal, 9, rounds the second decimal up). Sellers are generally required to calculate tax to at least three decimal places before rounding. You can apply this rounding to each item individually or to the total invoice, depending on how your state handles it.
Finding Your Actual Tax Rate
The tricky part isn’t the math. It’s knowing which rate to use. Sales tax rates in the U.S. are rarely just a single state percentage. Your total rate is typically a combination of layers: a state rate, a county rate, and sometimes a city or special district rate stacked on top. These components add up to your combined rate, which is what you actually pay or charge.
For example, a state might charge 4%, the county adds 1.5%, and the city adds another 1%, giving you a combined rate of 6.5%. The specific combination depends entirely on where the sale happens. Two addresses in the same metro area can have different rates if they fall in different tax jurisdictions.
The most reliable way to find your exact combined rate is to use the tax rate lookup tool on your state’s department of revenue website. Most states let you search by street address or ZIP code and will return the precise rate, broken down by each taxing jurisdiction.
Which Location Sets the Rate
For in-person purchases, the rate is straightforward: you pay the rate where the store is located. For online or shipped purchases, it depends on your state’s “sourcing” rules, which determine whether the tax rate is based on the seller’s location or the buyer’s.
Most states use destination-based sourcing, meaning the tax rate is determined by where the buyer receives the goods. If a seller in one city ships to a customer in another city within the same state, the customer’s local rate applies. About a dozen states use origin-based sourcing for in-state sales, where the seller’s location determines the rate instead. For sales that cross state lines, the destination state’s rate almost always applies regardless of where the seller is located.
What Gets Taxed and What Doesn’t
Before you calculate tax on a purchase, you need to know whether the item is actually taxable. Not everything is. Most states exempt or reduce the rate on certain essentials, particularly groceries, prescription medications, and medical devices. Some states also exempt clothing or tax it at a lower rate.
Five states have no state sales tax at all, so residents there won’t encounter it on any purchase. In states that do charge sales tax, the specific list of taxable and exempt items varies. A product that’s taxable in one state might be exempt in another. Digital goods like downloaded software, e-books, or streaming subscriptions fall into a gray area where treatment differs significantly from state to state.
If you’re a consumer, your receipt will typically show which items were taxed and which weren’t. If you’re a seller, your state’s tax authority publishes detailed lists of exempt product categories.
Working Backward From a Total
Sometimes you know the total price (tax included) and want to figure out how much of that was tax. To reverse-engineer sales tax from a receipt total, divide the total by 1 plus the tax rate as a decimal, then subtract.
Say you paid $107 total and the tax rate is 7%. Divide $107 by 1.07 to get the pre-tax price: $100. The tax portion was $7. This is useful when splitting costs, filing expense reports, or checking that you were charged correctly.
Calculating Tax as a Seller
If you sell products or services, you’re responsible for charging the correct rate and remitting the tax to the state. The formula is the same, but the stakes are higher because collecting the wrong amount creates problems when you file your sales tax return.
For online sellers, sales tax obligations kick in once you hit a certain level of sales activity in a given state. Most states set this threshold at $100,000 in annual sales to customers in that state. A few states set it higher, and some also count the number of individual transactions. Once you cross the threshold, you’re required to register, collect, and remit sales tax in that state.
Point-of-sale systems and e-commerce platforms typically handle rate lookups and tax calculations automatically, pulling the correct combined rate based on the customer’s shipping address. If you’re invoicing manually, look up the rate for the delivery location through the state’s official rate tool, apply it to the taxable portion of the sale, and round to the nearest cent.
Quick Reference for Common Calculations
Here are a few examples at different rates to illustrate how the numbers work in practice:
- $25 item at 5%: $25 × 0.05 = $1.25 tax, $26.25 total
- $89.99 item at 8.875%: $89.99 × 0.08875 = $7.99, $97.98 total
- $399 item at 10.25%: $399 × 0.1025 = $40.90, $439.90 total
For a quick mental estimate when you’re shopping, round the tax rate to the nearest whole number and use simple multiplication. At roughly 10%, just move the decimal one place left: a $75 item would have about $7.50 in tax. At roughly 5%, take half of that: about $3.75. It won’t be exact, but it gets you close enough to budget on the fly.

