HomeBlogHow to Calculate Sales Tax: Formula, Examples and a Quick Shortcut
Tutorial

How to Calculate Sales Tax: Formula, Examples and a Quick Shortcut

LoveMyTools Team October 25, 2026 5 min read
How to Calculate Sales Tax: Formula, Examples and a Quick Shortcut

Most people half-know how sales tax works. You multiply by something, add it on, and the number at the register is roughly what you expected. Then you start pricing products for a store, checking an invoice, or working out what a $1,200 laptop really costs in your state, and “roughly” stops being good enough.

The calculation is one line. What catches people out is the rate, the order of the steps, and a handful of small rules about discounts and rounding. Here is all of it in one place.

The formula

Turn the tax rate into a decimal by dividing it by 100. Multiply the pre-tax price by that decimal and you have the tax. Add the tax to the price and you have the total.

  • Sales tax = price × (rate ÷ 100)
  • Total = price + sales tax

If you only want the total, there is a shorter route: total = price × (1 + rate ÷ 100). At 8.25 percent, that means multiplying the price by 1.0825.

Multiplying by a decimal without a calculator. Ignore the decimal point, multiply, then put it back. For $80 × 0.0825, work out 80 × 825 = 66,000. The rate 0.0825 has four digits after the point, so move the decimal four places from the right: 6.6000, or $6.60.

Worked examples

Price Rate Sales tax Total
$80.00 8.25% $6.60 $86.60
$249.99 7% $17.50 $267.49
$1,200.00 6.5% $78.00 $1,278.00
$19.95 9.5% $1.90 $21.85

Take the first row. 8.25 divided by 100 is 0.0825. Multiply $80 by 0.0825 and you get $6.60. Add that to $80 and the total is $86.60. The second row shows rounding at work: $249.99 × 0.07 is $17.4993, which rounds to $17.50.

A mental-math shortcut for the checkout line

You don’t need a calculator for a rough figure. Find 10 percent of the price by moving the decimal point one place to the left, then adjust.

Say you’re buying something for $45 where the rate is 8 percent. Ten percent is $4.50 and one percent is 45 cents. Eight percent is ten percent minus two lots of one percent, so $4.50 minus 90 cents, which is $3.60. For a 9 percent rate you would subtract a single 1 percent. For 7 percent, subtract three.

It won’t get you to the cent, but it will tell you quickly whether the price is going to be $50 or $55.

Getting the rate right

The formula is only as good as the number you put into it. The rate you pay is usually a combination of a state rate, a county rate, a city rate and sometimes a special district, such as a transit authority. Using only the state rate is the most common reason a total comes out a bit low. Our guide on how to find your sales tax rate covers where to look.

Discounts, coupons and multiple items

Store discounts. In most cases, tax is charged on the price after the discount. An $80 item at 25 percent off costs $60 before tax. At 8.25 percent, the tax is $4.95 and the total is $64.95.

Manufacturer coupons. These can be treated differently from store discounts. Some states tax the full price and some tax the reduced price. The receipt is the final word.

Several items. Add up the taxable items first, then apply the rate once. Registers sometimes calculate tax line by line instead, so the register’s total can differ from your own by a cent or two.

Items that aren’t taxed. Many states exempt basic groceries, prescription medicine or some clothing, though the rules vary a lot. Leave exempt items out of the subtotal before you apply the rate.

Shipping. Whether delivery is taxable depends on the state, and sometimes on whether the item itself is taxable.

If you’re used to VAT

In the United States, the price on the shelf or the website usually leaves out tax, and the tax gets added at checkout. That is the opposite of the UK and Europe, where prices already include VAT. If you’re moving between the two, remember that a US price tag will always come out higher at the till.

For a UK price that includes 20 percent VAT, you can find the VAT portion by dividing the total by six. A £120 price contains £20 of VAT.

Mistakes that throw the total off

  • Typing 8.25 instead of 0.0825. Forgetting to convert the percentage multiplies the tax by a hundred.
  • Adding the rate to the price. Eight dollars is not the same as eight percent.
  • Taxing before the discount. It usually goes the other way round.
  • Using the state rate alone. Local rates are part of what you pay.
  • Working backward by subtracting the percentage. If a total of $86.60 includes 8.25 percent tax, subtracting 8.25 percent leaves $79.46. The real pre-tax price is $80.00, because the tax was charged on the smaller amount. The right move is to divide by 1.0825.

Skip the arithmetic

If you would rather not do any of this by hand, the Sales Tax Calculator adds tax to a price or removes it from a total. Enter your combined local rate and it does the rest.

This article is general information, not tax advice. If you sell goods and need to collect tax, check the rules with your state’s department of revenue.

Ready to try LoveMyTools?

Optimize your workflow with our professional tools for free.

Start Exploring