Descartes’ Rule of Signs Calculator

Quick answer

The Descartes' rule of signs calculator counts the sign changes in a polynomial's coefficients to give the possible numbers of positive and negative real roots, and the minimum number of non-real roots.

Possible positive real roots
3, 1
Possible negative real roots
0
Roots at x = 0
0
Non-real roots
At least 0 non-real roots (out of 3 in total)

Before hunting for roots it helps to know how many to expect. Descartes’ rule gives this information just by reading the signs of the coefficients, so no calculation of the roots is needed.

How to use the Descartes’ Rule of Signs Calculator

  1. Degree of P(x)
  2. a₆ (x⁶)
  3. a₅ (x⁵)
  4. a₄ (x⁴)
  5. a₃ (x³)
  6. a₂ (x²)
  7. a₁ (x)
  8. a₀

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

How it works

Zero coefficients are skipped. Each change from + to − or − to + counts once. For negative roots the signs of the odd-power coefficients are flipped (P(−x)). Zero roots are counted separately from the lowest power present.

Formula

Positive roots = number of sign changes in P(x), or less by an even number Negative roots = sign changes in P(−x), or less by an even number

Worked example

Inputs: Degree of P(x): 3; a₃ (x³): 1; a₂ (x²): -6; a₁ (x): 11; a₀: -6.
Results: Possible positive real roots = 3, 1; Possible negative real roots = 0; Roots at x = 0 = 0; Non-real roots = At least 0 non-real roots (out of 3 in total).

Key terms

Sign change
A switch between a positive and a negative coefficient.

Frequently asked questions

How do I count sign changes?

Write the signs of the non-zero coefficients in order and count how often consecutive signs differ.

Why "or less by an even number"?

Non-real roots come in conjugate pairs, so the count of positive roots can drop by 2 at a time.

Does the rule find the roots?

No, it only bounds how many there are. Use the rational zeros or polynomial graphing calculators to find them.

What about multiple roots?

They are counted with their multiplicity.

Sources

  1. OpenStax: College Algebra 2e
  2. Wolfram MathWorld: Descartes' sign rule

Cite this calculator

Speedy Calculator. (2026). Descartes’ Rule of Signs Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/descartes-rule-of-signs/