Rational Zeros Theorem Calculator

RATIONAL ZEROS
Enter a polynomial below and press =.
Use the xⁿ key for powers. Any term order, fractions like 3⁄4, and brackets like (x−1)(x+2) all work.
How the Rational Zeros Theorem gives this — step by step

Between any two numbers you care to name there are infinitely many fractions. A cubic has at most three roots. Put those two facts side by side and hunting for a rational zero by trial looks hopeless — and it would be, except that a polynomial with whole-number coefficients cannot accept just any fraction as a root. It is extraordinarily fussy. Only a short, computable list of fractions is even eligible, and the Rational Zeros Theorem tells you exactly which ones. The Rational Zeros Theorem calculator above builds that list for any polynomial you type, tests every entry on it, and reports the zeros that survive.

Type the polynomial the way it appears in your exercise — brackets, fractions and all — press equals, and three things come back: the rational zeros themselves, the complete ±p/q candidate list with each entry marked as a zero or not, and the working that produced both. Below, the same method by hand: how the list is built, how to test candidates without drowning in arithmetic, and what to do when the list comes up empty.

Rational Zeros Theorem calculator showing the rational zeros of a cubic with the possible p over q candidates tested

What Is the Rational Zeros Theorem?

The theorem answers one question: if this polynomial has a rational zero, what could it possibly be?

Take a polynomial whose coefficients are all integers. Suppose it has a rational zero, and write that zero in lowest terms as p/q. The theorem then guarantees two things at once: p is a factor of the constant term, and q is a factor of the leading coefficient. Nothing else can be a rational zero. Every candidate worth testing is therefore some factor of the constant divided by some factor of the leading coefficient, with a plus or minus in front.

You will meet the same statement under a second name. Rational root theorem and rational zeros theorem are two labels for one result — roots of an equation and zeros of a function being the same numbers — so a search for either brings you to this page and this calculator.

Notice how strong the restriction is. For x³ − 4x² + x + 6, the constant is 6 and the leading coefficient is 1, so the only fractions with any chance are ±1, ±2, ±3 and ±6. Eight numbers, out of infinitely many. Three of them turn out to be zeros — −1, 2 and 3 — and you find them by checking eight cases rather than searching the rationals forever.

The Rational Zeros Theorem Formula

For a polynomial written in standard form with integer coefficients,

possible rational zeros = ± (factors of the constant term) ÷ (factors of the leading coefficient)

or, in the compact form textbooks print, ±p/q where p | a₀ and q | aₙ. Two details in that line cause nearly every mistake made with this theorem, so they are worth stating plainly.

The constant term is on top. Not the leading coefficient. It is easy to reverse them because the leading coefficient is written first and feels more important, but the constant supplies p and the leading coefficient supplies q. Reversing them produces a list that usually misses the actual zeros entirely.

The coefficients must be integers. The theorem says nothing at all about a polynomial with fractions in it. That is not a dead end, though: multiplying a polynomial through by a constant does not move any of its zeros, so you clear the denominators first and then apply the theorem to the whole-number version. The calculator does this automatically and tells you when it has.

How to List All Possible Rational Zeros

The list is built by division, and the tidiest way to do it by hand is a small grid: factors of the constant down one side, factors of the leading coefficient across the top, every quotient filled in. Take 2x³ + 3x² − 8x + 3, the example the calculator opens with. The constant is 3, so p is 1 or 3. The leading coefficient is 2, so q is 1 or 2.

p ↓   q → 1 2
1±1±1⁄2
3±3±3⁄2

Four fractions, each with two signs: ±1, ±3, ±1⁄2, ±3⁄2 — eight candidates in total, which is exactly the count the calculator reports for this polynomial. Two housekeeping rules keep the list honest. Reduce every fraction to lowest terms, and write each value only once: with a leading coefficient of 6 and a constant of 6, for instance, 2/2, 3/3 and 6/6 all collapse into the single candidate 1.

One more thing the grid cannot show you. If the polynomial has no constant term — x³ − x, say — then p would have to divide zero, and the theorem stalls. The fix is to factor out the x first: x = 0 is a zero on the spot, and the theorem is applied to what remains.

How to Find Rational Zeros Step by Step

