Free • No account needed

Italian Tax Code Calculator

Generate or verify an Italian codice fiscale instantly. Enter your personal details or paste an existing tax code. Free, no registration required.

✅ 100% free
🔒 Client-side calculation
🚀 Instant result
🇮🇹 All Italian municipalities
Instant
Calculated entirely in your browser
🔒
Private
Your data never leaves your device
🇮🇹
Complete database
All Italian municipalities + foreign countries
1

Enter your details

First name, surname, gender, date of birth

2

Select municipality

Search for your birthplace or foreign country

3

Get your tax code

Codice fiscale with a breakdown of each part

Type at least 2 letters to search
Your codice fiscale

Everything you need to know about the Italian Tax Code

Complete guide: how it's calculated, omocodia, special cases for foreigners, required documents and validation.

Read the full guide →

Need to calculate VAT on an invoice?

Add or remove VAT at 4%, 5%, 10%, 22%. Instant result, free.

VAT Calculator Online →

Are you a freelancer in Italy? Calculate your flat-rate tax

Flat-Rate Tax Calculator →

Need to check an Italian or European VAT number?

VAT Number Checker →

Frequently Asked Questions

What is the Italian codice fiscale?

The codice fiscale is a 16-character alphanumeric tax identification code used in Italy. It is derived from: surname (3 letters), first name (3 letters), year of birth (2 digits), month (1 letter), day + gender (2 digits), municipality cadastral code (4 characters), and a check character.

Is the generated tax code official?

The official codice fiscale is issued by the Italian Revenue Agency (Agenzia delle Entrate). This tool calculates it using the standard algorithm (DM 12/03/1974). In rare cases of omocodia (when two people share the same code), the Agency assigns a modified unique code.

Do I need a codice fiscale as a foreigner?

Yes, if you live, work, or do business in Italy, you need a codice fiscale. It is required for opening a bank account, signing rental contracts, accessing healthcare, and many administrative procedures.

How does the check character work?

The last character (16th) is calculated by summing the values of the first 15 characters using two different tables for odd and even positions. The result modulo 26 determines the check letter (A=0, B=1, ..., Z=25).

How is the tax code calculated for people born abroad?

For people born outside Italy, the municipality cadastral code is replaced by the country code, which starts with the letter Z followed by 3 digits (e.g., Z404 for Germany).

How do I verify a codice fiscale?

Our verification tool checks three aspects: the format (16 alphanumeric characters with the correct pattern), the check character (recalculated and compared with the last character), and internal consistency (valid month letter, day between 01-31 or 41-71). A valid CF does not guarantee it was officially issued by the Agenzia delle Entrate.

What is omocodia and how does it work?

Omocodia occurs when two people generate the same tax code. The Italian Revenue Agency resolves this by replacing one or more digits (at positions 7, 8, 10, 11, 13, 14, 15) with letters using a fixed table (0→L, 1→M, ..., 9→V). Our verification tool automatically detects and decodes omocodia.

Complete Guide to the Italian Tax Code

What is the Codice Fiscale?

The Codice Fiscale (Italian Tax Code) is a unique 16-character alphanumeric code assigned to every individual in Italy for tax and administrative purposes. It’s roughly equivalent to a Social Security Number (US), National Insurance Number (UK), or Tax File Number (Australia), but its structure encodes personal information directly into the code.

You need it for: opening a bank account, signing employment or rental contracts, filing tax returns, accessing healthcare, enrolling in schools, and any interaction with Italian public administration.

The 16-character structure

An Italian tax code like RSSMRA85M10F205Z breaks down as:

Position Characters Meaning
1–3RSSSurname consonants
4–6MRAFirst name consonants
7–885Last two digits of birth year
9MMonth letter (A=Jan, B=Feb, C=Mar...)
10–1110Day of birth (add 40 for females)
12–15F205Municipality cadastral code
16ZCheck character (computed)

Surname encoding rules

Take the first three consonants. If fewer than three, fill with vowels. If the surname has fewer than three letters, pad with X.

  • Rossi → R, S, S → RSS
  • Bianchi → B, N, C → BNC
  • Ao → no consonants, use vowels A, O + X → AOX

First name encoding rules

Similar to surnames, but if the name has 4 or more consonants, take the 1st, 3rd, and 4th (skipping the 2nd). Otherwise, take the first three consonants, filling with vowels if needed.

  • Mario → M, R (only 2) + vowel A → MRA
  • Giuseppe → G, S, P, P (4 consonants) → 1st, 3rd, 4th: GPP
  • Francesca → F, R, N, C, S (5 consonants) → 1st, 3rd, 4th: FNC

Date of birth and gender

The year is the last two digits (1985 → 85). Each month is a letter: A (Jan), B (Feb), C (Mar), D (Apr), E (May), H (Jun), L (Jul), M (Aug), P (Sep), R (Oct), S (Nov), T (Dec). The day is the actual date for males (01–31); for females, add 40 (41–71).

Codice Fiscale for foreigners

Non-Italian citizens living or working in Italy also receive a Codice Fiscale. The calculation is identical, but the birthplace code uses the country code (Z + 3 digits) instead of an Italian municipality. You can request one at any Italian consulate or Agenzia delle Entrate office.

Omocodia: duplicate code resolution

When two people generate the same tax code, the Italian Revenue Agency resolves the conflict by replacing digits with letters using a fixed table (0→L, 1→M, ..., 9→V), starting from the rightmost digit. Only the Agency can assign the official code in omocodia cases.

Explore all free ANIMA tools for business management.

✎ Suggest a change
📖 Read the complete guide
📊
Monitor your website for free
Get a full SEO, performance & security audit. Activate weekly monitoring to track changes over time.
Try Site Monitor →

Try our AI-powered tools

Generate professional texts, emails, bios and slogans in seconds. 10 free credits at sign up — no card needed.