Binomial Coefficient Calculator

Enter n and k to instantly compute C(n,k) — the binomial coefficient — with the full formula and Pascal's Triangle row.

Use the Binomial Coefficient Calculator

Enter Values

Quick Examples

Result

Enter n and k above, then click Calculate.

Pascal's Triangle — Row n

All C(n,k) values for your chosen n. The highlighted cell is your result.

Awaiting calculation.
Copied!

Summary

The Binomial Coefficient Calculator computes C(n,k) — read "n choose k" — which counts the number of ways to select k items from a set of n distinct items when order does not matter. It uses the formula C(n,k) = n! / (k! × (n−k)!) and handles large values without rounding errors. The tool also displays the full Pascal's Triangle row for your chosen n so you can see all coefficients at once.

How it works

  1. Enter the total number of items (n) in the first field.
  2. Enter the number of items to choose (k) in the second field.
  3. The result C(n,k) is computed instantly using exact integer arithmetic.
  4. The step-by-step formula breakdown shows how the factorials are applied.
  5. The Pascal's Triangle row for n is displayed, with C(n,k) highlighted.

Use cases

  • Calculating lottery odds and probability problems.
  • Expanding binomial expressions such as (a+b)^n using binomial theorem.
  • Counting combinations in statistics and probability courses.
  • Computing sample sizes and hypergeometric distribution values.
  • Verifying Pascal's Triangle entries for combinatorics homework.
  • Solving card game and board game probability questions.

Frequently Asked Questions

Last updated: 2026-05-29 · Reviewed by Nham Vu