Skip to content
markansink edited this page Oct 9, 2015 · 2 revisions

Welcome to the extension_vehicles wiki!

This extension will validate a Vehicle Identification Number(VIN).

A VIN number is a 17-character string that uniquely identifies a motor vehicle. It also encodes the manufacturer and attributes of the vehicle. To guard against accidentally entering an incorrect VIN number, the VIN number incorporates a check digit (the 9th character). Each letter and number is assigned a value between 0 and 9. The check digit is chosen so to be the weighted sum of the values mod 11, using the symbol X if the remainder is 10.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
1 2 3 4 5 6 7 8 - 1 2 3 4 5 - 7 - 9 2 3 4 5 6 7 8 9

For example the check digit of the partial VIN number 1FA-CP45E-?-LF192944 is X because the weighted sum is 373 and 373 mod 11 is 10.

1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10 11 12 13 14 15 16 17
8 7 6 5 4 3 2 10 0 9 8 7 6 5 4 3 2

This extension takes the input VIN number and determines whether or not it is a valid VIN number. It allows the input to be entered with upper or lower case, and allows dashes. It will check if the input has the right length, that is has no illegal characters (I, O, Q), etc.

Clone this wiki locally