GSTIN Format and Structure: What the 15 Characters Mean

✓ Information checked: 4 October 2026

Quick answer

A GSTIN has 15 characters. Rule 10 of the CGST Rules, 2017 sets them out: 2 characters for the state code, 10 characters for the PAN (or the TAN for tax deductors), 2 characters for the entity code and 1 checksum character. In practice, the 13th character numbers the registrations a PAN holds in that state, the 14th is the letter Z by default, and the 15th is a check character that catches typing errors. The format helps you spot mistakes, but only a GST portal search tells you whether the number is real and active.

Length
15 characters (0–9, A–Z)
Legal basis
Rule 10(1), CGST Rules 2017
Characters 1–2
State code (e.g. 27 Maharashtra)
Characters 3–12
PAN (or TAN for tax deductors)
Characters 13–14
Entity code (13th number, 14th usually Z)
Character 15
Checksum

🏪 GSTIN Format & Structure फॉर्म खुद न भर पाएं तो नज़दीकी CSC (जन सेवा केंद्र) पर भरवाएं: CSC सेंटर देखें

The 15 characters, one by one

Take an illustrative GSTIN of the form 27ABCDE1234F1Z? (not a real number):

PositionExampleMeaningWhat to check
1–227State code of the state/UT where the registration is heldMatches the supplier's state (27 = Maharashtra)
3–12ABCDE1234FPAN of the business (10 characters). Tax deductors registered under section 51 may use their TAN insteadSame as the business's PAN
131Entity number – which registration this is for that PAN in that state (1 for the first; later ones get the next digit or letter)A business with several registrations in one state has different 13th characters
14ZSecond character of the entity code – Z by default for normal registrationsUsually Z
15?Checksum – calculated from the first 14 charactersA single wrong character elsewhere usually makes it fail

Rule 10 uses the term "entity code" for characters 13 and 14 together. The "13th = registration number, 14th = Z" description is how GSTINs are issued in practice.

GST state code list

The first two digits of a GSTIN identify the state or Union territory. This list follows the official GST state code list published by the Taxes Department, Government of Nagaland.

CodeState / UTCodeState / UT
01Jammu and Kashmir20Jharkhand
02Himachal Pradesh21Odisha
03Punjab22Chhattisgarh
04Chandigarh23Madhya Pradesh
05Uttarakhand24Gujarat
06Haryana25Daman and Diu (July 2017 to 26 January 2020)
07Delhi26Dadra and Nagar Haveli and Daman and Diu (merged UT)
08Rajasthan27Maharashtra
09Uttar Pradesh28Andhra Pradesh (before division)
10Bihar29Karnataka
11Sikkim30Goa
12Arunachal Pradesh31Lakshadweep
13Nagaland32Kerala
14Manipur33Tamil Nadu
15Mizoram34Puducherry
16Tripura35Andaman and Nicobar Islands
17Meghalaya36Telangana
18Assam37Andhra Pradesh (new)
19West Bengal38Ladakh

Code 25 was used for Daman and Diu until 26 January 2020, when it merged with Dadra and Nagar Haveli (code 26). Code 28 was Andhra Pradesh before the state's division; the new Andhra Pradesh uses 37 and Telangana 36.

Using the format to catch errors

A quick look at the structure catches most copying mistakes before you even search:

  • Length: exactly 15 characters, no spaces.
  • Positions 1–2 must be digits and a valid state code from the table above.
  • Positions 3–7 letters, 8–11 digits, 12 a letter – the normal PAN pattern.
  • Position 14 is usually Z. Anything else on a normal business invoice deserves a closer look.
  • Look-alike characters: 0/O, 1/I, 5/S, 8/B and 2/Z are the usual culprits. Digits can only appear where digits belong, which helps you decide.
  • Checksum: if one character is wrong, the 15th character usually no longer fits. The GST portal rejects such numbers.

Our GSTIN tool checks the format and checksum for free as you type – you only pay if you want the full ₹20 verification report.

What the format cannot tell you

A perfectly formed GSTIN can still be:

  • Never issued (someone made it up using a real PAN and a valid checksum).
  • Issued to a different business than the one using it.
  • Suspended or cancelled.
  • Registered in a different state from the one the supplier claims to bill from.

Always confirm with a live search on the GST portal's Search Taxpayer page. See how to verify a GST number.

GSTIN, UIN and other GST numbers

NumberWho gets itNotes
GSTINEvery person registered under GST15 characters, PAN-based (TAN-based for tax deductors), one per registration
UIN (Unique Identity Number)UN specialised agencies, multilateral financial institutions, foreign consulates and embassies, and other notified persons (section 25(9))Used mainly to claim refunds of tax on notified purchases; searchable on the same page as GSTIN
PANIssued by the Income Tax DepartmentNeeded for GST registration (section 25(6)); forms characters 3–12 of the GSTIN

Frequently asked questions

How many digits are in a GSTIN?

A GSTIN has 15 characters made of digits and capital letters: 2 for the state code, 10 for the PAN, 2 for the entity code and 1 checksum character, as set out in rule 10 of the CGST Rules, 2017.

What do the first two digits of a GSTIN mean?

They are the GST state code of the state or Union territory where the registration is held, for example 27 for Maharashtra, 07 for Delhi and 29 for Karnataka.

What is the 13th digit in a GSTIN?

It is the entity number for that PAN in that state. The first registration usually has 1, and further registrations of the same PAN in the same state get the next digit or letter.

Why is there a Z in every GSTIN?

The 14th character is part of the entity code and is Z by default for normal registrations.

What is the GST state code of Telangana and Andhra Pradesh?

Telangana is 36. Andhra Pradesh after division is 37; code 28 was used for Andhra Pradesh before the division.

Can a GSTIN format check prove that the number is active?

No. Format checking only catches structural and typing errors. Whether the GSTIN is registered and active must be checked on the GST portal's taxpayer search.

You may also like 👀

Most used by visitors right now

Be the first to know about new jobs and schemes 🔔

Join our Telegram channel, or leave your number below. Free, no spam.

Join Telegram channel
What updates do you want?

By subscribing you agree to receive government updates from us. We never share your number.