
A coffee roaster in Brazil ships a sack of roasted beans to a buyer in Japan. The Brazilian export paperwork, the Japanese import entry, and the trade statistics both countries report all begin with the same six digits: 0901.21. Different languages, different customs systems, different tariff rates — and yet, for the first six digits, perfect agreement.
That agreement is not an accident. Those six digits are the closest thing global trade has to a universal language, and they’re governed by a single international standard maintained by the World Customs Organization (WCO): the Harmonized System (HS). Understanding what the first six digits encode — and, just as importantly, where they stop — is the foundation of everything in tariff classification.
This guide breaks down what each pair of digits means, why they’re identical in every country that uses the HS, and where your own country’s code takes over.
The short version: The first six digits of any HS code are an international standard set by the WCO and shared by every HS-using country. They break into three pairs: chapter (digits 1–2), heading (digits 3–4), and subheading (digits 5–6). Beyond six digits, countries add their own national digits for tariffs and statistics — so the first six match worldwide, but the rest don’t.
What the Harmonized System is
The Harmonized Commodity Description and Coding System — “HS” for short — is the international nomenclature for classifying traded goods. It’s developed and maintained by the WCO, first took effect in 1988, and has become, in the WCO’s own framing, the universal economic language of international trade.
The scale is what makes it matter: the HS is used by 211 economies, and over 98% of all merchandise in international trade is classified using it. It organizes roughly 5,000 commodity groups, each identified by a six-digit code, in a legal and logical structure supported by defined rules. Customs tariffs, trade statistics, rules of origin, and many trade controls around the world all hang off this one framework.
Before 1988, countries used a patchwork of incompatible classification systems, and that fragmentation was a genuine drag on trade. The HS solved it by giving everyone the same six-digit backbone.
The anatomy of the six digits
Every HS code is built from three pairs of digits, moving from broad to specific. Take our coffee example, 0901.21:
| Digits | Level | In 0901.21 | Meaning |
| 1–2 | Chapter | 09 | Coffee, tea, maté and spices |
| 3–4 | Heading | 0901 | Coffee (roasted or not, decaffeinated or not), husks, substitutes containing coffee |
| 5–6 | Subheading | 0901.21 | Coffee, roasted, not decaffeinated |
Read left to right, the code narrows: from a broad chapter (all coffee, tea and spices), to a specific heading (coffee), to a precise subheading (roasted, not decaffeinated). Each step adds specificity, and the six-digit subheading is the most detailed level the international standard defines.
One organizing layer sits above the digits: the HS groups its chapters into 21 sections (numbered I–XXI). Sections help structure the system — coffee’s Chapter 09 lives in Section II, “Vegetable Products” — but the section isn’t part of the numeric code. The digits themselves start at the chapter.
So when you see a six-digit HS code, you’re reading a chapter, a heading within it, and a subheading within that — a globally agreed address for that category of goods. (For the complete structure including what comes after the six digits, see the anatomy of an HS code.)
Why the first six digits are the same everywhere
This is the heart of it. The first six digits are internationally standardized — they are the same for the same product in every country that uses the HS. The coffee subheading 0901.21 means “roasted, non-decaffeinated coffee” whether you’re filing in Brazil, Japan, Germany, India, or the United States.
That shared core is what makes global trade legible. Because everyone references the same six-digit subheadings:
- Customs authorities can apply tariffs to a common set of categories.
- Statistical agencies can compare trade flows across borders.
- Trade agreements and controls can reference goods in a way every party understands.
- Businesses can map a product once and recognize it in any market.
It’s worth appreciating how unusual this is. Few things in international commerce are genuinely standardized across 200-plus jurisdictions. The six-digit HS subheading is one of them — a single, shared vocabulary underneath every national tariff schedule on the planet.
Where the six digits stop: national codes take over
Here’s the catch that trips people up. The international standard stops at six digits. For their own tariff and statistical purposes, countries extend the code by adding more digits — typically two to four more — beyond the WCO’s six.
| System | Country/region | Total digits | First 6 |
| HTS | United States (imports) | 10 | = WCO subheading |
| Schedule B | United States (exports) | 10 | = WCO subheading |
| Combined Nomenclature (CN) | European Union | 8 (TARIC: 10) | = WCO subheading |
| ITC-HS | India | 8 | = WCO subheading |
The crucial rule: the first six digits match globally; everything after six is national. A product’s full 10-digit U.S. HTS code and its full 10-digit U.S. Schedule B code may even differ from each other — but both share the same first six digits, because that’s the international HS subheading underneath.
The practical consequence: the WCO’s six-digit code, on its own, is not enough to actually import or export. It tells you the international category, but customs wants the full national code — 8, 10, or more digits — to assess duties and apply national rules. Treating a six-digit HS code as a finished classification is one of the most common beginner mistakes. The six digits are the foundation; the national extension is the building. (Classifying to that full national level across a catalog is exactly the bulk-classification problem.)
The digits aren’t assigned by vibes: the rules behind them
Getting to the right six digits isn’t guesswork. The HS is governed by the General Rules of Interpretation (GRI) — six rules that dictate how goods are classified, applied in order. The first rules establish the heading; GRI 6 specifically governs how you choose the correct subheading — the fifth and sixth digits — by comparing subheadings at the same level and applying the relevant section, chapter, and subheading notes.
This matters because the six-digit code is a legal determination, not a casual label. Two similar products can diverge at the subheading level based on a single distinguishing characteristic (roasted vs. green coffee; decaffeinated vs. not), and the GRI are what tell you which way to go. (For how to apply them correctly, see reading the General Rules of Interpretation.)
The HS isn’t frozen: it updates every five years
A six-digit code is a snapshot of a living system. The WCO revises the HS on a roughly five-year cycle to keep up with new technology, shifting trade patterns, and emerging policy concerns.
The current edition is HS 2022 — the seventh edition, in force since 1 January 2022 — which introduced 351 sets of amendments. The changes show exactly why the system evolves:
- New heading 88.06 for unmanned aircraft (drones) — a product category that barely existed at commercial scale a couple of editions earlier.
- New heading 85.49 for electrical and electronic waste and scrap (e-waste) — reflecting environmental priorities.
- New and clarified provisions for dual-use goods, chemicals controlled under international conventions, rapid diagnostic kits, and more.
The next edition, HS 2027, is already in preparation and due to take effect in 2027. The practical lesson: always classify against the current edition. A code that was correct under a prior edition can move or change meaning when a new one takes effect, so a classification has a shelf life — and a product re-checked across an edition boundary may need a new code.
Why the six-digit foundation matters for real classification
The six-digit WCO subheading is the anchor every tariff classification starts from. But real-world classification needs three things the six digits alone don’t give you:
- The national code. You classify and declare at 8, 10, or more digits — the international six are just the start.
- Currency. Schedules change, and the HS itself is revised every five years; the right code today may not be the right code next edition.
- Defensible reasoning. A code without a documented why — which chapter, heading, subheading, and which GRI logic — isn’t audit-ready.
That’s the work TariffWolf is built for: classifying from the international six-digit anchor down to the full national code, with reasoning you can read, kept current as schedules and editions change, at one item or a whole catalog via bulk classification — and, where you also handle export control, HS and ECCN in one workflow.
Quick reference
| Question | Answer |
| Who maintains the HS? | The World Customs Organization (WCO) |
| What do the 6 digits encode? | Chapter (1–2), heading (3–4), subheading (5–6) |
| Are the first 6 digits the same everywhere? | Yes — internationally standardized across all HS-using economies |
| What comes after 6 digits? | National extensions (e.g., US 10, EU CN 8, India 8) |
| Is the 6-digit code enough to ship? | No — you need the full national code |
| How often does it change? | Roughly every 5 years (current: HS 2022; next: HS 2027) |
Frequently asked questions
What do the first 6 digits of an HS code mean? They identify the product internationally, in three pairs: digits 1–2 are the chapter (broad category), digits 3–4 are the heading (the specific product group within the chapter), and digits 5–6 are the subheading (the precise variant). Together they form the globally standardized HS subheading maintained by the WCO.
Are the first 6 digits of an HS code the same in every country? Yes. The first six digits are internationally standardized — the same for the same product across the 200-plus economies that use the Harmonized System. Countries differ only in the national digits they add beyond the sixth.
Why is the HS code longer than 6 digits in my country? Because countries extend the international six-digit base with their own digits for tariff and statistical purposes — for example, the U.S. uses 10 digits (HTS for imports, Schedule B for exports), the EU uses 8 (with a 10-digit TARIC), and India uses 8. The first six always match the WCO subheading.
Is the 6-digit HS code enough to import or export? No. The six-digit code gives the international category, but customs requires the full national code (8, 10, or more digits) to assess duties and apply national rules. Treating a six-digit code as a complete classification is a common mistake.
Who controls and updates the HS? The World Customs Organization (WCO) develops and maintains it, revising the nomenclature roughly every five years. The current edition is HS 2022 (the seventh edition, effective 1 January 2022); the next, HS 2027, is in preparation for 2027.
Can the same product have a different HS code in different countries? The first six digits should be the same everywhere. The national digits (7th onward) differ by country, and in rare cases customs authorities interpret a subheading differently — so when in doubt, verify the full code locally.
Pick a time on the calendar that loads next — no email back-and-forth.
The honest bottom line
The first six digits of an HS code are a small marvel of international cooperation: a single, shared standard — chapter, heading, subheading — that lets more than 200 economies describe the same goods the same way. Learn to read them and you understand the backbone of global trade classification. Just remember the two things the six digits don’t do: they don’t carry you to the national code you actually declare, and they don’t stay frozen — the WCO revises the system every five years. The six digits are where classification starts, not where it ends.
Getting from that international anchor to a correct, current, defensible national code — at scale — is what TariffWolf does: tariff classification with reasoning you can read, kept current as the system evolves.
Don’t take our word for it. Don’t Trust Us. Try Us.
This article is for general information and is not legal advice. HS editions and national tariff schedules change; verify codes against the current edition and your country’s schedule, or consult a qualified customs broker for specific products.