Codice fiscale calculator
For reference only, worked out with the rules of DM 23/12/1976 and the ANPR/ISTAT place codes as of 23/10/2026. The only valid code is the one issued by the Agenzia delle Entrate; with omocodia it can differ. Sources: Agenzia delle Entrate · ANPR · ISTAT · Disclaimer
Type your details as they appear on your passport. The 16-character code appears at once, with the reason for every letter. The list covers 7,894 Italian comuni, 1,970 former comuni and 239 countries.
What the 16 characters mean
John Smith, male, born in the United Kingdom on 5 June 1988, gets SMTJHN88H05Z114N:
SMTthree consonants of the surname (vowels, then X, if there are too few);JHNthree letters of the first name (with four or more consonants: the 1st, 3rd and 4th);88last two digits of the year;Hthe month letter (table below);05the day; women add 40;Z114the place: an Italian comune code (Rome isH501) or a “Z” country code;Na check letter computed from the other 15.
Month letters
| Month | Letter | Month | Letter |
|---|---|---|---|
| January | A | July | L |
| February | B | August | M |
| March | C | September | P |
| April | D | October | R |
| May | E | November | S |
| June | H | December | T |
Is the calculated code my real codice fiscale?
Usually, but only the code issued by the Agenzia delle Entrate counts. It can differ when two people would share a code (omocodia: some digits become letters), or when your names were recorded differently, for example a middle name left out. Foreigners sometimes first receive a temporary 11-digit number. Check a code with the Agenzia’s free service.
Questions
Do I use my nationality or my country of birth?
Your country of birth. An Italian born in Germany has the German code; a Romanian born in Turin has the Turin code.
Should I include my middle names?
Yes, all given names as on your birth record, written together. Leaving one out can change the code.
Is my data sent anywhere?
No. Everything runs in your browser; nothing you type is sent or stored.
Can I use a calculated code on official forms?
Only once you know it matches the code the Agenzia delle Entrate issued to you, as printed on your certificate or health card.
Other tools
Related guides
- How the codice fiscale is built, character by characterThe 16 characters of the Italian tax code explained with a worked example: surname, name, date, place code and the check letter.
- How foreigners get a codice fiscale in ItalyWho issues the Italian tax code to EU and non-EU citizens, where to apply in Italy or from abroad, and which documents the Agenzia accepts.