My Calculator

Polynomial Calculator

Solve any polynomial equation — cubic, quartic, and beyond — with full step-by-step working, exact rational roots, and a plotted curve diagram with every value labeled.

Use x^3, x^4, etc. for higher powers. Works with brackets, chained products like (x-1)(x-2)(x-3)=0, powers like (x+1)^3=0, and x-terms on both sides. Supports degree 1 to 8.

Math Keyboard

Try an example

Standard formx³ − 6x² + 11x − 6 = 0
Degree3
Leading coefficient1
Roots1, 2, 3
Y-intercept(0, -6)
Turning points(1.4227, 0.3849), (2.5774, -0.3849)

Polynomial Curve Diagram

The curve is your exact equation plotted point by point. Every real root, the y-intercept, and every turning point are labeled right on the diagram with their real values.

max (1.4227, 0.3849)min (2.5774, -0.3849)x = 1x = 2x = 3(0, -6)
Polynomial curveReal roots (x-intercepts)Y-interceptTurning points

Step-by-Step Solution

Here's exactly how this answer was calculated, one step at a time.

Given: x³ − 6x² + 11x − 6 = 0

  1. Step 1: Write the equation in standard form

    Every term is moved to one side, ordered from the highest power to the lowest. This is a degree-3 polynomial equation, with leading coefficient 1.

    x³ − 6x² + 11x − 6 = 0
  2. Step 2: Test possible rational roots (Rational Root Theorem)

    Possible rational roots are ± (factors of the constant term) ÷ (factors of the leading coefficient). Testing each candidate by substitution, x = 1 makes the polynomial equal to 0, so (x − 1) is a factor.

    Possible roots: ± 1, 2, 3, 6 → x = 1 works
  3. Step 3: Divide by (x − 1) using synthetic division

    Synthetic division confirms a zero remainder and reduces the polynomial to a lower degree: x² − 5x + 6 = 0.

    x³ − 6x² + 11x − 6 ÷ (x − 1) = x² − 5x + 6 (remainder 0)
  4. Step 4: Solve the remaining quadratic factor with the quadratic formula

    The remaining factor x² − 5x + 6 = 0 is quadratic, so it's solved with the quadratic formula. The discriminant is (-5)² − 4·1·6 = 1, which is positive, giving two real roots.

    x =-(-5) ±(-5)² - 4·1·61

The solutions to the polynomial equation are:

x₍1₎ = 1 x₍2₎ = 2 x₍3₎ = 3

Free Online Polynomial Calculator

This polynomial calculator solves any polynomial equation instantly — linear, quadratic, cubic, quartic, or higher, up to degree 8. Type in almost any equation, including ones with brackets, chained binomial products like (x-1)(x-2)(x-3) = 0, powers like (x+1)^3 = 0, or x-terms on both sides, and get the exact roots right away. Along with the answer, you get a fully plotted curve diagram with every real root, the y-intercept, and every turning point labeled with real numeric values, plus a complete step-by-step solution showing exactly how the rational root theorem, synthetic division, and the quadratic formula were applied.

Whether you're a student working through algebra or precalculus homework, a teacher preparing worked examples, or an engineer who needs a fast, reliable polynomial equation solver, this tool handles equations with rational roots, repeated roots, complex (imaginary) roots, and even messy higher-degree equations that don't factor neatly — no polynomial is too hard.

What Is a Polynomial Equation?

A polynomial equation sets a polynomial expression equal to zero. A polynomial itself is a sum of terms, each made up of a variable (usually x) raised to a whole-number power and multiplied by a coefficient. The standard form of a polynomial equation lists the terms from the highest power down to the constant:

  • Standard form: aₙxⁿ + aₙ₋₁xⁿ⁻¹ + … + a₁x + a₀ = 0, where n is a non-negative whole number and aₙ ≠ 0
  • The degree of the polynomial is n, the highest power of x that appears
  • aₙ is the leading coefficient — it controls the equation's overall end behavior
  • a₀ is the constant term — it's also the polynomial's y-intercept, since setting x = 0 leaves only a₀
  • The roots (or zeros) of the equation are the values of x that make the polynomial equal zero — these are exactly the points where the graph of the polynomial crosses or touches the x-axis

Methods for Solving Polynomial Equations

