How to use Validar CNS
- 01Type the CNS15 digits, spaces are fine.
- 02See the resultValid or not.
- 03Read the workingWeights 15 down to 1.

100 0000 0000 0007: definitive pattern, valid.
The CNS has two kinds of numbers: definitive ones starting with 1 or 2 and provisional ones starting with 7, 8 or 9. Each has its own check. The tool picks the right rule from the first digit, runs it and shows the working.
Validar CNS without signing in anywhere: type the 15-digit cartão SUS number and the tool runs the official check, the same routine that e-SUS APS and the ANS publish for systems that receive CNS numbers.
Two kinds of CNS
- Definitive numbers start with 1 or 2. They are built from an 11-digit base, three digits (000 or 001) and a check digit.
- Provisional numbers start with 7, 8 or 9. They pass when the weighted sum of all 15 digits is divisible by 11.
The rule for definitive numbers
- Multiply the first 11 digits by 15, 14, 13 … 5 and add the products.
- Divide by 11 and take 11 minus the remainder. If that gives 11, the check digit is 0.
- If it gives 10, add 2 to the sum and work out the check digit again. In that case digits 12–14 are 001; otherwise they are 000.
- The CNS is valid when it equals the 11 digits, those three digits and the check digit.
The rule for provisional numbers
The e-SUS documentation applies the same provisional routine to numbers starting with 5, so the tool accepts those too.
- Multiply all 15 digits by 15, 14, 13 … down to 1.
- Add the products.
- The number is valid when the total is divisible by 11.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
Como saber se o número do cartão SUS é válido?
Type it above. If the check passes, the number is well formed. The tool doesn’t consult CADSUS, so it can’t tell you whether the card was issued or whose it is; for that, use Meu SUS Digital or a health unit.
What is the difference between numbers starting with 1, 2 and 7, 8, 9?
Numbers starting with 1 or 2 are definitive: the last digit is worked out from the first 11 and the three digits before it are 000 or 001. Numbers starting with 7, 8 or 9 are provisional: all 15 digits, multiplied by 15 down to 1, must add up to a multiple of 11.
Is the example number a real card?
No. 100 0000 0000 0007 is just a pattern that passes the check, so you can see how the tool works.
Is the number sent anywhere?
No. Everything runs in your browser.
Where do I find my CNS number?
On the cartão SUS, in the Meu SUS Digital app, or at a health unit (UBS).
Why does the 100 0000 0000 0007 example pass?
Its first 11 digits give a check digit of 7 with the definitive rule, and digits 12 to 14 are 000. It is a made-up pattern, not a real card.
Can it generate CNS numbers?
No. This page only checks numbers you type.