Calculatorz

Guide

How to Calculate Sales Tax

Close-up of a shopping receipt showing tax and total amounts
Close-up of a shopping receipt showing tax and total amounts — Photo by Towfiqu barbhuiya on Pexels

The price on the tag is almost never the price you pay. In most of the United States a sales tax is added at the till, so an $84.99 pair of headphones costs $92.00 by the time you leave the shop. The maths is short — one multiplication — but the rate itself is the tricky part, because it is usually three smaller taxes stacked together. This guide shows the formula, how to find your real rate, and how to check a receipt by working backwards from the total.

Try it now: Discount Price Calculator — What does the sale price really come to?

The sales tax formula

Sales tax is the price multiplied by the tax rate, and the total is the price plus the tax. Written out: tax = price × rate, and total = price + tax. The rate is a percentage, so turn it into a decimal before multiplying: 8.25% becomes 0.0825. That is the whole formula — everything else in this guide is about getting the right rate and the right price to feed into it.

Take a pair of headphones priced at $84.99 in a place where the combined rate is 8.25%. The tax is 84.99 × 0.0825 = 7.011675, which rounds to $7.01. The total is 84.99 + 7.01 = $92.00. Two things to notice: the tax is charged on the shelf price, and the rounding happens at the end, to the nearest cent. If you round the rate or the price first, the total can come out a cent off — which is why the till sometimes disagrees with a quick mental sum.

The same formula works in reverse if you know the tax and want the rate: rate = tax ÷ price. A receipt that shows $7.01 of tax on an $84.99 item means a rate of 7.01 ÷ 84.99 = 0.0825, or 8.25%. That check is handy when a receipt does not print the rate, only the tax amount.

Finding your sales tax rate

There is no single US sales tax rate. The rate where you shop is usually three taxes added together: the state rate, the county rate and the city rate. A shop in a place with a 6% state rate, a 1.5% county rate and a 0.75% city rate charges 6 + 1.5 + 0.75 = 8.25% in total. Two shops a few streets apart can charge different rates if a city or county line runs between them, so the rate on a receipt is the rate for that exact address, not for the state as a whole.

Five states have no statewide sales tax at all — Oregon, Montana, New Hampshire, Delaware and Alaska — so in those states the total is simply the shelf price, unless a local tax applies. Alaska has no state tax but some towns and boroughs add their own, so even there it is worth checking the receipt. Everywhere else, the easiest way to find your rate is the last receipt from the same shop: it prints the tax amount, and often the rate itself.

If you are buying online, the seller charges the rate for where the order is delivered, not where the seller sits — so the same item can cost a different total depending on the delivery address. When in doubt, enter the rate printed on a recent receipt from the same area, or look it up on your state revenue department's site. Guessing the state rate alone and ignoring the county and city parts is the most common reason the maths comes out low.

Worked example: a $240 purchase at 8.25%

A jacket costs $240 before tax, and the combined rate is 8.25% — 6% state, 1.5% county, 0.75% city. Step one, turn the rate into a decimal: 8.25% = 0.0825. Step two, multiply: 240 × 0.0825 = 19.80. The tax is $19.80. Step three, add it to the price: 240 + 19.80 = $259.80. The total at the till is $259.80.

The same purchase at a flat 8% rate would cost $19.20 of tax and $259.20 in total — only 60 cents less. Small rate differences feel trivial on one item, but on a $2,400 purchase the gap between 8% and 8.25% is $6.00, and on a $25,000 car it is $62.50. That is why the county and city parts of the rate matter: they are small percentages of a large number.

Check the result against the discount price calculator: enter $240 as the price, 0% discount and 8.25% tax, and it returns the same $19.80 of tax and $259.80 total. If your own sum disagrees with the calculator, the rate is the first thing to re-check — a rate typed as 8.25 when the receipt says 8.75 changes the tax by $1.20 on this purchase alone.

Working backwards from the total

Receipts print the total, not always the pre-tax price. To recover the price before tax, divide the total by one plus the rate: price before tax = total ÷ (1 + rate). The tax is then the total minus that price. Dividing by the rate alone is the classic error — it gives a number far too large, because the rate is a slice of the price, not of the total.

A receipt shows a total of $106.99 and the rate is 7%. One plus the rate is 1.07, so the price before tax is 106.99 ÷ 1.07 = 99.9906, which rounds to $99.99. The tax is 106.99 − 99.99 = $7.00. Check it forwards: 99.99 × 0.07 = 6.9993, which rounds to $7.00, and 99.99 + 7.00 = $106.99. The numbers agree in both directions, which is how you know the split is right.

This backwards step is useful whenever a price is quoted tax-inclusive — a menu that says tax included, or a quote for a job where the total is the only number given. It is also the quickest way to spot a wrong rate: if the pre-tax price comes out as a strange number like $99.97 instead of a round $99.99, the rate you used is probably not the one the shop charged.

Sales tax on several items at once

Add the items first, then tax the subtotal. Three grocery items at $12.50, $8.75 and $24.00 give a subtotal of 12.50 + 8.75 + 24.00 = $45.25. At a 7.5% rate the tax is 45.25 × 0.075 = 3.39375, which rounds to $3.39, and the total is 45.25 + 3.39 = $48.64. Taxing each item separately and adding the results gives the same answer here, but it can differ by a cent when the per-item rounding goes different ways — which is why shops tax the subtotal, not each line.

