The Swiss AHV number (AVS in French and Italian) is the country’s social-security identifier. Since 2008 it is 13 digits beginning with 756 and ending with an EAN-13 check digit. This validator confirms both the country prefix and the check digit so you can catch a mistyped number.
How it works
Because the modern AHV number is randomly assigned and carries no birth date or gender, only two parts are machine-checkable:
- Prefix. The first three digits must be
756, the ISO numeric code for Switzerland. - EAN-13 check digit. Over the first 12 digits, each digit is weighted alternately by 1 and 3, the weighted values are summed, and the check digit is
(10 − total mod 10) mod 10. It must equal the 13th digit.
Example
For 756.1234.5678.97, take the 12 leading digits 756123456789:
- Weighting alternately by 1 and 3 and summing gives a total whose last digit determines the check.
- The validator computes the expected 13th digit and compares it with the
7you entered, reporting valid or showing the expected digit on mismatch.
| Part | Example | Rule |
|---|---|---|
| Prefix | 756 | Must be Switzerland’s code |
| Body | 1234.5678.9 | First 12 digits overall |
| Check | C | EAN-13 over the 12 |
It runs entirely in your browser, so the number you type is never uploaded. A structurally valid AHV number is not guaranteed to be one that has actually been issued.