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)

Is the generated PIS/PASEP number valid?
Yes, the number is mathematically valid. It is created following the official verification digit calculation algorithm. However, it is a fictitious number and is not associated with any real worker.
What is the difference between PIS, PASEP, and NIT?
PIS is for private sector workers. PASEP is for public servants. NIT is for self-employed workers. Although they have different origins, they all follow the same 11-digit format and validation algorithm.
What is this tool used for?
This generator is intended for developers and QA teams to test Human Resources (HR) systems, payroll software, and any application that needs to validate or store a PIS/PASEP/NIT number, without using real data.
Can I use this number to check for benefits?
No. Since the number is fictitious and not linked to any real person, any attempt to use it to consult salary bonuses or other benefits will result in an error. Its use is strictly for software simulation.