Derangement Calculator
Calculate derangements D(n) and the probability that no element is in its original position. Solve subfactorial and hat-check problems.
D(5) — Derangements
44
Number of permutations where no element appears in its original position
Total Permutations (n!)
120
Probability of Derangement
0.366667
D(n) / n!