With the list in hand, the rest is testing. Here is the whole method on 2x³ + 3x² − 8x + 3, worked the way you would write it out.

Step 1 — check the coefficients are integers. They are: 2, 3, −8, 3. If they were not, you would multiply through by the lowest common denominator before going on.

Step 2 — build the candidate list. From the grid above: ±1, ±3, ±1⁄2, ±3⁄2.

Step 3 — test the whole numbers first. They are quickest, and a hit immediately shrinks the polynomial. Substituting x = 1 gives 2 + 3 − 8 + 3 = 0, so x = 1 is a zero.

Step 4 — divide it out. Synthetic division by 1 on the coefficients 2, 3, −8, 3 gives 2, 5, −3 with remainder 0 — the remainder confirming the zero — and leaves the quadratic 2x² + 5x − 3.

Step 5 — finish with the smaller polynomial. A quadratic can be factored or run through the formula, no more guessing required: 2x² + 5x − 3 = (2x − 1)(x + 3), giving x = 1⁄2 and x = −3.

The zeros are −3, 1⁄2 and 1. Here is how the full candidate list fared, which is the picture the calculator draws for you with green ticks:

Candidate f(x) at that value Zero?
10yes
1⁄20yes
−30yes
−1, 3, −1⁄2, 3⁄2, −3⁄2not 0no

Three zeros for a cubic means the hunt is over — a degree-n polynomial has n zeros in total, so once you have three there is nothing left to find. That check is worth doing every time: it tells you when to stop.

Synthetic Division or Substitution?

Both answer the same question, and choosing well saves real time.

Substitution is faster for a single test, especially on whole-number candidates. Put the value in, see whether you get zero, move on. Its weakness shows with fractions: evaluating a quartic at 3/2 by hand is an invitation to an arithmetic slip.

Synthetic division costs slightly more per test but pays a dividend when the candidate works, because it hands you the depressed polynomial for free. That is the real prize. After one successful division a cubic becomes a quadratic you can simply solve, and after two a quartic does the same. Test with synthetic division and every hit shortens the remaining work.

A practical order for exam questions: try the small whole numbers first — ±1 and ±2 catch a remarkable share of textbook zeros — then the remaining integers, then the fractions. And the moment the leftover polynomial reaches degree two, abandon the candidate list altogether and use the quadratic formula, which finds every zero including the irrational ones the theorem cannot see.

When the Leading Coefficient Is Not 1

A leading coefficient of 1 keeps every candidate a whole number, which is why textbook exercises start there. The moment it grows, fractions enter the list — and they are where zeros genuinely hide.

Consider 6x³ − 5x² − 17x + 6. The constant 6 gives p ∈ {1, 2, 3, 6}; the leading 6 gives q ∈ {1, 2, 3, 6}. After reducing and removing duplicates the calculator reports 18 possible zeros, and the ones that work are −3⁄2, 1⁄3 and 2. Two of the three are fractions. A student who tests only the integers finds x = 2, divides it out, and is still left with a quadratic — the fractional zeros simply never appear on an integers-only search.

This is also where hand arithmetic gets dangerous, and where a calculator that rounds will quietly lie to you. Testing 1/3 by decimal means testing 0.333, and 6(0.333)³ − 5(0.333)² − 17(0.333) + 6 does not come out as zero — it comes out as a small number near zero, and now you are guessing whether "near zero" means yes. This calculator never faces that question: every candidate is tested in exact fraction arithmetic, so 1/3 is tested as one third and the answer is a clean yes or no.

When a Polynomial Has No Rational Zeros

Sometimes every candidate fails. That is not a failure of your method — it is a genuine and useful result.

Take 3x² + 6x − 1. The constant is −1, so p can only be 1; the leading coefficient 3 gives q ∈ {1, 3}. Four candidates: ±1 and ±1⁄3. None is a zero. The polynomial still has two perfectly real zeros — the quadratic formula finds them — but they are irrational, and no fraction will ever equal them.

Or x³ − 2, whose four candidates ±1 and ±2 all fail. Its real zero is the cube root of 2, a number famously not expressible as a fraction. When the list comes up empty, the theorem has proved something worth knowing: this polynomial has no rational zeros at all, so stop looking for a factorisation with whole numbers in it and reach for the quadratic formula, a numerical method or a graph.

