← All text tools

Binomial expansion calculator

Expand (ax + by) to the power n with the binomial theorem and see every coefficient, term-by-term working and any single term you ask for.

  • Free
  • No sign-up
  • Works on any device

About Binomial expansion calculator

The binomial theorem expands (ax + by)^n into n + 1 terms, each with a binomial coefficient C(n, k) = n! / (k!(n - k)!) times a power of ax and a power of by. For (2x + y)^4 the page gives 16x^4 + 32x^3y + 24x^2y^2 + 8xy^3 + y^4. A table shows the coefficient, the power of a, the power of b and the value of every term, and you can ask for one term by its number. A final check confirms that the coefficients add up to (a + b)^n.

How to use Binomial expansion calculator

  1. Type the whole-number coefficients a and b, which may be negative, and the power n up to 40.
  2. Read the full expansion on the first line and copy it if you need it.
  3. Use the term table, or enter a term number, to see the working behind any single coefficient.

Why use this tool?

Also known as

Frequently asked questions

How many terms does a binomial expansion have?

(ax + by)^n has n + 1 terms before simplification, such as 5 terms for n = 4. Terms vanish only when a or b is 0.

What do negative coefficients do to the signs?

A negative b makes the signs alternate, because b is raised to a power. For (x - y)^3 the terms are x^3 - 3x^2y + 3xy^2 - y^3.

How is the coefficient C(n, k) related to Pascal's triangle?

Row n of Pascal's triangle lists C(n, 0) to C(n, n). Row 4 reads 1, 4, 6, 4, 1, which are the coefficients of (x + y)^4.

Is Binomial expansion calculator free?

Yes. Binomial expansion calculator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Binomial expansion calculator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools