How to Add Tax Rate in WooCommerce (Step-by-Step Guide + Free CSV Template) [2026]

Fadiyah Sameh
Content Writer
Last Updated:
22 min read
How to Add Tax Rate in WooCommerce (Step-by-Step Guide + Free CSV Template) [2026]
💡

Quick Answer:

To add a tax rate in WooCommerce, go to WooCommerce > Settings > General and enable “Enable tax rates and calculations.” Then go to WooCommerce > Settings > Tax > Standard Rates, click Insert Row, and enter the country code, rate percentage, and tax name. Save changes, then assign the correct tax class to each product under Product Data > General > Tax Status

So let’s face reality: making tax errors on your WooCommerce store isn’t just about the numbers. They can translate into legal penalties, unhappy customers, and profit draining out of your business.

That’s why you need to know how to add tax rates in WooCommerce properly, whether you’re charging VAT, GST, or US sales tax, and avoid the pitfalls that catch so many store owners off guard.

In this guide, We’ll walk you through:

  • Enabling tax in WooCommerce (it’s not automatic!)
  • Setting up rates manually or importing them in bulk via CSV (with the exact column order WooCommerce expects)
  • Using tax classes for different products, like 5% for books and 20% for electronics
  • Adding VAT numbers, VAT invoices, and region-specific VAT settings
  • Toggling or exempting tax for specific customers
  • When to use automation tools, and which WooCommerce sales tax plugin fits your store
  • Mapping your WooCommerce tax rates to Xero or NetSuite for clean bookkeeping
  • Fixing the most common WooCommerce tax errors, like tax not calculating or not showing at checkout

By the end of this article, you’ll confidently set up and manage taxes for any region. 

What Is a WooCommerce Tax Rate?

A WooCommerce tax rate is a rule you configure in WooCommerce > Settings > Tax that tells your store how much tax to charge, and for whom. Each rate is defined by a country or state, a percentage, and a tax class (Standard, Reduced Rate, or Zero Rate), and WooCommerce applies it automatically at checkout based on the customer’s address.

A related term you’ll see throughout this guide is a tax class: a category (like Standard or Reduced Rate) that groups products sharing the same tax treatment, so you can assign one rate to dozens of products at once instead of setting tax per item.

How to Enable Taxes in WooCommerce?

Before we can walk through how to add tax rate in WooCommerce, you first need to enable taxes in WooCommerce. Woo doesn’t enable taxes by default; you have to set up taxes for WooCommerce manually.

  • Go to WooCommerce > Settings > General.
  • Enter your correct store address details.
  • Locate the “Enable tax rates and calculations” check mark.
Enable tax
  • Click the checkmark box and save your changes from the bottom button.

Now, you will see a new tab in the settings panel called Tax.

tax settings

How to Add Tax Rate in WooCommerce?

Before explaining the core settings in the Tax Options tab, we want to jump directly to the manual WooCommerce tax rate setup. You will notice these tabs in the Tax page,

  1. Standard rates
  2. Reduced rate rates
  3. Zero rate rates

These tabs are where you add and assign tax rates in WooCommerce. Let’s set up a tax rate under the Standard Rates tab.

Step 1: Navigate to the Target Tax Class Tab

Go to WooCommerce > Settings > Tax > Standard rates.

How to Add Tax Rate in WooCommerce

Step 2: Insert a Row

  • Click the Insert Row button.
  • This will add a new row for you to input values.
How to Add Tax Rate in WooCommerce

Step 3: Configure The Fields

Fill in each field with care:

  • Country Code: Enter a two-letter ISO code (for example, US for the United States or GB for the United Kingdom). You can find the full country code list here.
  • State Code: If you need to target a specific state or province, use its two-letter code (for example, CA for California). Leave blank if the rule applies to the whole country.

📝

Note:

WooCommerce will show and set the appropriate Country and State code if you start typing the names in the fields.

How to Add Tax Rate in WooCommerce
  • Postcode / ZIP: Type one or more postal codes. You can use wildcards (90210* applies to any code starting with 90210) or ranges (1000…3000) to cover multiple areas.
  • City: List city names separated by semicolons (for example, London; Manchester) if you need city-specific taxes.
  • Rate %: Enter the tax rate with four decimal places (for example, 20.0000 for 20%).
  • Tax Name: Choose a label customers will see (for example, “VAT” in the UK or “Sales Tax” in the US).
  • Priority: set to 1 if this should apply before other rules. Higher numbers run later.
  • Compound: check this if the tax itself should get taxed on top of other rates.
  • Shipping: check this box to apply the same rate to shipping charges.
  • Click Save changes once you’ve entered all fields.

