esc
ID checkers

Personnummer kontroll:
Sweden personnummer and samordningsnummer

Type a personnummer or samordningsnummer (ÅÅMMDD-NNNK) to check its check digit and read the date and sex.

More tools for Sweden Other countries

How to use Personnummer kontroll

  1. 01Type the number10 or 12 digits.
  2. 02Read the resultValid, date, sex.
  3. 03See the workingLuhn step by step.
Front and back of an ID card on one sheet of paper

811218-9876: Luhn sum 44 → check digit 6 ✓.

A Swedish personnummer is the date of birth, a birth number whose last digit gives the sex, and a Luhn check digit. A samordningsnummer has 60 added to the day. The separator changes to + in the year a person turns 100.

Kontrollera personnummer: type a Swedish personnummer or samordningsnummer and the tool checks the Luhn check digit, reads the date and the sex digit, and explains the + separator. Nothing is looked up.

Personnumrets delar

  • ÅÅMMDD: date of birth (Skatteverket’s example 640823 is 23 August 1964).
  • Separator: - normally, + from the year the person turns 100.
  • NNN: birth number; its last digit is odd for men and even for women.
  • K: check digit.

Kontrollsiffran (Luhn)

Example from the Swedish Wikipedia: 811218-987 gives 44, so the check digit is 6: 811218-9876.

  1. Multiply the nine digits ÅÅMMDDNNN by 2, 1, 2, 1, 2, 1, 2, 1, 2.
  2. Add the digits of each product (16 counts as 1 + 6).
  3. The check digit is what is needed to reach the next multiple of 10.

Samordningsnummer

A coordination number has the same form, but 60 is added to the day: someone born on 3 October 1970 gets 701063. The check digit works the same way.

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

What is a samordningsnummer?

A number for people without a Swedish personnummer who need to deal with Swedish authorities. It looks like a personnummer, but 60 is added to the day of birth.

Why is there a + instead of a -?

The - changes to + in the year the person turns 100, so a 1-year-old and a 101-year-old can be told apart with only two digits for the year.

Can I generate test personnummer here?

No. For test data, use the test personnummer that Skatteverket publishes for developers.

Is the personnummer sent anywhere?

No. The check runs in your browser and nothing you type is sent to a server or stored.

Do I type 10 or 12 digits?

Either. With 12 digits (ÅÅÅÅMMDD-NNNK) the century is clear; the check digit is calculated from the last 10.

Why no generator?

Skatteverket publishes official test personnummer for developers. Use those, not numbers made up by a tool.