Skip to main content

Guatemala CUI Validator

Online Guatemalan CUI validator. Verify Modulo 11 weights. QA testing.

About Guatemala CUI

The CUI is the unique identification code assigned to Guatemalan citizens by the RENAP.

This tool generates valid 13-digit CUIs validating departmental and municipal codes along with the Modulo 11 check digit.

Anatomy & Structure of Unique Identification Code (CUI)

The Guatemalan CUI comprises 13 decimal digits divided into 4 segments:

PositionFieldLengthMeaning & RuleExample
1 to 8Citizen Serial Number8 digitsUnique personal sequence number assigned by RENAP12345678
9Check Digit1 digitModulo 11 checksum with factors from 9 to 29
10 & 11Department Code2 digitsGeographic registration department (01 Guatemala to 22 Jutiapa)01
12 & 13Municipality Code2 digitsMunicipality code within the department01

Official CUI Validation Algorithm (RENAP Modulo 11)

RENAP calculates the 9th digit using descending factors from 9 to 2 on the first 8 digits:

S = Σ (d[i] × (9 - i)); Remainder = S % 11; if Remainder >= 10 -> DV = 0, else DV = 11 - Remainder
  1. 1. Multiply first 8 digits by factors [9, 8, 7, 6, 5, 4, 3, 2].
  2. 2. Sum all products.
  3. 3. Remainder = Sum % 11.
  4. 4. If 11 - Remainder is 10 or 11, DV is 0.
  5. 5. Otherwise, DV = 11 - Remainder.
  6. 6. Valid when 9th digit matches DV and department code is between 01 and 22.

Frequently Asked Questions