Permutation and Combination Calculator

Enter the total number of distinct items n and the number r selected, where 0 ≤ r ≤ n.

Formula
Permutation: nPᵣ = n! ÷ (n − r)!. Combination: nCᵣ = n! ÷ [r!(n − r)!]. Permutations count ordered selections; combinations count unordered selections.