Examples of Common Scenarios

  • US state tax: Country = US, State = CA, Rate = 7.5000, Name = “Sales Tax”, Priority = 1.
How to Add Tax Rate in WooCommerce
  • UK VAT: Country = GB, Rate = 20.0000, Name = “VAT”, leave State blank. As you know by now, the WooCommerce VAT setup process for the UK is the same as for tax setup for the US.
  • City-specific tax: Country = US, City = New York; Brooklyn, Rate = 8.8750, Name = “NYC Tax”.

Step 4: Applying Tax Classes to Your Products

  1. Go to Products > All Products and click Edit on the product you want to update.
  2. Scroll to the Product data section, select the General tab.
  3. Find Tax status and choose:
tax status
  • Taxable (tax applies to product price)
  • Shipping only (only shipping cost is taxed)
  • None (no tax applies)
  1. Next, open the Tax class dropdown. You will see:
tax class
  • Standard
  • Reduced Rate
  • Zero Rate
  • Any custom classes you created earlier

Pick the class that matches this product’s tax rule.

  1. Click Update to save your changes.

Step 5: Test from The Front

  • Go to your storefront and add a product that has a tax class assigned.
  • Enter a shipping address, and the checkout page will automatically calculate and display the tax rate according to your setup. If you haven’t configured how customers pay yet, our guide to adding payment methods in WooCommerce walks through Stripe, PayPal, and offline options so tax and checkout are both ready before you launch.
sales tax in checkout page

Now your product charges the correct tax at checkout based on the class you assigned. If you ever need to change rates or add new classes, return to WooCommerce tax settings and reassign products as needed.

These are the steps for how to add tax rate in WooCommerce manually. For adding multiple location rates, use Insert Row to add new rows and set additional rates.

This method works well if you have a limited number of tax rules. If you’re managing dozens or hundreds of tax rates, importing them via CSV or turning on automated taxes will save you a lot of time, both of which we’ll cover next.

Import/Export

import export tax classes

If you have many rates to add, click Export CSV to download your existing rules, edit them in a spreadsheet, and then use Import CSV to upload them in bulk. This can save you lots of time when setting up tax rates for multiple countries, states, or cities.

Reduced Rate & Zero Rate

Besides the Standard rates tab, you’ll also see Reduced rate rates and Zero rate rates. These work exactly like Standard rates.

You click Insert row, fill in the same fields (Country Code, State Code, Postcode/ZIP, City, Rate %, Tax Name, Priority, Compound, Shipping), and save. The difference lies in the rate you enter:

  • Reduced rate is for products that get a lower tax percentage than your standard rate. For example, you might charge 5% on children’s clothing or basic food items instead of the full 20% VAT.
  • Zero rate applies to tax-exempt goods, like exported items or certain medical supplies. You simply set Rate % to 0.0000, give it a name such as “Zero-Rated,” and customers won’t pay any tax on those products.
How to Add Tax Rate in WooCommerce

Use these tabs whenever your region’s tax rules call for special lower or zero rates. After setting these tax rates, assign them under Product Data > General > Tax Class, as we did for the standard rate class.

How to Import WooCommerce Tax Rates via CSV (Free Column Template)

If you’re setting up tax for more than a handful of regions, typing every row manually gets old fast. This is where the WooCommerce tax rates CSV import and export feature earns its keep, and it’s one of the most searched-for parts of tax setup because getting the column order wrong is the number one reason imports fail.

Export CSV and Import CSV buttons in WooCommerce tax settings

If you have many rates to add, click Export CSV first to download your store’s existing rules in the correct format. Open that file in a spreadsheet, edit or add rows, save it, then click Import CSV to upload the updated file in bulk. This can save you hours when you’re setting up tax rates for multiple countries, states, or cities at once.

The Exact CSV Column Order WooCommerce Expects

Whether you’re building a WooCommerce tax rate CSV from scratch or editing an exported one, the columns need to appear in this order. Getting even one column out of place is the most common reason an import silently fails or applies the wrong rate:

ColumnWhat Goes Here
Country CodeTwo-letter ISO country code (US, GB, CA, IN, etc.), or leave blank for any country
State CodeTwo-letter state or province code, or leave blank for the whole country
Postcode / ZIPSpecific postcodes, wildcards (90210*), or ranges (1000…3000)
CityCity names separated by semicolons
RateTax rate to four decimal places, for example 20.0000
Tax NameLabel shown to customers, such as VAT or Sales Tax
Priority1 for first-applied rules; higher numbers apply later
Compound1 if this tax should be calculated on top of other taxes, otherwise 0
Shipping1 to apply this rate to shipping costs, otherwise 0
Tax ClassStandard, Reduced rate, Zero rate, or a custom class name


The fastest way to get a correctly formatted starting file isn’t to build one from scratch; it’s to export your own. Go to the tab you’re working in, click Export CSV, and WooCommerce hands you a file with these exact ten columns already in the right order and populated with whatever rates you’ve already set up. From there, you’re just editing rows in a spreadsheet, not guessing at formatting.

Exported WooCommerce tax rate CSV opened in a spreadsheet

Step-by-Step: Importing Your Tax Rate CSV

  1. Go to WooCommerce > Settings > Tax, then choose Standard rates, Reduced rate rates, or Zero rate rates, depending on which table you’re importing into.
  2. Click Export CSV to download a correctly formatted starting file, or open our free template.
  3. Add your rows in a spreadsheet program, keeping the ten columns in the exact order above. Save the file as .csv, not .xlsx.
  4. Back in WooCommerce, click Import CSV, select your file, and confirm.
  5. Refresh the Standard rates tab to confirm every row imported correctly, and spot-check a few rates against your source data.

A few things that trip people up: don’t include a header row with extra formatting, make sure Rate values use a period rather than a comma for decimals, and double-check that Compound and Shipping use 1 or 0 rather than true or false. If a WooCommerce tax rates CSV download from an old export looks different from the template above, re-export a fresh copy first since WooCommerce occasionally adjusts the expected format between versions.

WooCommerce Tax Settings Guide: Core Configuration

Now that we have checked how to add a tax rate in WooCommerce, you must also be aware and set up WooCommerce Tax Options properly to display accurate taxes to your customers.

WooCommerce provides some settings for you to manage how taxes are calculated and displayed in your store. These various settings are crucial to ensuring that products and orders receive the correct taxes based on your location and business type.

You can find them under WooCommerce > Settings > Tax > Tax options. Here’s a breakdown of each core configuration setting:

Prices entered with tax

Here you choose whether your product prices include tax or not:

price entered with tax
  • Inclusive (“Yes, I will enter prices inclusive of tax”) signifies that the Regular product price includes tax.  For instance, if you set the price of a product at $120, it includes tax.  WooCommerce will do the math automatically and display tax-included prices. (Usual in places with VAT or GST, such as the EU or Australia)
  • Exclusive (“No, I will enter prices exclusive of tax”) means that the Regular price does not include tax, and it will be shown separately on the cart and checkout pages.  For example, a $120 purchase will have tax added on top at checkout. (Common for US sales tax)

This choice must align with how you source and display prices, especially in regions where price tags legally must show tax-inclusive amounts. If you’re also selling internationally, our multi-currency setup guide covers how currency display interacts with tax-inclusive pricing per region.

Calculate tax based on

This dropdown lets you choose the address WooCommerce uses to find the right rate:

calculate taxes
  • Customer shipping address (default): Tax will be calculated based on the location where you deliver. This is the most common option, especially for physical goods. WooCommerce will use the customer’s entered shipping address to apply the correct local tax.
  • Customer billing address: Tax will be calculated based on your customer’s input billing address. Useful for digital products or services where billing location matters.
  • Shop base address: Use this if you have a single, flat tax rate that applies to every customer, no matter where they are located.

Choose the option that works with your local tax rules. For example, a shipping address is generally used for physical goods, while a billing address is often used for digital downloads.

💡

Bonus tip:

You can also add customers to your WooCommerce store who are exempt from paying taxes using extensions such as Tax Exempt for WooCommerce. You need to make certificates for the consumers who don’t have to pay taxes in this scenario.
The certificate must have the names of the seller and buyer, the type of exemption, the state tax ID number, and the customer’s signature and date.

