Reading the UIC number: what the 12 digits on a vehicle reveal

Twelve digits, five blocks, one unique identity: how to read the UIC vehicle number and use the self-check digit to confirm you've read it correctly.

Traintrack editorial teamPublished: 19 August 2026Updated: August 202612 min read

Key takeaways

  • Twelve digits, five blocks: vehicle type, country code, type, serial number and self-check digit.
  • Digits 3 and 4 give the country: 80 stands for Germany, 81 for Austria, 85 for Switzerland.
  • 91 to 99 are traction units: 91 electric locomotive, 92 diesel locomotive, 94 electric multiple unit, 95 diesel multiple unit, 99 departmental vehicle.
  • The last digit can be calculated: it is derived from the first eleven digits and reliably reveals reading errors.
  • Vehicle number is not train number: one permanently identifies a vehicle, the other a single journey on a single day.
Contents
  1. 1.Reading the UIC number: the short answer
  2. 2.The structure: five blocks, five statements
  3. 3.Calculating the check digit yourself
  4. 4.What else is written on the vehicle besides the number
  5. 5.Why the vehicle number is crucial for sightings
  6. 6.Common mistakes when reading the UIC number
  7. 7.How to build a clean sighting routine
  8. 8.Conclusion

Updated: August 2026 – On every loco, every wagon and every multiple unit there’s a long string of digits that most people overlook. Yet it’s the vehicle’s ID. This guide shows you how to read the UIC number, what each block means – and how to use the last digit to check whether you’ve misread it.

Number noted? Then it becomes a real sighting

With vehicle number, location and date, every observation stays traceable years later – even after a repaint or a change of operator.

Download Traintrack on the App Store4.8(23 ratings) Get Traintrack on Google Play4.4(35 ratings)

Reading the UIC number: the short answer

The UIC number is the twelve-digit vehicle number used to uniquely identify rail vehicles in Europe. It consists of five blocks: digits 1 to 2 give the vehicle type, digits 3 to 4 the country, digits 5 to 8 the type or, for traction units, the class, digits 9 to 11 the running serial number, and digit 12 is a self-check digit.

An example: 91 80 6101 001-6 is an electric locomotive (91) from Germany (80) of Class 101, serial number 001, with the check digit 6. This number belongs to the vehicle permanently – unlike a train number, which only denotes a single journey. How train numbers work is explained in the guide to decoding train numbers.

12digits in every vehicle number
5blocks, each with its own meaning
1digit you can calculate yourself

The structure: five blocks, five statements

Block Positions Meaning Example from 91 80 6101 001-6
1 Digits 1–2 Vehicle type; technical characteristics for wagons 91 = electric locomotive
2 Digits 3–4 Country code of the country of registration 80 = Germany
3 Digits 5–8 Type; the class for traction units 6101 = Class 101
4 Digits 9–11 Running serial number within the type 001 = first vehicle of the series
5 Digit 12 Self-check digit, calculated from the first eleven 6

The notation with spaces and the hyphen before the last digit is purely a display convention – what’s stored is a continuous twelve-digit number.

Block 1: vehicle type

For traction units this block is particularly informative, because it tells you straight away what you’re dealing with:

  • 90 – other traction units, including special vehicles
  • 91 – electric locomotive
  • 92 – diesel locomotive
  • 93 – electric high-speed multiple unit
  • 94 – other electric multiple unit
  • 95 – diesel multiple unit
  • 96 – trailer car without its own traction
  • 97 – electric shunting locomotive
  • 98 – diesel shunting locomotive
  • 99 – departmental and special vehicle

Vehicles with 99 mostly belong to infrastructure managers that maintain their own measurement and engineering trains – on the Spanish network, for example, Adif.

On freight wagons and passenger coaches, by contrast, the first two digits don’t encode a vehicle type in the same sense, but technical characteristics and conditions of use. What a freight wagon actually is can be read better from its type code – how to do that is shown in the guide to recognising freight wagon types.

Block 2: country code

These two digits reveal the country in which the vehicle is registered. Important: that’s the country of registration, not necessarily the country of operation. A loco with a German code can regularly run in Austria or Italy – in Kufstein, vehicles from both networks stand side by side as a matter of routine.

Code Country Code Country
80 Germany 85 Switzerland
81 Austria 86 Denmark
82 Luxembourg 87 France
83 Italy 88 Belgium
84 Netherlands 51 Poland
54 Czech Republic 55 Hungary
56 Slovakia – –

Blocks 3 and 4: type and serial number

For traction units, the third block contains the class designation – on German vehicles you’ll recognise the familiar three-digit class there. The fourth block numbers the individual vehicles within that type. Together, the two blocks give the number spotters use in everyday life, such as “101 001” or “193 123”.

Pro tip: always back up the number with a photo

