Tax, Payroll & Insurance Sales Tax, VAT & Duties State and local sales and use tax; sourcing under Wayfair (2018)

Sales Tax Calculator

Sales tax in the United States is almost never one rate. A single purchase can carry a state rate, a county rate, a city rate and one or more special district rates, all applied to the same taxable amount and all remitted through one return. This calculator adds them, shows what each jurisdiction takes, and gives you the total to pay. It also handles the rounding question that trips up multi-unit invoices: tax on the line total, or tax per item.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Price per item before taxThe taxable price of one unit, after any discount and before tax is added.49.99 $
QuantityNumber of units on the line; used for the per-item rounding option.1
State rateThe statewide rate published by your state's department of revenue.6.25 %
County rateCounty or parish rate for the address where the sale is sourced.1.0 %
City rateMunicipal rate; leave at 0 for an address outside any incorporated city.0.75 %
Special district rateTransit, stadium, library or hospital district rates — add them together if several apply.0.5 %
Rounding basisMost states compute tax on the invoice total; a few apply a per-transaction bracket schedule.Tax the line total, then round

It returns

  • Total to pay — Taxable subtotal plus sales tax.
  • Sales tax
  • Combined rate
  • Taxable subtotal
  • Tax per unit

The formula

Tax=PQ(r1+r2+r3+r4)
T=S(1+r)

In plain text: Tax = price × quantity × (r_state + r_county + r_city + r_district); Total = subtotal + tax

  • PTaxable price of one unit, after discounts ($)
  • QQuantity on the line (units)
  • r₁…r₄State, county, city and special district rates, as decimals (decimal)

All four rates apply to the same taxable base, so they can simply be added before multiplying. No jurisdiction charges tax on another jurisdiction's tax.

Updated Category Sales Tax, VAT & Duties Verified against published test cases Reading time 10 min

Why a sales tax rate is really four rates

Sales tax in the United States is imposed at the state level and then layered with local taxes that the state usually collects on the retailer's behalf. A shopper sees one percentage on the receipt, but that number is the sum of a state rate, a county rate, a city rate, and any special district rates for transit, stadiums, libraries or hospitals.

The layers matter for two reasons. First, they change over a short distance: two shops a mile apart can charge different combined rates because one sits inside a city boundary or a transit district and the other does not. Second, they are administered separately, so a retailer filing a return allocates the tax collected across each jurisdiction, which is why this calculator breaks the total down by layer rather than reporting one lump.

Five states — Alaska, Delaware, Montana, New Hampshire and Oregon — levy no statewide general sales tax. Alaska is the case worth remembering, because it still permits local sales taxes, so a purchase there can be taxed at the borough or city level with a state rate of zero. California has the highest statewide rate at 7.25 percent, and combined rates above 10 percent occur in a number of localities.

Every rate applies to the same taxable base. No jurisdiction taxes another jurisdiction's tax, which is why the four rates can simply be added before a single multiplication.

The formula and the questions it hides

The arithmetic is one multiplication: taxable subtotal times the combined rate. The judgement is all in the word taxable.

What is in the base? Most states tax tangible personal property and a listed set of services. Groceries, prescription drugs and clothing are exempt or taxed at a reduced rate in many states, and the boundaries are notoriously arbitrary — the same item can be taxable hot and exempt cold. Shipping is taxable in some states, exempt in others, and taxable only when combined with handling in a third group.

Which address sets the rate? That is the sourcing question. Most states use destination sourcing, so the rate is the rate at the delivery address, not at the seller's warehouse. A minority use origin sourcing for intrastate sales. Since South Dakota v. Wayfair in 2018, a remote seller can be required to collect tax in a state where it has no physical presence once it crosses that state's economic nexus threshold.

When does the discount come off? A retailer's own discount reduces the taxable price; a manufacturer's coupon that the retailer is reimbursed for generally does not, because the retailer still receives the full amount. Enter the price after any store discount.

How is it rounded? Most states require the tax to be computed on the invoice total and rounded to the nearest cent, which is why that is the default here. A few states publish a bracket schedule that assigns a tax amount to each price range, and rounding each item separately can differ from the invoice method by a cent or two on a multi-unit line. The calculator shows both figures whenever they disagree.

