Combination Calculator (nCr) — Free Choose k from n Calculator | AllInOneTools
C(n,r) Combinatorics

Combination Calculator

Calculate C(n,r) — the number of ways to choose r items from n without regard to order. See step-by-step solution and Pascal's triangle row.

C(
n (total)
r (choose)
)=
120
📑 Step-by-Step Solution
🔸 Pascal's Triangle — Row 10

Combinations: Counting Selections Without Order

A combination counts the number of ways to choose r items from a set of n distinct items where order does not matter. Choosing {A, B, C} is the same as {C, A, B}. The combination formula, also called the binomial coefficient, is fundamental to probability, statistics, combinatorics, and the binomial theorem. It appears in lottery odds, card game probabilities, team selection, committee formation, and countless counting problems.

The Combination Formula

C(n,r) = n! / (r! x (n-r)!)

Properties:
  C(n,0) = C(n,n) = 1
  C(n,1) = C(n,n-1) = n
  C(n,r) = C(n, n-r) (symmetry)
  C(n,r) = C(n-1,r-1) + C(n-1,r) (Pascal's rule)
  Sum of row: C(n,0)+...+C(n,n) = 2^n

Relation to Permutations:
  C(n,r) = P(n,r) / r!

Real-World Applications

In a lottery (pick 6 from 49), odds are 1 in C(49,6) = 13,983,816. In poker, C(52,5) = 2,598,960 possible hands. In genetics, combinations determine allele groupings. The binomial theorem uses combinations: (a+b)n = ∑ C(n,k) an-k bk.

Combination vs. Permutation
Use combinations when order does NOT matter (committees, lottery). Use permutations when order DOES matter (rankings, passwords). C(n,r) = P(n,r)/r!. From 5 people, choosing 3 for committee = C(5,3) = 10; ranking 3 positions = P(5,3) = 60.

Frequently Asked Questions

What is a combination?
A selection where order does not matter. C(n,r) = n!/(r!(n-r)!). Example: C(5,2) = 10 ways to choose 2 from 5.
What is the difference between combination and permutation?
Combinations: order irrelevant (AB = BA). Permutations: order matters (AB differs from BA). C(n,r) = P(n,r)/r!.
What is Pascal's triangle?
A triangle where each number is the sum of two above it. Row n contains C(n,0) through C(n,n). Reveals many combinatorial patterns.
Why does C(n,r) = C(n, n-r)?
Choosing r to include = choosing (n-r) to exclude. C(10,3) = C(10,7) = 120. This is the symmetry property.
How do I calculate lottery odds?
Odds = 1/C(n,r). Pick 6 from 49: C(49,6) = 13,983,816. Odds are about 1 in 14 million.
What is the binomial coefficient?
Another name for C(n,r). Appears as coefficients in (a+b)^n expansion. Example: (a+b)^3 = 1a^3 + 3a^2b + 3ab^2 + 1b^3.