šŸŽ² Combinations & Permutations Calculator

Calculate C(n,r) combinations and P(n,r) permutations for probability, statistics, and counting problems.

Choose n and r

Combinations C(n,r)
Order doesn't matter
—
Permutations P(n,r)
Order matters
—
n! (n factorial)
—
r! (r factorial)
—
(nāˆ’r)! factorial
—
Perm / Comb Ratio
—

Combinations vs Permutations

Combination: Selecting items where order does NOT matter. "Choose 3 flavors from 10" — {vanilla, chocolate, mint} is the same as {mint, vanilla, chocolate}.

Permutation: Arranging items where order DOES matter. "Top 3 finishers in a race of 10" — first, second, third placements are distinct.

C(n,r) = n! / (r! Ɨ (nāˆ’r)!) "n choose r"
P(n,r) = n! / (nāˆ’r)!

Relationship: P(n,r) = C(n,r) Ɨ r!

Quick Examples

  • Lottery (pick 6 of 49): C(49,6) = 13,983,816 combinations
  • Password (4 letters A–Z): P(26,4) = 358,800 (no repeats)
  • Committee of 3 from 8: C(8,3) = 56 committees