Shipping tax class

You can define how shipping tax is applied from the following settings.

shipping tax class

As you know by now, in WooCommerce, you can have multiple tax classes, each with its own set of tax rates. For example, you might have a “Standard” tax class for most products, and a “Zero Rate” tax class for products like food, which are exempt from tax.

The “Shipping tax class” setting allows you to specify which of these tax classes should be used to calculate the tax on the shipping fee.:

  • Based on cart items (default): Inherits the highest-priority tax class from the products in the cart (so reduced-rate goods keep their lower shipping rate).
  • A specific tax class (e.g., “Standard”, “Reduced Rate,” etc.): You can choose to always apply a specific tax class to the shipping cost, regardless of what’s in the cart. This is useful if you want to ensure that shipping is always taxed at a consistent rate.
  • Custom tax class: You can create a custom tax class by simply inputting a name in the Additional tax classes field and then configuring it from the newly generated dedicated tab. This new class will appear in the Shipping tax class dropdown as well, from where you can assign it for shipping costs.

Rounding

round up

WooCommerce always rounds up the figure after calculating taxes. For example, if the tax amount is $0.4995, it will be rounded to $0.50.

  • Per line: If you don’t enable that checkbox, WooCommerce will calculate and round up tax for each item separately and then find the total tax.
  • Subtotal level: First, it will get the subtotal of all items added to the cart and then calculate and round up the tax amount.

Subtotal rounding can avoid small discrepancies but may differ slightly from per-line totals; WooCommerce warns you if your rounding display settings conflict.

Additional tax classes

We have already mentioned how to add additional tax classes. Beyond Standard, WooCommerce includes Reduced rate and Zero rate by default.

custom class

In addition to those, you can add custom classes (e.g. “Digital Goods” or “Eco products”) to assign different rates per product. After creating a class here, it appears when editing each product under the Tax class.

Display prices in the shop

Choose whether catalog pages (product listings, archives) show prices Including tax or Excluding tax. This should match your “Prices entered with tax” setting at the top of the page to avoid confusion or rounding errors.

Display prices during cart and checkout

display prices during cart and checkout

Separately control how prices appear to customers in the cart and checkout pages. Again, consistency with your entered price setting is key to prevent “reverse-calculation” rounding warnings.

Price display suffix

(Optional) Add a suffix—like “(inc. VAT)” or “(ex. Tax)” – to clarify what your listed prices include. This small label can reduce customer questions and improve trust.

Display tax totals

Decide between:

display tax totals
  • As a single total: it combines all taxes into one line.
  • Itemized: shows each tax rate separately (e.g. “Standard rate (10%): $5.00; Reduced rate (5%): $2.00”).

Itemized totals give transparency when multiple rates apply; a single total keeps the order summary cleaner.

Overall, these WooCommerce tax options settings help you display prices clearly and charge the right tax every time.

How to Add VAT in WooCommerce

💡

Quick Answer:

VAT is a Value-Added Tax charged on goods and services in the UK, EU, and other regions. To add it in WooCommerce, create a Standard rate tax row with your country code and VAT percentage, name it “VAT,” and optionally add a VAT Number field extension so B2B customers can enter their VAT ID at checkout.

If you sell in the UK, EU, or another VAT-based region, adding a VAT rate itself uses the same manual process covered above, country code, rate, and the name VAT instead of Sales Tax. But most VAT-registered stores need a bit more than a rate: a way to collect a customer’s VAT number, show it on invoices, and handle reverse-charge exemptions for B2B sales.

Setting Up a Basic VAT Rate

  1. Go to WooCommerce > Settings > Tax > Standard rates.
  2. Insert a new row with Country = your VAT country (for example GB for the UK), Rate = your VAT percentage (for example 20.0000), and Tax Name = VAT.
  3. Repeat for each EU country you sell into if you’re required to charge destination-based VAT.
  4. Set Prices entered with tax to Inclusive if your storefront needs to display VAT-inclusive pricing, which is standard practice across most of the EU and UK.

Adding a VAT Number Field at Checkout

