Combinations without Repetition Calculator

Calculate C(n, r) combinations without repetition. Full enumeration for small cases, Pascal's triangle row, probability of a specific combo, and reference table.

Combinations without Repetition Calculator

Pool to choose from
Number to select (r ≤ n)
C(n, r)
13,983,816
C(49, 6) = 49! / (6! × 43!)
P(n, r)
10,068,347,520
Permutations (ordered) = 49!/43!
r!
720
6! — divides P(n,r) to get C(n,r)
P(specific combo)
7.1511e-8
1/13,983,816
Complement
13,983,816
C(49, 43) — symmetry: C(n,r) = C(n,n−r)
Relationship
10,068,347,520 / 720
C(n,r) = P(n,r) / r!

Pascal\'s Triangle Row (n = 49)

k0123456789101112
C(49,k)1491,17618,424211,8761,906,88413,983,81685,900,584450,978,0662.05e+98.22e+92.91e+109.23e+10

Visual: Relative Size of C(49, k)

k=0
1
k=1
49
k=2
1,176
k=3
18,424
k=4
211,876
k=5
1.91e+6
k=6
1.40e+7
k=7
8.59e+7
k=8
4.51e+8
k=9
2.05e+9
k=10
8.22e+9
k=11
2.91e+10
k=12
9.23e+10

Reference Table

n \ r012345678
Planning notes, formulas, and examples

About the Combinations without Repetition Calculator

Combinations without repetition count the number of ways to select r items from n distinct items when order doesn't matter and each item can be chosen at most once. The formula C(n, r) = n! / (r!(n−r)!) is also called the binomial coefficient and is fundamental to probability, statistics, and discrete mathematics.

This calculator computes C(n, r) for any valid input, enumerates all combinations for small cases, shows the corresponding Pascal's triangle row, and provides the probability of any single combination. It also compares with ordered permutations P(n, r) to illustrate the role of r! in eliminating order.

Applications span lottery odds (choosing 6 of 49 numbers), poker hand probabilities (5 of 52 cards), committee selection, sample subsets, and any scenario where you pick items from a pool without caring about the arrangement. The 6-from-49 example is a useful stress test because the count is large while the counting rule stays simple.

When This Page Helps

While C(n,r) is simple in theory, the factorial calculations overflow quickly and mental math fails for moderate n. This calculator handles large values, shows the full enumeration when feasible, and provides the Pascal's triangle context and reference table. The visual bar chart of C(n, k) for different k illustrates where the maximum falls.

How to Use the Inputs

  1. Enter n (total pool size) and r (items to choose).
  2. Or click a preset for lottery, poker, committee, etc.
  3. Review C(n,r), the corresponding permutations P(n,r), and their relationship.
  4. For small cases, see all enumerated combinations.
  5. Examine the Pascal's triangle row to see C(n,k) for all k.
  6. Use the reference table for nearby n,r values.
  7. Check the probability of selecting any specific combination.
Formula used
Combinations: C(n, r) = n! / (r! × (n−r)!) Permutations: P(n, r) = n! / (n−r)! Relationship: C(n, r) = P(n, r) / r! Symmetry: C(n, r) = C(n, n−r) Pascal's Rule: C(n, r) = C(n−1, r−1) + C(n−1, r)

Example Calculation

Result: C(49, 6) = 13,983,816

A lottery requiring 6 correct numbers from 49 has 13,983,816 possible combinations. The probability of matching all 6 is 1/13,983,816 ≈ 7.15×10⁻⁸. If order mattered it would be 49!/43! = 10,068,347,520 — the r!=720 factor accounts for discarding order.

Tips & Best Practices

  • C(n, r) = C(n, n−r): choosing which r to include is the same as choosing n−r to exclude.
  • The maximum value in a Pascal's triangle row occurs at r = n/2 (or the two middle values if n is odd).
  • For large n and small r, C(n,r) ≈ nʳ/r!, which grows polynomially rather than exponentially.
  • In programming, compute C(n,r) iteratively to avoid factorial overflow: multiply and divide in alternation.
  • C(n,0) = C(n,n) = 1 and C(n,1) = C(n,n−1) = n.
  • The sum of all C(n,k) for k = 0 to n equals 2ⁿ (total subsets of an n-element set).

The Binomial Coefficient in Probability

C(n,r) is the backbone of discrete probability. The probability of exactly k successes in n independent trials (each with probability p) is C(n,k) × pᵏ × (1−p)ⁿ⁻ᵏ — the binomial distribution. It appears in sampling (choosing a committee), quality control (defective items in a batch), and genetics (allele combinations).

Computational Methods

Direct factorial computation overflows quickly (70! > 10¹⁰⁰). Use iterative multiplication: C(n,r) = ∏(i=0 to r−1) (n−i)/(i+1), computing each multiplication and division in sequence. For very large values, use logarithms: log C(n,r) = Σ log(n−i) − Σ log(i+1). Many programming languages provide built-in functions.

Connections Across Mathematics

Binomial coefficients appear in: the binomial theorem, Pascal's triangle, Catalan numbers, Fibonacci identities, combinatorial proofs, graph theory (counting subgraphs), coding theory (error-correcting codes), and the lattice path counting problem (paths on a grid).

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Combinations ignore order (choosing {1,2,3} = {3,1,2}). Permutations consider order (1-2-3 ≠ 3-1-2). C(n,r) = P(n,r)/r! — the r! accounts for the different orderings of the same r items.