Sales tax sits in an awkward spot. In the US and a few other places, shelf prices are shown before tax, so the amount at the till is always a little higher than the tag. Businesses need to add the right tax to quotes and invoices, bookkeepers need to split receipt totals into price and tax, and shoppers sometimes want to check that the rate charged was correct.
This guide covers all three calculations: adding tax, reversing it out of a total, and finding the rate from a receipt. It also explains how state and local rates combine and the details that commonly cause mismatches. Rates in the examples are illustrations; the correct rate depends on your exact location and the item, so check your state's revenue department for current figures.
How US-style sales tax works
Sales tax is added once, at the final retail sale. A state sets a base rate, and in many states counties, cities and special districts add their own local rates on top. The rate that applies is the combined rate for the place where the sale happens, which for deliveries is often the delivery address.
Some items may be exempt or taxed at a lower rate, groceries and clothing being common examples in some states, and a few states have no statewide sales tax at all. That variety is why a single national "sales tax rate" does not exist.
Adding sales tax
Tax = Price × rate ÷ 100
Total = Price × (1 + rate ÷ 100)
Worked example. You sell 3 items at 49.99 each where the state rate is 6.25% and the local rate is 2%, for a combined 8.25%.
- Subtotal: 3 × 49.99 = 149.97
- State tax: 149.97 × 6.25% ≈ 9.37
- Local tax: 149.97 × 2% ≈ 3.00
- Total tax: 12.37
- Total: 162.34
Adding the two rates first (8.25%) and applying them once gives the same tax, 12.37.
Reversing sales tax out of a total
If you have only the total paid, divide by one plus the rate:
Price before tax = Total ÷ (1 + rate ÷ 100)
Tax = Total − Price before tax
Example. A receipt shows 64.95 total at 8.25%.
- Pre-tax price: 64.95 ÷ 1.0825 = 60.00
- Tax: 64.95 − 60.00 = 4.95
Subtracting 8.25% of the total (64.95 × 0.9175 ≈ 59.59) is wrong, because the tax was calculated on the pre-tax price, not on the total. This is the same trap as removing VAT, just with a different tax.
Finding the rate you were charged
If you know both the pre-tax price and the total:
Rate = (Total ÷ Price − 1) × 100
Example. An 80.00 item came to 86.60. Rate = (86.60 ÷ 80 − 1) × 100 = 8.25%. If that differs from the rate you expected, the seller may have used a different location's rate or treated the item differently, or a fee may have been taxed as well.
Calculate it with our tool
The Sales Tax Calculator handles all three cases and runs locally in your browser.
- Open the Sales Tax Calculator. Under Calculate, choose Add tax, Reverse tax or Find rate.
- Enter the Price before tax (or Price per item with a Quantity), or the Total paid (including tax) when reversing.
- Enter the State / main tax rate and, if applicable, the Local (county, city) rate. The two are combined and each part of the tax is shown separately.
- Choose your Currency.
- Read the price, tax and Total with tax, then click Copy result to paste the lines elsewhere.
The tool does not include a rate table. That is deliberate: rates change and depend on precise addresses, so an outdated built-in list would be worse than entering the current figure yourself.
Other ways to do it
Official rate lookups
Many state revenue departments publish current rates and offer a lookup by address. For businesses, that is the authoritative source for which rate to charge.
Point-of-sale and e-commerce systems
Checkout software usually calculates tax automatically from the delivery address. A calculator is still useful for checking a figure, preparing a quote or splitting a receipt for expenses.
A spreadsheet
With the total in A2 and the combined rate in B2, =ROUND(A2/(1+B2),2) gives the pre-tax price. For adding tax to a list of prices, =ROUND(A2*B2,2) gives the tax per line.
Tips and common pitfalls
Apply discounts before tax
In most cases, tax is charged on the discounted selling price. Work out the reduced price with the Discount Calculator first, then add tax. Manufacturer coupons can be treated differently in some states, so check local rules if exactness matters.
Watch per-line rounding
Point-of-sale systems may round tax per item or on the whole basket, which can cause a one-cent difference from your own calculation. Neither is necessarily wrong.
Know what else is taxable
Shipping, delivery and service fees are taxable in some places and not in others. If your "Find rate" result looks odd, a taxed fee is a likely cause.
Big purchases deserve a second look
On a vehicle, sales tax may be calculated after a trade-in credit in some states. The Car Loan Calculator has a switch for exactly that.
VAT and GST are different systems
Outside the US, prices usually already include VAT or GST. Use the VAT Calculator or GST Calculator there. The formulas look the same, but the price you start from is normally tax-inclusive.
For a quick sanity check of any single percentage step, the Percentage Calculator is handy.
Frequently asked questions
How do I calculate sales tax on a purchase?
Multiply the price by the rate as a decimal. At 8.25%, a 100 item has 8.25 of tax, for a total of 108.25.
How do I work out the price before tax from a total?
Divide the total by (1 + rate ÷ 100). A 64.95 total at 8.25% gives 64.95 ÷ 1.0825 = 60.00 before tax.
How do I find the sales tax rate on a receipt?
Divide the total by the pre-tax price, subtract 1 and multiply by 100. An 80.00 item totalling 86.60 was taxed at 8.25%.
How do state and local sales taxes combine?
They are added together into a combined rate, which is applied to the taxable price. The calculator shows the state and local portions separately.
Does the calculator know my state's rate?
No. Rates change and depend on the exact location and item, so you enter the current rate yourself from an official source.