What Is a Harmonized System Code? How It Works & Practical Use Cases?
What is an HS code? It is a standardized 6-digit number used worldwide to classify traded goods. Learn how to use & find practically.
You are ready to ship, then a form asks for your HS code. Pick the wrong one and you face wrong duties, held cargo, or a customs penalty. Pick the right one and your goods clear, your harmonized tariff code is correct, and your paperwork holds up.
Therefore, it is essential to understand the harmonized system code, the digits, how the code is built, where it shows up in daily trade, and how to find the correct one. Before you file anything, you can pressure-test a code against real shipments on the yTrade platform.
What Is HS Code?
A harmonized system code (HS code) is a standardized six-digit number that classifies a traded product, so customs authorities worldwide identify the same goods the same way. The World Customs Organization maintains it, and countries use it to assess duties, apply rules, and record trade statistics.
The system is often shortened to HS code, and if you have searched what HS code is, this is the answer: the two terms mean the same thing. As the World Customs Organization stated, more than 200 countries use the HS, and it classifies over 98% of merchandise in international trade.

Those six digits are the shared core. Every country reads them the same way, which is what lets a buyer, a seller, and two customs offices describe one product without confusion.
The Importance Of Using The Right HS Code
The right HS code protects your margin and keeps your goods moving. A wrong classification leads to overpaid duties, delayed shipments, missed trade agreement savings, or a compliance penalty.
Getting the code wrong carries real consequences:
- Overpaid duties: an incorrect code may place your goods in a higher tariff bracket than they belong.
- Delayed clearance: customs authorities flag mismatched codes for inspection, holding your shipment at the border.
- Lost FTA savings: if the code does not match the trade agreement criteria, you forfeit the preferential rate.
- Compliance penalties: wrong classifications on official documents can result in fines or licence issues.
A single misclassification can shift your landed cost significantly. You can search live trade data to see which codes real shipments of your product use.
What Are the Types of HS Codes?
The main types are the 6-digit international HS code and the longer national codes built on top of it.
Countries extend the shared six digits to eight or ten digits, such as the US Schedule B for exports, the US HTS for imports, and the EU Combined Nomenclature.
The HS contains 21 sections and 97 chapters, subdivided into about 1,300 headings and more than 5,000 subheadings covering over 5,000 commodity groups.
The International 6-digit HS Code
The six-digit HS code is the global standard that every WCO member shares. It identifies the product at chapter, heading, and subheading level, and it stays identical whether the goods move east or west. This is the part of the code you can rely on anywhere.

For example, the EU's Combined Nomenclature integrates the 6-digit HS and adds 8-digit subdivisions for EU tariff and statistical needs.
National Codes Built On The HS Base
National authorities add digits to the six-digit base for their own harmonized tariff code and statistical needs. The first six digits still match the global HS, so only the tail changes by country.

