Formula
Letter = "TRWAGMYFPDXBNJZSQVHLCKE"[number mod 23] (NIE: X=0, Y=1, Z=2)
Worked example
With these values
- DNI or NIE number
- 12345678
The calculator gives
- Letter
- Z
- Full ID
- 12345678Z
These values are only an illustration. Replace them with yours in the form above.
Questions
How is the result calculated?
The calculator applies this rule: Letter = "TRWAGMYFPDXBNJZSQVHLCKE"[number mod 23] (NIE: X=0, Y=1, Z=2)
Is it free?
Yes. It is free, needs no account, and works on phone and desktop.
Are my numbers stored?
Everything runs in your browser. Nothing you type is sent to a server.