Answer

HS Code vs Tariff Code: What Is the Difference?

HS code is the international 6-digit standard used by all WCO members. Tariff code is the country-specific extension (8-10 digits) used for duty assessment. Learn when each applies and how to use both correctly.

Answer summary
Question

What is the difference between an HS code and a tariff code?

Direct answer

HS code is the 6-digit international standard from the World Customs Organization used to classify products for trade statistics and documentation. Tariff code is the country-specific 8-10 digit extension that adds national subdivisions for duty rates, trade measures, and statistical reporting. The HS code is the foundation; the tariff code is the operational code used to calculate duty.

What you need
  • The 6-digit HS code for the product (international standard)
  • The destination country (US, EU, UK, etc.)
  • The full national tariff code (8-10 digits) for the destination
  • The country of origin for additional tariff review
  • The product description, material, and function for classification
Source note

Verify the final code, rate, origin treatment, and document requirements in official destination sources before filing or shipping.

Last reviewed

2026-07-07

HS code: the international 6-digit standard

The Harmonized System (HS) code is a 6-digit international standard maintained by the World Customs Organization (WCO). Every WCO member country uses the same 6-digit HS code for the same product. The first 2 digits are the chapter (e.g., 85 = electrical equipment), the next 2 are the heading (e.g., 8504 = static converters), and the last 2 are the subheading (e.g., 8504.40 = static converters, other).

  • 6 digits: international standard used by all WCO members
  • Maintained by the World Customs Organization
  • Used for trade statistics, documentation, and international reference
  • The same HS code applies to the same product in every country

Tariff code: the country-specific 8-10 digit extension

A tariff code is the country-specific extension of the HS code, typically 8-10 digits. Countries add national subdivisions to the 6-digit HS code to set duty rates, apply trade measures, and collect statistics. For example, in the US, the Harmonized Tariff Schedule (HTS) extends the 6-digit HS to 10 digits. The EU uses the Combined Nomenclature (CN) with 8 digits. The UK uses the UK Trade Tariff with 10 digits.

  • 8-10 digits: country-specific extension of the HS code
  • US HTS: 10 digits (e.g., 8504.40.95.40)
  • EU CN: 8 digits (e.g., 8504 40 95)
  • UK Trade Tariff: 10 digits (e.g., 8504 40 9500)
  • Used to calculate duty and apply trade measures

When to use HS code vs tariff code

Use the 6-digit HS code for international trade documents, supplier communications, and cross-border references. Use the full national tariff code (8-10 digits) when calculating duty, filing customs entries, or checking trade measures in a specific destination country. The HS code is the starting point; the tariff code is the operational code.

  • Supplier invoices: use 6-digit HS code
  • Cross-border trade documents: use 6-digit HS code
  • US customs entry: use 10-digit HTS code
  • EU customs entry: use 8-digit CN code
  • UK customs entry: use 10-digit UK Trade Tariff code
  • Duty calculation: use the full national tariff code

How HS code and tariff code work together

The 6-digit HS code is the foundation. Countries build their national tariff by adding digits after the 6-digit HS code. For example, HS 8504.40 (static converters) becomes 8504.40.95.40 in the US HTS, 8504 40 95 in the EU CN, and 8504 40 9500 in the UK Trade Tariff. The first 6 digits are identical across all three; the national extensions differ.

  • HS 8504.40 → US HTS 8504.40.95.40
  • HS 8504.40 → EU CN 8504 40 95
  • HS 8504.40 → UK Trade Tariff 8504 40 9500
  • The first 6 digits are always the same
  • National extensions add duty rates and trade measures

Common confusion: HS code, HTS code, and tariff code