Worked example: three items at $49.99 with an 8.5 percent combined rate

A customer buys three items at $49.99 each in a jurisdiction with a 6.25 percent state rate, a 1.00 percent county rate, a 0.75 percent city rate and a 0.50 percent transit district rate.

  1. Combined rate. 6.25 + 1.00 + 0.75 + 0.50 = 8.50 percent.
  2. Taxable subtotal. 49.99 × 3 = $149.97.
  3. Sales tax. 149.97 × 0.085 = 12.74745, rounded to $12.75.
  4. Total. 149.97 + 12.75 = $162.72.
  5. Allocation. State: 149.97 × 0.0625 = $9.37. County: 149.97 × 0.01 = $1.50. City: 149.97 × 0.0075 = $1.12. District: 149.97 × 0.005 = $0.75. Those four round-to-cent figures add to $12.74, one cent under the invoice-basis total — which is exactly why the return is filed on the combined figure and the allocation is computed from unrounded amounts.

Change nothing but the rounding basis and the answer can move. On a line of five items at $1.10 with the same 8.5 percent rate, the invoice basis gives 5.50 × 0.085 = 0.4675, rounded to $0.47. Rounding per item gives 1.10 × 0.085 = 0.0935, rounded to $0.09, times five, which is $0.45. Two cents on a $5.50 sale is trivial; across a hundred thousand transactions it is not, which is why states are specific about the method.

How to read the result

Check the combined rate against a published lookup before trusting the total. Every state department of revenue publishes a rate lookup by address or ZIP+4. A plain five-digit ZIP code is not reliable: ZIP boundaries do not follow taxing boundaries, and a single ZIP can span two or more combined rates.

The tax per unit is not the tax on one item bought alone. On the invoice basis it is the line's rounded tax divided by the quantity, which is why it is shown to four decimal places. Use it for cost allocation, not as the amount a single-unit sale would carry.

Use tax fills the gap when no sales tax was charged. If you buy from a seller who does not collect in your state, most states require you to self-assess use tax at the same combined rate on your own return. The rate is identical; only the person remitting it changes.

Vehicle purchases follow their own path. Tax is generally due at the buyer's registration address rather than the dealership's, and many states reduce the taxable price by the value of a trade-in — an allowance worth the trade-in value times the combined rate. Enter the net taxable price if your state grants that credit.

The last column of the reference table is the one to memorise for receipts. An 8.5 percent rate is 7.834 percent of the tax-inclusive total, not 8.5 percent of it. Working backwards from a total requires that figure, which is what the reverse sales tax calculator does.

Sales tax at common combined rates

Sales tax at common combined rates. The last column is the share the tax takes of the tax-inclusive total, which is the figure you need when working backwards from a receipt.
Combined rateTax on $100Total on $100Tax on $1,000Tax as a share of the total
4.00%$4.00$104.00$40.003.846%
5.00%$5.00$105.00$50.004.762%
6.00%$6.00$106.00$60.005.660%
6.50%$6.50$106.50$65.006.103%
7.00%$7.00$107.00$70.006.542%
7.25%$7.25$107.25$72.506.760%
8.00%$8.00$108.00$80.007.407%
8.50%$8.50$108.50$85.007.834%
9.00%$9.00$109.00$90.008.257%
10.00%$10.00$110.00$100.009.091%

Every value is the rate applied to the stated base and rounded to the cent. The last column is r ÷ (100 + r), the share the tax takes of a tax-inclusive total.

Mistakes that produce the wrong tax

  • Using the state rate alone. In most populated areas the local layers add one to four points. On a $2,000 purchase that is $20 to $80 of missing tax.
  • Using a five-digit ZIP code to find the rate. ZIP boundaries were drawn for mail delivery and cross city and district lines. Use the full delivery address in the state's lookup tool.
  • Taxing an exempt item. Groceries, prescription drugs, and in some states clothing below a threshold are exempt or reduced. Enter only the taxable portion of a mixed basket.
  • Applying the seller's rate on a shipped order. Most states source a delivered sale to the destination address.
  • Forgetting shipping and handling. Where a state taxes delivery charges, they belong in the taxable subtotal.
  • Assuming a resale certificate covers everything. It exempts goods bought for resale, not supplies the business consumes itself — those are taxable, and if no tax was charged, use tax is due.
  • Compounding the layers. The rates are additive, not multiplicative. Applying them one after another overstates the tax.

