Sales Tax Explained: How to Calculate It, Take It Out of a Total and What Online Sellers Must Know

Updated: October 13, 20266 min read (1295 words)ClaruSite Editorial Team

Sales tax is price × rate, and you can extract it from a total by dividing by 1 plus the rate. See worked examples, how a discount before tax lowers it and what changed for online sellers.

Sales Tax Explained: How to Calculate It, Take It Out of a Total and What Online Sellers Must Know
calculateInteractive Tool

Want to calculate your exact scenario?

Use our free Sales Tax Calculator 2026 — State & Local Rates by State to get accurate numbers in seconds with verified US benchmarks.

Calculate Nowarrow_forward
Quick Answer: Sales tax = price × tax rate. At a combined rate of 8.2% (Texas' state rate of 6.25% plus an average local rate of 1.95%), a $100 item costs $108.20. To find the tax inside a receipt, divide the total by 1 plus the rate: $108.20 ÷ 1.082 = $100, so the tax was $8.20. Rates differ by state, county and city, so use the rate for the place of the sale.

How Sales Tax Works

Sales tax is a percentage added to the price of many goods and some services, collected by the seller at the time of the sale and sent to the state (and often to counties and cities). In the U.S. there is no national sales tax: each state decides what is taxed, at what rate and who must collect it.

A few useful facts:

👉 Calculate sales tax for any state with our free sales tax calculator →


Adding Tax to a Price

The formula: total = price × (1 + rate), and tax = price × rate. These examples use illustrative rates; replace them with your own:

PriceRateSales TaxTotal
$1006.00%$6.00$106.00
$1008.20%$8.20$108.20
$2507.25%$18.13$268.13
$1,2008.875%$106.50$1,306.50

Swipe sideways to see all columns. On a big purchase the tax is significant: at 8.875%, a $1,200 item adds $106.50.


Taking the Tax Out of a Total (Reverse Sales Tax)

If you only have the receipt total, find the price before tax by dividing: price = total ÷ (1 + rate), and tax = total − price.

Total PaidRatePrice Before TaxSales Tax Inside the Total
$53.006.00%$50.00$3.00
$108.208.20%$100.00$8.20
$215.007.50%$200.00$15.00

A common mistake is to take the rate off the total (for example, 7.5% of $215 = $16.13). That is wrong, because the tax was calculated on the smaller price, not on the total. This matters when you are tracking business expenses, reconciling receipts or setting a price that includes tax.


Discounts and Quantity

In most states a store discount reduces the price before tax is calculated, so you pay less tax. A $200 item with a 25% discount and a 7% rate:

PriceTax at 7%Total
No discount$200.00$14.00$214.00
25% discount$150.00$10.50$160.50

The discount saves $50, and the tax falls by another $3.50. Manufacturer coupons and some rebates are treated differently in some states, so check how your state taxes them. With several items, the tax is calculated on the combined taxable amount, so multiply the price by the quantity first.


What Online Sellers Need to Know

For many years, a seller only had to collect sales tax in states where it had a physical presence. In South Dakota v. Wayfair (2018) the Supreme Court allowed states to require out-of-state sellers to collect tax once they pass an economic threshold, called economic nexus. As a result:

If you sell in a state where you must collect tax and do not, you can owe the uncollected tax, plus penalties and interest, out of your own pocket.


What Buyers Should Know: Use Tax

If you buy something from an out-of-state seller that did not collect tax, your state may still expect you to pay a use tax at its rate, usually when you file your state income tax return. Many consumers do not realize it exists, but it applies to the same purchases that would have been taxed in your state.


Frequently Asked Questions

How do I calculate sales tax?

Multiply the price before tax by the rate (as a decimal). Add that tax to the price for the total. For an 8.2% rate on $100, the tax is $8.20 and the total is $108.20.

How do I find the sales tax in a total?

Divide the total by 1 plus the rate to find the price before tax, and subtract the price from the total to find the tax.

Why is my rate different from the state rate?

Because counties, cities and special districts add local taxes on top of the state rate. The combined rate depends on the exact location of the sale.

Is sales tax charged on shipping?

It depends on the state: some tax shipping charges and others do not, or only when they are not separately stated. Check the rule in the state where you sell.

Do I need to collect sales tax if I sell online?

Often yes, in states where you have a physical presence or exceed that state's economic threshold, unless a marketplace collects it for you. Rules differ by state, so check with each state or a tax professional.


Sales tax is simple arithmetic once you have the right rate. The harder questions are which rate applies and, for sellers, where you must collect it. Use the calculator for quick answers on any price or total, and check your state's current rules before you rely on any rate. If you sell online, keep sales tax separate from your revenue and track where your sales go.


Disclaimer: This guide is intended solely for educational and informational purposes and does not constitute personalized financial, legal, or tax advice. Sales tax rates, exemptions and thresholds differ by state and local area and change often, and the rates in the examples are illustrations. Check your state's revenue department and consult a qualified tax professional before you collect, file or pay sales tax.

Related Financial Guides