Skip to content
Probability Calculator
Menu

Permutation and Combination Calculator

Count the ways to arrange or choose r items from n, with exact results even for very large numbers.

Updated · exact formulas, double precision

Combinations (order doesn't matter)

120

nCr = n! ÷ (r! (n − r)!)

Permutations (order matters)

720

nPr = n! ÷ (n − r)!
Chance of picking one particular combination at random: 1 in 120

Formulas

No repetitionWith repetition
Permutations (order matters)n! ÷ (n − r)!nʳ
Combinations (order doesn't)n! ÷ (r! (n − r)!)(n + r − 1)! ÷ (r! (n − 1)!)

Examples

Combinations are the C(n, k) in the binomial formula. For the probability of a particular outcome, divide 1 by the count; the basic probability calculator handles the rest.

Questions people ask

What is the difference between a permutation and a combination?

Permutations care about order (a podium); combinations don't (a lottery draw).

How many 5-card poker hands are there?

C(52, 5) = 2,598,960.

Sources

More probability calculators