Can you calculate your codice fiscale online, and is it valid?
Updated November 21, 2026
You can calculate what your code would probably be, but it isn't valid: the Agenzia delle Entrate says codes calculated with apps on websites have no value and can cause problems, and that the only valid codice fiscale is the one it issues. A calculated code can also be wrong when two people share the same data (omocodia).
How the code is built
A codice fiscale has 16 characters: three from the surname, three from the given name, the year, a letter for the month, the day of birth (plus 40 for women), four characters for the place of birth (the comune, or the foreign country) and a final check letter.
Why a calculated code isn't enough
- It isn't registered. Banks, notaries and public offices check codes against the Agenzia's register. A code that was never issued doesn't exist there.
- Omocodia. When two people's data produce the same code, the Agenzia assigns each a different, modified code. A calculator can't know that.
Checking a code
The Agenzia has a free online check that tells you whether a code exists and matches the personal data. Use it on any code you were given.
What to do next: if your consulate only takes requests in special cases, or you'd rather not organise a delegate in Italy yourself, order it with us: one form, a passport scan and one signed authorisation. An Italian tax professional files it at the Agenzia delle Entrate for €79. The code itself is free; you pay for the service.
Quick answers
Can I use a calculated code on a form while I wait?
The Agenzia warns that calculated codes have no value and can cause problems. Get the real one first.
How do I check if my codice fiscale is real?
Use the Agenzia delle Entrate's free online verification service: it checks that the code exists and matches your data.
What is omocodia?
When two people's data would generate the same code, the Agenzia gives each a different code. That's why only the issued code counts.
Sources
Checked: November 21, 2026. Official pages change; follow the links for the current rules.
- Agenzia delle Entrate: codice fiscale FAQ (Italian)
- Agenzia delle Entrate: The codice fiscale, what it is and how to get it (Italian, updated 20 Oct 2026)
- Agenzia delle Entrate: online codice fiscale check
General information, not legal or tax advice. CodiceFacile is a private service, not an Italian authority.