← All postsSmall business owner checking tax on an invoice line while packing boxes for shipment

Work Out US Sales Tax for Orders Shipping to Different States

Add or remove sales tax on a US invoice line using state average rates or your exact local rate, with discount applied first.

US sales taxinvoice taxcombined ratestate sales taxtax-inclusive pricesmall business invoicingecommercebrowser tools
5 min readFinance, Tax & Retirement

You sell office furniture online from a small shop, and today's invoice has two lines: three desk chairs going to a customer in California and the same three to another in Texas. Each state taxes differently, and a discount complicates the sum. Sales Tax Calculator handles one line at a time, in US dollars, with a rate you either pick by state or type yourself.

The clip below shows a US sales tax calculation from price to total.

Calculate US sales tax online

Calculate US sales tax online

What the calculator is built around

US sales tax is a single percentage added at checkout, made up of a state rate and often county and city rates on top. The tool reflects that: you give it a price, a quantity, an optional discount percentage and one rate. Choosing a state from the menu fills in that state's average combined rate, with two buttons to switch between the average combined figure and the state-only base rate. The figures come from the Tax Foundation's sales tax tables, July 2026 release as stated on the page, and the page itself says they are starting points, not your exact local rate.

The calculator works in two directions. The Add Sales Tax tab takes a price before tax and returns the total. The Remove Sales Tax tab takes a price that already includes tax and returns the base price and the tax inside it.

Worked example: three chairs at $189.50

Enter $189.50 as the price, 3 as the quantity and 10 as the discount. The subtotal is $568.50, the discount is $56.85, and the discounted price is $511.65. Tax is calculated on that discounted amount, not on the original subtotal.

For the California line, choose California, which fills in the average combined rate of 9.03 percent. Tax is $46.20 and the total is $557.85. For the Texas line, choose Texas at 8.2 percent combined: tax is $41.96 and the total is $553.61. If you press the state-only button for Texas, the rate becomes 6.25 percent, tax drops to $31.98 and the total to $543.63, which would be wrong for most Texas addresses because cities and counties add to the base. The gap between those two Texas results shows why picking the right rate matters more than the arithmetic.

Steps in the order of the page

  1. Pick the tab: Add Sales Tax for a pre-tax price, Remove Sales Tax for a price with tax included.
  2. Choose the ship-to state from the menu, which fills in its average combined rate. You can also open the page with a state in the address, for example by adding ?state=CA to the page link, and the rate is set for you.
  3. If you know the exact local rate for the customer's address, type it into the Sales Tax Rate box, replacing the average.
  4. Enter the price each, then the quantity, then any discount percentage.
  5. Read the total and tax at the top, and the base price and tax in the two boxes below. When a discount is entered, a line shows how much came off and from what subtotal.

Reversing a receipt

Remove Sales Tax answers a different question: what did the item cost before tax? Take a receipt for $54.30 from a store in Washington, where the tool's average combined rate is 9.57 percent. In the Remove tab the tool divides by 1.0957, giving a base price of $49.56 and tax of $4.74. That is not the same as taking 9.57 percent off $54.30, which would give $5.20 of tax and the wrong base. This is the most common error when people back tax out by hand.

For a state with no sales tax at all, such as Oregon, the rate fills in as 0 and four items at $42 simply total $168.00. That is a useful reminder that a zero rate is a legitimate result, not a bug.

Where the numbers can mislead

  • Using the average rate as the exact one. Averages blend places with high and low local rates, so a given address can be above or below it. The page links to the Tax Foundation tables, and your state's revenue department publishes the authoritative rate lookup.
  • Mixing up the tabs. Entering a tax-inclusive price on the Add tab taxes it twice.
  • Forgetting that the discount comes first. How discounts and coupons interact with tax can differ by state and by type of discount; the calculator applies the discount before tax, so confirm what applies to your own sales.
  • Charging tax on items or shipping that are exempt in some states. The tool applies one rate to the whole line and does not know what is taxable where.
  • Reading the unusual-rate message. If you type a rate above 20 percent, a note says US combined rates are usually under 11 percent. That is almost always a typo.

Whether you owe or must collect sales tax in a particular state, and on which goods, is a legal question that depends on your sales volume and location. The calculator does arithmetic, not compliance. Ask your state tax authority or an accountant about the rules; this post offers example figures only and is not tax advice.

From calculation to invoice

Once you have the tax and total for each line, put them on a document with Invoice Generator. If you are checking a percentage separately, such as how much a 10 percent discount saves across a whole order, Percentage Calculator does that quickly. When the sale is to a customer outside the US, a value-added tax applies rather than a sales tax, and VAT Calculator is the right place to start. India uses a different structure again, covered by the GST calculator guide. Other tax pages are in the finance, tax and retirement calculators category.

Before you send the invoice, compare the tax line with a quick manual check: round the total to a whole number and multiply by the rate. If the two are far apart, one of the inputs is probably wrong.

Which part of a sales tax invoice takes you longest: finding the right rate, handling discounts, or splitting shipments across states? Say so on the contact page.

Open Sales Tax CalculatorOpen Invoice GeneratorOpen Percentage CalculatorOpen VAT Calculator