Rational Root Test Calculator

This rational root test calculator lists every possible rational root of a polynomial with integer coefficients, using the rational root theorem, turning root-finding into a short, manageable search instead of guesswork. You enter two numbers: the leading coefficient, the number in front of the highest power of x, and the constant term, the number with no x attached. The calculator finds every factor of the constant term and every factor of the leading coefficient, then builds each candidate by dividing a constant factor by a leading factor, with a plus and minus version of each. It returns the full list of candidates, the total number of candidates found, and a note showing how the constant and leading factors were combined to build that list. The theorem guarantees that any rational root of the polynomial appears somewhere on this list, though it does not tell you which candidates, if any, are genuine roots; you still need to substitute each one into the polynomial and check for a result of zero. This makes it a fast first step before factoring or solving a polynomial by hand, useful for algebra students and anyone tackling homework or exam revision. Try the default values of 1 and -6 to see the candidates plus or minus 1, 2, 3 and 6, then test each in your polynomial to find the true roots.

Advertisement
Candidates: -6, -3, -2, -1, 1, 2, 3, 6
Number of candidates8
Constant and leading|const| factors x |lead| factors

The formula

The rational root theorem says any rational root p/q in lowest terms of an integer polynomial has p dividing the constant term and q dividing the leading coefficient. The candidates are plus or minus (each factor of the constant) over (each factor of the leading coefficient).

Worked example

For a polynomial with leading coefficient 1 and constant minus 6, the candidates are plus or minus 1, 2, 3 and 6. Testing these in the polynomial finds the actual roots. Enter 1 and -6 to confirm.

Frequently asked questions

What is the rational root theorem?

It says any rational root of an integer polynomial is a factor of the constant term over a factor of the leading coefficient.

Does it find the roots?

It lists the candidates. You still test each one in the polynomial to see which are genuine roots.

What if none work?

Then the polynomial has no rational roots; its real roots are irrational or it has only complex roots.

Who this calculator is for

This calculator is for algebra students and anyone needing a quick, reliable result.

What this calculator assumes

  • You enter valid numbers.
  • The standard method is applied.
  • Results are rounded for display.

Formula and sources

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland by SiteHost New Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-08-15 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.