The same logic explains the partial cases. For 2x⁴ + x³ − 15x² − 7x + 7 the theorem finds −1 and 1⁄2 and then stops, leaving a quadratic factor of x² − 7 — whose zeros are ±√7. Two rational, two irrational, and the theorem drew the line between them exactly. That is why the calculator always tells you the degree of what remains after the rational zeros are removed: it is telling you how much of the polynomial is beyond the theorem's reach.

How to Use This Rational Zeros Theorem Calculator

Everything above is the pencil method. Here is what the tool at the top of the page adds to it.

One box, your own notation. There is no grid of coefficient fields to fill in and no zero to forget. Type 2x^3 + 3x^2 - 8x + 3, or paste it with unicode powers as 2x³, or write the terms in any order you like. Factored input is welcome too — (2x-1)(3x+2) is multiplied out for you — and so are fractional coefficients such as (1/3)x^2 - x + 2/3, which the calculator clears to whole numbers before applying the theorem, saying so as it does.

The keypad is built for polynomials. Phone keyboards bury the caret and the brackets; this one puts x, xⁿ, brackets and a fraction bar in front of you. If you would rather type, the small keyboard icon in the input box switches your own keyboard on and off, and the line underneath echoes what you have typed in textbook form so a stray character is visible before you press anything.

Press = and read the top line. The rational zeros appear as pills, fractions properly stacked, with a ×2 or ×3 badge when a zero repeats. Underneath sits your polynomial exactly as the calculator understood it — worth a two-second glance to confirm nothing was mistyped — and a sentence saying how many rational zeros were found and what degree is left over.

Open "Possible zeros & candidate test" for the list. This is the part built for learning rather than answering. It shows which factors supplied p and which supplied q, then every ±p/q candidate as a chip: solid green with a tick if it is a zero, faint if it is not. Nothing is hidden, so you can check your own hand-built list against it entry by entry.

The step panel shows the argument. The theorem, the denominator clearing if any was needed, the two factor lists, the exact test, the zero root if the constant term was missing, and the result — in the order you would write them.

What This Calculator Does Differently

It tests exactly, never by rounding. Candidates are checked in exact whole-number fraction arithmetic, so 1⁄3 is tested as one third rather than 0.333, and a coefficient far larger than a spreadsheet can hold is still handled precisely. There is no threshold at which the tool decides a result is "close enough to zero" — a candidate either satisfies the polynomial or it does not.

It finishes the job. Several tools stop at the ±p/q list and hand you the testing to do yourself, which is the tedious half. This one lists the candidates and reports which of them are genuinely zeros, with multiplicity: x³ − 6x² + 12x − 8 comes back as 2 with a ×3 badge, not as a bare "2".

It shows where the candidates came from. The p-factors and q-factors are printed above the chips, so the construction is visible rather than assumed. If you have ever wondered whether the constant or the leading coefficient goes on top — the one thing everybody mixes up — the panel answers it on every calculation.

It handles the awkward inputs. Fractional and decimal coefficients are cleared to integers with an explanation; a missing constant term is factored out and x = 0 reported as a zero in its own right; and a polynomial that is entered in factored form is expanded rather than refused.

It refuses honestly. Ambiguous input like "x2" is queried rather than guessed at, dividing by an expression containing the variable is identified as not a polynomial, and pasting a list of possible zeros back into the box gets you a note explaining that the list is what the calculator produces, not what it consumes. A wrong answer delivered confidently is worse than no answer.

More Worked Examples

Polynomial Possible zeros Rational zeros Point of the example
x³ − 4x² + x + 68−1, 2, 3leading coefficient 1, so all candidates are integers
2x³ − 3x² − 11x + 612−2, 1⁄2, 3a fraction hiding among the integers
6x³ − 5x² − 17x + 618−3⁄2, 1⁄3, 2two of three zeros are fractions
4x³ − 8x² − x + 28−1⁄2, 1⁄2, 2a fraction and its negative both work
x³ − 6x² + 12x − 882 (×3)one zero, repeated three times
x⁴ − 5x² + 46−2, −1, 1, 2a quartic fully solved by the theorem
3x² + 6x − 14nonereal zeros exist, but both are irrational
2x⁴ + x³ − 15x² − 7x + 78−1, 1⁄2two rational, two irrational (±√7)

