4-digit PIN
- Input
- PR(10, 4)
- Expected output
- 10.000
10⁴ possible PINs (0000–9999).
permutations in passwords and security
With repetition, PR(n,r) = nʳ. For a 4-digit PIN (0–9): PR(10,4) = 10⁴ = 10,000 combinations.
10⁴ possible PINs (0000–9999).
Computational strength of 8 characters.
A permutation is an ordered arrangement of r elements chosen from a set of n. The order of elements matters: AB and BA are different permutations.
Length has exponential impact (×n per character), while extending the alphabet has less per-character impact. A long lowercase-only password can be stronger than a short one with symbols.
No. It helps explain the scenario and use the tool more safely, but real decisions should consider official sources, full context and qualified guidance when needed.
P(n, r) = n! / (n−r)!
All calculations stay in your browser. No data is sent to any server.