A number noted from memory is unreliable. Photograph the marking if the situation allows and read it later at your leisure. If in doubt, the check digit helps: if it doesn't match, you've definitely made a mistake somewhere.

Calculating the check digit yourself

The twelfth digit isn’t information but a check. It is calculated from the first eleven digits and reveals exactly the errors that happen when reading from a distance: wrong digits and transposed digits.

This is how the procedure works:

  1. Multiply the eleven digits alternately by 2 and 1, starting with 2 for the first digit.
  2. Take the digit sum of each product (so 18 becomes 9, 16 becomes 7).
  3. Add up all the digit sums.
  4. The check digit is the difference to the next number divisible by ten. If the sum is already divisible by ten, the check digit is 0.

Using the example 91 80 6101 001: the products are 18, 1, 16, 0, 12, 1, 0, 1, 0, 0, 2. Their digit sums are 9, 1, 7, 0, 3, 1, 0, 1, 0, 0, 2 – 24 in total. The next number divisible by ten is 30, so the check digit is 6. That’s exactly what’s on the vehicle after the hyphen.

Check digit calculator for the UIC number

Enter the first eleven digits of the vehicle number. The example 91 80 6101 001 is preset – expected result: 6.

The calculator replicates the official check procedure and is no substitute for official vehicle information.

Checked number, reliable sighting

Record the vehicle number, location and time straight away – so your reports can be verified by other spotters.

Download Traintrack on the App Store4.8(23 ratings) Get Traintrack on Google Play4.4(35 ratings)

What else is written on the vehicle besides the number

The twelve digits are only part of the markings. Right next to them or above them you’ll find further details that together give the complete picture. Behind the overhaul and maintenance markings there are often specialist engineering consultancies such as AEbt Angewandte Eisenbahntechnik.

Read the vehicle keeper marking

A country code and a combination of letters, such as D for Germany followed by the keeper's abbreviation. It tells you who the vehicle belongs to – not necessarily who is currently using it.

Check the type code

On freight wagons, the type code is next to the number. It describes the design of the wagon and is often more informative for classification than the sequence of digits.

Note the approval code letters

Additional letters and symbols refer to approvals for particular countries or networks. On locomotives used across borders, that's an interesting detail.

Keep vehicle number and train number apart

Note both separately: the vehicle number identifies the vehicle, the train number the journey. Only together do they make a complete sighting.

Check the check digit

Before you pass on a number, recalculate the last digit. It takes seconds and stops transposed digits from becoming entrenched in databases.

Where lots of different keepers come together, you can see that in a single afternoon: at Aachen West, locos are constantly being changed on the corridor towards Belgium. With hire locomotives, the distinction between keeper and the company using the loco is particularly important – how to derive the story of a freight train from it is shown in the guide to recognising the Vectron Class 193.

Why the vehicle number is crucial for sightings

Liveries change, operators change, vehicles are hired out, rebuilt and moved to other networks. What remains is the number. For spotters that means three concrete advantages:

  • Recognition over years. You can trace when you last saw a particular vehicle – even if it now looks completely different.
  • Comparability with others. Sighting reports without a number are hard to verify. With a number, a claim becomes reliable information.
  • Access to research. Vehicle lists, forums and archives are almost all organised by number. Without it, you won’t find anything again.

How spotters keep and maintain such lists is shown in the guide to stored locos and vehicle lists. And if you want to know how to find a specific journey in advance, the guide to tracking DB train numbers will help.

Common mistakes when reading the UIC number

  • Noting only the short number. “193 123” is practical in everyday life but incomplete. Without the country code and check digit, it isn’t unique across national borders.
  • Confusing the vehicle keeper marking with the operator. The marking names the owner or keeper. Who actually uses the loco isn’t written there. Multiple units that ran for Abellio, for example, had leasing companies as their keepers.
  • Reading the country of registration as the country of operation. The 80 only means that the vehicle is registered in Germany – it says nothing about its daily route.
  • Ignoring the check digit. It’s error control that’s available for free. If you skip it, you pass on transposed digits.
  • Reporting from memory. With passing trains, a remembered number is almost always unreliable. Photo or nothing. With stopping trains – for example on the long-distance tracks at Köln Hauptbahnhof – you have time to read it at your leisure.
  • Stepping onto the track for a better view. Markings can be read from a safe distance with a zoom. Track areas and operational railway land are closed and potentially fatal – no vehicle number changes that.

How to build a clean sighting routine

Use the same fields for every sighting: date, time, location, train number, vehicle number, class and – if identifiable – keeper. This structure sounds bureaucratic, but it makes exactly the difference between a photo collection and an archive in which you can find things again.

It also helps to check your own identification against other sources. If you read the class from the number, you can compare it with the visual impression – for example with the guide to the ICE classes from ICE 1 to ICE 4 or with the identification aid for telling FLIRT, Talent and Desiro apart. If the number and the appearance don’t match, you’ve almost always found a reading error. How to link your observations with those of others afterwards is described in the guide to live sightings in real time, and newcomers will find the right framework in the tips for new trainspotters.

