Exact result
456,976
A 4-position lock code with 26 options per position has 456,976 possible codes.
A typical 4 letter lock has 26 choices on each of 4 ordered dials. Codes like ABCD and DCBA are different, and repeated letters like AAAA are allowed, so the total is 26^4.
Worked steps
Show your work
- Inputs: positions = 4, pool size = 26 from custom list (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
- Formula: n^r
- Substitute: 26^4
- Steps: 26 x 26 x 26 x 26 = 456,976
- Result: A 4-position lock code with 26 options per position has 456,976 possible codes.
Interactive tool
Verify the same values in the calculator
A typical 4 letter lock has 26 choices on each of 4 ordered dials. Codes like ABCD and DCBA are different, and repeated letters like AAAA are allowed, so the total is 26^4.
Result
0
Enter values to calculate.
What your result means
The explanation updates with the current inputs.
Live visual
Lock preview
Calculation work