Guide

How to Calculate Sales Tax

Last updated: November 27, 2026

Hand pressing the keys of a black desk calculator to work out the sales tax on a purchase

The short answer

To get the sales tax, you multiply the price by the tax rate, then add the tax to the price to get the total.

Sales tax = price x rate
Total = price + sales tax = price x (1 + rate)

Write the rate as a decimal first: 8% is 0.08. For example, a $100 item at a 7.25% rate carries $7.25 of tax and costs $107.25. There is no single US sales tax rate. States and local jurisdictions set their own, so use the rate for the place where you buy.

Who this is for: use it if you are a shopper checking a receipt or a price tag. Who it is not for: a seller working out what to collect or remit, and anyone filing a return; those readers need to check their state’s revenue department.

Step-by-step

  1. Find the rate for your location. Use the combined rate (state plus local) for the address where the sale is taxed. See the examples below for official sources.
  2. Turn the rate into a decimal. Divide by 100. 6.25% becomes 0.0625.
  3. Multiply the price by the decimal. That is the sales tax. $100 x 0.0625 = $6.25.
  4. Add the tax to the price. $100 + $6.25 = $106.25 total.
  5. Round to the cent. Tax is paid in whole cents, so round the tax amount to 2 decimals.

A common mistake is forgetting to divide the percentage by 100. A rate of 8% multiplied as 8 instead of 0.08 gives 100 times too much tax.

Worked examples with official state rates

Example Price before tax Rate Sales tax Total
Texas, state rate (Texas Comptroller) $100.00 6.25% $6.25 $106.25
Texas, maximum combined rate (Texas Comptroller) $100.00 8.25% $8.25 $108.25
California, statewide rate (CDTFA) $100.00 7.25% $7.25 $107.25
New York City combined rate (NY State Tax Dept.) $1,200.00 8.875% $106.50 $1,306.50

These are the rates as read on 2026-11-25. Check the current rate before you rely on it.

Person counting dollar bills on a couch next to a laptop while working out the sales tax on a purchase

Four directions of the same math

You know You want Formula
Price and rate Tax amount tax = price x rate
Price and rate Total total = price + tax
Total and rate Price before tax price = total / (1 + rate)
Price before tax and tax The rate rate = tax / price before tax

Finding the price before tax from a total

If the total already includes tax, divide by 1 plus the rate. A $108.25 total at 8.25% is $108.25 / 1.0825 = $100.00 before tax, and the tax is $8.25. The reverse sales tax calculator does this for you.

Do not subtract the rate from the total. Taking 8% off $108.00 gives $99.36, but the real price before tax is $100.00, because the 8% is charged on the price, not on the total.

Finding the rate from a receipt

Divide the tax by the price before tax. If a receipt shows $7.50 of tax on a $100.00 item, the rate is 7.50 / 100.00 = 0.075, which is 7.5%.

Why rates differ between cities in the same state

States set a state rate, and many allow local governments to add their own. In Texas, local jurisdictions can add up to 2% on top of the 6.25% state rate. In California, the statewide rate is 7.25% and the CDTFA says most areas have added district taxes. In New York City, the combined 8.875% includes a 4% state rate plus city and MCTD portions. That is why two addresses in the same state can have different totals.

Is sales tax calculated before or after a discount or coupon?

It depends on who pays for the discount. In New York, a store-issued coupon generally lowers the sales tax due, while a manufacturer’s coupon generally does not, because the seller is reimbursed for the manufacturer’s coupon and tax applies to the full price (New York Tax Bulletin ST-140). For a $1.00 item at 8%, a 25-cent manufacturer’s coupon still carries $0.08 of tax, while a 25-cent store coupon leaves tax on $0.75, which is $0.06. Texas treats it differently: coupons or certificates a retailer accepts as part of the selling price are excluded from the taxable price as a cash discount, whether or not the retailer is reimbursed (34 Tex. Admin. Code section 3.301(e)). Where tax applies to the discounted price, calculate the tax on that lower price with the same formula. Rules differ by state, so ask your state’s revenue department about your own case.

Which states have no statewide sales tax?

Five states have no general statewide sales tax: Alaska, Delaware, Montana, New Hampshire and Oregon. Each state’s own revenue or commerce site says so (links in Sources). Alaska has no state sales tax, but several local municipalities within the state do levy one (Alaska Department of Commerce, Office of the State Assessor). Your state’s revenue department can confirm the position for your address.

Sales tax in Excel or Google Sheets

With the price in A2 and the rate as a decimal in B2 (for example 0.0825):

  • Tax: =A2*B2
  • Total: =A2*(1+B2)
  • Price before tax from a total in A2: =A2/(1+B2)

Divisors for common rates

To remove tax from a total, divide by the divisor.

Where Rate Divisor (1 + rate)
Texas state rate 6.25% 1.0625
Texas maximum combined 8.25% 1.0825
California statewide 7.25% 1.0725
New York State 4% 1.04
New York City combined 8.875% 1.08875

Frequently asked questions

How do you calculate sales tax on an item, step by step?

Find the rate, turn it into a decimal, multiply it by the price, and add the result to the price. $100 at 7.25% is $100 x 0.0725 = $7.25 tax, and $107.25 total.

What is the formula for sales tax and for the total cost?

Sales tax = price x rate. Total = price + tax, or price x (1 + rate).

How do I find the price before tax when the total already includes tax?

Divide the total by 1 plus the rate. A $108.25 total at 8.25% gives $100.00.

Can you work out the tax rate from a receipt?

Divide the tax amount by the price before tax. $7.50 on $100.00 is 7.5%.

Is sales tax calculated before or after a discount or coupon?

It depends on who funds the discount. A store coupon generally lowers the taxable price in New York, a manufacturer’s coupon generally does not, and Texas excludes accepted coupons from the taxable price. See the section above for the sources.

Why is the sales tax rate different in different cities in the same state?

Local jurisdictions can add their own rates on top of the state rate, as in Texas (up to 2%), California (district taxes) and New York City.

Which states have no statewide sales tax?

Alaska, Delaware, Montana, New Hampshire and Oregon, per each state’s own government site. Several Alaska municipalities levy local sales taxes.

What is the Excel or Google Sheets formula for sales tax?

Tax = price cell x rate cell, with the rate as a decimal. See the formulas above.

Sources

Related

The Calc Guide, educational content, not financial advice.