HS Codes Explained: A Merchant's Guide to Product Classification
What HS codes are, how they work, and why accurate classification matters for international e-commerce.
June 17, 2026
HS (Harmonized System) codes are internationally standardized 6-digit codes that classify every product traded across borders. They determine import duty rates, trade restrictions, and customs requirements. For Shopify merchants selling internationally, understanding HS codes is the foundation of accurate duty calculation and smooth cross-border shipping.
Developed and maintained by the World Customs Organization (WCO), the Harmonized System is used by over 200 countries as the basis for their customs tariffs and trade statistics. Every product — from textiles and electronics to food and machinery — has an assigned HS code that customs authorities worldwide recognize. This universal classification system is what makes it possible to calculate duties automatically at checkout.
How HS Codes Are Structured
Countries add additional digits beyond the 6-digit core for their national tariff schedules. A code like 6109.10 means: Chapter 61 (apparel, knitted or crocheted), Heading 09 (T-shirts, singlets, and other vests), Subheading 10 (of cotton). Countries may then add 2-4 more digits for their specific tariff lines.
Let's break down the full structure of an HS code using a practical example. The US HTSUS code for a cotton t-shirt is 6109.10.0012:
- Chapter (61) — The broadest category, covering articles of apparel and clothing accessories, knitted or crocheted
- Heading (09) — T-shirts, singlets, tank tops, and similar garments
- Subheading (10) — Of cotton (as opposed to 90 for other textile materials)
- National digits (0012) — US-specific statistical suffixes that further define the product for tariff and trade data purposes
The first 6 digits are consistent across all Harmonized System countries, which means a cotton t-shirt has the core code 6109.10 whether it's entering the United States, the European Union, Japan, or Australia. This global consistency is what makes cross-border e-commerce feasible — without it, every country would need its own independent classification system, making automated duty calculation nearly impossible.
How to Find the Right HS Code
Finding the correct customs code for your products requires understanding both the product itself and the Harmonized System's classification rules. Here are the most reliable approaches:
- Search by product description — Use the WCO's Harmonized System database or your country's customs website to search for keywords describing your product
- Review rulings — Customs authorities publish binding rulings for specific products that can serve as guidance for similar items
- Consult the General Rules of Interpretation (GRI) — These six rules provide the legal framework for classifying products within the Harmonized System
- Use AI-powered tools — Platforms like RateTell analyze product data to suggest accurate HS codes automatically
One of the most challenging aspects of product classification is determining the correct heading when a product could reasonably fall into multiple categories. For example, a smartphone case made of leather might be classified as leather goods (Chapter 42) or as an accessory for electronic devices (Chapter 85). The General Rules of Interpretation specify that the most specific description should prevail, but determining specificity requires expertise in both the product and the Harmonized System.
Why Accurate Classification Matters
Wrong HS codes lead to incorrect duty charges, customs delays, and potential penalties. Accurate classification ensures your customers see reliable duty estimates at checkout and their orders clear customs without issues. The consequences of inaccurate product classification go beyond just incorrect duty amounts:
- Customs audits and penalties — Customs authorities can audit shipments and impose fines for intentional misclassification
- Delayed shipments — Incorrect codes flag shipments for manual review, adding days or weeks to delivery times
- Lost customer trust — If a customer is asked to pay unexpected duties because of a classification error, they may not return
- Trade restriction violations — Some products require special licenses or are prohibited under certain HS codes
The financial impact of classification errors can be significant. Underpaying duties because of an incorrect HS code might save money in the short term, but customs authorities can demand back-payment plus penalties for up to several years of shipments. Overpaying, while less risky from a compliance perspective, means your prices are uncompetitive compared to merchants who classify correctly.
HS Code Maintenance and Updates
HS codes are not static. The WCO updates the Harmonized System every five years to account for new products, changes in trade patterns, and technological advancements. The most recent update (HS 2022) introduced hundreds of new subheadings for products like smartphones, drones, and 3D printers. Merchants need to review their product classifications periodically to ensure they remain current with these updates.
Additionally, individual countries can modify their national tariff schedules at any time, often in response to trade policy changes or new trade agreements. A product that was duty-free under a trade agreement might become dutiable if the agreement expires, and vice versa. Automated systems that track these changes and update duty calculations in real time are essential for maintaining accurate landed costs.
AI-Powered Classification with RateTell
RateTell uses AI to automatically suggest HS codes based on your product titles, types, and tags. You review and approve each one — no customs expertise required. RateTell's classification engine analyzes your product data against millions of existing classifications to find the best match, and the system learns from your approvals to improve future suggestions.
Setting up HS codes in RateTell takes just a few minutes. Import your product catalog, review the AI-generated suggestions, and approve the ones that look correct. RateTell also supports bulk editing, so you can apply classifications across similar products at once. Once your codes are approved, RateTell uses them to calculate accurate duties and taxes at checkout, ensuring your customers always see the correct total price. Start your free trial to classify your first product.
RateTell Team
RateTell helps Shopify merchants show estimated duties, taxes, and shipping at checkout. Start your 14-day free trial today.
Start Free TrialRelated articles
Shipping
What is DDP Shipping? A Complete Guide for Shopify Merchants
Learn what Delivered Duty Paid means and how it helps international customers see the full price at checkout.
Duties & Taxes
How to Calculate Import Duties and Taxes
Understand how import duties are calculated and what factors affect the final customs charges on international orders.
Landed Cost
Landed Cost 101: What It Is and Why It Matters
Everything merchants need to know about landed cost — how it's calculated and why showing it at checkout reduces cart abandonment.