📖 Tank Metrics Blog

HSN Code for Online Sellers

Eight digits that quietly set your tax, your platform fee and your duty.

If you sell online in India, one short string of digits decides how much tax you collect, what your marketplace charges you, and what happens when a parcel crosses a border. That string is your HSN code.

Most first-time sellers copy a code from a similar listing, or let the platform choose one for them, and never look at it again. This guide explains what the code actually does, how it maps to a GST rate, and how to choose one you can defend if a notice ever arrives.

What an HSN code actually is

HSN stands for the Harmonised System of Nomenclature. It is an international list of product categories maintained by the World Customs Organization, and almost every country that trades goods uses it.

The global code runs to six digits. India adds two more digits for GST, so a full Indian code is eight digits long. The digits narrow the product down in steps:

  • The first two digits are the chapter. Chapter 61, for example, is knitted apparel.
  • The next two digits are the heading inside that chapter. That is the six-digit international code.
  • The last two digits are India's own sub-heading, which is what the GST rate is actually keyed to.

So a code is not a description of your brand or your price. It is a claim about what the goods physically are.

How the code sets your GST rate

GST is charged by rate slab, and the slab is attached to the HSN code, not to your price tag. The main slabs are 0%, 5%, 12%, 18% and 28%.

  • 0% covers fresh produce, unbranded staples and a short list of essentials.
  • 5% covers most everyday goods, including fabric and cheaper apparel.
  • 12% and 18% cover the bulk of manufactured and packaged goods.
  • 28% is reserved for a narrow set of luxury and sin goods.

Two items can sit on the same shelf, sell for the same price, and attract different tax, purely because their codes fall in different chapters. That is why the code matters far more than the price.

A worked example: a ₹6,000 order

Suppose you sell an item for ₹6,000 before tax, and you are unsure whether it belongs in the 5% slab or the 18% slab.

  • At 5%, the GST is ₹300. The customer pays ₹6,300.
  • At 18%, the GST is ₹1,080. The customer pays ₹7,080.

The gap is ₹780 on a single order. If you collected tax at the lower rate but the correct code is the higher one, that ₹780 comes straight out of your own margin, because the tax still has to be paid.

Apparel shows the same trap at a smaller scale. Readymade garments are taxed at 5% up to a selling price of ₹1,000, and 12% above it. Cross that line by one rupee and the rate on the whole garment more than doubles, so a small change in price can move the tax by more than the price change itself.

Why sellers pick the wrong code

Getting the code wrong is rarely dishonest. It usually comes from one of four habits:

  • Copying a competitor's listing. A rival's code may be wrong, and it may be wrong in a way that only shows up at an audit.
  • Trusting a platform default. A marketplace suggests a category to speed up listing, and the suggestion is a starting point, not a ruling.
  • Choosing the "others" heading. A residual heading looks safe, but it often carries a higher rate than the specific heading you should have used.
  • Reading the product name instead of the material. A code describes what the goods are made of and how they are made, not what you call them in the ad.

The code follows you past the invoice

The HSN code does more than set the tax line. It travels with the goods:

  • Marketplace fees. Commission slabs are grouped by category, and the category is tied to the code, so the code quietly sets what the platform keeps.
  • Customs. On an import, the same code drives the customs duty and the IGST charged at the border.
  • Invoices. Once your turnover crosses the threshold, the code must be printed on every tax invoice you issue.

One wrong digit can therefore raise your tax, your platform fee and your landed cost at the same time.

How to find your own HSN code

Work from the goods, not from the listing:

  1. Start with the chapter. Search the official GST rate finder by the product name and note which chapters come up.
  2. Read the chapter notes. They say what the chapter includes and, more usefully, what it excludes.
  3. Match on material and use. Pick the heading that describes what the item is made of and what it is for.
  4. Only then try a residual heading. If you land on "others", go back and check you have not missed a specific heading above it.
  5. Write it down. Keep the code, the description and the reason in one note, so the same product is classified the same way every time.

The short version

  • Your HSN code is an eight-digit claim about what the goods are, and the GST rate hangs off it.
  • Two products at the same price can pay different tax, because the slab follows the code, not the price.
  • On a ₹6,000 order, moving from the 5% slab to the 18% slab adds ₹780 of tax.
  • Classify from the material and the chapter notes, not from a competitor's listing or a platform default.
  • When in doubt, ask a CA once and record the answer, so the same product is never classified two ways.

Run your own numbers in seconds — free, in your browser, nothing saved.

Open the calculator →