Skip to content
Export Import AcademyKnowledge for global trade

HS Tariff Classification Number: How to Find the Right Code and Format It Correctly

An HS tariff classification number is the customs code used to identify a product for international trade. At the global level, the Harmonized System uses 6 digits: the first 2 digits identify the chapter, the first 4 digits identify the heading, and all 6 digits identify the subheading. Countries then often add extra digits for their own tariff, statistical, or customs purposes, so the number you use for filing may be longer than the international HS code.

If you are trying to classify a product, the safest approach is to start with the product itself — its material, function, and essential character — and then confirm the code in the official tariff database for the destination country. A keyword search can help you begin, but it is not a substitute for technical classification.

What an HS Tariff Classification Number Is

The Harmonized System, or HS, is the international product classification framework used by customs authorities and trade agencies around the world. The World Customs Organization’s HS structure is standardised at the 6-digit level, and countries build their own schedules on top of it. Canada’s official trade guidance explains that HS codes are organised by chapter (2 digits), heading (4 digits), and subheading (6 digits), while national systems may add further digits for local needs. You can see that structure in Global Affairs Canada’s explanation of Harmonized System codes.

In practical terms, an HS tariff classification number tells customs what the product is. That matters because the code is used to apply tariff treatment, record trade statistics, and support customs processing. The U.S. government’s HS codes guidance from Trade.gov describes HS codes as a standardised numerical method used to identify and describe traded products for duties and statistics.

HS code, commodity code, HTS, Schedule B, and tariff code: what is the difference?

These terms are related, but they are not always interchangeable.

  • HS code: the international 6-digit classification used globally.
  • Commodity code: a term some countries and organisations use for a customs classification number, often based on HS.
  • HTS code: the U.S. Harmonized Tariff Schedule classification used for imports into the United States.
  • Schedule B: the U.S. export reporting classification used for exports from the United States.
  • Tariff code: a general phrase that may refer to the HS code or to a longer national code, depending on the country.

This is why a search for an HS tariff classification number can produce different answers depending on the shipment route, the country, and whether you are importing, exporting, or just analysing trade data. The first six digits are international; anything beyond that is country-specific.

What is the format of a 12-digit HS code?

A 12-digit HS code is not the universal international HS standard. The international HS standard ends at 6 digits. A 12-digit code is usually a national customs or tariff extension used by a specific country for more detailed tariff, statistical, or regulatory purposes.

DHL’s customs guidance notes that countries may extend the HS beyond six digits, and the number of digits varies by jurisdiction rather than following one global rule. For example, some countries use 8 digits, some 10, and others more. You can review this in DHL Malaysia’s HS Code international shipping guide. The key point is simple: when someone says “12-digit HS code”, they are usually talking about a country-specific customs code, not the WCO’s base HS standard.

How to Find the Right HS Code for Your Product

The best classification process starts with the product description itself, not with a search box. Customs authorities and trade guidance consistently stress that you should classify by the product’s actual characteristics. That means looking at the material composition, the item’s principal function, and its essential character where relevant.

US guidance and compliance resources make the same point: use a detailed product description, then narrow the code through the tariff schedule. A general search term is only a starting point. If the description is too vague, a lookup tool may return no adequate response or multiple possible results. The U.S. Postal Service’s HS lookup tool, for example, asks for detailed item descriptions and may prompt you to add more information when the description is not specific enough: USPS Harmonized System code lookup.

A practical step-by-step classification method

  1. Describe the product precisely. Write down what it is, what it is made of, how it works, and what it is used for.
  2. Identify the primary function. If an item can be used in several ways, customs usually classifies it by its main function or essential character.
  3. Check the material composition. Whether the product is metal, plastic, textile, electronic, or composite can affect the classification.
  4. Search the official tariff database. Use the destination country’s official HS or tariff schedule, not just a general internet search.
  5. Read the legal notes and headings. The wording in the tariff schedule and the section/chapter notes often determines the final code.
  6. Compare close alternatives. Many products fit more than one heading at first glance, so you need to compare the competing options carefully.
  7. Confirm the local extension. Once you have the HS6 base, check whether the destination country requires additional digits.
  8. Escalate if needed. If the code is unclear or high-risk, ask a customs broker, trade compliance specialist, or the relevant customs authority for support.

For U.S. exports, one practical compliance guide explains that you should not rely on a simple search bar alone; you need to identify the material and function first, because that drives the correct classification. That same guide also notes that U.S. export filings require a full 10-digit code, with the first six digits being internationally harmonised and the last four digits being U.S.-specific for statistical tracking. You can read that guidance in Parcel International’s 2026 compliance guide for USA exports.

Where to Search for HS Codes and Official Code Lists

When people ask for an HS code list, they often mean one of three things: a searchable customs database, a country tariff schedule, or a downloadable list or PDF for quick reference. Those are related, but they are not the same thing.

The most reliable place to verify a code is the official customs or tariff database for the relevant country. Official databases are better than static lists because tariff schedules change and because many countries add digits beyond the international HS6 level. The U.S. Harmonized Tariff Schedule site is a good example of an official schedule and search platform: the U.S. International Trade Commission’s HTS database.

Why a static list is not enough

A static list can help you orient yourself, but it should not be your only source of truth for filing decisions. The reason is simple: a list is a snapshot, while customs schedules are living documents. National schedules can be updated, amended, or extended, and different countries may use different code lengths for the same product.

So if you are looking for an HS 6-digit code list or an HS code database, think of it as a reference tool rather than a final legal answer. For actual declarations, use the current official schedule for the importing or exporting country.

