Rational Zeros Calculator - List All Possible Rational Zeros

Rational zeros calculator — list every possible rational zero, the actual zeros, multiplicities, and the leftover polynomial in one view.

Updated: June 16, 2026 • Free Tool

Rational Zeros Calculator

Leading coefficient. Set to 0 if the polynomial has degree 3 or less.

Coefficient of x^3. Use 0 if the polynomial has degree 3 or less.

Coefficient of x^2. Use 0 if the polynomial has degree 2 or less.

Coefficient of x. Use 0 for constant-only inputs.

Constant term. The divisors of this value supply the numerators of every possible rational zero.

Results

Actual rational zeros
0
All possible rational zeros 0
Zeros with multiplicity 0
Remaining polynomial 0
Candidates tested 0candidates
Actual rational zeros 0zeros

What Is a Rational Zeros Calculator?

A rational zeros calculator is an algebra tool that applies the rational root theorem to a polynomial with integer coefficients and lists every value of x that can be written as a fraction p/q where the polynomial evaluates to zero. Type the five integer coefficients a, b, c, d, and e of the polynomial ax^4 + bx^3 + cx^2 + dx + e and the calculator builds the finite list of possible rational zeros, tests each one, and reports the actual zeros along with the leftover polynomial after every linear factor has been divided out.

  • Algebra homework: Find every rational zero of a degree-2, degree-3, or degree-4 polynomial for an algebra or precalculus problem and check the answer against the teacher's key.

The rational root theorem is one of the few purely-algebraic shortcuts that turns an unbounded search into a finite one. The candidates are easy to enumerate because every possible rational zero p/q in lowest terms must have p dividing the constant term and q dividing the leading coefficient, and both of those have only a handful of divisors for typical homework-sized polynomials.

Once the candidate list is built, the calculator substitutes each value into the polynomial using exact integer arithmetic so the answer is exact for integer inputs. There is no floating-point error, no rounding to worry about, and the same calculator correctly reports repeated zeros and fractional zeros like 3/2 without any extra work from the user.

When the polynomial collapses to a degree-2 trinomial, the Factoring Trinomials Calculator covers the special factoring case with a worked example.

How the Rational Root Theorem Works

The rational root theorem narrows the search for rational zeros to a finite list of candidates built from divisors of the constant term and leading coefficient. The calculator substitutes each candidate using exact arithmetic and reports the values that produce zero.

If p/q (in lowest terms) is a rational zero of P(x) = a_n x^n + ... + a_1 x + a_0 with integer coefficients, then p | a_0 and q | a_n.
  • a_n (leading coefficient): Coefficient of the highest-degree term x^n. The denominators of every possible rational zero must divide a_n.
  • a_0 (constant term): Coefficient of x^0. The numerators of every possible rational zero must divide a_0.
  • p: Numerator of a candidate rational zero p/q in lowest terms. p must be a positive divisor of |a_0|.
  • q: Denominator of a candidate rational zero p/q in lowest terms. q must be a positive divisor of |a_n|.

The two interpretations of the rational root theorem, every candidate in lowest terms and the search reduces to a finite check, are equivalent in every real case. The calculator always reduces p/q to lowest terms before adding it to the candidate list, so 2/4 and 1/2 are never both tested.

After the candidate set is built, the calculator tests each candidate by computing the integer numerator of P(p/q) times q to the n. If that integer numerator is exactly zero, the candidate is a real zero of the polynomial. The integer numerator method avoids floating-point rounding, which is the most common source of wrong answers on problems with large coefficients or fractional zeros.

Example 1: Cubic with three integer zeros

P(x) = x^3 - 6x^2 + 11x - 6, so a_3 = 1, a_2 = -6, a_1 = 11, a_0 = -6.

Divisors of a_0 = -6 are {1, 2, 3, 6}, divisors of a_3 = 1 are {1}, so the candidates are plus or minus 1, 2, 3, 6. Substituting shows P(1) = 0, P(2) = 0, P(3) = 0.

Actual rational zeros: 1, 2, 3. Each with multiplicity 1. Leftover polynomial: 1.

When all three candidates are real zeros, the polynomial factors completely over the rationals and the leftover polynomial is the constant 1.

According to Khan Academy, the rational zero theorem says that if a polynomial P(x) has integer coefficients, every rational zero p/q in lowest terms must divide the constant term by p and the leading coefficient by q.

For degree-2 polynomials, the Quadratic Formula Calculator returns the same two zeros plus the discriminant and the vertex in a single form.

Key Concepts Behind the Rational Root Theorem

Four ideas drive every rational-zero calculation. Understanding them makes it easier to interpret the result panel and to spot mistakes in handwritten work.

Divisor of the Constant Term

The numerators p of every candidate p/q come from the positive divisors of |a_0|. For a constant term of 6, the numerator candidates are 1, 2, 3, and 6.

Divisor of the Leading Coefficient

The denominators q of every candidate p/q come from the positive divisors of |a_n|. For a leading coefficient of 4, the denominator candidates are 1, 2, and 4.

Lowest-Terms Reduction

Every candidate must be in lowest terms, so 2/4 reduces to 1/2 and -2/4 reduces to -1/2. The reduced candidate list keeps the test set short.

Repeated Roots

A zero can appear more than once. The calculator divides out (x - r) and re-tests the quotient to count how many times r satisfies P(r) = 0.

The two stages of the algorithm, building the candidate set and substituting each candidate, are independent. The candidate set depends only on the divisors of a_0 and a_n, while the substitution depends on the rest of the coefficients.

To divide by (x - r) in one pass, the Synthetic Division Calculator carries out the synthetic division and returns the quotient alongside the remainder.

