Free and secure tool

Calculate your Tax Code in seconds

Free online tool for direct and reverse calculation of the Italian Tax Code. Complete database of all municipalities. No data sent to the server.

8.000+ Municipalities
100% Free
16 Characters
0 Data saved

Calculate your Tax Code

Enter your personal data to generate the official code

Have a CF already?

Use the reverse calculator to decode personal data starting from the tax code.

Reverse Calculation

How it works?

1
Insert your personal data
2
Select the birth municipality
3
Click "Calculate" to get the CF
4
Copy, download or share the result

Privacy first

The calculation takes place entirely on your browser. No data is sent to external servers.

Why use our tool?

Everything you need to calculate and manage the Italian tax code.

Accurate calculation

Algorithm compliant with official Ministry of Economy tables.

Reverse Calculation

Get personal data back from the tax code to obtain all info.

Privacy guaranteed

Data is not sent to any server, everything happens in the browser.

Download result

You can export the calculated code as PDF or print it.

Calculations history

Locally save the latest calculations for quick access.

Instant output

Calculation happens immediately without waiting or loading.

How is the Tax Code structured?

The Italian Tax Code consists of 16 alphanumeric characters calculated starting from the person's personal data.

1-3 First 3 consonants of the surname
4-6 First 3 consonants of the first name
7-8 Last 2 digits of the birth year
9 Month letter (e.g: Jan-A, Jul-L...)
10-11 Day (+40 for women)
12-15 Cadastral code of the municipality or state
16 Final check digit

Example: Mario Rossi

R S S M R A 8 0 A 0 1 H 5 0 1 Z
RSS - ROSSI (Last Name)
MRA - MARIO (First Name)
80 - 1980 (Year)
A - January (Month)
01 - Day 01 (M)
H501 - Rome (RM)
Z - Check

Frequently Asked Questions

Everything you need to know about the Tax Code.

Honestly imagine this. A clerk slides a form toward you in Italy and asks for your CF straight away. So the codice fiscale is a 16 character alphanumeric code. It simplifies contracts, tax returns, health service registration and all public administration tasks.
Now you can calculate or get a codice fiscale through two paths. An online calculator applies the official algorithm and delivers results fast for casual needs. But the Agenzia delle Entrate issues the registered version for legal matters. So choose based on your actual situation.
Mathematically an online codice fiscale is valid because the calculator uses the correct formula. Officially though it is not registered with any government database. So for daily activities it works fine. Yet official documents really require the Agency version to prevent future complications.
You actually need four specific pieces of information to generate a codice fiscale. Your full name, date of birth, gender and place of birth all matter in the algorithm. But trying with just a name leads to failure. So gather everything first to avoid frustration.
So checking if your codice fiscale is correct happens at two levels. A quick online tool validates the checksum math in seconds. But official verification goes through the Agenzia delle Entrate portal with your ID. Honestly the first method suffices for most personal checks.