Note the full number if …

  • you want to publish a sighting or share it with others
  • it's a rare or newly approved vehicle
  • you want to follow the same vehicle over time

The short number is enough if …

  • you're only documenting for yourself
  • class and serial number are unambiguous enough
  • you're keeping the photo as evidence anyway

Leave the number out if …

  • you haven't read it with certainty
  • the check digit doesn't work out
  • you'd have to take up an unsafe position to read it

Conclusion

The UIC number looks complicated, but it follows a simple order: type, country, design, running number, check. If you know these five blocks, you can read from any marking in seconds what kind of vehicle is in front of you and where it comes from. And because the last digit can be recalculated, you have something unique in the hobby: a built-in safeguard against reading errors – you just have to use it.

In short

Vehicle type, country, type, serial number, check digit: these five blocks make every rail vehicle unique. Note the complete number and check the last digit before you pass on a sighting.

Every number, every sighting, one archive

Record vehicle number, class and location in seconds, collect points and see what other spotters are reporting – free with Traintrack.

Download Traintrack on the App Store4.8(23 ratings) Get Traintrack on Google Play4.4(35 ratings)

Summary

  • The UIC number is a rail vehicle's unique ID and is displayed visibly on the bodyshell.
  • From the first four digits alone you can read the vehicle type and home country.
  • The self-check digit can be recalculated and makes sighting reports much more reliable.
  • For spotters, the number is the key to recognising the same vehicle over years and across changes of operator.

Frequently asked questions

What is the UIC number?

The UIC number is the twelve-digit vehicle number used to uniquely identify rail vehicles in Europe. It is marked on the vehicle and divided into five blocks: vehicle type, country code, type or class, running serial number and a self-check digit. Unlike a train number, it belongs to the vehicle permanently.

What do the first two digits mean?

They give the vehicle type. For traction units: 91 stands for electric locomotives, 92 for diesel locomotives, 93 for electric high-speed multiple units, 94 for other electric multiple units, 95 for diesel multiple units, 97 and 98 for electric and diesel shunting locomotives respectively, and 99 for departmental vehicles. On freight wagons and passenger coaches, the first two digits encode technical characteristics instead.

What country code does Germany have?

Germany carries the code 80 in the third and fourth positions. Other common codes in Central European traffic are 81 for Austria, 82 for Luxembourg, 83 for Italy, 84 for the Netherlands, 85 for Switzerland, 86 for Denmark, 87 for France, 88 for Belgium, 51 for Poland and 54 for the Czech Republic.

How do you calculate the check digit of a UIC number?

Multiply the eleven digits alternately by 2 and 1, starting with 2 for the first digit. Take the digit sum of each product and add up all the digit sums. The check digit is the difference to the next number divisible by ten. If the sum is already divisible by ten, the check digit is 0.

What's the difference between a vehicle number and a train number?

The vehicle number identifies an individual vehicle and stays the same for years, even when the operator changes. The train number, on the other hand, denotes a specific journey in the timetable, i.e. a service on a particular day. For sightings you need both: the train number tells you which journey it was, the vehicle number which vehicle worked it.

Where is the UIC number on the vehicle?

On locomotives, usually on the bodysides below the window line and also on the ends. On freight wagons it's on the side of the wagon near the type code; on passenger coaches and railcars it's often next to the doors or at the end of the vehicle. The lettering is sized so that it remains legible from a distance in service.

What does the abbreviation in front of the number mean?

That's the vehicle keeper marking, i.e. the identification of the vehicle keeper, preceded by a country code such as D for Germany or A for Austria. It tells you who the vehicle belongs to – not necessarily who is running it at the moment. With hire locomotives in particular, the keeper and the company using the vehicle regularly differ.

Why is it worth noting the vehicle number?

Because it's the only detail that makes a vehicle truly unique. Liveries change, operators change, areas of operation shift – the number stays. If you record it with every sighting, you can still trace years later which vehicle you saw where, and reliably match reports with other spotters.

TT

Traintrack editorial team

We build the Traintrack app and go spotting ourselves – between main stations, depots and farm tracks. Every guide is based on our own experience and is updated regularly.

More articles in Train classes & rolling stock →

Look it up instead of guessing

In the rolling stock database you will find a dedicated page for every class with a fact file, identifying features and spotting tips – sorted by country and vehicle type.

GermanyGermanyAustriaAustriaSwitzerlandSwitzerlandAll countries

Read more in Train classes & rolling stock

Who is behind it

Groups, brands, manufacturers and operators – who owns whom and how to recognise them out in the field.

All railway companies →

Related spotting locations

Specific viewpoints with light times, coordinates and an honest assessment of whether the trip is worth it.

All spotting locations in Europe →

← Back to the blog