Every row can be tapped into the calculator above, and the last two are the ones worth dwelling on: the theorem is at its most useful not when it finds zeros, but when it proves there are none left to find.

Frequently Asked Questions

What is the Rational Zeros Theorem?
For a polynomial with integer coefficients, any rational zero 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. It converts an endless search into a short list of candidates you can test.
Is the rational root theorem the same as the rational zeros theorem?
Yes — two names for one theorem. "Roots" refers to solutions of an equation and "zeros" to the values where a function equals zero, but they are the same numbers, so the two names describe identical results.
How do you find all possible rational zeros?
List the positive factors of the constant term (these are the p values) and the positive factors of the leading coefficient (the q values), form every quotient p/q, reduce each to lowest terms, remove duplicates and attach ± to each. For 2x³ + 3x² − 8x + 3 that gives ±1, ±3, ±1⁄2 and ±3⁄2.
Does p go with the constant term or the leading coefficient?
p divides the constant term and sits on top; q divides the leading coefficient and sits underneath. Swapping them is the single most common error with this theorem, which is why the calculator prints both factor lists with their labels on every calculation.
What if the polynomial has fractional coefficients?
Multiply the whole polynomial by the lowest common denominator first. Scaling by a nonzero constant leaves every zero exactly where it was, so the integer version has the same zeros and the theorem now applies. This calculator performs the clearing itself and shows the step.
Does the Rational Zeros Theorem always find the zeros?
No. It finds every rational zero and nothing else. Irrational zeros such as √7 and complex zeros are invisible to it, which is why the calculator reports the degree remaining after the rational zeros are removed — that is the part needing the quadratic formula, a numerical method or a graph.
What does it mean when there are no rational zeros?
It is a proof, not a dead end: no fraction whatsoever is a zero of that polynomial. 3x² + 6x − 1 has two real zeros, both irrational, and x³ − 2 has the cube root of 2. Stop hunting for whole-number factors and switch method.
Do I use synthetic division or substitution to test candidates?
Substitution is quicker for one check, especially with whole numbers. Synthetic division costs a little more but returns the depressed polynomial whenever the candidate works, so each success shortens the remaining problem — usually down to a quadratic you can simply solve.
What if the polynomial has no constant term?
Then x = 0 is a zero and the theorem cannot see it, because p would have to divide zero. Factor out the highest power of x first, record 0 as a zero with its multiplicity, and apply the theorem to what remains. The calculator does this automatically.
How many possible rational zeros can there be?
Twice the number of distinct reduced p/q quotients, since each takes a plus and a minus. Small constants and leading coefficients give short lists; numbers with many factors give long ones — 6x³ − 5x² − 17x + 6 produces 18 candidates from constant 6 and leading 6.
Can a rational zero repeat?
Yes. x³ − 6x² + 12x − 8 is (x − 2)³, so 2 is a zero of multiplicity three. The calculator divides each zero out repeatedly and shows the count as a ×3 badge, because a repeated zero fills three of the polynomial's slots, not one.
Does the theorem work for any degree?
Yes, at any degree, provided the coefficients are integers — and it earns its keep most on cubics and above, where no factoring formula exists. This calculator accepts polynomials up to degree 100.
How is this different from Descartes' Rule of Signs?
They answer neighbouring questions and pair well. Descartes' Rule of Signs tells you how many positive and negative zeros are possible; the Rational Zeros Theorem tells you which specific fractions could be zeros. Run Descartes first to learn what to expect, then this to find them.
Is this Rational Zeros Theorem calculator free?
Completely — no account, no download, no advertising between you and the answer. It belongs to the free toolkit built and maintained at Monkza.

The Rational Zeros Theorem is less a formula than a filter: it takes the infinite set of fractions, throws away everything a polynomial with integer coefficients could not possibly accept, and leaves a list short enough to check over a cup of tea. Build the list from the constant over the leading coefficient, test the whole numbers first, divide each success out, and finish the last quadratic with the formula. The calculator at the top of this page runs that entire routine on anything you type, in exact arithmetic, and shows every candidate it considered. When you also want to know how many zeros to expect before you start hunting, the Descartes' Rule of Signs calculator is the natural companion, and the rest of the free toolkit lives on the Monkza calculators page.