esc
ID checkers

ตรวจสอบเลขบัตรประชาชน:
Thai ID check digit

Type a 13-digit Thai ID or tax ID number to check its last digit and read what the other digits mean.

More tools for Thailand Other countries

How to use ตรวจสอบเลขบัตรประชาชน

  1. 01Type the number13 digits, dashes are fine.
  2. 02See the resultCheck digit right or wrong.
  3. 03Read the digitsCategory and province.
Front and back of an ID card on one sheet of paper

0 1075 44000 10 8: check digit 8, correct.

The 13th digit of a Thai ID number is worked out from the first 12 with weights 13 down to 2 and a remainder after dividing by 11. The same rule covers a company’s 13-digit tax ID. The tool runs the check and explains the first digit and province code.

วิธีตรวจสอบเลขบัตรประชาชน 13 หลัก takes a minute by hand once you know the rule. This page explains how the 13th digit is calculated, what the first digit and the province code mean, and how the same check applies to a company’s tax ID.

How the 13th digit is calculated

Example from a Thai explainer citing the Department of Provincial Administration: for 1 2015 41462 23 the weighted total is 205, 205 ÷ 11 leaves 7, and 11 − 7 = 4, so the full number ends in 4.

  1. Write down the first 12 digits.
  2. Multiply them by 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3 and 2, in order.
  3. Add up the 12 results.
  4. Divide the total by 11 and keep the remainder.
  5. Take 11 minus the remainder. If that is 10 or 11, keep only the last digit (0 or 1). This is the 13th digit.

What the first digit means

  • 1: Thai national born on or after 1 January 1984 whose birth was registered within 15 days.
  • 2: born on or after 1 January 1984, birth registered late.
  • 3: born before 1 January 1984 and in a house registration at the time.
  • 4: born before 1 January 1984 but not in a house registration at the time, for example because they had moved.
  • 5: added later, for example missed in the census, or special cases.
  • 6: foreign national living in Thailand temporarily, or who entered illegally.
  • 7: child of a category 6 person, born in Thailand.
  • 8: foreign national with permanent residence, or Thai by naturalisation.
  • 0: not given to Thai nationals; companies’ juristic person numbers start with 0.

Digits 2 to 5: the registrar office

Digits 2 to 5 are the code of the registrar office that issued the number. The first two of them are the province code from ISO 3166-2:TH, so 10 is Bangkok, 50 Chiang Mai and 90 Songkhla.

The code is where the number was registered, not where the person lives now, and it never changes. Someone registered in Nong Khai before Bueng Kan became a province in 2011 still has 43, not 38.

Company tax IDs use the same rule

A Thai company’s 13-digit juristic person number, which is also its tax ID for VAT and withholding tax, uses exactly the same check digit. PTT Public Company Limited’s number, 0107544000108, is the example in the checker: its weighted total is 190, 190 ÷ 11 leaves 3, and 11 − 3 = 8.

So the tool is just as useful for checking the seller’s tax ID on a tax invoice (ใบกำกับภาษี) as for a person’s ID number.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

Can this tell me who owns an ID number?

No. It only checks the arithmetic of the digits. It doesn’t connect to the Department of Provincial Administration and can’t tell whether a number was issued or whose it is.

Is the tax ID the same as the ID card number?

For a person, yes: the 13-digit ID number is also the personal tax ID. A company has its own 13-digit juristic person number, usually starting with 0, and it uses the same check digit rule.

What does the first digit mean?

It is the person’s category. 1 and 2 are Thai nationals born from 1984 on (registered on time or late), 3 and 4 were born before 1984, 5 to 8 cover later additions, foreign residents and naturalised citizens.

Is my number sent anywhere?

No. The check runs in your browser.

เลขบัตรประชาชนถูกต้องไหม if the check passes?

Passing means the 13 digits are consistent with each other. It doesn’t prove the number was issued or belongs to the person in front of you.

Can I type Thai digits?

Yes. ๐–๙ are read as 0–9, and dashes and spaces are ignored.

Can I find the last digit if I only have 12?

Yes. Type the first 12 digits and the tool shows the 13th.