Unlike quadratics, higher-degree polynomials don't have one single formula that always works. Instead, solving them combines several complementary techniques, which this calculator applies automatically in sequence:

  • Factoring out x — if there's no constant term, x = 0 is automatically a root, and the degree can be reduced immediately by dividing every term by a power of x.
  • The Rational Root Theorem — for equations with whole-number coefficients, this narrows down every possible rational root to a short list: ± (a factor of the constant term) ÷ (a factor of the leading coefficient).
  • Synthetic division — once a root is confirmed, synthetic division quickly divides the polynomial by that factor, reducing the degree by one and revealing the next polynomial to solve.
  • The quadratic formula — once synthetic division reduces the equation down to a quadratic (or it started as one), the quadratic formula finishes the job exactly, including complex roots.
  • Numerical root-finding — when a polynomial has no simple rational roots (which is common for equations with decimal coefficients or degree 5 and above, per the Abel–Ruffini theorem), the calculator switches to an iterative numerical method that converges on every real and complex root simultaneously.

How to Solve a Polynomial Equation Step by Step

Regardless of degree, solving a polynomial equation generally follows this sequence:

  • Step 1 — Expand any brackets and move every term to one side so the equation equals zero.
  • Step 2 — Write the equation in standard form, ordered from the highest power of x to the lowest, and note the degree.
  • Step 3 — If the constant term is zero, factor out x (or a power of x) to pull out any roots at x = 0.
  • Step 4 — List the possible rational roots using the Rational Root Theorem, then test each candidate.
  • Step 5 — Once a root is confirmed, divide the polynomial by that factor using synthetic division, reducing the degree by one.
  • Step 6 — Repeat steps 4–5 until the remaining polynomial is quadratic or linear.
  • Step 7 — Solve the final quadratic (with the quadratic formula) or linear factor directly to get the last root or pair of roots.
  • Step 8 — Combine every root found along the way — that full list is the complete solution set.

How to Use This Polynomial Calculator

Using the calculator is simple: type your equation into the input box using x^2, x^3, x^4, and so on for powers, exactly as you'd write it on paper — for example, x^3 - 6x^2 + 11x - 6 = 0, or something more compact like (x-1)(x-2)(x-3) = 0 or (x+1)^3 = 0. You don't need to expand brackets or simplify anything first; the calculator automatically expands chained binomial products, powers of brackets, and leading multipliers, then rearranges everything into standard form before solving.

As soon as you enter a valid equation, the calculator instantly shows the standard form, the degree, the leading coefficient, and the complete list of roots — whether rational, repeated, or complex. Below that, the curve diagram plots your exact polynomial with every real root, the y-intercept, and every turning point labeled directly on the graph, so you can see how all the values relate to each other visually. Scroll down further for the complete written step-by-step solution, including every rational root test and synthetic division.

Worked Example

Take the equation x³ − 6x² + 11x − 6 = 0. This is a degree-3 (cubic) equation, so the Rational Root Theorem lists the possible rational roots as ±1, ±2, ±3, ±6 (factors of the constant term 6, divided by factors of the leading coefficient 1). Testing x = 1: 1 − 6 + 11 − 6 = 0, so x = 1 is a root. Dividing by (x − 1) using synthetic division gives the quotient x² − 5x + 6.

That quotient is now a simple quadratic, so applying the quadratic formula (or factoring directly) gives x² − 5x + 6 = (x − 2)(x − 3), so x = 2 and x = 3. Combined with the first root, the complete solution set is x = 1, x = 2, and x = 3 — and indeed, (x − 1)(x − 2)(x − 3) expands back to exactly x³ − 6x² + 11x − 6.

The Rational Root Theorem Explained

The Rational Root Theorem is the single most useful tool for solving polynomial equations by hand. It states that if a polynomial has integer coefficients, every rational root (written in lowest terms as p/q) must have p as a factor of the constant term and q as a factor of the leading coefficient. This turns an infinite search for roots into a short, finite checklist.

For example, in 2x³ − 3x² − 11x + 6 = 0, the constant term is 6 (factors: 1, 2, 3, 6) and the leading coefficient is 2 (factors: 1, 2), so the only possible rational roots are ±1, ±2, ±3, ±6, ±1/2, ±3/2. Testing each candidate quickly narrows down the actual roots — in this case x = −2, x = 1/2, and x = 3.

Real Roots, Repeated Roots, and Complex Roots in Polynomials

By the Fundamental Theorem of Algebra, a degree-n polynomial equation always has exactly n roots when complex roots and repeated roots are counted with their multiplicity. Some of these roots may be real numbers (where the curve actually crosses or touches the x-axis), and others may be complex numbers involving i, the imaginary unit, where i² = −1.

