Answers Four Dial Lock Combination Calculator

How many combinations does a 4 digit lock have?

This is a lock combination question. Lock users say combination, but mathematically this is permutation with repetition because the 4 dial positions are ordered and each dial can repeat any digit from 0 through 9.

Exact result

10,000

A 4-position lock code with 10 options per position has 10,000 possible codes.

A typical 4 digit lock has 10 choices on each of 4 ordered dials. Codes like 1234 and 4321 are different, and repeated digits like 0000 are allowed, so the total is 10^4.

Worked steps

Show your work

  1. Inputs: positions = 4, pool size = 10 from range 0 through 9
  2. Formula: n^r
  3. Substitute: 10^4
  4. Steps: 10 x 10 x 10 x 10 = 10,000
  5. Result: A 4-position lock code with 10 options per position has 10,000 possible codes.

Interactive tool

Verify the same values in the calculator

A typical 4 digit lock has 10 choices on each of 4 ordered dials. Codes like 1234 and 4321 are different, and repeated digits like 0000 are allowed, so the total is 10^4.

Number of dials / positions
4
We are given a fixed number of dials or spins.

Result

0

Enter values to calculate.

What your result means

The explanation updates with the current inputs.

Live visual

Lock preview

Calculation work