How to Calculate Sales Tax (With State Examples)

In the US, prices on shelves usually do not include tax, so knowing how to calculate sales tax tells you what you will actually pay at the till. The basic calculation is a single multiplication; the tricky part is knowing the right rate, because it changes from state to state and often from city to city.

Screenshot of the Sales Tax Calculator on Assen Tools
The Sales Tax Calculator in use. Open the Sales Tax Calculator – free, no sign-up.

The formula

Sales tax = Price × Tax rate

Total price = Price × (1 + Tax rate)

Write the rate as a decimal: 7.25% is 0.0725, 6% is 0.06.

Worked examples

$80 at 7.25% (California's statewide base rate)

  • Tax: 80 × 0.0725 = $5.80
  • Total: $85.80

$250 at 8.25% (a combined state and local rate common in Texas cities)

  • Tax: 250 × 0.0825 = $20.63
  • Total: $270.63

$1,200 at 0% (Oregon has no sales tax)

  • Total: $1,200

The Sales Tax Calculator works out the tax and total for any price and rate, and can also work backwards from a total.

State and local rates

Sales tax in the US is set by states, and many counties and cities add their own local rate on top. For example, Texas has a 6.25% state rate, but local taxes can bring the combined rate to 8.25% in many places. Five states – Alaska, Delaware, Montana, New Hampshire and Oregon – have no statewide sales tax, although some Alaskan towns charge a local one.

Rates change from time to time, so check your state's revenue department website or your receipt for the current combined rate.

Finding the price before tax

If you know the total and the rate, divide to find the original price:

Price before tax = Total ÷ (1 + Tax rate)

Example: a receipt shows $107.50 including 7.5% tax.

  • 107.50 ÷ 1.075 = $100.00 before tax
  • Tax paid: $7.50

Finding the tax rate from a receipt

Divide the tax by the pre-tax price and multiply by 100. $4.20 tax on $60 is 4.20 ÷ 60 × 100 = 7%.

Sales tax vs VAT

Many countries use VAT (value added tax) instead. VAT is usually included in the shelf price, and the rates are higher – 20% in the UK, 7.5% in Nigeria, and around 19–25% across much of Europe. The maths is the same; our guide on how to calculate VAT shows how to add and remove it.

Tax, discounts and tips

Keeping records

If you run a small business or freelance, keep a simple record of the tax you charge and the tax you pay on business purchases. A spreadsheet with columns for date, amount before tax, rate, tax and total is enough to start. Many states require sellers to register and file returns, so check the rules where you trade or speak to an accountant.

Frequently asked questions

What is 7% sales tax on $100? $7, making a total of $107.

Is sales tax charged on everything? No. Many states exempt or reduce tax on groceries, prescription medicine and some clothing. Rules vary by state.

Do I pay sales tax on online purchases? In most states, yes – large online retailers collect tax based on the delivery address.

How do I calculate tax in my head? Find 10% by moving the decimal point, then adjust. For 8% on $45: 10% is $4.50, so 8% is a little less – about $3.60.

Now you know how to calculate sales tax forwards and backwards, and how to check the rate on any receipt.

Jonathan Nwachukwu, founder of Assen Tools

Written by

Jonathan Nwachukwu · Founder & developer

Jonathan is a freelance web developer and web development teacher who builds Laravel, WordPress and WooCommerce sites for clients. He built AssenTools to put the everyday file, photo and calculation jobs he kept doing for clients and students into one free, private toolbox, and he maintains every tool and guide on the site.