Skip to main content
Skip to main content

PIS Generator

Generate mathematically valid PIS/PASEP numbers. Ideal for your tests.

Waiting for generation...

About the PIS/PASEP Generator

The Box4Dev PIS/PASEP Generator creates 11-digit numbers that are structurally identical to real worker identification numbers. Each generated number has a verification digit calculated according to the official algorithm.

This resource is a fundamental support tool for HR software development teams, payroll software, and systems that integrate with government platforms. It allows for safe testing environments without using real worker sensitive data.

Anatomy & Structure of Brazilian PIS/PASEP

The worker registration number (PIS/PASEP/NIT) has 11 decimal digits formatted as NNN.NNNNN.NN-D:

PositionFieldLengthMeaning & RuleExample
1 to 10Base Registration10 digitsWorker registration sequential number issued by CEF or Social Security1234567890
11Check Digit1 digitIntegrity checksum computed via Modulo 11 Caixa formula8

PIS / PASEP Checksum Algorithm (Caixa Modulo 11)

PIS checksum is calculated across the first 10 digits using positional weights:

Sum = Σ d[i]*p[i]; Rem = Sum % 11; CD = (11 - Rem >= 10 ? 0 : 11 - Rem)
  1. 1. Multiply first 10 digits by weights [3, 2, 9, 8, 7, 6, 5, 4, 3, 2].
  2. 2. Calculate sum of all multiplications.
  3. 3. Obtain remainder of sum modulo 11.
  4. 4. Calculate difference D = 11 - remainder.
  5. 5. If D is 10 or 11, check digit is 0; otherwise check digit is D.
  6. 6. Sequences with 11 identical digits are rejected.

Frequently Asked Questions (FAQ)