Renavam generator and validator

Generate and validate a Renavam for tests, with the check digit algorithm shown with a worked example.

loading Renavam generator and validator
About this tool

Renavam: what it is and how to test it

The Renavam is the national vehicle registry number in Brazil (Registro Nacional de Veículos Automotores). It has 11 digits and appears on the vehicle registration (CRLV). Insurance, vehicle sale and fines systems validate it, and the older 9-digit numbers are completed with zeros on the left.

For tests only. These numbers have a correct format and check digit but belong to no real person or account. Never use them to deceive, to open accounts or to bypass a check. The numbers on this page come from the same generator as the tool, with a fixed seed so that the examples do not change; the tool creates new ones at every click.

Structure of the number

11 digits: 10 of sequence and 1 check digit, without punctuation. A 9-digit number from the old format is padded with two zeros on the left, and numbers of all equal digits are not accepted.

The check digit, step by step

The 10 first digits are multiplied by the weights 3, 2, 9, 8, 7, 6, 5, 4, 3, 2 and summed; the sum is multiplied by 10 and the remainder by 11 is the check digit, with a remainder of 10 written as 0. It is the PIS weights with an extra step.

Worked example with 38808724263:

PositionCharacterValueWeightProduct
13339
288216
388972
40080
588756
677642
722510
844416
92236
1066212

Sum = 239; 239 x 10 = 2390; 2390 mod 11 = 3. Check digit: 3.

Valid examples

Five numbers generated by the tool with a fixed seed, each one accepted by its validator:

Without maskValidator
38808724263valid
46404033839valid
74037631482valid
40810651857valid
15978283404valid

How the validator answers

The same first example, one with a changed ending and one truncated, checked by the validator:

ValueResultReason
38808724263valid-
38808724264invalidthe check digit should be 3
388087242valid-

Common mistakes

  • Copying the Renavam from a document that dropped leading zeros gives 9 or 10 digits: pad it to 11 before validating, or the check digit lands in the wrong position.
  • The Renavam is not the plate or the chassis number (VIN): they are different identifiers of the same vehicle and a form that asks for one will not accept another.

Frequently asked questions

Why is the Renavam multiplied by 10 before the remainder?

It is how the Detran algorithm is defined: it differs from the plain weighted sum of the PIS by that one step. Skipping it gives the wrong check digit in most cases.

Can I look up a vehicle with a generated Renavam?

No: a generated Renavam is well formed but belongs to no vehicle. Use it to test forms and validations, never in a real query or transaction.

Can I use a Renavam number generated here in a real system?

No. A number such as 38808724263 has a correct format and check, but nobody was issued it, and it may coincide with a real holder by chance. Use it in test environments, demos and automated tests that never leave your control.

Report a problem