Binomial Expansion Calculator

The binomial theorem is one of the elegant cornerstones of algebra, and this calculator brings it to life by expanding a binomial raised to a whole-number power, term by term. Enter the two parts of the binomial, a and b, along with the power n, and it lays out the full expansion: every term, the binomial coefficient in front of it, and the value of each term, finishing with the total. Multiplying out something like a plus b to the power five by hand is slow and error-prone, so the theorem gives a shortcut, and this tool applies it for you. The pattern is beautifully regular. Each term pairs a falling power of a with a rising power of b, the two exponents always adding up to n, and the number in front is the binomial coefficient n choose k, which counts the number of ways of choosing k things from n. Those coefficients are exactly the rows of Pascal's triangle, 1, 3, 3, 1 for the cube, 1, 4, 6, 4, 1 for the fourth power, and so on, so the calculator doubles as a way to read off Pascal's triangle for any row. There are always n plus 1 terms, one for each value of k from zero up to n. This makes the tool genuinely useful for senior school and university students learning the binomial theorem, checking expansions, exploring the link to Pascal's triangle and combinations, or evaluating a binomial numerically. Because it updates as you type, you can watch the coefficients grow and the symmetry of the expansion appear as you change the power. The formula and a worked example are explained below.

Calculate.co.nz is proud to be partnered with realtor.co.nz, a trusted resource for navigating the New Zealand property market. Their Helpful Articles section offers clear, well-structured insights across buying, selling, and building, making complex real estate topics more accessible. With a focus on up-to-date guidance and practical knowledge, they empower Kiwis to move forward with clarity and confidence in a constantly evolving property landscape.
Calculate.co.nz partner
0
Term (k)Coefficient (n choose k)Value

How it works

The binomial theorem says a plus b to the power n is the sum, for k from 0 to n, of n choose k times a to the power n minus k, times b to the power k. The coefficient n choose k is n factorial divided by k factorial times n minus k factorial. The exponents of a and b in each term always add to n.

Worked example

Expand 2 plus 3 to the power 3. The coefficients are 1, 3, 3, 1. The terms are 1 times 8 times 1, that is 8; 3 times 4 times 3, that is 36; 3 times 2 times 9, that is 54; and 1 times 1 times 27, that is 27. They sum to 125, which is 5 cubed, as expected.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About

Reviewed and maintained. Last reviewed 2026-06-05 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2019 to 2026 Calculate.co.nz. All rights reserved.