AVS / AHV (NAVS13) Social Security Number Generator (Switzerland)
Generate valid 13-digit Swiss AVS / AHV (NAVS13) social security numbers starting with country code 756 and EAN-13 checksum.
Waiting for generation...
About the AVS / AHV (NAVS13) Number in Switzerland
The AVS/AHV number (NAVS13 / AHVN13) is Switzerland's 13-digit non-speaking national social security identifier managed by the Central Compensation Office (ZAS/CdC).
Structured as a 13-digit GS1 identifier: Swiss country code 756 + 9 random serial digits + 1 EAN-13 check digit (Modulo 10 with alternating 1 and 3 weights).
Anatomy & Structure of Swiss AHV / AVS Number (NAVS13)
The 13-digit Swiss Social Security Number (NAVS13) is strictly governed by Swiss federal law:
| Position | Field | Length | Legal Meaning | Example |
|---|---|---|---|---|
| 1 to 3 | Country Code | 3 digits | 756 represents Switzerland's official numeric ISO 3166-1 country code. | 756 |
| 4 to 12 | Personal Identifier | 9 digits | Non-attributive random individual serial allocated by the Central Compensation Office in Geneva. | 531373401 |
| 13 | Check Digit | 1 digit | EAN-13 Modulo 10 check digit. | 9 |
Swiss AVS / NAVS13 Checksum Algorithm (Modulo 10)
The 13th digit of the NAVS13 is calculated per the international EAN-13 standard:
CheckDigit = (10 - ((Σ d[even] × 1 + Σ d[odd] × 3) % 10)) % 10
- 1. Alternating Weights: from right to left (excluding the check digit), multiply digits alternately by 3 and 1.
- 2. Sum of Products: calculate the total sum of the 12 partial products.
- 3. Modulo 10: obtain the remainder of dividing the sum by 10.
- 4. Complement: the check digit is the amount needed to reach the next multiple of 10.