Add organization

What do the last four digits of a personnummer mean?

Birth number, legal sex digit and control digit explained.

Answered at: Checked at:

Short answer

The last four digits of a personnummer are a three-digit birth number plus a control digit, and the second-to-last digit shows legal sex. That digit is odd for a legal male and even for a legal female, and the last digit is a control digit calculated automatically from the birth date and birth number.

Government organisations in Stockholm moving boxes, a house key, an ID card and an official stamp

Why

  1. The birth date is given with six digits, followed by a three-digit birth number, and a hyphen separates them.
  2. The last digit of the birth number is odd if your legal sex is male and even if it is female.
  3. The last digit of the personnummer is a control digit that is calculated automatically from the birth date and birth number.

Details

The hyphen between the birth date and the last four digits changes to a plus sign in the year the person turns 100. Birth numbers can also run out for a given day, in which case the number may use a birth date close to the real one. For services that ask for the number, see whether tourists can use Swish without a Swedish personal number, and find authorities in the directory of government organisations in Stockholm.

Tip

Write the number as YYMMDD-NNNC with a hyphen. Skatteverket's example is 640823, which means born on 23 August 1964.

What may differ

A samordningsnummer looks similar, but the number for the day of birth is increased by 60. Everyone who is registered in Sweden gets a personnummer.

Common misconception

The last four digits of a personnummer are random.

What actually happens

The last digit is a control digit calculated automatically from the birth date and birth number, and the second-to-last digit shows legal sex.

People also ask

  • What do the last digits of a Swedish personal number mean?
  • What does the fourth-to-last digit in a personnummer mean?
  • What is the control digit in a personnummer?

Sources

Information checked on 10 November 2026.

Government organisations in Stockholm