Enter the total count (n) and the number to choose (r) to get permutations, combinations, and factorial instantly.
Enter n and r.
nPr = n! ÷ (n−r)! · nCr = n! ÷ (r! × (n−r)!)
Permutations and combinations are two fundamental ways of counting how many ways you can select or arrange items from a set — permutations count arrangements where order matters (like ranking 1st, 2nd, 3rd place), while combinations count selections where order doesn't matter (like picking a group of people for a team). This tool calculates nPr (permutations), nCr (combinations), and n! (factorial) for numbers you choose.
Factorial (n!) multiplies every whole number from n down to 1 (for example 5! = 5×4×3×2×1 = 120). Permutations (nPr) count ordered arrangements of r items chosen from n, calculated as n! ÷ (n−r)!. Combinations (nCr) count unordered selections of r items from n, calculated as n! ÷ (r! × (n−r)!) — always smaller than or equal to nPr for the same n and r, since it doesn't count different orderings of the same group separately. All calculations use BigInt arithmetic for exact results even with very large numbers.