Math Solver Free

Polynomial Calculator

Add, multiply, and find roots of polynomials — instantly and free.

How to Work with Polynomials

Polynomials are the workhorses of algebra: sums of power terms like 4x³ − x + 9, built only from addition, subtraction, and multiplication, with whole-number exponents. They model everything from the arc of a thrown ball to a business's profit curve, and nearly every later topic — factoring, equations, calculus — begins by manipulating one. This calculator handles the three jobs students meet most: adding or subtracting two polynomials by combining like terms, multiplying them by full distribution, and hunting for rational roots with the rational root theorem. Enter the polynomials, choose a mode, and each result arrives with its steps.

The Vocabulary, Term by Term

In 4x³ − x + 9, each separated piece is a term. The number multiplying the variable is its coefficient — 4 for the first term, and an unwritten 1 for −x. The exponent is the term's power, and the largest power present, here 3, is the degree of the polynomial; its coefficient (4) is the leading coefficient. The term with no variable, 9, is the constant term. Two terms are like terms when their powers match exactly, and only like terms may be merged. A value of x that makes the whole polynomial equal zero is a root (also called a zero).

How to Use the Polynomial Calculator

  1. Choose a mode with the four tabs: Add, Subtract, Multiply, or Find roots.
  2. Enter the First polynomial using x as the variable and ^ for powers — for example x^2 + 2x + 1. For Add, Subtract, and Multiply, enter the Second polynomial as well; Find roots hides that field because it works on one polynomial.
  3. Press Calculate (or Find Rational Roots in roots mode).
  4. Read the result panel: the simplified polynomial or the list of roots appears in large type, with numbered steps underneath showing how like terms were lined up or which root candidates were tested.

Worked Example: Multiplying (x² + 3x − 2)(x + 4)

  1. Distribute the x of the second polynomial across every term of the first: x · x² = x³, x · 3x = 3x², x · (−2) = −2x. Partial product: x³ + 3x² − 2x.
  2. Distribute the 4 the same way: 4 · x² = 4x², 4 · 3x = 12x, 4 · (−2) = −8. Partial product: 4x² + 12x − 8.
  3. Add the partial products, aligning like terms: x³ stays alone; 3x² + 4x² = 7x²; −2x + 12x = 10x; the constant is −8.
  4. Result: x³ + 7x² + 10x − 8. Six multiplications happened — three terms times two terms — and writing both partial products before combining is what keeps the count honest. The Multiply mode above returns the same result with its combining step shown.

Arithmetic with Polynomials

Adding and subtracting is just combining like terms across both polynomials. Multiplying means distributing every term — FOIL is simply the 2-term special case of this general rule.

Hunting for Roots

The rational root theorem narrows the search: every rational root looks like p/q where p divides the constant term and q divides the leading coefficient. Test the candidates — any hit is a genuine root.

Worked Example: Synthetic Division by (x − 1)

Synthetic division is the fast way to test a candidate root — here it also finishes the factoring of a cubic completely.

Divide P(x) = x³ − 6x² + 11x − 6 by (x − 1). Write the coefficients 1, −6, 11, −6 and bring the test value 1:

  1. Bring down the 1 → multiply by 1, add to −6 → −5.
  2. Repeat: multiply −5 by 1, add to 11 → 6.
  3. Finish: multiply 6 by 1, add to −6 → 0.

The remainder is 0, so x = 1 is a root and the quotient x² − 5x + 6 = (x − 2)(x − 3) reveals the rest: P(x) = (x − 1)(x − 2)(x − 3), with roots 1, 2, and 3. A direct substitution double-checks the first of them: P(1) = 1 − 6 + 11 − 6 = 0, as a root requires. The Find roots mode runs this same candidate-testing logic for you and reports all three roots at once.

When Polynomials Show Up

Reach for this calculator when an algebra problem is really a polynomial in disguise. Solving a cubic equation starts with the root hunt above; one rational root plus synthetic division reduces it to a quadratic you can finish by formula. Geometry problems produce polynomials whenever areas and volumes are multiplied out — a box with sides x, x + 2, and x + 4 has volume x³ + 6x² + 8x. Physics and business models are polynomials too: projectile height is a quadratic in time, and revenue is price times quantity demanded. And before submitting homework, the Add and Multiply modes verify hand expansions in seconds.

Common Mistakes

  • Combining unlike terms. x² + x does not simplify to x³, or to anything — different powers are different species and can only be merged with their own kind. Only coefficients of matching powers add.
  • Forgetting to distribute the minus sign in subtraction. Subtracting (x − 3) means subtracting every term: −x + 3, not −x − 3. Most wrong “difference” answers trace back to flipping only the first term's sign.
  • FOIL-ing beyond binomials. FOIL covers two terms times two terms. A trinomial times a binomial needs six products; stopping after four silently drops terms, which is why the partial-products method in the example above is safer.

Reading End Behavior

The leading term controls both ends of the graph. An even degree with a positive leading coefficient (like x⁴) rises on both sides; an odd degree (like x³) falls left and rises right; a negative leading coefficient flips those. Knowing the ends in advance tells you whether the roots you found can possibly be all of them — an odd-degree polynomial must cross the axis at least once.

Found a root and want factors? Try our factoring calculator or simplify expressions with the algebra calculator.

Frequently Asked Questions

What is a polynomial?

An expression of variables and coefficients using only addition, subtraction, multiplication, and non-negative integer exponents — like 3x³ − 2x + 7. Each piece such as 3x³ is a term; the numbers 3, −2, and 7 are coefficients (7 is the constant term). Expressions with x in a denominator or under a root are not polynomials.

How do you find rational roots?

List ±(factors of the constant term) ÷ (factors of the leading coefficient) and test each candidate by substitution or synthetic division. Any rational root must be on that list — that is the rational root theorem. The Find roots mode above builds the list and tests every candidate for you automatically.

How do you multiply polynomials?

Multiply every term of the first polynomial by every term of the second (distribute fully), then combine like terms — terms with the same power of x. FOIL is just this rule for two binomials; a trinomial times a binomial needs six products, and missing any one of them is the classic way these problems go wrong.

What does the degree of a polynomial tell you?

The degree — the highest exponent — caps the number of roots and controls the graph's end behavior. A degree-3 polynomial has at most three real roots and must cross the axis at least once, while a degree-2 parabola has at most two. This calculator reports the degree in its root-finding steps.

Can a polynomial have negative or fractional exponents?

No. Exponents on the variable must be whole numbers: 0, 1, 2, 3, and so on. Terms like x⁻¹ (which is 1/x), x^(1/2) (which is √x), or 1/x² break the definition, so expressions containing them are not polynomials and cannot be added, multiplied, or root-tested with the rules on this page.

Is this calculator free?

Yes — polynomial arithmetic, roots, and factoring are all free here, with no sign-up and no download. Everything is computed locally in your browser, as many times as you like, and each result comes with the steps that produced it.

Related Tools & Guides

About the MathSolverFree Team

The MathSolverFree Team builds and maintains the calculators and step-by-step solvers on this site. Every tool is checked against worked textbook examples before it is published, and the method behind each solver is written out in full — in the worked examples on the page and in our guides — so you can see exactly how an answer is reached, not just the answer itself.

How we build and test our tools·More about the team