Loading…

Binomial Coefficient Tool

Math Probability • Combinatorics and Counting Techniques

View all topics

Binomial Coefficient Tool – Pascal’s Triangle Row & C(n,k) (Free)

Generate binomial coefficients \(C(n,k)\) and Pascal’s triangle rows for expansions. Key facts: \(C(n,k)=C(n,n-k)\) and \(\sum_{k=0}^{n}C(n,k)=2^n\).

Tip: Press Play after calculating to animate Pascal’s triangle filling row-by-row. Drag to pan and use the mouse wheel to zoom.

Inputs

Accepted expressions: 1e-3, pi, e, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication. Inputs must evaluate to integers with \(n\ge0\) and (if provided) \(0\le k\le n\).

Output & visualization
The triangle view is interactive: drag to pan and wheel to zoom. Values only render when zoomed in enough to stay readable.
Ready
Interactive Pascal view — triangle grid (pan/zoom) + Play fill

The visualization caps the number of rows for readability, but coefficients for row \(n\) are computed exactly.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does C(n,k) represent?

C(n,k) is the number of ways to choose k items from n items when order doesn’t matter.

Why is Pascal’s triangle related to C(n,k)?

Row n of Pascal’s triangle lists C(n,0) to C(n,n), and the recursion C(n,k)=C(n−1,k−1)+C(n−1,k) builds the triangle.

Why does the row sum equal 2^n?

Summing C(n,k) over k counts all subsets of an n-element set by size; there are 2^n subsets total.

Why are some large coefficients clipped?

Coefficients can have hundreds or thousands of digits; clipping preserves readability while keeping computation exact.