Skip to main content
math

Binomial Coefficient Calculator

Calculate the binomial coefficient C(n, k) = n! / (k!(n-k)!) for combinations and Pascal's triangle.

Reviewed by Chase FloiedUpdated

This free online binomial coefficient calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.

Total number of items (non-negative integer)

Number of items to select (0 ≤ k ≤ n)

Results

n - k

3

C(n, k)

0

How to Use This Calculator

1

Enter your input values

Fill in all required input fields for the Binomial Coefficient Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.

2

Review your inputs

Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.

3

Read the results

The Binomial Coefficient Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.

4

Explore parameter sensitivity

Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.

Formula Reference

Binomial Coefficient Calculator Formula

See calculator inputs for the governing equation

Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.

When to Use This Calculator

  • Use the Binomial Coefficient Calculator when you need a quick mathematical result without writing out all the steps manually, saving time on repetitive calculations.
  • Use it to verify hand calculations on tests or assignments and catch arithmetic mistakes.
  • Use it when teaching or explaining mathematical concepts to others, demonstrating how changing inputs affects the result.
  • Use it to explore the behavior of mathematical functions across a range of inputs.

About This Calculator

The Binomial Coefficient Calculator is a free mathematical calculation tool for students, educators, and professionals who need quick, reliable results. Calculate the binomial coefficient C(n, k) = n! / (k!(n-k)!) for combinations and Pascal's triangle. The underlying algorithms implement well-established mathematical formulas and numerical methods. Results are computed instantly in the browser. This tool is useful for learning, verification of hand calculations, and rapid exploration of mathematical relationships. All computation happens locally — no data is sent to a server.

About Binomial Coefficient Calculator

The Binomial Coefficient Calculator computes C(n, k), read 'n choose k,' which counts the number of ways to select k items from n distinct items without regard to order. This fundamental concept in combinatorics appears as the coefficients in the expansion of (a + b)ⁿ (the Binomial Theorem), as entries in Pascal's triangle, and as the basis for probability calculations in the binomial distribution. Binomial coefficients arise in diverse areas: genetics (genotype ratios), statistics (sampling theory), computer science (algorithm analysis), and information theory. The formula C(n, k) = n! / (k!(n-k)!) involves factorials, but efficient computation avoids calculating large factorials by using multiplicative formulas or Pascal's recursive identity. Understanding binomial coefficients unlocks deeper topics in discrete mathematics, probability, and algebraic combinatorics.

The Math Behind It

The binomial coefficient C(n, k), also written as (n choose k) or ₙCₖ, counts the number of k-element subsets of an n-element set. The formula C(n, k) = n! / (k!(n-k)!) can be derived by considering that there are n! ways to arrange n items, dividing by k! to account for the order of the selected items and by (n-k)! for the order of the unselected items. Key properties include: C(n, 0) = C(n, n) = 1, C(n, 1) = n, symmetry C(n, k) = C(n, n-k), and Pascal's identity C(n, k) = C(n-1, k-1) + C(n-1, k). Pascal's triangle arranges binomial coefficients in a triangular array where each entry is the sum of the two entries above it. The Binomial Theorem states that (a+b)ⁿ = Σₖ₌₀ⁿ C(n,k)aⁿ⁻ᵏbᵏ. Setting a = b = 1 gives 2ⁿ = Σ C(n,k), so the sum of all entries in row n of Pascal's triangle is 2ⁿ. Binomial coefficients satisfy many remarkable identities, including Vandermonde's identity: C(m+n, r) = Σ C(m,k)C(n,r-k). They generalize to the multinomial coefficient for partitions into more than two groups. In probability, C(n,k)pᵏ(1-p)ⁿ⁻ᵏ gives the binomial probability of exactly k successes in n independent trials.

Formula Reference

Binomial Coefficient

C(n,k) = n! / (k! × (n-k)!)

Variables: n = total, k = selected, both non-negative integers with k ≤ n

Pascal's Identity

C(n,k) = C(n-1,k-1) + C(n-1,k)

Variables: Each entry is the sum of two entries in the row above

Binomial Theorem

(a+b)ⁿ = Σ C(n,k) aⁿ⁻ᵏ bᵏ

Variables: Expands powers of binomials

Worked Examples

Example 1: Basic calculation

Calculate C(10, 3)

Step 1:C(10,3) = 10! / (3! × 7!)
Step 2:= (10 × 9 × 8) / (3 × 2 × 1)
Step 3:= 720 / 6 = 120

C(10, 3) = 120

Example 2: Committee selection

How many ways can a committee of 4 be chosen from 9 people?

Step 1:This is a combination problem: C(9, 4)
Step 2:C(9,4) = 9! / (4! × 5!)
Step 3:= (9 × 8 × 7 × 6) / (4 × 3 × 2 × 1)
Step 4:= 3024 / 24 = 126

126 ways

Common Mistakes & Tips

  • !Confusing combinations C(n,k) with permutations P(n,k) = n!/(n-k)! - combinations do not consider order
  • !Trying to compute large factorials directly instead of canceling common factors first
  • !Forgetting that C(n,k) = 0 when k > n or k < 0
  • !Not recognizing the symmetry C(n,k) = C(n,n-k), which can simplify calculation

Related Concepts

Used in These Calculators

Calculators that build on or apply the concepts from this page:

Frequently Asked Questions

What is the relationship between combinations and permutations?

Permutations count ordered arrangements: P(n,k) = n!/(n-k)!. Combinations ignore order: C(n,k) = P(n,k)/k!. So C(n,k) = n! / (k!(n-k)!). There are always fewer combinations than permutations for k > 1.

Why does row n of Pascal's triangle sum to 2ⁿ?

Each of the n items is either included or excluded from a subset, giving 2 choices per item and 2ⁿ total subsets. Since C(n,k) counts subsets of size k, summing over all k gives the total: Σ C(n,k) = 2ⁿ.