According to the US International Trade Administration, a full 10-digit Schedule B number and a 10-digit HTS number may differ for the same product, but their first six digits, the HS subheading, are always the same.
Many Asian markets sit between these, using 8-digit national codes for import duty and control. Whatever the length, the lesson holds: match the six-digit core first, then confirm the national extension for each destination.
How Do HS Codes Work?
Harmonized System code works as a universal 6-digit system that classifies every traded product into chapters, headings, and subheadings.
Here is how a single code breaks down:
| Part | Digits | What it means |
|---|---|---|
| Chapter | First 2 | Broad product family — e.g. live animals, machinery |
| Heading | Next 2 | Specific group within that chapter |
| Subheading | Last 2 | Exact product detail |
Take 0901.21 as an example.
Chapter 09 covers coffee and tea, heading 0901 points to coffee, and subheading 0901.21 lands on roasted, non-decaffeinated coffee. The same six digits appear on every customs form, in every country.
Where Do HS Codes Show Up in Everyday Trade?
Once assigned, an HS code directory appears at every step of a shipment, from customs declarations to duty calculation, shipping paperwork, and trade agreement checks.
Every customs record is filed by code, so the number does more than clear goods. It also unlocks market intelligence: who trades a product, where, at what volume, and through which routes.
Here is where the code shows up in practice:
- Customs declarations: tells the authority exactly what is crossing the border.
- Duty and tax: the tariff rate is applied directly from the code.
- Shipping documents: invoices, certificates of origin, and instructions all reference it.
- FTA eligibility: determines if your product qualifies for a preferential rate.
- Market research: trade statistics are collected and compared by Harmonized System code.
All exporters filing through the Automated Export System must report the Schedule B code when a shipment exceeds US$2,500 or requires a licence.
How Do You Find the Correct HS Code?
To do harmonized code search, start with the six-digit international subheading, then add the national digits for your destination. Use an official customs tool or a reliable trade database, confirm with the product's material and use, and check the latest HS edition.
Here is the step-by-step guide:
- Identify the product clearly: material, function, and how it is sold as a unit.
- Find the six-digit HS subheading using an official classification tool.
- Add the national digits for the destination, such as the 10-digit HTS for US imports.
- Apply the GRI if the product is a set, a mixture, or hard to place.
- Reconfirm against the current edition, since the HS updates every five years.
For a difficult product, an official binding ruling gives certainty, while a harmonized code search against a trade database gives a fast, real-world cross-check.
Read our guide on how to find an HS code.
Conclusion
A harmonized system code is the six-digit language of global trade, maintained by the WCO and used by more than 200 countries to classify goods, set duties, and record statistics. The six-digit core is shared worldwide, while national systems like the US Schedule B, US HTS, and EU Combined Nomenclature add extra digits for local detail.
The code works through a clear hierarchy of chapters, headings, and subheadings, governed by the GRI and refreshed every five years. It shows up across invoices, customs declarations, and duty calculations, and it doubles as a research key for finding buyers and demand. To find yours, work from the six-digit base outward, use official tools, and verify against real shipments so your classification holds up at the border.
Frequently Asked Questions
How many digits is an HS code?
The international Harmonized System code is six digits, shared by every WCO member. Countries add digits for national detail, so the US uses 10-digit Schedule B and HTS codes and the EU uses 8-digit Combined Nomenclature codes. The first six digits always stay the same worldwide.
What is the difference between an HS code and an HTS code?
An HS code is the six-digit international base. An HTS code is the US 10-digit extension used to set import duty rates, administered by the USITC. The HTS begins with the same six HS digits, then adds four more for US-specific tariff and statistical detail.
How often does the HS code system change?
The World Customs Organization updates the Harmonized System every five years to reflect new products and shifts in trade. Because a review can revise or retire a subheading, you should reconfirm your product's code against the current edition rather than relying on an older classification.
How do I find the right HS code for my product?
Start with the six-digit international subheading, then add the national digits for your destination market. Use an official customs classification tool, apply the General Rules of Interpretation for tricky items, and verify the result against real shipment records to confirm the code is used in practice.
[]{.lark-record-clipboard}
yTrade contributor
Recommended Reading
Southeast Asia Exports to the US: Full Country and Product Breakdown With Section 301 Risk Context
Seven Southeast Asian nations exported $469B+ to the US in 2025. This article breaks down exports by country, HS chapter, and 4-digit product code — with bill of lading buyer and supplier data for Vietnam, Indonesia, and Malaysia
FOB Meaning: Definition, Costs, Risks, and Examples
FOB meaning in shipping: learn what Free on Board covers, the four FOB terms, FOB origin vs destination, and how it compares to CIF and DDP.
What Is a Freight Forwarder? Responsibilities, Roles and Process Guide
What is a freight forwarder? Learn the freight forwarder meaning, what it does, how it differs from a carrier, and when an SME should use one.
What Is International Trade Compliance? Everything You Need To Know
International trade compliance is following the laws that govern cross-border trade — covering classification, licensing, screening, and recordkeeping.