Back to blog
Classification6 min read

What is an HS Code? Complete Guide to Harmonized System Codes [2026]

What is an HS code? Learn how Harmonized System codes work, how they're structured (6-digit format), and why they matter for international shipping and customs.

July 13, 2026

An HS code (Harmonized System code) is a 6-digit international number that classifies a product for customs worldwide. Customs authorities use it to determine import duty rates, taxes, and restrictions when goods cross borders. Developed and maintained by the World Customs Organization (WCO), the Harmonized System is used by over 200 countries as the universal language for customs tariffs, trade statistics, and regulatory compliance.

Every product that crosses a border — from clothing and electronics to food and industrial machinery — has an assigned HS code. This code determines duty rates, trade restrictions, import quotas, and customs clearance requirements. For merchants selling internationally, understanding HS codes is essential for accurate duty calculation and smooth cross-border shipping. Follow our guide to learn how to find the HS code for a product.

How HS Codes Are Structured

The Harmonized System uses a hierarchical structure that starts broad and becomes increasingly specific. Every HS code follows the same 6-digit format worldwide:

  • Chapter (Digits 1-2) — The broadest category. For example, Chapter 61 covers knitted apparel.
  • Heading (Digits 3-4) — A more specific product group within the chapter. Heading 61.09 covers t-shirts.
  • Subheading (Digits 5-6) — The most detailed international level. Subheading 6109.10 specifies cotton t-shirts.

Beyond the standard 6 digits, countries add additional digits for their national tariff schedules. The United States uses a 10-digit HTS (Harmonized Tariff Schedule) code, while the European Union uses an 8-digit TARIC code. These national extensions allow countries to set specific duty rates and track trade data at a granular level.

Why HS Codes Matter for International Shipping

Incorrect HS codes are one of the most common reasons shipments get held at customs. When you classify a product with the wrong code, several problems can occur:

  • Wrong duty rates — Customers may be overcharged or undercharged for import duties, leading to disputes or unexpected costs.
  • Customs delays — Incorrect codes trigger manual inspections, adding days or weeks to delivery times.
  • Penalties and fines — Customs authorities can impose fines for misclassification, even if the error was unintentional.
  • Refused shipments — In severe cases, shipments may be returned to the sender or seized by customs.

Correct HS codes ensure smooth customs clearance, accurate duty estimates at checkout, and compliance with trade regulations. They also help you take advantage of preferential duty rates under trade agreements.

HS Code Examples

Here are common product categories and their HS codes to illustrate how the classification system works:

ProductHS CodeDescription
Cotton t-shirt6109.10Chapter 61: Knitted apparel / Heading 09: T-shirts / Subheading 10: Cotton
Leather shoes6403.99Chapter 64: Footwear / Heading 03: Leather shoes / Subheading 99: Other
Ceramic mug6912.00Chapter 69: Ceramic products / Heading 12: Tableware / Subheading 00: Of porcelain
Laptop computer8471.30Chapter 84: Machinery / Heading 71: Computers / Subheading 30: Portable
Wristwatch9102.12Chapter 91: Clocks and watches / Heading 02: Wristwatches / Subheading 12: Electric

How to Find Your HS Code

Finding the correct HS code for your products is critical for accurate duty calculation. Here are the best approaches:

  1. Use RateTell's AI-powered HS Code Finder — Our free HS Code Finder tool uses artificial intelligence to classify products based on their description. Simply enter your product details and get instant, accurate HS code suggestions.
  2. Search the WCO database — The World Customs Organization maintains an official database of HS codes that you can search by product description.
  3. Check your country's tariff schedule — National customs authorities publish detailed tariff schedules with searchable databases. The US HTS database and the EU's TARIC are excellent resources.
  4. Ask your customs broker — Licensed customs brokers have expertise in product classification and can provide authoritative guidance for complex products.

HS Code vs HTS Code vs Tariff Code

These terms are often used interchangeably, but they have distinct meanings:

  • HS Code — The 6-digit international standard maintained by the WCO. This is the universal code recognized by all Harmonized System member countries.
  • HTS Code — The 10-digit code used by the United States in its Harmonized Tariff Schedule. The first 6 digits match the HS code; the additional 4 digits are US-specific statistical suffixes.
  • Tariff Code — A generic term that refers to any country's product classification code, whether it's the HS code, HTS code, TARIC code, or another national system.

When merchants refer to "tariff codes" or "customs codes," they typically mean the HS code or its national equivalent. The key takeaway: the first 6 digits are always the same worldwide, regardless of which country's system you're using.

Frequently Asked Questions

What is an HS code?

An HS code is a 6-digit international number that classifies a product for customs purposes worldwide. It's maintained by the World Customs Organization (WCO) and used by over 200 countries to determine import duty rates, taxes, and restrictions at the border.

How many digits does an HS code have?

The international HS code is always 6 digits — two for the chapter, two for the heading, and two for the subheading. Countries then add 2-4 more digits for their national tariff schedules, so you'll see 8-digit codes in the EU and 10-digit codes in the United States.

What is a 10-digit HS code?

A 10-digit HS code is the full US HTS code used for imports into the United States. The first 6 digits match the international HS code, and the last 4 digits are US-specific subdivisions for duty rates and statistical reporting.

How do I find my HS code?

Search your product description in the WCO's Harmonized System database or your country's official tariff schedule, such as hts.usitc.gov for the US. Free AI tools like RateTell's HS Code Finder classify products automatically, and a licensed customs broker can provide a binding classification for complex items.

What's the difference between an HS code and an HTS code?

An HS code is the 6-digit international standard recognized by all Harmonized System countries. An HTS code is the 10-digit US extension used in the Harmonized Tariff Schedule — the first 6 digits are identical, and the extra 4 digits are US-specific.

What happens if I use the wrong HS code?

Customs applies the duty rate attached to the code you declare, so the wrong code means the wrong duty. You risk overcharging customers, customs delays and inspections, fines for misclassification, and in severe cases, returned or seized shipments.

Related guides: HTS Code Lookup · Tariff Code Guide · HS Codes Explained

Find your product's HS code with our free HS Code Finder tool. AI-powered classification with instant results.

R

RateTell Team

RateTell helps Shopify merchants show estimated duties, taxes, and shipping at checkout. Start your 14-day free trial today.

Start Free Trial