How to use the sales tax calculator
This tool has three modes, each covering a different sales tax question. Switch between them using the tabs at the top of the card. Everything updates as you type or select.
Add Tax (the default) calculates the total cost when you know the pre-tax price and the tax rate. Switch between Single item and Multiple items depending on what you're pricing. In multi-item mode, add rows for each item with its own quantity and unit price, and the tool computes the subtotal automatically. You can also apply a percentage or fixed discount before tax — the discount reduces the taxable subtotal, and tax is calculated on the discounted amount. Choose a state from the lookup dropdown or enter your own rate. The result updates instantly.
Extract Tax (reverse calculation) works when you have a tax-inclusive total and need to know the original pre-tax amount and how much tax was included. Enter the total, the tax rate, and optionally select a state. The tool applies the reverse formula and shows the pre-tax price, the tax amount, and the total you entered.
Find Rate answers "what tax rate was applied?" when you know two amounts. Enter the pre-tax amount and the total — or the tax amount — and the calculator divides to find the implied rate as a percentage.
In every mode you can choose a currency symbol and a rounding method: nearest cent, round up, round down, or no rounding (full precision). The result panel shows the key figures in prominent cards, a visual stacked bar chart shows the proportion of subtotal, discount, tax, and total, and a step-by-step solution walks through the formula with the actual numbers you entered. The state rate table below the tool lists combined state and average local rates for 2026 and is searchable — click any row to apply that rate.
Sales tax formulas
Every sales tax calculation comes down to four quantities: the pre-tax price, the tax rate, the tax amount, and the total price. Knowing any two lets you find the other two.
Adding tax to a price
Worked example. A $70 item with 6.5% tax. Convert 6.5% to a decimal: 0.065. Total = 70 × (1 + 0.065) = 70 × 1.065 = $74.55. The tax amount is 70 × 0.065 = $4.55.
Extracting tax from a total (reverse)
Worked example. A receipt shows $108.00 total with 8% tax. Pre-Tax = 108 ÷ 1.08 = $100.00. The tax included is 108 − 100 = $8.00.
💡 Common trap: the tax is not 8% of the total. 8% of $108 is $8.64, which would leave only $99.36 pre-tax — but $99.36 × 1.08 = $107.31, not $108. The correct reverse formula divides by (1 + rate), not multiplies by (1 − rate).
Finding the tax rate from two amounts
Worked example. You paid $53.75 for an item listed at $50.00. The tax amount is 53.75 − 50 = 3.75. Rate = (3.75 ÷ 50) × 100 = 7.5%.
2026 state and average local sales tax rates
Sales tax in the United States is a state-level tax, but most states allow local governments (counties, cities, special districts) to add their own rates on top. The combined rate is what consumers actually pay. The table below shows the state rate, the population-weighted average local rate, and the combined rate for each state as of January 1, 2026, according to the Tax Foundation.
| State | State rate | Avg local rate | Combined rate |
|---|---|---|---|
| Alabama | 4.00% | 5.29% | 9.29% |
| Alaska | 0.00% | 1.82% | 1.82% |
| Arizona | 5.60% | 2.80% | 8.40% |
| Arkansas | 6.50% | 2.96% | 9.46% |
| California | 7.25% | 1.60% | 8.85% |
| Colorado | 2.90% | 4.91% | 7.81% |
| Connecticut | 6.35% | 0.00% | 6.35% |
| Delaware | 0.00% | 0.00% | 0.00% |
| Florida | 6.00% | 1.00% | 7.00% |
| Georgia | 4.00% | 3.39% | 7.39% |
| Hawaii | 4.00% | 0.50% | 4.50% |
| Idaho | 6.00% | 0.03% | 6.03% |
| Illinois | 6.25% | 2.60% | 8.85% |
| Indiana | 7.00% | 0.00% | 7.00% |
| Iowa | 6.00% | 0.94% | 6.94% |
| Kansas | 6.50% | 2.25% | 8.75% |
| Kentucky | 6.00% | 0.00% | 6.00% |
| Louisiana | 5.00% | 5.11% | 10.11% |
| Maine | 5.50% | 0.00% | 5.50% |
| Maryland | 6.00% | 0.00% | 6.00% |
| Massachusetts | 6.25% | 0.00% | 6.25% |
| Michigan | 6.00% | 0.00% | 6.00% |
| Minnesota | 6.875% | 1.05% | 7.93% |
| Mississippi | 7.00% | 0.07% | 7.07% |
| Missouri | 4.225% | 3.75% | 7.98% |
| Montana | 0.00% | 0.00% | 0.00% |
| Nebraska | 5.50% | 1.44% | 6.94% |
| Nevada | 6.85% | 1.38% | 8.23% |
| New Hampshire | 0.00% | 0.00% | 0.00% |
| New Jersey | 6.625% | 0.00% | 6.625% |
| New Mexico | 4.875% | 2.74% | 7.62% |
| New York | 4.00% | 4.53% | 8.53% |
| North Carolina | 4.75% | 2.24% | 6.99% |
| North Dakota | 5.00% | 2.04% | 7.04% |
| Ohio | 5.75% | 1.47% | 7.22% |
| Oklahoma | 4.50% | 4.49% | 8.99% |
| Oregon | 0.00% | 0.00% | 0.00% |
| Pennsylvania | 6.00% | 0.34% | 6.34% |
| Rhode Island | 7.00% | 0.00% | 7.00% |
| South Carolina | 6.00% | 1.52% | 7.52% |
| South Dakota | 4.20% | 2.02% | 6.22% |
| Tennessee | 7.00% | 2.56% | 9.56% |
| Texas | 6.25% | 1.97% | 8.22% |
| Utah | 6.10% | 1.16% | 7.26% |
| Vermont | 6.00% | 0.36% | 6.36% |
| Virginia | 5.30% | 0.45% | 5.75% |
| Washington | 6.50% | 2.97% | 9.47% |
| West Virginia | 6.00% | 0.55% | 6.55% |
| Wisconsin | 5.00% | 0.72% | 5.72% |
| Wyoming | 4.00% | 1.56% | 5.56% |
⚠ Rates are averages, not guarantees. Your actual combined rate depends on the specific city, county, and special districts where you're purchasing. Always use the exact rate from your locality for accounting, invoicing, or tax filing.
Rounding rules for sales tax
Most jurisdictions require the tax amount to be rounded to the nearest cent. When the third decimal digit is 5 or greater, round up; when it is less than 5, round down. Some systems round the total tax up for every transaction (a practice called "penny rounding" or "rounding up to the next cent"). The calculator supports four options:
- Nearest cent: standard rounding — 4.555 becomes 4.56, 4.554 becomes 4.55.
- Round up: always round the tax amount up to the next cent — 4.551 becomes 4.56.
- Round down: always round the tax amount down to the previous cent — 4.559 becomes 4.55.
- No rounding: keep full floating-point precision. Use this when you're chaining calculations and want to avoid compounding rounding errors.
💡 Best practice: round only once, at the end of the calculation. If you round the pre-tax amount, then calculate tax, then round the tax, you can introduce small discrepancies compared to a system that rounds once on the final tax amount.
Multiple items and discounts
When you're pricing a basket of goods, calculate the subtotal first: add up quantity × unit price for every item. Apply any discount to the subtotal, then calculate tax on the discounted subtotal. The formula is the same — only the taxable amount changes.
Worked example. Two items: 3 × $12.00 = $36.00 and 1 × $24.00 = $24.00. Subtotal = $60.00. A 10% discount reduces the subtotal to $54.00. With 8% tax: Tax = 54 × 0.08 = $4.32. Total = $54.00 + $4.32 = $58.32.
The multi-item mode handles this automatically: enter each item with its quantity and unit price, set the discount, and the calculator computes the subtotal, discount, taxable amount, tax, and total.
Sales tax vs. VAT and GST
In the United States, the standard consumption tax is sales tax — collected once at the point of final sale to the consumer. In most other countries, the equivalent tax is a Value-Added Tax (VAT) or Goods and Services Tax (GST), which is collected at each stage of the supply chain, with businesses crediting the tax they've already paid on inputs. The consumer-facing price typically includes VAT/GST, while US sales tax is usually added at checkout. The formulas in this calculator work for any of them — the arithmetic is identical; only the terminology changes.
Common sales tax mistakes
- Applying the tax rate to the total instead of the pre-tax price. The tax rate applies to the pre-tax amount. If you have a total and need the tax included, divide by (1 + rate) first.
- Using a state rate when a local rate applies. Most consumers pay more than the state base rate because of county and city add-ons.
- Forgetting to round. A tax amount of 4.5545 is not a valid currency figure. Round to the nearest cent, or apply the rounding rule your jurisdiction requires.
- Mixing up discounts and tax. A discount reduces the taxable amount. Tax is calculated on the discounted subtotal, not the original price.
- Assuming tax is the same everywhere in a state. Even within one state, the combined rate can vary by several percentage points depending on the city and county.
Limitations
- The state rate table shows average combined rates. Your exact rate may differ. Use the state selector as a starting point, then enter your local rate if you know it.
- The calculator applies a single tax rate to the entire basket. In reality, some items may be exempt or taxed at a different rate (groceries, prescription medicine, clothing in some states).
- It does not handle compound tax jurisdictions where multiple rates apply to different portions of the same transaction.
- Currency symbols are for display only; the calculator does not perform currency conversion.
Frequently asked questions
What is the sales tax formula?
To add tax: Total = Pre-Tax Price × (1 + Tax Rate). To find the tax amount: Tax = Pre-Tax Price × Tax Rate. To reverse: Pre-Tax = Total ÷ (1 + Tax Rate). To find the rate: Rate = ((Total − Pre-Tax) ÷ Pre-Tax) × 100.
How do you reverse-calculate sales tax from a total?
Divide the tax-inclusive total by (1 + tax rate as a decimal). Example: $108 total with 8% tax → 108 ÷ 1.08 = $100 pre-tax, so $8 was tax included.
What is the difference between sales tax and VAT?
Sales tax is collected once at the final retail sale. VAT (Value-Added Tax) is collected at each stage of production and distribution, with businesses crediting tax already paid on inputs. The US uses sales tax; most other countries use VAT or GST.
Which states have no sales tax?
Five states have no statewide sales tax: Alaska, Delaware, Montana, New Hampshire, and Oregon. Alaska allows local sales taxes.
How does rounding work in sales tax calculations?
Most jurisdictions require rounding the tax amount to the nearest cent. The calculator offers nearest-cent, round-up, round-down, and no-rounding options so you can match your jurisdiction's rule.
Can I calculate sales tax for multiple items?
Yes. Switch to Multi-item mode, add rows for each item with quantity and unit price, and apply one tax rate to the discounted subtotal.
Does the calculator handle discounts?
Yes. Apply a percentage or fixed-amount discount before tax. The discount reduces the taxable subtotal, and tax is calculated on the discounted amount.
How accurate are the state sales tax rates?
The table shows combined state and average local rates from the Tax Foundation's 2026 data. Actual rates vary by city and county, so use the table as a starting point and enter your exact local rate for precision.
Does the tool save my calculations?
No. Everything runs entirely in your browser. Nothing is uploaded, logged, or stored on a server. The share button encodes the current state into the URL hash on your device only.
Related calculators on AIToolsPros
Sources & methodology
- Tax Foundation — State and Local Sales Tax Rates, 2026. Population-weighted average local rates as of January 1, 2026.
- Calculator.net — Sales Tax Calculator reference for three-mode (before-tax, rate, after-tax) calculator design.
- CalculatorSoup — Sales Tax Calculator for formula verification and example calculations.
- Standard sales tax formulas as used by US state revenue departments and retail accounting systems.