These terms are often used interchangeably, but they have specific meanings. HS code is the 6-digit international standard. HTS code is the US 10-digit extension. Tariff code is a general term for the country-specific code used to calculate duty. When a supplier provides an HS code, they usually mean the 6-digit standard. When a customs broker asks for a tariff code, they usually mean the full national code.

  • HS code: 6-digit international standard
  • HTS code: 10-digit US extension (Harmonized Tariff Schedule)
  • CN code: 8-digit EU extension (Combined Nomenclature)
  • Tariff code: general term for the country-specific code
  • Always verify which code is needed for the destination

Ecommerce example

A Shopify seller imports USB-C chargers from China to the US. The supplier provides HS code 8504.40 (static converters). For the US customs entry, the seller needs the 10-digit HTS code: 8504.40.95.40. The first 6 digits match the supplier HS code; the last 4 digits are the US-specific extension. The duty rate is calculated using the 10-digit HTS code.

How to use this in TariffCatalog

TariffCatalog provides 6-digit HS code candidates as preparation aids. Before filing or shipping, verify the full national tariff code in the destination tariff database. Use the AI HS Code Finder for candidates, then cross-reference with the destination source.

  • Use the AI HS Code Finder for 6-digit HS code candidates
  • Verify the full national code in the destination tariff (USITC HTS, EU TARIC, UK Trade Tariff)
  • Use the Import Duty Calculator with the full national code
  • Document the candidate HS code and the verified national code in the same record
Editorial

About this answer

Written by TariffCatalog Editorial Team

Maintained by Ryan Cole. Reviewed for customs-data workflow clarity. Last reviewed: 2026-07-07.

This page follows TariffCatalog's methodology for customs data preparation, estimate-only calculations, and document draft workflows.

Maintainer

Reviewed by Ryan Cole

Ryan Cole maintains TariffCatalog from the perspective of a long-time ecommerce operator with 15+ years of experience in product catalog, international shipping, and pre-shipment data workflows. This page is reviewed for customs answer clarity, source-check clarity, and estimate-only or candidate-only wording.

TariffCatalog is a preparation aid, not a customs broker, legal, tax, or freight-forwarding service. Verify final classifications, rates, documents, and filing treatment with official sources or qualified professionals.

Last reviewed: · Maintainer entity: Ryan Cole · Source policy: verified against official customs and tariff sources

Official Source Note

Verify before filing

FAQ

Common questions

What is the difference between HS code and tariff code?

HS code is the 6-digit international standard from the World Customs Organization. Tariff code is the country-specific 8-10 digit extension that adds national subdivisions for duty rates and trade measures. The HS code is the foundation; the tariff code is the operational code.

How many digits is an HS code?

An HS code is 6 digits: 2 digits for the chapter, 2 for the heading, and 2 for the subheading. For example, 8504.40 is a 6-digit HS code for static converters.

How many digits is a tariff code?

A tariff code is typically 8-10 digits, depending on the country. The US HTS is 10 digits, the EU CN is 8 digits, and the UK Trade Tariff is 10 digits. The first 6 digits are always the HS code.

What is an HTS code?

HTS code is the US Harmonized Tariff Schedule code, a 10-digit extension of the 6-digit HS code. It is used for US customs entries and duty calculation. The first 6 digits match the international HS code.

Can I use an HS code for customs entry?

No. The 6-digit HS code is a preparation aid and international reference. For customs entry, you need the full national tariff code (8-10 digits) for the destination country. Verify in the destination tariff database before filing.

Where do I find the full national tariff code?

Find the full national tariff code in the destination tariff database: USITC HTS for the US, EU TARIC for the EU, UK Trade Tariff for the UK, and the equivalent database for other countries.

Do all countries use the same HS code?

Yes. All WCO member countries use the same 6-digit HS code for the same product. Countries add national extensions (8-10 digits) to set duty rates and apply trade measures. The first 6 digits are always identical.

Last reviewed: 2026-07-07

Disclaimer

TariffCatalog provides candidate HS code suggestions, estimate-only calculators, and document drafts. Verify final classifications, duty rates, document requirements, and filing obligations with official sources, carriers, brokers, or destination authorities before filing or shipping.