Caliper Method
You can measure the root depth of each key bitting and lookup the measurement on the manufacturer specification sheets to determine the key code. The following table provides the bitting depth to key codes for the popular Kwikset key brand used for most home front door locks.
| Root Depth | Key Code |
|---|---|
| 0.329″ | 1 |
| 0.306″ | 2 |
| 0.283″ | 3 |
| 0.260″ | 4 |
| 0.237″ | 5 |
| 0.214″ | 6 |
| 0.191″ | 7 |
Using calipers, measure each root depth (red lines in the following picture) and compare the measurement to the Kwikset lookup table above. For this picture, red line #1 measured as 0.214” which equals a key code of 6. The complete key code for this key is 63323.

Source: KeysGen | Find Key Code