Math

Instant, private, and free

Binomial Coefficient Calculator.

Calculate the exact n choose k coefficient.

On-device calculationNo signup
01

Set your values

Results update as you type.

n choose k: 120

n choose k

0.000000

Results update automatically as you type.

Use Cases

Probability and Statistics

Compute the number of possible combinations in experiments, such as the number of ways to get a certain number of heads in coin flips.

Example: Number of ways to get 3 heads in 5 coin flips: C(5,3) = 10.

Combinatorics and Algebra

Expand binomial expressions using the binomial theorem, where coefficients are binomial coefficients.

Example: Coefficient of x^2 in (1+x)^4 is C(4,2) = 6.

Frequently Asked Questions

What is the binomial coefficient n choose k?
The binomial coefficient, written as n choose k, represents the number of ways to choose k items from a set of n distinct items without regard to order. It is calculated as n! / (k! * (n-k)!).
How do I use this calculator?
Enter a non-negative integer for n (total items) and a non-negative integer for k (items to choose). The calculator will compute the exact binomial coefficient. Ensure k is not greater than n, as the result would be zero.
What if k is greater than n?
If k > n, the binomial coefficient is defined as 0 because there is no way to choose more items than available. The calculator will return 0 in such cases.

Tips & Common Mistakes

Tips

  • Ensure n and k are non-negative integers. The calculator may not handle decimals or negative numbers correctly.
  • Remember that C(n,0) = 1 and C(n,n) = 1 for any n ≥ 0.
  • For large n, the result can be huge; this calculator provides exact integer values, not approximations.
  • If you need to compute multiple coefficients, consider using symmetry: C(n,k) = C(n, n-k).

Common Mistakes to Avoid

  • Entering k greater than n, which yields 0, but some users expect an error or a different interpretation.
  • Using negative numbers or decimals for n or k, which are not valid for binomial coefficients.
  • Confusing combinations with permutations: this calculator gives combinations (order does not matter), not permutations.

Last updated: August 13, 2026