Some items in the same basket may be taxed differently. In many states groceries are exempt or taxed at a lower rate than general goods, so a basket with food and household items can carry two rates at once. The receipt splits them into separate tax lines for exactly that reason. If you are estimating by hand, separate the basket into taxed and untaxed groups first, then apply the rate to the taxed subtotal only — taxing the whole basket overstates the total.

The same subtotal rule applies to a shopping list of any size. Add everything, apply one rate to the total, and round once at the end. Rounding every line and then adding the rounded taxes is the slow way to the same answer, with more chances to slip by a cent.

Sales tax when the price is discounted

Tax is charged on the price you actually pay, not the original price. A $60 shirt at 20% off costs 60 × 0.80 = $48.00 before tax. At an 8.5% rate the tax is 48 × 0.085 = $4.08, and the total is 48 + 4.08 = $52.08. Taxing the original $60 would give $5.10 of tax and a $53.10 total — $1.02 too much — because the discount shrinks the taxable amount as well as the price.

The order matters: discount first, then tax. Our guide to calculating a discount price with tax works through the same idea with a $120 jacket at 25% off, and the discount price calculator does the whole chain — sale price, saving, tax and total — from the price, the discount and the rate. Enter a 0% discount in that calculator and it becomes a plain sales tax calculator: price in, rate in, tax and total out.

Coupons work the same way as discounts when they reduce the price before tax, which most store coupons do. A manufacturer's coupon is sometimes treated differently, but for the shopper the rule of thumb holds: if the price on the receipt dropped, the tax is charged on the dropped price. If a receipt ever shows tax on the pre-discount price, that is worth querying at the till.

Rounding: why the till total can differ by a cent

Tax is rounded to the nearest cent, and the rounding happens once, on the tax amount. A $19.99 item at 6.25% gives a tax of 19.99 × 0.0625 = 1.249375, which rounds to $1.25 — the third decimal is 9, so it rounds up. The total is 19.99 + 1.25 = $21.24. If you had rounded the tax down to $1.24, the total would be $21.23, a cent short of what the till charges.

A cent of difference is not an error; it is rounding doing its job. The rule is the ordinary one: look at the third decimal place — 5 or above rounds the second decimal up, 4 or below leaves it alone. Shops and calculators all use the same rule, so a hand calculation that follows it will match the receipt. The mismatch people notice usually comes from rounding the rate instead of the tax — using 8% when the real rate is 8.25% — which is a rate error, not a rounding error.

On a single item the rounding is invisible. On a long receipt it still only ever moves the total by a cent or two, because each line is rounded once and the errors do not stack. If your total is out by more than a couple of cents, the rate or the subtotal is wrong — re-add the items and re-check the rate on the receipt before blaming the rounding.

Five mistakes that get the tax wrong

The first mistake is treating the shelf price as the total. The tag is the pre-tax price in almost every US shop, so the amount at the till is always higher — by $7.01 on an $84.99 item at 8.25%. Budgeting the tag price and forgetting the tax is how a $240 jacket becomes a $259.80 surprise.

The second mistake is using only the state rate. The state rate is the biggest piece, but the county and city parts add up: 6% state plus 1.5% county plus 0.75% city is 8.25%, not 6%. On a $250 purchase the full rate gives $20.63 of tax while the state rate alone gives $15.00 — a $5.63 gap. Always use the combined rate printed on a receipt from the same area.

The third mistake is taxing the price before a discount. Tax is charged on what you pay, so a 20% discount cuts the tax by 20% too — $4.08 of tax on a $48 sale price instead of $5.10 on the $60 original. The fourth mistake is the reverse error when working backwards: dividing the total by the rate instead of by one plus the rate. A $106.99 total divided by 0.07 gives $1,528.43, which is nonsense; divided by 1.07 it gives the correct $99.99.

The fifth mistake is applying the rate to the wrong base — taxing the whole basket when some of it is exempt, or taxing a price that already includes tax. If the price already includes tax, divide by one plus the rate first; if some items are exempt, split the basket before applying the rate. Each of these five is a one-line fix, and together they cover almost every wrong sales tax total.

Frequently asked questions

How do I calculate sales tax on a purchase?

Multiply the price by your tax rate as a decimal, then add the tax to the price. At an 8.25% rate, an $84.99 item carries 84.99 × 0.0825 = $7.01 of tax, for a $92.00 total. The rate is usually state, county and city combined, so use the full rate from a receipt in the same area — not just the state rate.

What sales tax rate should I use?

Use the combined rate for the place where you are buying — state plus county plus city. A recent receipt from the same shop prints it, or your state revenue department lists rates by address. Five states — Oregon, Montana, New Hampshire, Delaware and Alaska — have no statewide sales tax, though some Alaska towns add a local tax.

Is sales tax charged on the sale price or the original price?

On the sale price — the price you actually pay after the discount. A $60 shirt at 20% off is taxed on $48, giving $4.08 of tax at 8.5%, not $5.10 on the original $60. Discount first, then tax, and the saving is slightly bigger than it looks.

How do I find the price before tax from a receipt total?

Divide the total by one plus the rate: price before tax = total ÷ (1 + rate). A $106.99 total at 7% gives 106.99 ÷ 1.07 = $99.99 before tax, and the tax is 106.99 − 99.99 = $7.00. Do not divide by the rate alone — that gives a number far too large.

Do I pay sales tax when I shop online?

Usually yes — online sellers collect the tax rate for the delivery address, so the same item can cost a different total depending on where it ships. The rate is the combined state, county and city rate for that address, and it appears as a tax line on the order confirmation. If no tax line appears, the seller may not collect in your state, but the tax rules for the purchase still depend on where you live.

Back to the Discount Price Calculator or home.