Binomial Expansion Calculator

Quick answer

A binomial expansion calculator expands an expression like (a x plus b) to the power n using the binomial theorem. Enter the two coefficients and the power, and it returns the full polynomial. For example, (x plus 2) cubed is x cubed plus 6 x squared plus 12 x plus 8.

Updated 2026-09-09By Shakeel MuzaffarReviewed by Prof. Dr. Khalil Mudassar, PhD
Try
Algebra
The number multiplying x in the first term.
The constant second term. It can be negative.
The whole-number power, from 0 to 20.
Expansion
--
Number of terms--
Sum of coefficients--

Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.

Saved results (0)

How to Use the Binomial Expansion Calculator

  1. Enter the coefficient of x and the constant.
  2. Enter the whole-number power.
  3. Read the full expansion as a polynomial in x.
  4. See the number of terms and the sum of coefficients.

Here is what each result means:

ResultWhat it means
ExpansionThe binomial written out term by term.
Number of termsAlways one more than the power.
Sum of coefficientsThe value when x equals 1.

What Is a Binomial Expansion?

A binomial is a two-term expression, and a binomial expansion writes out that expression raised to a power. The binomial theorem gives every term without multiplying the whole thing out. For (x + 2)^3, the expansion is x^3 + 6x^2 + 12x + 8.

Each term uses a binomial coefficient, one of the numbers in Pascal triangle, times a power of the first term and a power of the second. The powers of the first term count down while the powers of the second count up, and together they always add to n. This pattern appears throughout algebra, probability and calculus.

How Does the Binomial Calculator Work?

It applies the binomial theorem, building each term from a binomial coefficient and the two powers.

Theorem: (a x + b)^n = sum of C(n,k) (a x)^(n-k) b^k
  1. For each term, find the binomial coefficient C(n, k).
  2. Multiply by a to the remaining power and b to the k-th power.
  3. Attach the matching power of x and add the term to the sum.

The binomial coefficients come from factorials; the factorial calculator shows the counting behind them.

Binomial Expansion Example

Expand (x + 2)^3.

Calculation: the coefficients from Pascal triangle for power 3 are 1, 3, 3, 1. Multiplying by the powers of 2 gives 1 x^3 + 3 x^2 (2) + 3 x (4) + 1 (8), which simplifies to x^3 + 6x^2 + 12x + 8. There are four terms, one more than the power.

Pascal Triangle and the Coefficients

The binomial coefficients for each power are the rows of Pascal triangle.

Power nCoefficients
21, 2, 1
31, 3, 3, 1
41, 4, 6, 4, 1
51, 5, 10, 10, 5, 1

Each number is the sum of the two above it, and each row starts and ends with 1. These are the coefficients when both terms have a coefficient of 1.

Binomial Theorem vs Multiplying Out

The theorem reaches the same answer as repeated multiplication, but far faster.

MethodEffort for (x + 2)^5
Multiplying outFive multiplications, easy to slip
Binomial theoremRead six coefficients and attach powers

For high powers the theorem is the only practical route, and it also lets you pick out a single term without expanding the rest.

What Affects the Expansion

The Power N

A higher power gives more terms, always n plus 1 of them, and larger middle coefficients.

The Two Coefficients

The values of a and b scale each term, and a negative b makes the signs alternate.

The Sign of B

When b is negative, the terms alternate between plus and minus down the expansion.

When to Use a Binomial Expansion Calculator

Algebra Homework

Expand a binomial power quickly and check your working.

Finding One Term

Use the pattern to pick out a specific term or coefficient.

Probability

Binomial coefficients count combinations, which underlie the binomial distribution.

Common Mistakes

1. Forgetting the Coefficients

Every term carries a binomial coefficient. Leaving them out gives the wrong expansion.

2. Wrong Powers

The first term power counts down while the second counts up; together they add to n.

3. Sign Slips with a Negative Term

When b is negative, the signs alternate. Track them carefully.

4. Missing the Power on a Coefficient

When a term has a coefficient like 2x, raise the whole thing, so it becomes a power of 2 as well.

5. Miscounting Terms

A power of n gives n plus 1 terms, not n. Do not drop the first or last.

Accuracy and Limitations

The expansion is exact; only long coefficients are rounded for display.

What it calculates accurately

  • The full expansion term by term
  • The number of terms
  • The sum of the coefficients

What it does not do

  • Expand three-term or larger expressions
  • Handle fractional or negative powers as a series
  • Keep two separate variables symbolically
  • Simplify surds in the coefficients

How We Expand Your Binomial

Method
The binomial theorem: each term is a binomial coefficient times powers of a and b.
Inputs used
The coefficient of x, the constant, and the power.
Assumptions
A whole-number power from 0 to 20; real coefficients.
Rounding
Coefficients to five decimals where needed.
Edge cases
A power of 0 gives 1; a negative constant makes the signs alternate.
Sources
See Sources below.
Last reviewed
2026-09-08.

Frequently Asked Questions

What is the binomial theorem?

It is a rule for expanding a two-term expression raised to a power. Each term is a binomial coefficient times a power of the first term and a power of the second, with the two powers adding to n.

How do you expand a binomial?

Use the binomial coefficients from Pascal triangle, and pair them with descending powers of the first term and ascending powers of the second. This tool does that for any coefficients and whole-number power.

What are binomial coefficients?

They are the numbers in each row of Pascal triangle, written C(n, k). They count combinations and set how much each term contributes in the expansion.

How many terms are in a binomial expansion?

Always one more than the power. So a power of 3 gives 4 terms, and a power of 5 gives 6 terms.

What happens when the constant is negative?

The signs alternate down the expansion, plus, minus, plus and so on. For example, (x minus 1) to the fourth is x to the fourth minus 4 x cubed plus 6 x squared minus 4 x plus 1.

What is Pascal triangle?

It is a triangle of numbers where each entry is the sum of the two above it. Its rows are the binomial coefficients, so it gives the multipliers for a binomial expansion at a glance.

Can I expand a power like a half?

Not as a finite polynomial. Fractional or negative powers give an infinite binomial series, which is a different tool. This calculator handles whole-number powers.

How is this used in probability?

The binomial coefficients count how many ways an outcome can happen, which is the heart of the binomial distribution used for repeated yes-or-no trials.

Is my information saved?

No. The calculation runs in your browser and nothing you enter is stored or sent anywhere, unless you choose Save, which keeps the result only on this device.

Sources

Related Calculators

Looking for more algebra tools?

Explore all math calculators

This calculator expands a binomial of the form (a x + b) raised to a whole-number power, using the binomial theorem. Coefficients are rounded for display, and the power is limited to keep the expansion readable. Spotted an error? Let us know.

Author

shakeel-Muzaffar
Founder & Editor-in-Chief at  ~ Web ~  More Posts

Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.