Rational Root Theorem Calculator - List All p/q Roots

Try an example:

Type powers with ^ (x^3). Missing powers are treated as 0. Leading and constant terms drive the candidate list.

Step 1 — Read Off the Two Numbers That Matter

For p(x) = 2x33x211x + 6, the theorem only cares about the leading coefficient and the constant term.

Constant term (gives p)

6

Numerator p must divide this value.

Leading coefficient (gives q)

2

Denominator q must divide this value.

Step 2 — Factors of Each Number

Factors of the constant (p): ±1, ±2, ±3, ±6

±1±2±3±6

Factors of the leading coefficient (q): 1, 2

12

Step 3 — Every Possible Rational Root (±p/q)

12 candidates after reducing duplicates. Green tiles are confirmed zeros; gray tiles are ruled out.

-6-3-2-3/2-1-1/21/213/2236

Confirmed Rational Zeros

-2, 1/2, 3

Each value here makes p(x) = 0, so the matching (x − root) is a factor of the polynomial.

How to Use This Calculator

  1. Type your polynomial into the Polynomial with integer coefficients field, using ^ for powers — e.g. 2x^3 - 3x^2 - 11x + 6.
  2. Check Step 1 to confirm the constant term (gives the numerator p) and the leading coefficient (gives the denominator q).
  3. Step 2 lists the positive factors of each. Every candidate root is one of those p values over one of those q values, with a ± in front.
  4. In Step 3, the green tiles are the candidates that actually satisfy p(x) = 0. Gray tiles were tested and rejected.
  5. Use the confirmed zeros to write factors (x − root), then divide them out to finish factoring the polynomial.

Share this calculator

Help others solve their calculations

Found this calculator helpful? Share it with your friends, students, or colleagues who might need it!

Rational Root Theorem Calculator: How to List and Test Every Zero

About the Author

Marko Šinko - Co-Founder & Lead Developer

Marko Šinko

Co-Founder & Lead Developer, AI Math Calculator

Lepoglava, Croatia
Advanced Algorithm Expert

Croatian developer with a Computer Science degree from University of Zagreb and expertise in advanced algorithms. Co-founder of award-winning projects, ensuring precise mathematical computations and reliable calculator tools.

📅 Published:
Rational Root Theorem Calculator listing possible p/q fraction candidates with confirmed rational zeros highlighted in green.

A Rational Root Theorem Calculator takes the guesswork out of factoring by listing every fraction that could be a root of a polynomial, then testing which ones actually are. Give it 2x³ − 3x² − 11x + 6 and it hands back a short menu of candidates — ±1, ±2, ±3, ±6, ±½, ±3⁄2 — and flags the three that land on zero: 3, −2, and ½. Below, we unpack where that candidate list comes from, why it works, and how to turn a confirmed zero into a full factorization.

The Rule in One Sentence

Here is the whole theorem, stripped to its core: if a polynomial with integer coefficients has a rational root written in lowest terms as p⁄q, then p divides the constant term and q divides the leading coefficient. That's it. The constant term at the tail end of the polynomial controls the numerators, and the leading coefficient out front controls the denominators.

Why does that help? A cubic could theoretically have a root anywhere on the number line. The theorem shrinks "anywhere" down to a handful of specific fractions you can check by hand. Instead of an infinite search, you get a finite checklist — usually eight to sixteen values, often fewer once duplicates collapse.

Building the Candidate List Step by Step

Take p(x) = 2x³ − 3x² − 11x + 6. The constant term is 6 and the leading coefficient is 2. List the positive factors of each:

  • Factors of 6 (these are the p values): 1, 2, 3, 6
  • Factors of 2 (these are the q values): 1, 2

Now form every p⁄q combination and put a ± on each: ±1⁄1, ±2⁄1, ±3⁄1, ±6⁄1, ±1⁄2, ±3⁄2. Some fractions repeat once reduced (2⁄2 is just 1), so the calculator quietly removes duplicates. What remains is the complete set of rational numbers that have any chance of being a root. Every other real number is automatically disqualified.

Testing Each Candidate Without Endless Substitution

Listing candidates is only half the job — you still have to find which ones are real zeros. The slow way is plugging each fraction into the polynomial. The fast way is synthetic division: divide the polynomial by (x − candidate), and if the remainder is 0, you have a root. Test x = 3 on 2x³ − 3x² − 11x + 6 and the remainder vanishes, confirming 3 is a zero and (x − 3) is a factor.

The bonus is that synthetic division doesn't just confirm the root — it also hands you the quotient, a polynomial one degree lower. After peeling off (x − 3) you're left with 2x² + 3x − 2, a quadratic you can crack instantly. That cascade is why the theorem pairs so well with a polynomial division calculator: each confirmed root makes the leftover problem smaller.

A Full Walkthrough on 2x³ − 3x² − 11x + 6

Let's finish that polynomial completely. We already have the candidate list and one confirmed root, x = 3. Dividing out (x − 3) leaves 2x² + 3x − 2. Factor the quadratic: 2x² + 3x − 2 = (2x − 1)(x + 2). Setting each factor to zero gives x = ½ and x = −2.

So the three rational roots are 3, ½, and −2 — exactly the values the calculator highlights in green. Notice ½ came from the leading coefficient of 2: without that 2 out front, no halves would have appeared on the candidate list at all. The full factorization is 2x³ − 3x² − 11x + 6 = (x − 3)(2x − 1)(x + 2). If you'd rather jump straight to a factored form, a factoring polynomials calculator finishes the job once the theorem points you to a first root.

How the Leading Coefficient Changes the Search

The single biggest driver of how many candidates you get is the leading coefficient. A monic polynomial (leading coefficient 1) can only have integer roots, because q must divide 1. The moment the leading coefficient grows, fractions enter the picture. This table shows how the same constant term produces very different candidate sets:

Candidate rational roots for a constant term of 6 under different leading coefficients
Leading coefficientAllowed denominators (q)Candidate roots (with ±)
111, 2, 3, 6
21, 21, 2, 3, 6, ½, 3⁄2
31, 31, 2, 3, 6, ⅓, ⅔, 2⁄3

Read the pattern: bigger leading coefficients unlock more fractional candidates, which is why messy leading coefficients make hand-factoring feel harder. The theorem still corrals the search, but you have more tiles to test.

Where the Theorem Trips People Up

  • Non-integer coefficients. The theorem only applies when every coefficient is a whole number. If you see fractions, multiply the whole equation through by the common denominator first — 3x² − ½x + 1 becomes 6x² − x + 2.
  • Forgetting the ± signs. Each factor pair generates two candidates. Listing only the positives means you'll miss roots like −2 entirely.
  • Expecting a root to exist. The theorem lists possible roots, not guaranteed ones. A polynomial like x² + 1 has candidates ±1, yet neither works — its zeros are complex. No green tiles is a valid, informative answer.
  • Ignoring a zero constant term. If the constant term is 0, then x = 0 is already a root. Factor out an x first, then apply the theorem to what remains.

When to Reach for a Rational Root Theorem Calculator

The Rational Root Theorem is the standard first move whenever you meet a cubic or higher polynomial that won't factor by inspection. It's the workhorse of Algebra 2 and precalculus, and it's the sanity check professionals use before trusting a numerical solver. Start here, confirm one rational zero, divide it out with a factor calculator, and repeat until only a quadratic remains. For the underlying proof and historical context, the Wikipedia entry on the rational root theorem walks through the number-theory argument in full.

Frequently Asked Questions

Still Have Questions?

The detailed content on this page provides comprehensive explanations and examples to help you understand better.