Combination Lock Mechanism: How It Works, Parts, Formula and Diagram Explained

← Back to Engineering Library

A Combination Lock is a keyless lock that opens when its internal discs or wheels rotate to a specific sequence of angular positions. It solves the problem of key management — no physical key to lose, copy, or steal. The user dials each number, which aligns a gate on each wheel; once every gate lines up, a fence drops into the slot and frees the shackle or bolt. You see it on padlocks like the Master Lock No. 3, on luggage TSA locks, and on Group 2 safe dials rated for 20 hours of expert manipulation resistance.

Combination Lock Interactive Calculator

Vary dial positions, wheel count, and angular tolerance to see combination count, gate pitch, and fence alignment behavior.

Combinations
--
Entropy
--
Gate Pitch
--
Open Window
--

Equation Used

C = P^N; gate pitch = 360 / P; open window = 2 * tolerance

The theoretical number of combinations is the number of dial positions raised to the number of wheels. Gate pitch is the angular spacing between adjacent dial numbers, and the open window is twice the allowed angular tolerance around the true gate.

  • Each wheel has the same number of dial positions.
  • Theoretical combinations ignore wear, decoding, and user-pattern choices.
  • Fence can drop only when each wheel gate is within the angular tolerance window.
Watch the Combination Lock in motion
Video: Hinge for 180-degree rotation with lock by Nguyen Duc Thang (thang010146) on YouTube. Used here to complement the diagram below.
Combination Lock Mechanism Cross-section showing three wheels with gate notches that must align for the fence to drop and release the shackle. Combination Lock Mechanism Wheel 1 Wheel 2 Wheel 3 Gate Fence Spring Shackle Force Release LOCKED UNLOCKED Gates align → Fence drops → Shackle releases
Combination Lock Mechanism.

Inside the Combination Lock

The Combination Lock, also called a Simple Combination Lock in the residential padlock world, works on a stack of rotating discs called the wheel pack. Each wheel has a notch cut into its outer edge — that notch is the gate. The dial drives the front wheel directly; the front wheel picks up the second wheel through a small fly pin after one full rotation, and the second wheel picks up the third the same way. That is why you turn the dial three times right, two times left, one time right on a typical 3-wheel safe — each rotation indexes one more wheel into position without disturbing the ones already set.

When all gates line up at the 12 o'clock position, a spring-loaded lever called the fence drops into the aligned gates. That movement releases the bolt or shackle. If even one gate is off by more than the wheel's tolerance — typically ±1.5° on a cheap padlock, ±0.25° on a UL Group 1 safe — the fence cannot drop and the lock stays shut. Get the angular spacing wrong on the fly pins and the wheels will not pick up cleanly, which is why a worn Master Lock with a sloppy drive cam will sometimes open one number off the marked combination.

Failure modes are mechanical and predictable. Cheap padlocks fail to a shim attack on the shackle latch, not the wheel pack itself. Better padlocks fail to manipulation — listening or feeling for the fence dropping slightly into the true gate as you rotate past it. Safe makers defeat that with false gates: shallow notches cut at random angles around each wheel that feel like the real gate but do not align with the fence. A good Group 2M wheel has 11 false gates per wheel and resists manipulation for 2 hours minimum.

Key Components

  • Wheel pack: The stack of rotating discs that store the combination. A 3-number lock uses 3 wheels, a 4-number lock uses 4. Each wheel sits on a common spindle with a running clearance of around 0.05 mm — tighter and they bind, looser and the gates wobble out of alignment under the fence.
  • Drive cam: The wheel attached directly to the dial spindle. It carries a drive pin that picks up the next wheel after one full rotation. The drive cam also has the bolt-retaining notch — when all gates align, the fence drops into the cam notch and the bolt retracts.
  • Fly pin (drive pin): Small protruding pin on each wheel that engages the next wheel in the stack. Typical pin diameter is 2 mm with 0.1 mm clearance against the receiving wheel's pickup tab. Worn fly pins cause the lock to open one or two numbers off the dial mark.
  • Gate: The notch cut into the outer edge of each wheel. On a 100-position dial, a gate is typically 3.6° wide — exactly one dial increment. The fence must drop into all gates simultaneously for the lock to open.
  • Fence: Spring-loaded lever resting on the wheel edges. When the gates align, the fence drops 1.5–2 mm into the stack and releases the bolt. Fence spring force is set low — around 0.5 N — to make manipulation harder by minimising the click feedback.
  • False gates: Decoy notches on each wheel, shallower than the true gate (typically 0.3 mm vs 1.8 mm). They mimic the feel of a true gate during manipulation but do not allow the fence to drop fully. UL Group 2M locks have at least 11 per wheel.