To collect a business customer’s VAT number, most stores add a dedicated VAT Number field extension, since WooCommerce doesn’t include this out of the box. Once installed, it typically works like this:

  • Activate the VAT number field plugin.
  • Enable the field on the checkout page settings.
  • Choose whether the field is required or optional, and whether it validates against the EU VIES database.
WooCommerce checkout page showing VAT number field with VAT exempt confirmation for EU B2B order
  • Set up automatic reverse-charge exemption so validated B2B customers outside your home country aren’t charged VAT, if that applies to your business. If your store accepts international cards, pair this with our PayPal setup guide or Google Pay integration guide to keep checkout friction-free for VAT-registered customers.

Showing VAT on Invoices

Once you’re collecting VAT numbers, you’ll usually want that number, along with your own VAT registration number, printed on order confirmation emails and PDF invoices. Most invoicing plugins for WooCommerce pull the VAT number field automatically once it’s part of checkout, and let you add your store’s VAT ID to the invoice template.

WooCommerce VAT Settings Checklist

  • VAT rate added per country under Standard rates
  • Prices entered with tax set to match local display rules
  • VAT number field enabled at checkout (if you serve B2B customers)
  • Price display suffix set to something like “(inc. VAT)” for clarity
  • Invoice template configured to show VAT numbers and the VAT breakdown

How to Toggle or Exempt Tax in WooCommerce

Plenty of stores don’t need tax applied to every customer the same way. Maybe you sell wholesale to tax-exempt businesses, or you want shoppers to be able to switch between tax-inclusive and tax-exclusive pricing. Here’s how to handle each case.

Turning Tax Off Store-Wide

The simplest tax toggle is the one you already set up. Go back to WooCommerce > Settings > General and uncheck Enable tax rates and calculations. This fully disables tax calculation across your store, and it’s reversible at any time.

Exempting Specific Customers From Tax

For wholesale buyers, resellers, or nonprofit organizations, use a tax exempt extension such as Tax Exempt for WooCommerce. This typically lets you:

  • Mark individual customer accounts or a customer role as tax exempt
  • Collect and store an exemption certificate, including the exemption type and tax ID number
  • Automatically skip tax calculation for exempt customers at checkout, while everyone else is still taxed normally

Letting Shoppers Toggle Tax-Inclusive and Tax-Exclusive Pricing

Some stores, especially B2B and B2C hybrids, use a front-end tax toggle or tax switcher so customers can flip between viewing prices with tax included and prices with tax excluded, without changing your store’s actual default. This is usually handled with a dedicated tax toggle plugin that adds a switch near the price or in the shop header.

If you’re comparing options, look for a plugin that lets you set which customer roles see the toggle by default, since wholesale buyers usually want tax-exclusive pricing shown first, while retail shoppers expect tax-inclusive pricing. This pairs well with role-based pricing rules, similar to what our WooCommerce discount plugin guide covers for wholesale vs retail pricing tiers.

When your store sells across many regions, keeping tax tables up to date can become a full-time job. Automated tax plugins save you time and reduce errors by fetching the right rates for each sale in real time. Here’s how they help:

  1. Real-Time Rate Calculation
    Instead of manually updating tax percentages, these plugins use your customer’s address to look up the correct rate the moment they check out. That means no more hunting down new local or regional rates, your store always has the latest data.
  2. Compliance and Nexus Management
    Complex rules like economic nexus thresholds in different states or changing VAT laws in the EU are baked into the service. The plugin tracks where you’ve met those thresholds and applies the right rules so you don’t accidentally under- or over-charge tax.
  3. Built-In Reporting and Filing
    Beyond calculation, most solutions generate detailed tax reports ready for your accountant or to upload directly into filing software. You’ll see summaries by region, product type, and date range, all in one dashboard.
  • WooCommerce Tax (powered by Woo)
    This official plugin from WooCommerce gives you location-based, real-time sales tax for the US and many other countries with zero manual setup. This is a free extension, available both in the WooCommerce extension library and the WordPress repository.
  • TaxJar for WooCommerce
    With a one-click connection, TaxJar imports every transaction and calculates tax automatically. It also offers advanced features like exemption handling, threshold tracking, and easy-to-use tax reports.
  • Avalara AvaTax
    Avalara plugs into your WooCommerce workflow to deliver enterprise-grade accuracy. It updates rates based on geolocation, product taxability, and current legislation. You can even map your products to Avalara tax codes for precise results, plus get built-in returns preparation and exemption certificate management.

