Turkish ID numbers (TC Kimlik Numarası) are 11-digit unique identifiers assigned to every Turkish citizen. Understanding their validation algorithm is essential for developers building applications for the Turkish market.
Structure of a Turkish ID Number
A valid Turkish ID number follows strict mathematical rules:
Validation Algorithm
Rule 1: Check Digit 10
d10 = ((d1 + d3 + d5 + d7 + d9) × 7 - (d2 + d4 + d6 + d8)) mod 10
Rule 2: Check Digit 11
d11 = (d1 + d2 + d3 + d4 + d5 + d6 + d7 + d8 + d9 + d10) mod 10
Rule 3: Basic Checks
Validation Summary
| Rule | Description |
|---|---|
| Length | Exactly 11 digits |
| First digit | Cannot be 0 |
| 10th digit | Derived from odd/even position digits |
| 11th digit | Sum of first 10 digits mod 10 |
Example Validation
For the number 10000000146:
The algorithm ensures that random 11-digit numbers are extremely unlikely to pass validation, providing a reliable check for data integrity.
Developer Tips
Try It Yourself
Validate any Turkish ID number instantly with our free TC Kimlik Validator.