Real-World Applications of the Combination Lock

The Combination Lock shows up anywhere a key would be a liability — shared access, frequent issuance, or environments where a lost key forces an expensive rekey. The Simple Combination Lock dominates school lockers, gym lockers, and bicycle padlocks. Higher-grade versions handle cash safes, gun safes, and high-security commercial doors. Some use mechanical wheel packs, others use electronic equivalents that mimic the same logic in software.

  • School and gym lockers: Master Lock No. 1500D padlock — 3-wheel pack, 40-position dial, 64,000 theoretical combinations, used on millions of US school lockers.
  • Commercial safes: Sargent and Greenleaf 6730 Group 2 dial lock — 100-position, 3-wheel, fitted as standard on Liberty Safe and AMSEC BF-series gun safes.
  • Luggage and travel: TSA-approved 3-dial luggage locks on Samsonite and Travelpro suitcases — wheel-edge style with 1,000 combinations and a TSA master keyway override.
  • Bicycle security: Kryptonite Keeper 465 combo cable — 4-wheel resettable lock, 10,000 combinations, common on commuter and bike-share fleets.
  • Industrial lockout-tagout: Brady SafeKey combination padlock used in food-processing plants where keyed locks risk metal contamination from broken keys.
  • Banking and ATM service: Diebold Nixdorf ATM cash compartments use UL Group 1 manipulation-resistant combination locks rated for 20 hours of expert attack.
  • Military armouries: Kaba Mas X-09 electronic combination lock on US Department of Defense GSA-approved Class 5 and Class 6 security containers.

The Formula Behind the Combination Lock

The number of theoretical combinations tells you the brute-force search space — how long a thief would need to try every combination if the lock had no manipulation weakness. At the low end of typical wheel counts (3 wheels, 40 positions) you get a number small enough that a determined attacker can dial through it in a weekend. At the high end (4 wheels, 100 positions) the theoretical space explodes into the hundreds of millions, so attacks shift away from brute force and toward manipulation, decoding, or destructive entry. The sweet spot for everyday use sits at 3 wheels × 100 positions — high enough to deter casual brute force, cheap enough to mass-produce.

C = Pn

Variables

Symbol Meaning Unit (SI) Unit (Imperial)
C Theoretical number of unique combinations count count
P Number of distinct positions per wheel (dial increments) positions positions
n Number of wheels in the wheel pack wheels wheels
T Effective combinations after tolerance reduction count count

Worked Example: Combination Lock in a campus mailroom parcel-locker retrofit

A university mailroom in Adelaide is retrofitting 240 parcel lockers with mechanical Combination Locks instead of keyed cylinders, because students were losing 8-10 keys per week. The facilities team wants to know whether a 3-wheel, 40-position lock gives enough combination space, or whether the 100-position version is worth the extra cost. They also need to account for manipulation tolerance — the locks have a wheel-pack tolerance of ±2 dial positions, so adjacent codes are not actually distinct.

Given

  • Plow = 40 positions
  • Pnom = 100 positions
  • n = 3 wheels
  • tolerance = ±2 positions

Solution

Step 1 — compute the theoretical combination count for the low-end 40-position dial:

Clow = 403 = 64,000 combinations

Step 2 — compute the theoretical count for the nominal 100-position dial:

Cnom = 1003 = 1,000,000 combinations

Step 3 — apply the ±2 position tolerance. Each wheel only resolves to P / (2 × tol + 1) genuinely distinct positions, because any code within ±2 of the true setting opens the lock:

Tlow = (40 / 5)3 = 83 = 512 effective combinations
Tnom = (100 / 5)3 = 203 = 8,000 effective combinations

At the low end, 512 effective combinations means a patient student dialling 1 code every 5 seconds gets through the entire space in 43 minutes — not acceptable for a parcel locker. The nominal 100-position dial gives 8,000 effective codes, which pushes brute-force time to 11 hours of continuous dialling — long enough to be impractical in a public mailroom. At the high end, going to a 4-wheel 100-position lock gives:

Thigh = 204 = 160,000 effective combinations

That is overkill for parcel lockers and adds cost without meaningfully improving real-world security, because at that point an attacker switches to physical attack on the locker door rather than the dial.

Result

The 3-wheel 100-position Combination Lock gives 8,000 effective combinations after tolerance — the right choice for the parcel-locker job. The 40-position version drops to 512 effective codes and falls to brute-force dialling in under an hour, which is why it never appears on commercial parcel hardware. Bumping to 4 wheels jumps to 160,000 effective combinations but the locker door itself becomes the weak link before the dial does. If you find your installed locks opening on a code 3 or 4 positions off the marked combination, suspect three things: a worn drive cam letting the wheels overshoot pickup, a bent fence spring causing premature drop into false gates, or wheels that were not properly indexed during factory assembly — pull one apart and check that each fly pin engages cleanly within the 0.1 mm spec.

