Calculator Hero

Polynomial Calculator

Evaluates polynomials at any x value and adds, subtracts, or multiplies two polynomials.

Last updated: June 11, 2026

1

Mode

Enter coefficients from highest to lowest degree, separated by commas.

f(x) = x² − 3x + 2

Result

f(3)

2

Substitution

f(3) = (3)² − 3(3) + 2

= 2

How to Use This Polynomial Calculator

This polynomial calculator evaluates, adds, subtracts, and multiplies polynomials — enter your coefficients as a comma-separated list from highest degree to lowest. For example, enter 1, -3, 2 for x² − 3x + 2, or 1, 0, 0, -8 for x³ − 8. Every degree must be represented — include zeros for missing terms. The calculator immediately renders the polynomial in standard notation so you can confirm the input is correct before calculating. Choose from three modes: Evaluate f(x) at any x value, Add or Subtract two polynomials, or Multiply two polynomials.

Entering Polynomials Correctly

Coefficients are listed from the highest power down to the constant term (degree 0). A polynomial of degree n requires exactly n + 1 coefficients. Missing powers must be represented with a 0 coefficient. Example inputs:

  • x³ − 2x + 51, 0, -2, 5
  • 4x² + 34, 0, 3
  • 7x − 17, -1
  • −x⁴ + x² − 1-1, 0, 1, 0, -1

Evaluating a Polynomial at a Point

Polynomial evaluation substitutes a specific value for x and computes the result. Given f(x) = x² − 3x + 2 and x = 5, the calculation is 5² − 3(5) + 2 = 25 − 15 + 2 = 12. To verify roots of a polynomial — values where f(x) = 0 — enter the candidate root as x and check whether the result is zero. If you are also working with inequalities involving this polynomial, the inequality calculator can determine the solution set directly.

The Remainder Theorem

The Remainder Theorem states that dividing a polynomial f(x) by (x − k) yields a remainder equal to f(k). This means evaluating a polynomial at a point is mathematically equivalent to finding the remainder of that division — a fact that motivates the synthetic division shortcut.

AdvertisementResponsive Ad

Adding and Subtracting Polynomials

Polynomial addition and subtraction combine like terms — terms with the same degree. If the two polynomials have different degrees, the shorter one is effectively padded with zero coefficients at the front. The result has at most the degree of the higher-degree input; leading terms may cancel in subtraction, reducing the degree. For instance, (x² + 2x − 1) − (x² − 3x + 4) = 5x − 5 — the x² terms cancel, producing a degree-1 result.

Worked Example

Add P(x) = 2x³ − x + 3 and Q(x) = x² + 4x − 2:

  • P coefficients: 2, 0, -1, 3 (degree 3)
  • Q coefficients: 1, 4, -2 (degree 2)
  • Pad Q to degree 3: 0x³ + x² + 4x − 2 → 0, 1, 4, -2
  • Add term by term: [2+0, 0+1, −1+4, 3+(−2)] = [2, 1, 3, 1]
  • Result: 2x³ + x² + 3x + 1

Multiplying Polynomials

Multiplying two polynomials distributes every term of the first polynomial across every term of the second. If P has m terms and Q has n terms, the product before combining like terms has m × n terms. Numerically, multiplication is computed as the convolution of the two coefficient arrays — the same operation used in digital signal processing. The degree of the product equals the sum of the two degrees. For polynomials related to the quadratic formula, multiplying (x − r₁)(x − r₂) reconstructs the original quadratic from its roots.

FOIL and Beyond

FOIL (First, Outer, Inner, Last) is a mnemonic for multiplying two binomials. For example, (x + 2)(x − 5): First = x², Outer = −5x, Inner = 2x, Last = −10 → x² − 3x − 10. FOIL is a special case of the distributive property and generalizes to polynomials of any degree. The polynomial calculator uses the general convolution approach, so it handles any degree without counting terms.

AdvertisementResponsive Ad

Polynomial Degree and Leading Terms

The degree of a polynomial is the highest power of x with a non-zero coefficient. The leading coefficientis the coefficient of that highest- degree term. Together they determine the polynomial's end behavior: a positive leading coefficient with even degree rises on both ends; negative with even degree falls on both ends; positive with odd degree falls left and rises right; negative with odd degree rises left and falls right.

Special Polynomial Names

  • Degree 0 — constant (e.g. 7)
  • Degree 1 — linear (e.g. 2x + 3)
  • Degree 2 — quadratic (e.g. x² − 4)
  • Degree 3 — cubic (e.g. x³ − 2x)
  • Degree 4 — quartic; Degree 5 — quintic

Real-World Uses of Polynomial Arithmetic

Polynomial evaluation appears in engineering when computing values from a curve fit or approximating a function using Taylor series. Polynomial multiplication underlies convolution in signal processing and image filters. Adding polynomials is used in computer graphics to blend Bézier curves. In algebra courses, polynomial operations are foundational — they appear in factoring, completing the square, partial fraction decomposition, and the Factor Theorem. Proficiency with polynomial arithmetic is required for precalculus, calculus, and linear algebra.

Sources & References

  1. Polynomial Arithmetic — Khan AcademyKhan Academy
  2. Polynomials — Math Is FunMath Is Fun

Frequently Asked Questions

Related Calculators

Advertisement

320 × 50 — Mobile Anchor