How the VIN check digit works

Decode Your VIN

Enter your vehicle's VIN code to discover all technical specifications. The VIN consists of 17 alphanumeric characters.

The 9th character of a VIN is not a random assignment.

It’s a calculated value derived from the other 16 characters using a formula NHTSA standardized under 49 CFR Part 565. Run the math wrong and you get a different result, which means a VIN that fails the check didn’t come from the factory.

This matters when you’re looking at a used car and want to know whether the VIN has been altered.

For the full position-by-position breakdown of the VIN, see how to read a VIN number.


The formula

Each character in a VIN is assigned a numeric value. Letters get mapped to numbers; digits keep their face value. Then each value is multiplied by a positional weight. The products are summed, and the sum is divided by 11.

The remainder is the check digit, except when the remainder is 10, in which case the check digit is “X.”

Transliteration table (letters to numbers):

LetterValueLetterValue
A1N5
B2P7
C3R9
D4S2
E5T3
F6U4
G7V5
H8W6
J1X7
K2Y8
L3Z9
M4

Digits stay as-is. Letters I, O, and Q don’t appear in VINs at all, they’re excluded to avoid visual confusion with 1, 0, and 0.

Positional weights:

Position1234567891011121314151617
Weight876543210098765432

Position 9 gets weight 0 because that’s the check digit itself, excluding it from its own calculation.


A worked example

VIN: 1HGCM82633A004352

PosCharValueWeightProduct
11188
2H8756
3G7642
4C3515
5M4416
688324
72224
8661060
93—00
1033927
11A188
120070
130060
1444520
1533412
1655315
172224

Sum: 311 ÷ 11 = 28 remainder 3

The check digit is 3, which matches position 9. This VIN is valid.


What a failed check digit actually means

A VIN that fails the check digit test was either:

  • Mistyped (most common)
  • From a pre-1981 vehicle (the formula wasn’t standardized until 1981, see classic car VIN decoding)
  • From a non-US vehicle that doesn’t follow the NHTSA standard (some Canadian, European, and Asian manufacturers use different schemes for domestic-market vehicles)
  • Deliberately altered

The last one is the concerning scenario. VIN tampering, changing characters to obscure a salvage title, a theft record, or a rollback, is a federal crime. But it happens. If a VIN fails the check digit and the car was supposedly built after 1981 for the US market, that’s a red flag worth following up on before you sign anything.

A check digit failure alone doesn’t confirm fraud. It’s a signal to look harder. Pull a full vehicle history report and compare the dashboard VIN against the door jamb, the firewall stamp, and the title. If any of those don’t match, walk away.


A second example: a VIN that fails

Take the same VIN as above but change one digit in the middle: 1HGCM82653A004352 (position 8 changed from 6 to 5). Running the same math against the new characters produces a different sum, and that sum no longer reduces to 3 at position 9. The VIN as typed is invalid, even though sixteen of its seventeen characters are identical to a real, valid VIN.

That is the entire point of the check digit. A single mistyped, misread, or deliberately altered character anywhere in positions 1 through 8 or 10 through 17 breaks the math. There is no way to change one character and have the check digit still agree, short of also recalculating and forging the check digit itself, which is a second, separate act of tampering.


Why the formula uses modulus 11

The check digit scheme was written into the US federal VIN standard, 49 CFR Part 565, when NHTSA and SAE adopted the 17-character VIN format industry-wide starting with the 1981 model year. The same weighted modulus-11 approach was carried into the international standard, ISO 3779, so the math works the same way on a VIN from any manufacturer that follows the standard.

Modulus 11 was chosen because it is a prime number larger than any single weight or transliterated letter value used in the calculation. That makes it very unlikely for two different 16-character combinations to produce the same check digit by coincidence, which is exactly what a checksum is supposed to prevent. The one awkward result is that the remainder can come out to 10, and a single digit cannot represent 10, so the standard designates the letter X to stand in for it at position 9 specifically.


Common ways people get it wrong

Most check digit failures have nothing to do with fraud. They come from:

VinDecoderPlus.com
Logo