Italian codice fiscale calculator
Enter your surname, first name, date and place of birth to generate your Italian tax code. The calculation runs entirely in your browser: we never see, store or share your personal data.
Your codice fiscale
- Surname (3 letters)
- First name (3 letters)
- Year of birth (2 digits)
- Month of birth (letter)
- Day + sex (2 digits)
- Belfiore code (4 characters)
- Check character (CIN)
Omocodia: the 127 possible variants of this code
If another person generates exactly your code, the Italian Revenue Agency replaces some digits with letters following a fixed table. These are all the possible variants of the code above. Only the Agency decides which one is official.
New to Italy? Read the guide to the codice fiscale for foreigners. Prefer Italian? Vai al calcolatore in italiano.
What is the codice fiscale?
The codice fiscale is the Italian tax identification code: a 16-character code assigned to every person who deals with the Italian public administration. You need one to work in Italy, rent or buy a home, open a bank account, enrol at a university, sign utility contracts and use the national health service. It is issued free of charge by the Agenzia delle Entrate (the Italian Revenue Agency) and stays the same for life.
How the code is built
The code is not random. It is assembled from your personal data with public rules: three letters from your surname, three from your first name, your date of birth and sex, the Belfiore code of your place of birth (a letter followed by three digits, with Z codes for foreign countries) and a final check character computed from the other fifteen. That is why a calculator can predict it: if the data are right, the result matches the official code in the great majority of cases.
When the official code can differ: omocodia
If two people share the same name data, birth date and birth place, the formula would give them the same code. To tell them apart, the Revenue Agency applies omocodia: it swaps some of the digits for letters, producing one of 127 possible variants. A calculator shows you the standard code and, on this site, every possible variant, but only the Agency can tell you which variant is officially yours.
Is this the official code?
This calculator is an independent information tool, not a government service. The code it generates follows the official composition rules, but the only legally valid code is the one assigned by the Agenzia delle Entrate. If you do not have a code yet, our foreigners guide explains how to obtain one, in Italy or from abroad.
Frequently asked questions
Is the codice fiscale the same as a tax number in other countries?
It plays a similar role to a national insurance number or a social security number, but it is not interchangeable with them: Italian offices, employers and banks ask specifically for the codice fiscale.
Can a foreigner get a codice fiscale?
Yes. Citizenship is not required. Anyone who needs to deal with Italian authorities, employers, landlords or banks can be assigned one, including students, workers, property buyers and residents abroad.
Does the code expire?
No. The code itself never expires and never changes, even if you move abroad. The plastic health card that carries it (tessera sanitaria) has its own expiry date, but renewing the card does not change the code.
Is my data sent anywhere when I use this calculator?
No. The calculation happens in your browser with JavaScript. Your name and birth data are never transmitted to our server or stored anywhere.