How to Add Tax Rate in WooCommerce Using a Plugin?

Let’s set up automated tax rates using the official WooCommerce tax plugin. Here are the steps:

  1. Log in to the WordPress admin panel.
  2. Go to Plugins > Add Plugin.
tax plugin
  1. Search for the tax extension, install, and activate.
  2. Navigate to WooCommerce > Settings > Tax > Tax Options.
How to Add Tax Rate in WooCommerce
  1. Enable Automated Taxes from the top.
  2. Save changes and test from the front by adding any product to the cart.
How to Add Tax Rate in WooCommerce

The biggest advantage of this method is that you don’t even have to assign any tax classes to any products individually. The extension will calculate taxes based on the customer’s location or entered address automatically.

This is how to add tax rate in WooCommerce using an extension.

Is Automation Right for You?

Automated solutions shine when:

  • You sell in many states or countries with different rules.
  • You need to track economic nexus thresholds automatically.
  • You want built-in reporting or integration with filing services.

If your store only ships locally or you prefer full manual control, WooCommerce’s built-in tax settings may be enough. But once you begin selling into multiple jurisdictions, an automated plugin can pay for itself in saved time and audit peace of mind.

Wrap Up

That was our complete guide on how to add tax rates in WooCommerce, from enabling taxes and setting up rates manually or via CSV, to VAT, tax exemptions, automation, accounting integrations, and fixing the errors that trip up even experienced store owners.

Setting up taxes in WooCommerce may seem tricky at first, but once you know the steps- enabling taxes, choosing how prices are entered, configuring where tax is calculated, and adding your standard or custom rates- it becomes a straightforward part of launching your store.

Remember, WooCommerce does the math, but it can’t give you legal advice. Tax laws vary by country, state, and even city, and they change often. For the most reliable guidance, talk with a qualified tax professional in your region. That way, you’ll be sure your store stays compliant while you focus on growing your business.

Once your taxes are dialed in, the next thing worth locking down is how customers actually pay — see our complete guide to adding payment methods in WooCommerce for Stripe, PayPal, bank transfer, and cash-on-delivery setup.

FAQs

Does WooCommerce calculate sales tax automatically?

No, not by default. WooCommerce only applies tax if you’ve enabled tax calculations and manually added rates. For automatic, real-time calculation based on customer address, enable the Automated Taxes feature or install a plugin like WooCommerce Tax, TaxJar, or Avalara.

Is tax calculated based on the billing or shipping address?

By default, the shipping address. Change this under WooCommerce > Settings > Tax > Tax options, in the Calculate tax based on dropdown, if you need billing address or shop base address instead.

Is tax applied per item or on the total order?

 It depends on your Rounding setting. Per line rounding calculates and rounds tax for each item separately. Subtotal level rounding totals the cart first, then calculates tax once on the subtotal.

How do I add tax programmatically in WooCommerce?

Developers use WooCommerce’s WC_Tax class and its helper functions, or the REST API’s tax rate endpoints, for custom integrations or bulk automation beyond what CSV import covers.

How do I set up and handle taxes in WooCommerce for 2026?

Enable tax calculations, decide whether prices include tax, add your rates manually or via CSV import, and assign tax classes to products. Revisit your rates annually, since nexus rules and VAT regulations change

What’s the best sales tax plugin for WooCommerce?

 WooCommerce Tax (free) covers most US and basic international needs. TaxJar suits multi-state US sellers who want built-in filing. Avalara AvaTax fits larger, multi-country stores needing detailed nexus tracking.

Written by

Fadiyah Sameh

Fadiyah Sameh is a researcher and writer with 11+ years of experience. As an eCommerce writer with a strong background in SEO, she has a passion for creating compelling and informative content that helps businesses reach their target audience. In addition to her writing skills, she’s also well-versed in content marketing and the technical aspects of eCommerce and has a deep understanding of the various strategies and tactics used to optimize online stores for success.

Leave a Comment

Ready to Boost Your WooCommerce Sales?

Join 700+ store owners using the best WooCommerce discount plugin. Start free or go Pro for BOGO, bulk discounts, and dynamic pricing.

14-Day Money-Back Guarantee • 5-Year Loyalty Rewards • Lifetime Updates