utilduck
Home · Office · CUIT/CUIL Calculator (Argentina)

CUIT/CUIL Calculator (Argentina)

Enter the person type and DNI to calculate the CUIT/CUIL check digit with the modulo-11 algorithm.

Calculated CUIT/CUIL
-

How is the CUIT/CUIL check digit calculated

Take the 10 digits (2-digit prefix + 8-digit DNI), multiply each by the weights 5,4,3,2,7,6,5,4,3,2 from left to right, add the products, and subtract the remainder of that sum divided by 11 from 11.

This tool only computes the mathematical check digit; it does not confirm the CUIT/CUIL actually exists or is active. Always verify against AFIP's official registry.

How is the CUIT/CUIL check digit calculated?

Form 10 digits from the 2-digit type prefix plus the 8-digit DNI, multiply each from left to right by the weights 5,4,3,2,7,6,5,4,3,2, add the products, and compute 11 minus the remainder of that sum divided by 11. Example: prefix 20 with DNI 12345678 gives check digit 6, i.e. 20-12345678-6.

Calculation steps

  1. Choose the prefix by person type: 20 (male), 27 (female), 30 (legal entity), or 23 (other/non-binary, or the special case below).
  2. Pad the DNI with a leading zero to 8 digits if it has only 7.
  3. Multiply the 10 digits (prefix + DNI), left to right, by the weights 5,4,3,2,7,6,5,4,3,2.
  4. Sum the 10 products and take the remainder of that sum divided by 11.
  5. Subtract that remainder from 11: if the result is 11, the check digit is 0; if it is 10, the special prefix 23 with check digit 9 is used instead; otherwise it is the number itself.

Formula

check digit = 11 - (sum(digit x weight) mod 11), weights 5,4,3,2,7,6,5,4,3,2 left to right; 11 -> 0, 10 -> prefix 23 and check digit 9
  • digit = each of the 10 digits (2-digit prefix + 8-digit DNI), read left to right
  • weight = the multiplier for that position: 5,4,3,2,7,6,5,4,3,2
  • mod 11 = the remainder of the total sum divided by 11

Example calculated CUIT/CUIL numbers

PrefixDNICheck digitCUIT/CUIL
2012345678620-12345678-6
2730709451227-30709451-2
3050000000330-50000000-3
2499999999524-99999999-5
20123456709 (special case)23-12345670-9

Frequently asked questions

What's the difference between CUIT and CUIL?

They're the same 11-digit number under different names depending on use: CUIL (Código Único de Identificación Laboral) is used for employment and social security contributions, while CUIT (Código Único de Identificación Tributaria) is used for AFIP tax registration. The check-digit algorithm is identical for both.

What does the special case mean when the check digit comes out to 10?

The modulo-11 algorithm only produces single digits 0-9. When the raw calculation equals exactly 10, AFIP's convention is to use prefix 23 (instead of 20, 23, or 27) together with check digit 9, rather than a two-digit value.

Does this calculator confirm the CUIT belongs to a real person?

No. It only verifies that the check digit is mathematically correct for the prefix-and-DNI combination you enter. It does not query any registry or confirm the number is active or registered — that requires AFIP's official registry.

Why are there multiple possible prefixes for the same person?

The prefix depends on taxpayer type (20 male, 27 female, 30 legal entity) and, in some historical or administrative cases, can vary (23, 24, 33, 34). AFIP is the only authoritative source for confirming which prefix applies to a real CUIT.

This tool implements only the public modulo-11 check-digit algorithm. It does not verify that a CUIT/CUIL actually exists, is active, or belongs to the stated person — use AFIP's official registry for real verification.