Pascal Triangle Calculator

Build the triangle, or read off one coefficient.

Math Calculators Free, no sign-up Runs in your browser

Pascal Triangle Calculator tool

Row 0 is the single 1 at the top.

—
C(n, k)
—
Sum of row n
—
Row n
—
Numbers shown
RowEntriesSum

About the Pascal Triangle Calculator

Pascal's Triangle Calculator builds the triangle to as many rows as you ask for, and will also read off a single entry without building anything, which is what you want when the row number is large. Row 0 is the lone 1 at the top, so row 5 is the sixth line down: 1, 5, 10, 10, 5, 1.

Every entry is the sum of the two directly above it, and that is the whole construction. The same numbers are the binomial coefficients, so entry k of row n is C(n, k), the number of ways of choosing k things from n. Those two descriptions look unrelated and are the same triangle, which is most of why it is famous.

Each row sums to 2 raised to the row number, which is the table's third column. That follows from the choosing interpretation: adding up the ways of choosing none, one, two and so on from n things counts every possible subset, and a set of n things has 2ⁿ subsets.

The page shows its working, not just its answer. Where there is a formula it is printed with your own numbers substituted in, so you can check the result rather than take it on trust -- which is the difference between a calculator you can use for something that matters and one you cannot.

Everything runs inside your browser. What you type is never uploaded, never logged and never stored, and the calculator keeps working if your connection drops after the page has loaded.

How to use the Pascal Triangle Calculator

  1. Enter rows to build, read off c(n, k) — n and read off c(n, k) — kDecimals are fine, and thousands separators are accepted and ignored.
  2. Read the c(n, k), sum of row n and row nThe figures update as you type. The Calculate button is there if you would rather press something, but nothing waits for it.
  3. Copy or check the resultCopy the summary with the copy button, or open the table to check it row by row and read the formula with your own numbers in it.

What the Pascal Triangle Calculator does

  • Shows c(n, k), sum of row n, row n and numbers shown together, so you are not running it twice
  • A results table you can read across
  • Prints the formula with your own figures substituted in
  • Updates as you type, with no button to press and no page reload
  • Copy the result in one click
  • Free, no sign-up, and it runs entirely in your browser

Who uses the Pascal Triangle Calculator

The Pascal Triangle Calculator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:

  • Building the triangle for a worksheet or a wall
  • Reading off a binomial coefficient without factorials
  • Expanding a binomial power using the row as coefficients
  • Checking a probability answer that uses combinations

Common questions about the Pascal Triangle Calculator

How does Pascal’s triangle work?

Each row starts and ends with 1, and every other entry is the sum of the two numbers above it. That rule alone generates the whole triangle.

What is the connection to binomial coefficients?

Entry k of row n is C(n, k) — the number of ways to choose k items from n. It is also the coefficient of the matching term when (a + b)ⁿ is expanded.

Why does each row add up to a power of two?

Because summing C(n,0) through C(n,n) counts every subset of an n-element set, and there are 2ⁿ of those.

Why is there a row limit?

Because the entries grow quickly and JavaScript loses exact integers past about 9 x 10¹⁵. Twenty-five rows stays comfortably inside that and still fits the page.

If the Pascal Triangle Calculator is not quite what you need, these other free tools solve closely related problems, and there are 35 more in math calculators.

Factorial Calculator

n! with the expansion, digit count and related counts.

Math Calculators Use tool

Fibonacci Calculator

Fibonacci numbers to any term, with the golden ratio.

Math Calculators Use tool

Probability Calculator

Probability of events happening together, either one, or not at all.

Statistics Calculators Use tool

Checked and rebuilt on 2026-10-18. The method this calculator uses is described in the section above, and corrections go through the contact page.