What a list of all HS codes really means

There is no single universal flat list of “all HS codes” that never changes. The HS is structured by chapters, headings, and subheadings, and countries then add their own national extensions. That means the useful “list” is really the current tariff schedule or database for the jurisdiction you care about.

If you need to search by broad product category, the World Bank’s trade data portal provides HS 6-digit product groupings for trade statistics: WITS trade statistics by HS 6-digit product. That is helpful for research and comparison, but it is not the same thing as a filing schedule.

Can You Get an HS Code List PDF?

Many users want a PDF because it is easy to save, print, or share. That is understandable, but a PDF is usually only a snapshot of a specific schedule or reference list. It may be useful for orientation, but it is not automatically the current legal authority for customs filing.

Carrier guidance can also be useful as a reference aid. For example, DHL provides an overview of HS codes and explains the basic six-digit structure in plain language. That kind of material can help you understand the system, but it should still be checked against the official customs database for the destination country before filing. See DHL’s HS code guide.

So if you search for an HS Code list PDF or a list of DHL commodity codes PDF, treat it as a convenience document. Use it to learn and orient yourself, then confirm the live code in the official tariff database.

How HS Codes Work in the U.S. Tariff System

The U.S. uses the international HS as the basis for its tariff framework, but U.S. import and export filings use country-specific extensions. The U.S. Harmonized Tariff Schedule (HTS) is the legal tariff schedule for imports into the United States, while export reporting generally uses Schedule B numbers. In U.S. filings, the code is typically 10 digits, not 6.

The important distinction is this:

  • The first 6 digits are internationally harmonised.
  • The additional digits are specific to the U.S. system and its statistical or tariff needs.

That is why a product may have one international HS6 base but a longer U.S. code for import or export paperwork. The HTS database itself describes the Harmonized Tariff Schedule as the U.S. tariff schedule for imports, and notes that it is based on the international HS system. You can check that at the official HTS website.

If your filing is for a U.S. export, remember that using only the 6-digit HS code is usually not enough. The compliance guide cited earlier explains that U.S. export filings require the full 10-digit code, and filing with only 6 digits can cause an EEI submission to be rejected in AES. That is a practical reason to confirm the exact U.S. reporting number, not just the international base code.

If you are dealing with U.S. customs paperwork more broadly, these related resources may also help: importer of record responsibilities, commercial invoice requirements, and CBP filing forms.

Why Some Countries Use 8, 10, 11, or 12 Digits

The international HS standard ends at 6 digits, but countries often extend it to suit their own customs systems. Those extra digits can be used for more detailed duty lines, statistics, import controls, or local administration.

There is no single worldwide digit count beyond HS6. The number depends on the jurisdiction. For example, DHL’s country examples show that some systems use 12 digits, while others use different lengths. The precise structure varies by country, which is why you should never assume that a code format used in one market applies everywhere.

So when you encounter a “12-digit HS code”, read it as a local customs code with an HS6 base, not as a universal format. The base six digits remain the international foundation.

Why the Right HS Code Matters for Duties and Customs

The correct HS tariff classification number is not just a labelling detail. It affects customs treatment, duty rates, trade statistics, and clearance workflow. Customs agencies use the code to identify what the product is and to determine the applicable tariff treatment.

Global Affairs Canada notes that by finding the right HS code, you can identify the applicable tariff rate. Trade.gov likewise explains that HS codes are used to identify products for duties and statistics. If the product is classified incorrectly, the consequences can include delays, incorrect duty assessment, or a need to correct the entry later.

For the duty side of the process, you may also find these guides useful: how import tax is calculated and paying customs duty online.

It is also worth separating trade statistics from filing classification. Governments and analysts often group data at the 4-digit level for broader product analysis, such as comparing categories across markets. That is useful for statistics, but it is usually not specific enough for customs filing. For legal classification, you normally need the more detailed national code, not just a 4-digit heading.

When to get help from a broker or customs specialist

You should consider professional help if:

  • the product has mixed materials or multiple possible functions;
  • the item is new, technical, or unusual;
  • the tariff impact is significant;
  • the code affects licensing, restrictions, or special treatment;
  • you cannot confidently choose between two close headings;
  • the destination country uses a long national extension that you are not familiar with.

In those cases, a customs broker or classification specialist can help you apply the tariff rules correctly. If the risk is high or the product is genuinely ambiguous, an official ruling request may be the safest route.

Quick Reference: What to Remember About HS Tariff Classification Numbers

Topic What to remember
International HS format 6 digits: chapter, heading, subheading
Country extensions Many countries add digits beyond HS6
12-digit code Usually a national customs or tariff code, not the universal HS standard
U.S. imports HTS is used, generally as a 10-digit code
U.S. exports Schedule B / export reporting numbers are typically 10 digits
Best way to find the code Start with the product’s material, function, and essential character, then verify in the official database
PDFs and static lists Useful as references, but not the final authority for filing
Trade statistics 4-digit groupings are useful for analysis, not usually for final customs filing

If you are moving from classification to product-specific examples, you may also want to read our guide on HS code examples for specific products. And if classification problems are causing customs delays, this article on customs clearance status explains what may happen next.

In short: use the product facts first, the official database second, and any PDF or keyword search only as a starting point. That is the most reliable way to find the right HS tariff classification number and format it correctly.


Continue Reading

You may also be interested in: Donald Trump Canadian Tariff Lawsuit: What It Challenges and What Happens Next