Calculate permutations (nPr) and combinations (nCr) instantly for any n and r. Free online calculator with exact factorial-based results and step-by-step solutions, no precision loss for large numbers.
Permutations and combinations are the two fundamental ways of counting how many ways you can select or arrange items from a larger set — a cornerstone of probability, statistics, and combinatorics.
A permutation, written P(n,r) or nPr, counts the number of ways to arrange r items chosen from n, where the order of selection matters. A combination, written C(n,r) or nCr, counts the number of ways to choose r items from n, where order doesn't matter. This calculator computes both using exact arbitrary-precision arithmetic, so results stay perfectly accurate even for large factorials.
For n=10, r=3: P(10,3) = 10!/(10-3)! = 10 × 9 × 8 = 720 ways to arrange 3 items from 10 in order. C(10,3) = 10!/(3!×7!) = 720/6 = 120 ways to choose 3 items from 10 without regard to order.
Given
Permutation formula
Permutations P(n,r)
Combination formula
Combinations C(n,r)
• Permutation: Order matters. Arranging 3 people in 1st, 2nd, and 3rd place counts "A, B, C" and "B, A, C" as different outcomes.
• Combination: Order doesn't matter. Choosing 3 people for a committee counts "A, B, C" and "B, A, C" as the same outcome.