Vehicle identity
VIN structure
Last updated:
What each of the 17 characters means, how to check one, and how Cardog keys on it.

A Vehicle Identification Number is 17 characters that identify one vehicle, for its whole life. ISO 3779 sets its content and structure and ISO 3780 how manufacturer codes are assigned. In North America, 49 CFR Part 565 fixes what each position means, and Canada's CMVSS 115 follows the same layout, so a VIN on a Canadian vehicle reads exactly like the one below.
The 17 positions
2T3R1RFV7MW180266 is a 2021 RAV4 built in Canada. Read left to right, it narrows from
the manufacturer to the model to the one vehicle.
- World Manufacturer Identifier
2T3 - Assigned under ISO 3780. The first character is the region block (2 is Canada); the three together identify the manufacturer and the type of vehicle.
- Vehicle Descriptor Section
R1RFV - The manufacturer's own code for model, body, restraints and engine. In North America each maker files its key with NHTSA; there is no shared table, which is why decoding needs patterns.
- Check digit
7 - Computed from the other sixteen characters. Required in North America. Worked through below.
- Model year
M - M is 2021 in the current cycle. The codes repeat every thirty years.
- Plant
W - The assembly plant, in the manufacturer's own code.
- Serial
180266 - The production sequence number. On cars, MPVs and light trucks the last five are digits.
The letters I, O and Q never appear in a VIN, in any position, so they can never be misread as 1 and 0. A "VIN" containing one is a typo or not a VIN.
The manufacturer: positions 1 to 3
The WMI is assigned to a manufacturer under ISO 3780; in the United States SAE International makes the assignments under contract to NHTSA. The three characters together identify the manufacturer and the type of vehicle, and the first is a region block. First characters you will see most often in North America:
| First character | Assigned to |
|---|---|
| 1, 4, 5 | United States |
| 2 | Canada |
| 3 | Mexico (most of the block) |
| J | Japan |
| K | South Korea |
| L | China |
| S | United Kingdom (SA to SM) |
| V | France (VF to VR) |
| W | Germany |
The region is where the WMI was assigned, which usually means where the vehicle was built, not where the brand is from: a Japanese brand's car built in Ontario starts with 2.
Small manufacturers: the extended WMI
A manufacturer building fewer than 1,000 vehicles of a type a year (a
low-volume manufacturer in 49 CFR 565) does not get a three-character WMI of
its own. It gets a six-character identifier: a WMI whose third character is
9, finished by positions 12 to 14. A 9 in position 3 always means this
form. The serial is then only positions 15 to 17. Trailer, RV and specialty builders are
the usual carriers of this form.
2A9TR1DA1PA123045 is constructed to pass its check digit; it describes no real vehicle. The inked cells are one identifier: 2A9 + 123.A decoder that reads only positions 1 to 3 merges every small manufacturer
that shares a 9 WMI into one. Cardog's identity for these VINs carries the
extra three characters, covered below.
The vehicle: positions 4 to 8
The VDS is the manufacturer's own code. Position 4 is often the line or platform, 5 the restraint system, 6 and 7 the body and series, 8 the engine, but that is a convention, not a rule: each manufacturer defines its own key and, in the United States, files it with NHTSA at least 60 days before the first VIN goes on a vehicle. There is no shared table, which is why a decode is a lookup against a pattern set rather than arithmetic. On current cars, MPVs and light trucks, position 7 must be a letter (the model-year section below says why).
The check digit: position 9
The check digit catches a mistyped or invented VIN. Each character is turned
into a number, multiplied by its position's weight, and the products summed;
the remainder after dividing by 11 is the digit, written X when it is 10.
Position 9 weighs 0, so the digit never checks itself. Paste any VIN to see
its arithmetic.
| Position | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Character | 2 | T | 3 | R | 1 | R | F | V | 7 | M | W | 1 | 8 | 0 | 2 | 6 | 6 |
| Value | 2 | 3 | 3 | 9 | 1 | 9 | 6 | 5 | 7 | 4 | 6 | 1 | 8 | 0 | 2 | 6 | 6 |
| Weight | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 10 | 0 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 |
| Product | 16 | 21 | 18 | 45 | 4 | 27 | 12 | 50 | 0 | 36 | 48 | 7 | 48 | 0 | 8 | 18 | 12 |
Sum 370. 370 ÷ 11 = 33 remainder 7. Position 9 reads 7: the VIN passes.
Cardog records whether a VIN's digit passes but never refuses a decode on it: not every market enforces the digit, and a failing digit is a fact about the VIN worth keeping, not a reason to drop it.
The model year: position 10
Thirty codes cover thirty model years, then repeat. The letters skip I, O and Q (never used anywhere), U and Z, and the digit 0.
- A19802010
- B19812011
- C19822012
- D19832013
- E19842014
- F19852015
- G19862016
- H19872017
- J19882018
- K19892019
- L19902020
- M19912021
- N19922022
- P19932023
- R19942024
- S19952025
- T19962026
- V19972027
- W19982028
- X19992029
- Y20002030
- 120012031
- 220022032
- 320032033
- 420042034
- 520052035
- 620062036
- 720072037
- 820082038
- 920092039
For cars, MPVs and trucks up to 4,536 kg (10,000 lb) GVWR, position 7
settles the cycle under 49 CFR 565: a digit there means 1980 to 2009, a
letter means 2010 to 2039. In 2T3R1RFV7MW180266 position 7 is F, so M is
2021. It is the manufacturer's model year, which need not match the calendar
year the vehicle was built in.
Where the VIN lives on a vehicle

