Sample GSTIN Number: What It Looks Like
In one line
A sample GSTIN is a 15-character code like 27ABCDE1234F1Z5, built from a state code, a PAN, an entity number and a check digit.
- Reading time
- 5 min
- 1,057 words
- Sections
- 7
- longest: Questions people ask
- Shelf
- Money maths
- 310 explainers there
- First published
- Dec 2026
- updated 4 Dec
- 1What Does a Sample GSTIN Look Like?151
- 2How Is the 15th Check Digit Calculated?163
- 3Where Do You Use a Sample GSTIN?110
- 4How Do You Check Whether a GSTIN Is Real?123
- 5What Are the Common Mistakes With Sample GSTINs?150
- 6Questions people ask182
- 7Related25
Counted from this page's own text. Each row links to its section.
A sample GSTIN is a 15-character alphanumeric code, and 27ABCDE1234F1Z5 is a valid-format example you can use for testing forms. The first two digits are the state code, the next ten are the holder’s PAN, the 13th character is the entity number for that PAN within the state, the 14th is the letter Z by default, and the 15th is a check digit.
Most people who search for a sample GSTIN are filling a demo form, testing software, or trying to recognise a real number. The format is fixed, so a made-up sample can be checked for structure even though it does not belong to any real business.
What Does a Sample GSTIN Look Like?
Every GSTIN has the same 15-character layout. Here is the breakdown of the sample 27ABCDE1234F1Z5:
| Position | Characters | What it means |
|---|---|---|
| 1-2 | 27 | State code (27 is Maharashtra) |
| 3-12 | ABCDE1234F | PAN of the business or person |
| 13 | 1 | Entity number for that PAN in that state |
| 14 | Z | Default letter (Z) |
| 15 | 5 | Check digit |
The state code is the same two-digit code used in the GST registration process and on invoices. For example, 07 is Delhi, 29 is Karnataka, 33 is Tamil Nadu and 24 is Gujarat. A business registered in more than one state gets a separate GSTIN for each state, and the state code changes while the PAN stays the same.
The 13th character is not always 1. If the same PAN is registered multiple times within one state (for example, separate business verticals), the entity number goes up to 2, 3 and so on. The 14th character is Z for most registrations; other letters appear only in specific cases.
How Is the 15th Check Digit Calculated?
The last character is a check digit. It is generated from the first 14 characters using a fixed formula, so a random 15-character string will usually fail a format check. Software that validates GSTINs recalculates this digit and compares it with the one typed in.
The formula works like this: assign values to each of the first 14 characters (digits keep their value, letters A to Z map to 10 to 35), multiply the value in each odd position by 1 and each even position by 2, add the digits of each product, sum all 14 results, then find the number that must be added to reach the next multiple of 36. That number becomes the check digit, written as 0-9 or A-Z.
You do not need to do this by hand. Any GSTIN validation tool or accounting software does it for you. The practical point is that a sample GSTIN with a wrong check digit will be rejected by a form even if the rest of the structure looks right.
Where Do You Use a Sample GSTIN?
A sample GSTIN is useful when you need a placeholder that looks real. Common uses:
- Testing an invoice template or billing software before going live.
- Filling demo data in accounting or ERP training sessions.
- Checking that a form accepts the correct 15-character format.
- Learning to read a GSTIN on an invoice so you can spot a wrong state code or a missing character.
Do not use a sample GSTIN on a real tax invoice, e-way bill or return. A GSTIN that does not belong to a registered business will fail verification on the GST portal, and using a false number on a tax document can attract penalties under GST law.
How Do You Check Whether a GSTIN Is Real?
A sample GSTIN only proves the format. To check whether a number is actually registered, use the GST portal’s search option for a taxpayer by GSTIN. The result shows the legal name, trade name, registration date, constitution of business and current status (active, cancelled or suspended).
Before you trust a GSTIN on an invoice, check three things:
- The state code matches the address on the invoice.
- The PAN inside the GSTIN matches the PAN printed on the invoice.
- The registration status is active on the date of the invoice.
A GSTIN can be cancelled after the invoice date. If the status shows cancelled, the invoice may not be valid for input tax credit, so check the cancellation date against the invoice date.
What Are the Common Mistakes With Sample GSTINs?
The most common mistake is treating a format-valid sample as a real registration. 27ABCDE1234F1Z5 passes the structure test but belongs to no business. Another mistake is copying a GSTIN from one state and changing the first two digits without recalculating the check digit; the result will fail validation.
People also confuse the GSTIN with the GST number printed on a composition dealer’s bill. A composition dealer has a GSTIN too, but the bill shows a composition tax rate and the dealer cannot pass on input tax credit. The GSTIN format is the same.
Another error is assuming the PAN inside a GSTIN is always the proprietor’s personal PAN. For a company, it is the company’s PAN; for a partnership firm, it is the firm’s PAN. The GSTIN does not show the type of business by itself, though the PAN structure can give a hint.
Questions people ask
Can I generate a sample GSTIN for practice?
You can build one by following the 15-character layout and calculating the check digit with a validator. For practice, use a clearly fake PAN like ABCDE1234F and a state code that matches the address you are testing. Do not use it on any document filed with the government.
Is 27ABCDE1234F1Z5 a real GSTIN?
No. It is a format-valid example. The PAN ABCDE1234F is not a real PAN, so the GSTIN does not belong to any registered business.
How many characters does a GSTIN have?
Exactly 15: two digits for the state, ten characters for the PAN, one for the entity number, one letter (usually Z) and one check digit.
Can a GSTIN start with a letter?
No. The first two characters are always digits because they are the state code. The third character onward can be a letter or a digit depending on the PAN.
What is the difference between GSTIN and GST number?
They are the same thing. GSTIN is the formal term for the registration number issued under GST.
Related
Rules referred to on this page come from their publishers: the Reserve Bank of India (banking, payments), SEBI (markets, mutual funds), NPCI (UPI), the Income Tax Department (tax). Rates and fees change; check the provider's own page. General information, not financial advice. Sources and method
Spotted an error? Tell us and we will correct it (corrections).