UnitCalcPro

Sales Tax Calculator

Add sales tax to a price to get the total, or work back from a receipt total to the price before tax and the tax you paid, at any rate.

Inputs

Results

Total with tax

$108.00

Sales tax

$8.00

8% of $100.00, rounded to the cent.

An estimate, not tax advice. Rates and what is taxable vary by state, county and city, so check with your state's department of revenue.

Adding tax or taking it out

Choose what you want to work out. Add tax to a price gives the tax and the total for a price before tax, which is what you need when shopping or writing an invoice. Find the price before tax works backward from a total, such as a receipt, to the price and the tax inside it.

Enter the combined rate for the place of sale, such as 7.25 for 7.25%. Both answers are rounded to the nearest cent, with half a cent rounding up.

The sales tax formulas

Adding tax and taking it out use the three formulas below. Taking the rate off the total is a common mistake: 8% off $108 is $99.36, but the price before 8% tax was $100, because the tax was 8% of $100, not of $108.

  • Sales tax = price × rate ÷ 100
  • Total = price + sales tax
  • Price before tax = total ÷ (1 + rate ÷ 100)

Worked example: a $249.99 purchase at 7.25%

For a $249.99 item at 7.25% sales tax, 249.99 × 7.25 ÷ 100 is 18.124275, which rounds to $18.12 of tax. The total is $268.11.

Going the other way, a receipt for $268.11 at 7.25% gives 268.11 ÷ 1.0725 = 249.986, which rounds to $249.99 before tax. The tax inside the total is $18.12.

Finding the rate where you are

In the US, sales tax is set by states and often added to by counties, cities and special districts. The rate you pay is the combined rate for the place of sale, which for online orders is usually your delivery address. Your state's department of revenue publishes current rates, and most let you look up the rate for an address.

Alaska, Delaware, Montana, New Hampshire and Oregon have no statewide sales tax, though some towns in Alaska and Montana charge a local one.

What gets taxed

Each state decides what is taxable. Many exempt or reduce the tax on groceries and prescription drugs, many services are not taxed, and shipping charges are taxed in some states but not others.

VAT and GST in other countries use the same arithmetic, but they are usually already included in shelf prices. Use Find the price before tax with the VAT or GST rate to see how much of a price is tax.

Sources

Frequently Asked Questions

How do I calculate sales tax in my head?
Turn the rate into a decimal by moving the point two places left, then multiply. For 6% on $40, 40 × 0.06 is $2.40, so you pay $42.40.
Do I pay sales tax on online orders?
Usually. Since the Supreme Court's 2018 decision in South Dakota v. Wayfair, states can require online sellers with enough sales in the state to collect sales tax, and every state with a sales tax now does.
Can I deduct sales tax on my federal return?
If you itemize, the IRS lets you deduct state and local general sales taxes instead of state and local income taxes, not both, within the overall limit on state and local tax deductions.
Why is my receipt a cent different?
Stores may round the tax on each item or once on the whole receipt, and state rules differ. Rounding item by item can come out a cent or two away from rounding the total once.
Add this calculator to your website

Free for any website, blog or class page. Paste this HTML where you want the tool to appear.