Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Polynomial multiplication calculator

Multiply polynomials and see the working: every term times every term, like terms combined, and the expanded answer, with exact fractions.

Type powers as x^2. Fractions like 1/2x or x/3 and decimals are fine.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Want to go the other way and find where the answer equals zero? Use the polynomial roots calculator.

What it does

This calculator multiplies polynomials in x and writes the answer out in full, highest power first. It shows each product of a term from one bracket with a term from the other, then adds the like terms. Use it to check algebra homework, to expand something like (x + 1)³ before you integrate it, or to see where a coefficient in a long product comes from. Coefficients can be whole numbers, fractions or decimals, and the arithmetic is exact, so 1/3 stays 1/3 instead of becoming 0.3333.

How polynomials are multiplied

The rule is the distributive property, used over and over: multiply each term of the first polynomial by each term of the second, then add the results and combine like terms (terms with the same power of x). To multiply two terms, multiply the numbers and add the powers.

(a1 + a2 + …)(b1 + b2 + …) = a1b1 + a1b2 + … + a2b1 + a2b2 + …
c·xm × d·xn = (c × d)·xm+n

A polynomial with m terms times one with n terms gives m × n products before combining. For two binomials, that's the four products of FOIL: First, Outer, Inner, Last. For three or more polynomials, multiply the first two, then multiply that answer by the next one.

Worked example: (2x − 1)(x² + 3x − 4)

  1. 2x times each term: 2x · x² = 2x³, 2x · 3x = 6x², 2x · (−4) = −8x
  2. −1 times each term: −1 · x² = −x², −1 · 3x = −3x, −1 · (−4) = 4
  3. Combine like terms: 6x² − x² = 5x², and −8x − 3x = −11x
  4. Answer: 2x³ + 5x² − 11x + 4

Quick check: at x = 2 the factors are 3 and 6, and 3 × 6 = 18. The answer at x = 2 is 16 + 20 − 22 + 4 = 18, so it matches. The calculator does this check for you.

Patterns worth knowing

ProductExpandedName
(a + b)²a² + 2ab + b²Perfect square
(a − b)²a² − 2ab + b²Perfect square
(a + b)(a − b)a² − b²Difference of squares
(x + 1)³x³ + 3x² + 3x + 1Binomial cube

Limits

  • One variable only, written x. Expressions like (x + y)² need a multivariable tool.
  • Powers must be whole numbers 0 or more, so x−1 or √x aren't polynomials and are rejected.
  • You can divide by a number (x/2) but not by an expression containing x, since that isn't a polynomial.
  • The answer can have powers up to x100. Very long products skip the term-by-term list and show the totals.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • (x + 2)(x − 3) = x² − x − 6 ✓
  • (2x − 1)(x² + 3x − 4) = 2x³ + 5x² − 11x + 4 ✓
  • Check at x = 2: 3 × 6 = 18 ✓
  • (x + 1)(x + 1)(x + 1) = x³ + 3x² + 3x + 1 ✓
  • (1/2x + 1/3)(6x − 3/4) = 3x² + (13/8)x − 1/4 ✓
  • Edge: (x + 5)(x − 5) = x² − 25, the x terms cancel ✓
  • Edge: 1/x is not a polynomial ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

How do you multiply polynomials?

Multiply every term of the first polynomial by every term of the second, then combine like terms. For (x + 2)(x − 3): x·x = x², x·(−3) = −3x, 2·x = 2x, 2·(−3) = −6, so the answer is x² − x − 6.

What is FOIL?

A memory aid for multiplying two binomials: First, Outer, Inner, Last. It's the same as multiplying each term by each term; it just orders the four products.

How do you multiply three polynomials?

Multiply two of them first, then multiply the result by the third. The order doesn't change the answer. (x + 1)(x + 1)(x + 1) = (x² + 2x + 1)(x + 1) = x³ + 3x² + 3x + 1.

What happens to the exponents when you multiply terms?

They add. 3x² times 4x⁵ is 12x⁷: multiply the coefficients (3 × 4) and add the powers (2 + 5).

What is the degree of the product?

The degrees add. A degree-2 polynomial times a degree-3 polynomial gives degree 5, unless one of them is 0.

Related calculators