Skip to content
infosoftix

WooCommerce Sales Tax Not Calculating? How to Fix It for US Orders

WooCommerce not adding sales tax at checkout, or charging the wrong rate? Check tax settings, the address used, rate rows by state and ZIP, product tax status and shipping tax.

Written by Sanjoy BiswasFounder, Infosoftix · 20 years in software, 2,000+ projects

Updated

If WooCommerce isn't adding sales tax, you either collect less than you owe or charge customers inconsistently, and both become expensive at filing time. In the United States the problem is harder than elsewhere, because the rate depends on the state, sometimes the county and city, and on whether you have to collect in that state at all. WooCommerce can handle this, but only when every part of the tax setup lines up. This guide explains how WooCommerce works out tax and where it usually breaks. It is a technical guide, not tax advice: which states you must collect in is a question for your accountant.

How WooCommerce works out sales tax

How WooCommerce decides the tax

For every cart, WooCommerce takes an address, finds the tax rate rows that match it, and applies them to products whose tax status is Taxable, using each product's tax class. If any of those pieces is missing, tax shows as zero. That's why the fix is usually a setting, not code.

Cause 1: Taxes aren't switched on

In WooCommerce → Settings → General, the option Enable tax rates and calculations must be ticked. Without it, the Tax tab doesn't even appear. This setting can be turned off by accident during a migration, a staging push or a settings import.

Cause 2: The wrong address is used

In the Tax tab, Calculate tax based on can use the customer's shipping address, billing address or your shop's base address. If it's set to the shop base address, every customer pays your home state's rate. If it uses the shipping address but your store sells digital products with no shipping address, tax may never match. Also remember that tax only appears once the shopper has entered enough of the address for a rate to match.

Cause 3: The rate table doesn't cover the address

This is where most gaps are. Under Standard rates, each row has a country code (US), a state code (for example CA), optional ZIP codes and cities, the rate, a name and a priority. If you sell into a state with no row, tax is zero there. ZIP codes can use wildcards such as 900* and ranges such as 90001...90099; a typo or a missing range leaves whole areas untaxed. Rows with the same priority don't add up; use different priorities when state and local rates should both apply. Make sure the Shipping box is ticked on rows where shipping is taxable.

When WooCommerce sales tax is missing

Cause 4: Product tax status and classes

Open a product and check Tax status (Taxable, Shipping only or None) and Tax class. Imported products often arrive with the status set to None. If you created extra tax classes such as Reduced rate, products in that class need rate rows under that class too, or they get no tax.

Cause 5: Prices entered with or without tax

If Prices entered with tax doesn't match how you actually typed your prices, totals look wrong even when tax is calculated. US stores usually enter prices without tax and add it at checkout. Changing this setting on a live store changes what every customer pays, so test it on a staging copy first.

Cause 6: Plugins, caching and the checkout block

Automated tax services and extensions replace the rate table with live calculations, so if one is installed, check its connection and logs first. Page caching on cart and checkout can show old totals. Some plugins that change prices run after tax is calculated. If you switched to the Checkout block, make sure your tax plugin supports it.

How to test it

  1. Pick three real US addresses: one in your home state, one in another state you collect in, one where you don't.
  2. Place test orders, or reach the order review, with a taxable product and a shipping method.
  3. Compare the tax line with the rate you expect for each address.
  4. Repeat with a product in each tax class you use.

Example: the store that only taxed California

Example, for illustration. A store based in California registers to collect in Texas too. Texas orders show no tax. The Texas row exists, but its ZIP field was filled with a range copied from California, so no Texas address matches. Clearing the ZIP field so the row covers the whole state fixes it.

What to have ready before you contact us

  • The states you collect tax in (from your accountant).
  • An example order where tax was missing or wrong.
  • Your tax plugin or service, if you use one.
  • A staging copy and an admin user for us. Never share your own password.

Get it fixed

We fix WooCommerce tax setups as custom work at $25–$49 per hour; most take a few hours including testing with real addresses. We check the settings, rate rows, product classes and plugins, and send you a short record of what changed. See our WooCommerce development services, and if coupons also misbehave, read WooCommerce coupon not working. Book a call.

Frequently asked questions

Why is WooCommerce charging no sales tax?

Usually taxes aren't enabled, no rate row matches the customer's state or ZIP, or the product's tax status is None.

Where do I turn on tax in WooCommerce?

WooCommerce → Settings → General → Enable tax rates and calculations. The Tax tab then appears.

Why does every customer pay my home state's rate?

Calculate tax based on is set to the shop base address. Switch it to the customer's shipping address.

How do I enter ZIP codes for a tax rate?

Use one per line, wildcards such as 900*, or ranges such as 90001...90099. Leave it empty to cover the whole state.

How do I add state and local tax together?

Give them different priorities. Rows with the same priority don't add up.

Should shipping be taxed?

It depends on the state. Tick Shipping on rate rows where it is taxable and set the shipping tax class.

Which states do I have to collect tax in?

That depends on your sales in each state and is a question for your accountant, not a WooCommerce setting.

How much does a WooCommerce tax fix cost?

It's custom work at $25–$49 per hour; most tax setups take a few hours including testing.

Tell us what you need

Call, WhatsApp or send a message. We reply within a few hours, Saturday to Thursday.