How to Use the Rational Zeros Calculator

The form is intentionally small. Five numeric inputs cover every rational-zero question for polynomials up to degree 4, and the result panel reports four different views of the answer at once.

  1. 1 Enter the leading coefficient: Type a (the coefficient of x^4) in the first field. Set it to 0 if the polynomial has degree 3 or less.
  2. 2 Enter the middle coefficients: Fill in b, c, and d for the x^3, x^2, and x terms. Use 0 for any missing degree.
  3. 3 Enter the constant term: Type the constant e in the last field. The divisors of e provide the numerators of every possible rational zero.
  4. 4 Read the candidate list: The result panel shows every possible rational zero sorted in ascending order so you can see the full search space at a glance.
  5. 5 Check the actual zeros and leftover polynomial: The actual zeros list highlights the candidates that satisfied P(x) = 0, with multiplicities next to each value, and the leftover polynomial shows what remains after every linear factor has been removed.

Try a = 2, b = -3, c = -8, d = 12, e = 0. The candidate list includes plus or minus 1, 2, 3, 4, 6, 12, and 1/2, 3/2. The actual rational zeros are -2, 3/2, and 2, and the leftover polynomial is 1.

When you want to see the full long-division work for dividing by (x - r), the Polynomial Division Calculator shows each subtraction and bring-down step in order.

Benefits of Using the Rational Zeros Calculator

A well-built rational-zero tool saves time, prevents sign errors, and keeps messy results readable.

  • Finite search space: The rational root theorem turns the search for zeros into a finite list of candidates, so the calculator never has to guess or iterate numerically.
  • Exact integer arithmetic: Every substitution is done with integer arithmetic, so the calculator returns the correct answer even when floating-point evaluation would round the wrong way.
  • Fractional zeros handled: Candidates like 3/2, -5/2, and 7/3 are tested in lowest terms without any special handling, so fractional rational zeros appear in the result automatically.

Most of the value comes from removing the manual bookkeeping. The candidate list, the substitution, the synthetic division step, and the multiplicity count are all routine enough to skip on a single problem, but doing all of them by hand is where sign errors and arithmetic mistakes creep in. The calculator handles the bookkeeping in one step so you can focus on interpreting the answer.

Once the rational zeros are known, the Partial Fraction Decomposition Calculator breaks the original fraction into a sum of simpler partial fractions built from each linear factor.

Factors and Limitations That Affect the Result

Four factors shape the candidate list, and two limitations are worth knowing before you trust a result that has no rational zeros.

Sign of the constant term

Negative constant terms use the same divisor set as their positive counterparts. The sign is restored when both plus and minus versions of every candidate are added to the list.

Leading coefficient size

When the leading coefficient has many divisors, the candidate list grows quickly. A leading coefficient of 12 with a constant term of 30 already produces 32 candidates to test.

Repeated zeros

Repeated zeros show up as the same value with a higher multiplicity. The calculator handles this by dividing the linear factor and re-testing the quotient polynomial.

  • The rational root theorem only finds rational zeros. Polynomials with irrational or complex zeros (for example x^2 - 2) will return an empty actual-zeros list and a nonempty candidate list.
  • The candidate set can grow large when both the constant term and the leading coefficient have many divisors, but the exact arithmetic keeps the substitution step fast even for polynomials with hundreds of candidates.

The constant term 0 case is the one situation where the algorithm needs special handling. The calculator strips trailing zeros from the coefficient list to count how many times x is a factor, then continues the candidate search on the reduced polynomial. Without this strip, the original a_0 = 0 would produce the empty candidate set and miss every other zero such as the -1 and 1 in x^3 - x.

According to Wolfram MathWorld, the rational root theorem reduces the problem of finding rational zeros to checking a finite set of candidates formed by the divisors of a_0 and a_n, after which exact substitution decides which candidates are real zeros.

For a degree-2 polynomial, the Parabola Calculator plots the parabola and shows the real zeros directly on the graph, which is a quick visual check on the rational-zero result.

Rational zeros calculator showing the rational root theorem applied to a degree-4 polynomial with the candidate zeros, actual zeros, and leftover polynomial
Rational zeros calculator showing the rational root theorem applied to a degree-4 polynomial with the candidate zeros, actual zeros, and leftover polynomial

Frequently Asked Questions

Q: What is the rational zero theorem?

A: The rational zero theorem says that for a polynomial P(x) with integer coefficients, every rational zero p/q in lowest terms must have p divide the constant term a_0 and q divide the leading coefficient a_n. This narrows the search to a finite list of candidates testable by direct substitution.

Q: How do you find all possible rational zeros?

A: List the positive divisors of the constant term and the positive divisors of the leading coefficient. For every pair, reduce p/q to lowest terms and add both signs to the candidate set. Substitute each candidate into the polynomial. Every value that returns exactly zero is a rational zero.

Q: What is the difference between a rational zero and a real zero?

A: A rational zero is a real zero that can be written as a fraction p/q with p and q integers and q nonzero. A real zero is any value on the real number line that makes the polynomial equal to zero. Polynomials like x^2 - 2 have real zeros but no rational ones.

Q: How do you handle repeated rational zeros?

A: When a candidate r satisfies P(r) = 0, the calculator divides the polynomial by (x - r) and re-tests the quotient. If the quotient also evaluates to zero at r, the multiplicity is 2; otherwise it is 1.

Q: Can the rational zero theorem find irrational zeros?

A: No. The rational zero theorem only generates candidates that are rational numbers. Irrational and complex zeros must be found with a different method such as the quadratic formula, completing the square, or graphing.