What Is Permutation & Combination Calculator?
A free online permutation and combination calculator. Compute nPr (permutations where order matters) and nCr (combinations where order does not matter) for any n and r values. Includes factorial breakdown for full transparency.
Permutations and combinations are fundamental counting techniques in probability, statistics, and combinatorics. The key difference: permutations (nPr) count arrangements where order matters — like choosing 1st, 2nd, and 3rd place winners from 10 contestants. Combinations (nCr) count selections where order does not matter — like choosing 3 committee members from 10 people. Permutation & Combination Calculator computes both with factorial breakdowns.
Enter the total number of items (n) and the number of items to choose (r). The tool instantly displays both the permutation (nPr) and combination (nCr) values. The formula view shows the full calculation: nPr = n! / (n-r)! and nCr = n! / (r! × (n-r)!).
The factorial breakdown shows the step-by-step computation: n!, r!, (n-r)!, and the final division. This transparency helps students understand where the numbers come from and verify the calculation manually. For n=10, r=3: 10! = 3,628,800, 7! = 5,040, so 10P3 = 3,628,800/5,040 = 720, and 10C3 = 3,628,800/(6 × 5,040) = 120.
The tool handles large values efficiently using optimized factorial computation. For very large n values (over 170), standard JavaScript numbers overflow, so the tool displays "Infinity" for results exceeding Number.MAX_VALUE. Results update instantly as you adjust n and r values.