When to Use a Combination Lock and When Not To

Combination Locks compete with keyed pin-tumbler locks and electronic keypad locks. Each wins on different axes — combination space, attack resistance, audit trail, cost per unit. Pick based on what the threat model actually is, not on what feels secure.

Property Combination Lock Pin-tumbler keyed lock Electronic keypad lock
Effective combinations (typical consumer) 8,000 (3-wheel, 100 pos, ±2 tol) 10,000-100,000 (5-pin Schlage) 10,000 (4-digit PIN)
Manipulation resistance (expert attack) 2-20 hours (UL Group 2 to Group 1) Bypass in seconds with picks or bump key Resistant if rate-limited; vulnerable to side-channel
Cost per lock (USD, retail) $8-$80 $15-$120 $40-$300
Power required None None Battery or wired
Audit trail capability None None Yes — last 100-1000 events
Failure mode at end of life Wheels wear, opens off-mark Pins wear, key sticks or breaks Battery dies, lockout
Typical service life 10-30 years mechanical 15-25 years 5-10 years (electronics)

Frequently Asked Questions About Combination Lock

That is wheel-pack tolerance, and it is by design on cheap padlocks. The gates are wider than one dial increment — typically 5-7° wide on a 40-position dial — so the fence can drop into any position within that window. Master Lock specifies their school padlocks as opening within ±2 positions, which is why combination crackers can reduce a 64,000-space search to about 100 candidates by exploiting the tolerance.

If your lock opens 4 or 5 numbers off, that is wear, not design. Check the drive cam for play on the dial spindle — anything more than 0.2 mm of slop causes the wheels to overshoot during pickup.

The 3-wheel 100-position wins almost every time. Both give 1,000,000 raw combinations on paper, but the 4-wheel 40-position has more wheels to manipulate — and manipulation difficulty scales linearly with wheel count for an expert, not exponentially. More wheels also means more fly-pin engagements, more wear points, and a longer dial sequence the user has to remember.

The exception is high-security safes where UL ratings demand 4 wheels regardless. There the extra wheel buys manipulation time, not combination space.

The fence rests on the wheel edges with very light spring pressure — around 0.5 N. When the wheel under the fence rotates past its true gate, the fence dips a few thousandths of a millimetre into the gate before riding back up. That tiny dip translates into a measurable change in the dial's resistance or contact area, which a trained manipulator detects by feel or with a graphing tool.

False gates exist specifically to defeat this. A UL Group 2M lock with 11 false gates per wheel means the manipulator has to identify which dip is real out of 12 candidates per wheel — at 3 wheels that is 1,728 combinations to test, which takes hours.

Three usual causes. First, shackle preload — if there is downward force on the shackle, the bolt binds against the gate edge and cannot retract. Lift up on the body of the lock or push the shackle down hard, then dial. Second, you may have over-rotated past the final number; many locks require you to stop exactly on the number, and going one click past disengages the fence. Third, the drive cam notch is worn or contaminated with debris — common on outdoor padlocks where grit gets past the dial seal.

If none of those work, the wheels have likely lost index. Time for a replacement.

Some can, most cannot. Resettable locks like the Kryptonite Keeper or TSA luggage locks have a reset lever or button that decouples the wheels from their fly pins, lets you spin each wheel independently to your new code, then re-locks them. Look for resettable as a marked feature on the spec sheet.

Fixed-combination locks like the Master Lock No. 3 have the wheels riveted to their pickup positions at the factory. The combination is set when the wheels are pressed onto the spindle and cannot change without destroying the lock. If you need to change combinations on lockers regularly, buy resettable from the start.

That is usually the spindle bushing dry of lubricant or the wheels riding on dried grease. Safe wheel packs use a thin film of clock oil or a dry molybdenum lubricant — original grease ages out at 15-20 years and turns into a sticky paste that resists smooth rotation. The grittiness peaks halfway through a turn because that is when the maximum number of fly pins are simultaneously engaged.

Do not open the lock body yourself unless you are a certified locksmith. The spindle preload and wheel indexing are factory-set, and a wrong reassembly can lock the safe with no recovery short of drilling. Get a Group 2 service tech in.

References & Further Reading

  • Wikipedia contributors. Combination lock. Wikipedia

Building or designing a mechanism like this?

Explore the precision-engineered motion control hardware used by mechanical engineers, makers, and product designers.

← Back to Mechanisms Index
Share This Article
Tags: