Skip to content

Reference

How the check digit works

Position 9 is not part of the vehicle description. It is a checksum, computed from the other sixteen characters, that catches most transcription errors.

By Pixoware. Published 12 September 2026, updated 28 October 2026.

Where the rule comes from

The check digit is a federal requirement, not a manufacturer habit. Part 565 of Title 49 of the Code of Federal Regulations sets the format of the VIN for vehicles subject to US federal motor vehicle rules: passenger cars, multipurpose vehicles, trucks, buses, trailers, motorcycles and low speed vehicles. Section 565.13(c) says that “a check digit shall be part of each VIN” and that it appears in position 9. Section 565.15(c) gives the method, in four short paragraphs and four tables. Vehicles their manufacturer identifies as model year 2009 or earlier are also covered by a parallel subpart with the same requirement (565.23(c)) and the same method (565.25(c)).

Every character is converted to a number, multiplied by a weight that depends on its position, and the products are added up and divided by 11. The remainder is the check digit.

The method, step by step

1. Transliterate

Digits keep their face value. Letters take the values in the regulation's Table III. I, O and Q have no value because they are not allowed in a VIN at all (565.13(g)), which is exactly why the letters do not follow the alphabet in neat runs of nine:

Letter values from 49 CFR 565.15(c), Table III
LetterValue
A J1
B K S2
C L T3
D M U4
E N V5
F W6
G P X7
H Y8
R Z9

2. Apply positional weights

Each position carries a fixed weight from Table IV. Position 9 — the check digit itself — has no weight, which in practice means 0: it cannot contribute to the sum that produces it.

8  7  6  5  4  3  2  10  0  9  8  7  6  5  4  3  2

3. Add and divide by 11

Multiply each value by its weight and add the seventeen products. The regulation says to “divide the total by 11”.

4. Read off the remainder

The regulation's Table V expresses the remainder as a fraction of 11 (4/11, say) with a decimal equivalent rounded to the nearest thousandth (0.364), and maps each one to a check digit. Read as whole numbers it is simpler: a remainder of 0 to 9 is the check digit itself, and a remainder of 10 is written as the letter X.

A worked example

The regulation includes its own example in Table VI, using the string 1G4AH59H?5G118341 with position 9 left blank to be calculated. It is a sample in a rulebook, not a vehicle we are describing, which makes it a good one to learn on: you can check our arithmetic against the government's.

Check digit calculation for 1G4AH59H?5G118341 (49 CFR 565.15, Table VI)
PositionCharacter ValueWeightProduct
11188
2G7749
344624
4A155
5H8432
655315
799218
8H81080
9?—00
1055945
11G7856
121177
131166
1488540
1533412
1644312
171122

The products total 411. Eleven goes into 411 thirty-seven times (37 × 11 = 407) with 4 left over. The regulation writes the same result as 37 4/11, or 37.364, and Table V maps a remainder of 4/11 to the check digit 4. The finished string is 1G4AH59H45G118341, and if you paste it into the check digit tool it passes.

Two details are worth noticing. Position 8 carries the heaviest weight, 10, so an error there moves the total the most. And position 9 contributes nothing, which is what makes the calculation possible at all.

Why X stands for 10

Dividing by 11 can leave any remainder from 0 to 10. That is eleven possible results and only one character to hold them, and there is no single digit for ten. The regulation's answer is the letter X: “The check digit, zero through nine (0-9) or the letter ‘X’ shall appear in VIN position nine (9).” Elsewhere in a VIN, X is an ordinary letter with the value 7. Only in position 9 does it mean ten, and it is the only letter that can appear there.

Why 11 and not 10? Because 11 is prime and none of the weights is a multiple of it. Change any single transliterated value and the total changes by the weight times the difference, and with a prime divisor that product can never be a whole multiple of 11. Dividing by 10 would not have that property: position 8's weight of 10 would make that position invisible to the check, and any even weight multiplied by a difference of 5 would vanish too.

What it catches

The check was designed for honest mistakes, and it catches the common ones reliably. We tested each of the statements below against the same code that runs on /validate.

What it misses

Arithmetic on seventeen characters has blind spots, and they are predictable.

Why a genuine VIN can fail

The usual reason is still a typo, so read the number again from the vehicle itself, ideally from a photograph of the windshield plate or the door jamb label.

The other reason is legitimate. The requirement lives in a US regulation, so it binds vehicles built to US rules. A vehicle originally built for another market may carry a perfectly genuine VIN whose position 9 is not a check digit at all. Part 565 tells importers to keep the original manufacturer's VIN (565.14(a)), and makes separate provision for some vehicles brought in by registered importers that lack a conforming one (565.14(b)). That is why our tool treats a failed check digit as a warning rather than a verdict. See why a VIN won't decode for the other causes.

What a passing check digit does not prove

This is arithmetic performed on seventeen characters. It establishes that those characters are internally consistent. It establishes nothing whatsoever about the vehicle in front of you.

The formula is public — it is printed above, and it is in the Code of Federal Regulations. Anyone putting a false VIN on a vehicle can compute a check digit that passes. That is why a cloned VIN decodes perfectly: the number was copied from a real car, so of course it validates.

What the check digit catches is honest error: the mistyped character, the transposed pair, the digit misread off a sun-faded windshield plate. That is genuinely most of what goes wrong, and it is worth catching. It is just not a fraud check. See VIN cloning and fraud for what is.

Quick answers

What is the 9th digit of a VIN?

The check digit. Federal rules in 49 CFR Part 565 require a check digit in position 9 of every VIN, and it is a digit from 0 to 9 or the letter X.

How is the VIN check digit calculated?

Each character is converted to a number, multiplied by a weight that depends on its position, and the products are added up and divided by 11. The remainder is the check digit, and a remainder of 10 is written as the letter X.

Does a valid check digit mean a VIN is genuine?

No. It only shows that the seventeen characters are internally consistent. The formula is public, so anyone putting a false VIN on a vehicle can compute a check digit that passes, and a cloned VIN validates because it was copied from a real car.

Why would a real VIN fail the check digit?

Usually because of a typo, so read the number again from the vehicle itself. A vehicle originally built for another market may also carry a genuine VIN whose position 9 is not a check digit at all, because the requirement is a US regulation.

Sources

Validate a VIN in your browser →