Skip to main content
Check Digit Calculator
Transport

Railway Vehicle Check Digit Calculator

Calculate the twelfth digit of a European railway vehicle number. Apply alternating weights, sum product digits and take Mod 10.

Last updated:

Transport, Shipping & Travel

Check European vehicle number digits.

Length: 10 chars
Calculated Check Character / Checksum
--Ready
Complete Validated Sequence:
--
Arithmetic Steps & Mathematical Specification

Initialising algorithm engine for Railway Vehicle Check Digit Calculator...

How Railway Vehicle Check Digit Calculator Works?

The Railway Vehicle Check Digit Calculator works by multiplying the 11 digits of a European Vehicle Number (EVN) alternately by 2 and 1 from the left, adding the digits of the products, and taking the complement to 10 as the 12th digit.

  1. 1Enter the first 11 digits of the 12-digit EVN (formerly UIC wagon number).
  2. 2Multiply digits 1, 3, 5, 7, 9, and 11 by 2 and the others by 1.
  3. 3Add the individual digits of every product (14 → 1 + 4).
  4. 4Take the EVN check digit as (10 − (S mod 10)) mod 10.
  5. 5Write the check digit after a hyphen: XX XX XXXX XXX-C.

Railway Vehicle Check Digit Calculator Formula

The EVN formula is C = (10 − (Σ digitsum(dᵢ·wᵢ) mod 10)) mod 10, with wᵢ = 2, 1, 2, 1… from the left.

S = Σ digitsum(dᵢ × wᵢ),  w = 2,1,2,1,2,1,2,1,2,1,2
C = (10 − (S mod 10)) mod 10   (RAILWAY VEHICLE)
  • d₁d₂ is the vehicle type code.
  • d₃d₄ is the country code.
Worked example: 21 81 2471 217-?
Digit sum S = 37
C = 3
EVN = 21 81 2471 217-3

Railway Vehicle Check Digit Calculator Conversion Table

The EVN conversion table lists sample vehicle numbers by country code with their check digit.

TypeCountryVehicle number (11 digits)CheckFormatted EVN
2181 – Austria21812471217321 81 2471 217-3
3180 – Germany31803346123331 80 3346 123-3
3387 – France33877956001433 87 7956 001-4
9185 – Switzerland91850460001991 85 0460 001-9
9470 – United Kingdom94708300017694 70 8300 017-6
6184 – Netherlands61844702012361 84 4702 012-3

What is Railway Vehicle Check Digit Calculator?

A Railway Vehicle Check Digit Calculator is a tool that computes the 12th digit of a European Vehicle Number used on locomotives, coaches, and wagons. The International Union of Railways (UIC) introduced the scheme, and EU rules now require it.

The first 2 digits give the vehicle type and interoperability, digits 3–4 give the country of registration, and digits 5–11 identify the vehicle.

What are the uses of Railway Vehicle Check Digit Calculator?

There are 3 main uses of the Railway Vehicle Check Digit Calculator, including wagon registration, train composition lists, and maintenance records.

  • Wagon registration: Keepers check EVNs in national vehicle registers.
  • Train composition lists: Operators validate wagon numbers in consist data.
  • Maintenance records: Workshops confirm vehicle numbers on work orders.