Skip to content

Codice fiscale calculator for foreigners

Work out the Italian tax code (codice fiscale) that matches your personal data, then get the official one from the Italian authorities. Free, nothing is sent to us: the calculation happens in your browser.

Only the Italian Revenue Agency (Agenzia delle Entrate) can assign your official codice fiscale. In rare cases (two people with the same data) the official code is different from the calculated one. Use this to check or prepare, not as a substitute.

Sex (as on your passport)
Place of birth

How to get your official codice fiscale

From the Agenzia delle Entrate page for foreign citizens (checked 10 October 2026):

How the code is built

It has 16 characters: 3 letters from your surname, 3 from your given names, 2 digits for the year of birth, a letter for the month, 2 digits for the day (plus 40 for women), a 4-character code for the place of birth (for people born abroad, "Z" and three digits for the country) and a final check letter.

Limits of this calculator

Sources: country codes from the ANPR foreign states table; town codes from ISTAT; read on 2026-10-10.