Sales tax is not a VAT

A US sales tax is a single-stage tax charged only on the final retail sale. Businesses buying goods for resale present an exemption certificate and pay nothing, so the tax is collected once, at the end of the chain. A value added tax is charged at every stage, with each business reclaiming the tax on its inputs, so the same total lands on the consumer through a different mechanism. The practical difference for a buyer is that a VAT-inclusive price is normally displayed with the tax already in it, while a US price is normally displayed without it — which is why so many people need to work backwards from a receipt total.

Where this fits, and what to use instead

If you have a receipt total and need the pre-tax price for an expense report or a bookkeeping entry, work backwards with the reverse sales tax calculator — dividing by one plus the rate, not subtracting the rate from the total.

For a cross-border purchase, sales tax is only one of several charges. Customs duty, merchandise processing fees and brokerage all attach before any state tax question arises; the import duty and customs fee calculator handles that side.

For a retailer, the sales tax collected is not revenue and not an expense — it is money held in trust for the state between collection and remittance. That distinction matters when you price a product from a margin target: the tax sits outside the margin arithmetic entirely. The markup vs margin calculator and the selling price from margin calculator work on the pre-tax price.

One compliance note worth knowing. After Wayfair, each state sets its own economic nexus threshold — commonly a dollar amount of sales into the state, sometimes combined with a transaction count. Crossing it creates an obligation to register and collect, even with no property or staff in the state. The Streamlined Sales and Use Tax Agreement, which a majority of states have adopted in some form, exists to make those definitions and rate lookups consistent enough to automate.

Frequently asked questions

How do I find my combined sales tax rate?

Use your state department of revenue's address-based rate lookup and enter the full delivery address, not just the ZIP code. The lookup returns the state rate and every local rate that applies at that point. ZIP codes are unreliable because they were drawn for mail routing and frequently straddle city and special district boundaries.

Is sales tax charged on shipping?

It depends on the state. Some tax delivery charges in all cases, some exempt them when they are separately stated and the customer could have collected the goods instead, and some tax a combined shipping-and-handling charge while exempting pure freight. Where the charge is taxable, add it to the taxable subtotal before applying the rate.

What is the difference between sales tax and use tax?

The rate is the same; only who remits it changes. Sales tax is collected by the seller at the point of sale. Use tax is self-assessed by the buyer when a taxable item is bought without tax being charged — typically from an out-of-state seller with no collection obligation. Most state income tax returns include a line for it.

Do I charge tax based on my location or the customer's?

In most states, the customer's — destination sourcing. A minority use origin sourcing for sales delivered within the same state, but interstate sales are almost universally destination-sourced. Since the 2018 Wayfair decision, remote sellers must also collect in states where they exceed the economic nexus threshold.

Which states have no sales tax?

Alaska, Delaware, Montana, New Hampshire and Oregon levy no statewide general sales tax. Alaska is the exception that matters in practice: it allows local sales taxes, so many Alaskan purchases are taxed at a borough or city rate with a state rate of zero. Enter that local rate in the county or city field.

How is sales tax handled on a car purchase?

Tax is normally due at the rate for the address where the vehicle will be registered, not where the dealership sits, and it is usually collected at registration if the dealer is out of state. Many states also allow a trade-in credit, reducing the taxable price by the trade-in allowance — enter the net figure as the price so the credit is reflected.

Why does my receipt total differ from this calculator by a cent?

Almost always rounding. Retail systems may compute tax per line item, per tax jurisdiction, or on the invoice total, and each method can land a cent apart. Some states also publish a bracket schedule that assigns a fixed tax amount to each price range rather than multiplying. Switch the rounding basis above to see the alternative figure.

Can I deduct sales tax on my federal return?

Only if you itemise, and only by electing to deduct state and local sales taxes instead of state and local income taxes — you cannot claim both. The combined state and local tax deduction is subject to a cap, and the IRS publishes optional tables so you do not have to keep every receipt, with actual tax on large purchases such as a vehicle added on top.

References