- 1The dash plate, at the lower driver-side corner
- 2The compliance label, on the B-pillar
- The dashboard, at the lower driver-side corner of the windshield. On cars, MPVs and light trucks, 49 CFR 565 requires the VIN inside the cabin and readable through the glass by someone standing outside next to the driver-side windshield pillar.
- The driver's door jamb or B-pillar, on the compliance label, which on most vehicles repeats the VIN beside the build date and weight ratings.
- Stampings on the frame, the engine or body panels, on many vehicles.
- The diagnostic port: most cars from the mid-2000s on report their VIN over OBD-II.
- Paper: the registration, the insurance slip and the bill of sale.
When two of these disagree, the vehicle has a story worth reading before anyone buys it.
How Cardog keys on a VIN
Two grains sit between one VIN and a whole model year, and both are cut from the VIN alone, offline, with no decode:
squish 1–8 + 10: the market grain
squish:2T3R1RFVMnano 1–8, *, 10, 11: the build grain
nano:2T3R1RFVMWnano, extended WMI + 12–14
nano:2A9TR1DAPA123squishis positions 1 to 8 plus 10: manufacturer, descriptor and model year, with the plant left out. Every VIN sharing a squish is the same configuration of the same model year, which makes it the market grain: quotes take it as an instrument.nanois positions 1 to 8, a*for the check digit, then 10 and 11: the squish plus the plant, the build grain. For an extended-WMI VIN it adds positions 12 to 14, because there they are part of the manufacturer; for everyone else they are serial and are left out.- The ref form drops the
*: the key2T3R1RFV*MWis the refnano:2T3R1RFVMW, and parsing puts it back.
import { squishFromVin, nanoFromVin, checkDigitOk } from "@cardog/entities";
squishFromVin("2T3R1RFV7MW180266"); // "2T3R1RFVM"
nanoFromVin("2T3R1RFV7MW180266"); // "2T3R1RFV*MW"
nanoFromVin("2A9TR1DA1PA123045"); // "2A9TR1DA*PA123"
checkDigitOk("2T3R1RFV7MW180266"); // trueThe vehicle graph covers which endpoints take which grain, and the ref grammar the full set of ref forms.
Decoding a VIN with the API
The structure tells you where the manufacturer, model year and plant are; it does not tell you the trim, engine or body, because those live in each manufacturer's VDS key. A decode does:
curl "https://api.cardog.app/v2/vin/2T3R1RFV7MW180266" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Decode a VIN walks through the response, and the VIN reference has the full shape, batch decoding and the links from a VIN to its recalls, listings and market instrument.
Moving from another decoder? The migration guides map NHTSA vPIC, CarsXE, VinAudit and Auto.dev fields to Cardog's, one by one, and What a VIN tells you and Squish and nano build codes go further into the keys.
Standards
| Standard | What it sets |
|---|---|
| ISO 3779 | VIN content and structure |
| ISO 3780 | The World Manufacturer Identifier and its assignment |
| 49 CFR Part 565 | VIN requirements in the United States: the meaning of each position, the check digit, the model-year code, placement |
| CMVSS 115 | VIN requirements in Canada |
Was this helpful?