52-card deck
- Input
- P(52, 52) = 52!
- Expected output
- ≈ 8 × 10⁶⁷
Possible deck orders — more than atoms in the observable universe.
total permutation and factorial n!
P(n,n) = n! counts the ways to order n distinct elements. 10! = 3,628,800. 20! ≈ 2.4 × 10¹⁸.
Possible deck orders — more than atoms in the observable universe.
5! ways to rank 5 athletes.
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.
There is exactly one permutation of zero elements (the empty sequence). Mathematically: n! = n × (n-1)! implies 1! = 1 × 0!, therefore 0! = 1.
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.