Binomial Theorem Calculator

This binomial theorem calculator expands a binomial power, (a + b) to the n, term by term. Enter a value for a, a value for b, and a whole number power n from 0 to 12, and it instantly returns the sum of every term in the expansion, the total number of terms, and the full list of binomial coefficients used to build each one. The binomial theorem states that (a + b)^n splits into n plus 1 terms, each formed by multiplying a binomial coefficient, n choose k, by a raised to a falling power and b raised to a rising power, and those coefficients match row n of Pascal’s triangle. This makes the tool useful for checking algebra homework, verifying an expansion by hand, exploring how Pascal’s triangle connects to probability, or saving time on a tedious multi-term expansion. Change any of the three inputs and the result, term count and coefficient list update straight away, so you can experiment with different powers and watch how quickly the number of terms and the size of the coefficients grow. Try the worked example below, entering 1, 1 and 4, to check the calculator against a result you can verify by hand, where the coefficients 1, 4, 6, 4 and 1 sum to 16. Results are rounded for display, and n is limited to whole numbers between 0 and 12.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
Advertise on this page
Sum of terms = 16 | terms: [1, 4, 6, 4, 1]
Number of terms5
Coefficients[1, 4, 6, 4, 1]

The formula

The binomial theorem: (a + b)^n = sum over k from 0 to n of (n choose k) a^(n-k) b^k, where (n choose k) is the binomial coefficient. There are n + 1 terms and the coefficients form row n of Pascal’s triangle.

Worked example

(1 + 1)^4 expands with coefficients 1, 4, 6, 4, 1, which sum to 16, equal to 2^4. Enter 1, 1, 4 to confirm.

Frequently asked questions

What is the binomial theorem?

A formula for expanding (a + b)^n as a sum of terms (n choose k) a^(n-k) b^k.

What are the coefficients?

The binomial coefficients n choose k, which are exactly row n of Pascal’s triangle.

How many terms are there?

n plus 1 terms, from k equals 0 up to k equals n.

Who this calculator is for

This calculator is for algebra students and anyone needing a quick, reliable result.

What this calculator assumes

  • You enter valid numbers.
  • The standard method is applied.
  • Results are rounded for display.

Formula and sources

Related calculators