Spanish DNI letter calculator
Work out the letter of a Spanish DNI or NIF from its 8 digits.
How to use: spanish dni letter calculator
The letter of a Spanish DNI is obtained by dividing the number by 23 and assigning a letter to the remainder from a fixed table. Enter your 8 digits and you will see the matching letter. For a NIE, replace X with 0, Y with 1 and Z with 2 and calculate with those numbers.
How is the DNI letter calculated?
The number is divided by 23 and the remainder points to a letter in the sequence TRWAGMYFPDXBNJZSQVHLCKE.
Is my DNI number stored?
No. The calculation happens in your browser and is not sent or stored anywhere.