Vai al contenuto
Codice Fiscale Subito

Versione italiana →

Codice Fiscale Calculator: your Italian fiscal code

Enter your details to generate your codice fiscale instantly, free and without signing up. Works for people born in Italy and abroad. Everything runs in your browser.

Sex
Place of birth

How the Italian tax code is calculated

The codice fiscale has 16 characters, each with a precise meaning:

  1. 3 letters from the surname: the consonants first, then vowels, then X if needed.
  2. 3 letters from the first name: if it has 4 or more consonants, the 1st, 3rd and 4th are used.
  3. 2 digits for the year of birth (the last two).
  4. 1 letter for the month: A January, B February, C March, D April, E May, H June, L July, M August, P September, R October, S November, T December.
  5. 2 digits for the day of birth; 40 is added for women.
  6. 4 characters for the place of birth: the Italian municipality code, or a Z code for foreign countries.
  7. 1 check character calculated from the first 15.

Example: John Smith, born in the United States on 20 May 1980, has a codice fiscale starting with SMTJHN80E20Z404 followed by its check letter.

Why foreigners need a codice fiscale

You will be asked for your codice fiscale to sign a job or rental contract, open an Italian bank account, get a SIM card or utilities, register with the national health service and choose a doctor, enrol at university, or buy a car or a home.

This site is independent and not affiliated with the Agenzia delle Entrate. Procedures can change: check the official websites of the Agenzia delle Entrate or of your Italian consulate before applying.

More tools (in Italian)

Frequently asked questions

What is the codice fiscale?

The codice fiscale is Italy's 16-character tax identification code. Everyone who deals with Italian public offices needs one, whatever their nationality: it is used for employment contracts, rental agreements, bank accounts, phone contracts, the national health service and buying property.

Is the code from this calculator official?

No. The calculator uses the official algorithm, so in almost all cases the result matches the code you will be given, but a codice fiscale only exists once the Agenzia delle Entrate (the Italian Revenue Agency) issues it. In rare cases (omocodia) the official code differs.

How do I get an official codice fiscale as a foreigner?

It is free. In Italy you can apply at any office of the Agenzia delle Entrate with a valid passport or ID. From abroad you can apply through the Italian embassy or consulate that covers your country. Many non-EU citizens receive it automatically during the residence permit process. Always check the current official instructions before applying.

I was born outside Italy. What goes in place of the municipality?

People born abroad use the code of their country of birth instead of the Italian municipality code. These codes start with the letter Z, for example Z114 for the United Kingdom, Z404 for the United States and Z112 for Germany.

Which names should I enter if I have several?

Enter your surname and given names exactly as they appear on the passport or ID you will present to the Italian authorities, including middle names and compound surnames.

Is my data stored or sent anywhere?

No. The calculation, the PDF and the image are all created in your browser. Nothing you type is sent to a server or saved.