Skip to content
D DocNectar

Free Descartes' Rule of Signs Calculator

Count sign changes in a polynomial to determine the possible number of positive and negative real roots.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

Descartes' Rule of Signs gives a quick bound on how many positive and negative real roots a polynomial can have, just by counting how many times consecutive coefficients switch sign — no root-finding required.

How it works

The number of sign changes between consecutive non-zero coefficients of p(x) gives the number of positive real roots, or that number minus a multiple of 2. Substituting -x for x (flipping the sign of every odd-degree term) and repeating the count gives the same information for negative real roots.

  1. Enter x⁵ coefficient (optional).
  2. Enter x⁴ coefficient (optional).
  3. Enter x³ coefficient (optional).
  4. Enter x² coefficient.
  5. Enter x coefficient.
  6. Enter constant.
  7. Click Calculate to see your results.

Examples

A cubic example

p(x) = x³-1 has coefficients 1, 0, 0, -1 — one sign change, so exactly 1 positive real root. p(-x) = -x³-1 has no sign changes, so 0 negative real roots.

A polynomial with more possibilities

p(x) = x³-2x²-x+2 has 2 sign changes, so 2 or 0 positive real roots — the rule gives a range, not always an exact count.

Who should use it

  • Precalculus and algebra coursework on polynomial root analysis.
  • A quick sanity check before attempting to fully factor or solve a polynomial.

Industry applications

  • Mathematics education

Advantages

  • Works for any polynomial up to degree 5 with no root-finding computation needed.
  • Gives bounds on both positive and negative real roots in one pass.

Limitations

  • Only bounds real root counts — it says nothing about complex roots directly, and often gives a range rather than an exact count.

Common mistakes to avoid

  • Counting a zero coefficient as a "sign" when checking for changes — zero coefficients are simply skipped, not treated as a sign change.

Best practices

  • Combine this rule with the Rational Zeros Calculator: Descartes' rule narrows down how many roots to look for, while the Rational Root Theorem narrows down what they might be.

Tips

  • The total of the maximum positive count, maximum negative count, and number of complex roots always equals the polynomial's degree.

Frequently asked questions

Complex roots always come in conjugate pairs, so each pair "hides" 2 potential real roots from the sign-change count, which is why the possibilities step down by 2 each time.
No — it only bounds how many positive and negative real roots exist, without finding their values; for that, pair it with a root-finding tool like the Rational Zeros calculator.

Get new calculators and guides in your inbox

No spam — just new tools like Descartes' Rule of Signs Calculator and practical guides.

Favorites