A repeated (or multiple) root occurs when the same factor appears more than once, such as (x + 1)³ = 0, which has x = −1 as a root with multiplicity 3. At a repeated root with even multiplicity, the curve touches the x-axis without crossing it; at odd multiplicity, it passes through. Complex roots, meanwhile, always occur in conjugate pairs for polynomials with real coefficients — if p + qi is a root, then p − qi is guaranteed to be a root too, and neither one shows up as an x-intercept on the real graph.

Turning Points, End Behavior, and the Shape of Polynomial Graphs

A degree-n polynomial graph can have up to n − 1 turning points — the local peaks and valleys where the curve changes from rising to falling or vice versa. These are found by solving where the derivative of the polynomial equals zero, which this calculator does automatically and marks on the diagram.

The end behavior of the graph — which way the curve points as x moves far left and far right — depends only on the degree and the sign of the leading coefficient. Even-degree polynomials point the same direction on both ends (both up, or both down), while odd-degree polynomials point in opposite directions on each end, which is why every odd-degree polynomial equation is guaranteed to have at least one real root.

Real-World Applications of Polynomial Equations

Polynomial equations model an enormous range of real, curved, or compounding relationships:

  • Engineering and physics: modeling projectile paths, structural load curves, and control systems with cubic and higher-order terms.
  • Economics and business: representing cost, revenue, and profit functions that curve rather than grow in a straight line as production scales up.
  • Computer graphics: Bézier curves and surface modeling rely directly on polynomial equations of varying degree.
  • Signal processing: filters and transforms are often expressed and analyzed as polynomials in a complex variable.
  • Chemistry and biology: reaction rate and population growth models frequently reduce to polynomial equations when solved for equilibrium points.
  • Geometry and design: finding dimensions when a volume or area is expressed as a product of unknown lengths often produces a cubic or quartic equation.

Polynomial vs. Quadratic vs. Linear Equations

A linear equation has degree 1 and a straight-line graph with exactly one solution. A quadratic equation has degree 2, a parabola-shaped graph, and up to two solutions, always solvable with the quadratic formula. A general polynomial equation can have any degree, any number of turning points up to one less than its degree, and up to that many roots — but unlike quadratics, there's no single formula that solves every polynomial equation directly for degree 5 and above (a result known as the Abel–Ruffini theorem), which is exactly why this calculator combines rational root testing, synthetic division, and numerical methods together.

Tips for Solving Polynomial Equations Faster

A few habits make solving polynomial equations by hand much faster and less error-prone: always check for a zero constant term first, since factoring out x is the quickest possible reduction. Always write out the full list of possible rational roots before testing blindly — it's usually a short list. Test small integers like ±1 and ±2 first, since they're common in textbook problems. Once you find one root, immediately reduce the degree with synthetic division rather than restarting the search on the full polynomial. And whenever a polynomial equation gets too messy to factor by hand — especially degree 4 and above — this polynomial calculator instantly checks your work, shows every synthetic division step, and falls back to precise numerical roots when no clean factorization exists.

Frequently Asked Questions

What is a polynomial equation?

A polynomial equation sets a polynomial expression equal to zero, in the form aₙxⁿ + … + a₁x + a₀ = 0. The degree n is the highest power of x, and the equation's roots are the values of x that satisfy it.

How do you solve a polynomial equation by hand?

Combine the Rational Root Theorem to list possible rational roots, test them by substitution, use synthetic division to reduce the degree each time a root is confirmed, and finish with the quadratic formula once the remaining factor is degree 2.

Can this calculator solve cubic and quartic equations?

Yes. It solves polynomial equations of any degree from 1 to 8, including cubic (degree 3) and quartic (degree 4) equations, with full step-by-step working.

What if a polynomial has no rational roots?

The calculator automatically falls back to a numerical method (the Durand–Kerner method) that finds every real and complex root to high precision, even when the equation doesn't factor neatly.

How many roots does a polynomial equation have?

By the Fundamental Theorem of Algebra, a degree-n polynomial equation has exactly n roots when complex roots and repeated roots are counted with multiplicity — though not all of them may be real numbers.

What are turning points on a polynomial graph?

Turning points are the local maximum and minimum points where the graph changes direction. A degree-n polynomial can have at most n − 1 turning points, found by solving where the derivative equals zero.