Locomotive numbering system of the Deutsche Bahn AG

Since 1992, the German state railways (DB and DR, merged into the DBAG since 1994) have a common numbering system, which is similar to the one that the DB used since 1968.

The numbers look like this: 000 000-0, the first group of three denotes the class, the next group of three is the serial number, and the last digit is the check digit, to check whether the number is correct.

The numbers can be extended to international numbers later, by adding a sequence such as 90 80 0 at the left.

1st digit

2nd and 3rd digit

The 2nd digit groups the classes:

4th, 5th and 6th digit

serial number, starting with 001.

7th digit

Check digit: the digits 1 to 6 are multiplied alternately by 1 and 2, the digits of the results are added, and the last digit of what comes out is subtracted from 10 (0 stays 0) - the result of this is the check digit, which is used to be sure the number is correct, thus transmission errors can be detected.
Tobias B. Köhler (ukjp@rz.uni-karlsruhe.de) - October 1996