Skip to content
Omnikalc

Routh-Hurwitz stability criterion calculator

Enter the coefficients of the characteristic polynomial to get the first column of the Routh array, the number of unstable poles and the critical gain.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Results

Sign changes (roots in the right half plane)

0

Routh array: first element of the third row
10.000
Routh array: first element of the fourth row
3.000
Critical value of the constant term
10.000
Gain margin of the constant term
6.02 dB

The Routh-Hurwitz stability calculator gives the Routh array elements, the number of sign changes in the first column, which is the number of roots in the right half plane, the critical value of the constant term and the gain margin for a fourth-order characteristic polynomial.

How the calculation works

  • Enter the coefficients of s⁴, s³, s², s and the constant term of the characteristic equation.
  • The calculator builds the first column of the Routh array.
  • Count the sign changes: none means stable, and the critical value shows how far the gain can go.

Example

The polynomial 1s⁴ + 6s³ + 11s² + 6s + 5 has a Routh array with 10.000 and 3.000 in the third and fourth rows. There are 0 sign changes, so no unstable root. The system stays stable until the constant term reaches 10.000, a gain margin of 6.02 dB.

Why it matters

The calculator helps control engineering students, automation engineers and electronics designers who need to check the stability of a feedback system, an amplifier or a regulation loop quickly, or find the gain at which a loop starts to oscillate.

Good to know

Write the characteristic equation as 1 + K × G(s) = 0, multiply out the denominator and bring the polynomial to the form above, with a positive leading coefficient. All coefficients must be positive for a stable system, which is a necessary but not sufficient condition. The criterion tells only whether the poles are stable, not how damped they are, so use a root locus or a Bode plot for the margins and the response. Check the gain margin against the uncertainty of the plant, and aim for at least 6 dB, or better 10 dB for a robust design.

The second-order step response calculator describes the response of a stable system, the damping ratio calculator gives the damping of a pole pair, the forced oscillation calculator shows the resonance of a loop and the quadratic formula calculator finds the roots of a second-order polynomial.

Frequently asked questions

What does the Routh-Hurwitz criterion tell me?

It tells how many roots of the characteristic polynomial lie in the right half of the complex plane, without solving for them. You build the Routh array from the coefficients and count the sign changes in its first column. A system is stable only if there is no sign change, that is, all the first-column elements have the same sign.

How is the Routh array built for a fourth-order polynomial?

The first row holds a4, a2, a0 and the second a3, a1. The third row starts with b1 = (a3 × a2 − a4 × a1) / a3, and the fourth with c1 = (b1 × a1 − a3 × a0) / b1. The fifth row is a0. For the defaults, the first column is 1, 6, 10, 3, 5, with no sign change, so the system is stable.

How is the critical gain found?

When the constant term is the gain K, set the element c1 to zero: K = b1 × a1 / a3. Above this value, c1 turns negative and two roots cross into the right half plane. For the default polynomial, the critical value is 10, so with K = 5 the gain margin is 6 dB.

What if a first-column element is zero?

A zero element means a root pair on the imaginary axis, which is marginal stability, as at K = 10 for the default case. This calculator treats the element as zero if it is very close to it. For a full analysis of special cases, replace the zero by a small number and track the sign of the limit.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.