The mechanism of the Masterlock brand combination locks is designed such that it is possible to manipulate the lock in just a few moments and eliminate 63,900 of the 64,000 possible combinations. This leaves just 100 possible combinations to test on the lock. While this is still much slower than simply cutting the lock off. Manipulating a combination is really only useful when there is a pressing need to be able to reuse a lock.

Masterlock padlocks will freeze up the dial when pressure is applied to the shackle of the lock. Careful inspection of the lock will reveal that the dial will freeze in twelve distinct positions. Seven of these positions will be with the number pointer between two numbers, and these can be discarded. Of the remaining five positions, the pointer will point directly to numbers on the dial face and 4 of the numbers will end with the same digit. (For those math freaks out there, four of the five will possess the same modulo 10.) For instance the five numbers that the dial will freeze on may be 1, 11, 21, 31, and 4. We discard the 1, 11, 21, and 31 and are left with 4. We now know the last number of the three number combination, 4. We now have gone from 64,000 possible combinations to 1,600 possible combinations.

Now a bit of information about the way Masterlock codes combinations comes in handy. The first and last digits of the combination have the same remainder when divided by 4. In the example above the last digit is 4, and 4 divided by four is 1 with a remainder of 0. The first digit must then have a remainder of 0 when divided by 4. A master lock has the digits 0 through 39 on its dial, and thus in the example above ten numbers, 0, 4, 8, 12, 16, 20, 24, 28, 32, and 36 are left as possibilities for the first number. This reduces the total possible number of valid combinations to 400.

When divided by 4, the middle number has a remainder that differs by 2 from the remainder of the last number. Thus if the remainder of the last number in the combination is 0, the remainder of the middle number will be 2. If the last number divided by 4 leaves a remainder of 1, then the middle number will leave a remainder of 3. A remainder of 2 for the last number yields a remiander of 0 for the middle number, and a remainder of 3 on the last number yields a remainder of 1 for the middle number. This allows us to reduce the possibilities for the middle number to ten choices, in much the same way as we did for the first number. In the example we've given that would leave 2, 6, 10, 14, 18, 22, 26, 30, 34, and 38. The total possible valid combinations has now been reduced to 100.

I understand that although this algorithm is fairly simple, some people may not have the time to sort it out. For your convenience this page can take the last digit of the combination, which you must manipulate from the lock as described above, and provide you with a table of all the possible valid combinations. The table for the example above looks like this:

0-2-4 | 0-6-4 | 0-10-4 | 0-14-4 | 0-18-4 | 0-22-4 | 0-26-4 | 0-30-4 | 0-34-4 | 0-38-4 |

4-2-4 | 4-6-4 | 4-10-4 | 4-14-4 | 4-18-4 | 4-22-4 | 4-26-4 | 4-30-4 | 4-34-4 | 4-38-4 |

8-2-4 | 8-6-4 | 8-10-4 | 8-14-4 | 8-18-4 | 8-22-4 | 8-26-4 | 8-30-4 | 8-34-4 | 8-38-4 |

12-2-4 | 12-6-4 | 12-10-4 | 12-14-4 | 12-18-4 | 12-22-4 | 12-26-4 | 12-30-4 | 12-34-4 | 12-38-4 |

16-2-4 | 16-6-4 | 16-10-4 | 16-14-4 | 16-18-4 | 16-22-4 | 16-26-4 | 16-30-4 | 16-34-4 | 16-38-4 |

20-2-4 | 20-6-4 | 20-10-4 | 20-14-4 | 20-18-4 | 20-22-4 | 20-26-4 | 20-30-4 | 20-34-4 | 20-38-4 |

24-2-4 | 24-6-4 | 24-10-4 | 24-14-4 | 24-18-4 | 24-22-4 | 24-26-4 | 24-30-4 | 24-34-4 | 24-38-4 |

28-2-4 | 28-6-4 | 28-10-4 | 28-14-4 | 28-18-4 | 28-22-4 | 28-26-4 | 28-30-4 | 28-34-4 | 28-38-4 |

32-2-4 | 32-6-4 | 32-10-4 | 32-14-4 | 32-18-4 | 32-22-4 | 32-26-4 | 32-30-4 | 32-34-4 | 32-38-4 |

36-2-4 | 36-6-4 | 36-10-4 | 36-14-4 | 36-18-4 | 36-22-4 | 36-26-4 | 36-30-4 | 36-34-4 | 36-38-4 |

Enter the last digit for your lock below and get the list of possible combinations for it!