Bode Plot Helper

Enter a transfer function (first or second order) and a frequency to get the exact magnitude in dB and phase in degrees.

Use the Bode Plot Helper

Transfer Function Type

H(s) = K · (s/z + 1) / (s/p + 1)
H(s) = K · ωn² / (s² + 2ζωn·s + ωn²)

First-Order Parameters

Frequency to Evaluate

Result at Entered Frequency

Press Calculate to see the result.

Frequency Sweep

Run sweep to populate this table.

Summary

Bode Plot Helper computes the frequency response of a linear time-invariant (LTI) system described by a first-order or second-order transfer function. Enter the DC gain, pole, zero, and natural frequency parameters, then sweep across a frequency range to see magnitude (dB) and phase (degrees) at each point — the building blocks of gain margin and phase margin analysis.

How it works

  1. Select the transfer function type: first-order (pole/zero) or second-order (underdamped/overdamped).
  2. Enter the transfer function parameters such as DC gain K, pole frequency, damping ratio, and natural frequency.
  3. Enter a single frequency or use the sweep to evaluate the response across a range.
  4. The tool computes |H(jω)| in dB and ∠H(jω) in degrees using exact complex-number arithmetic.
  5. Read the magnitude and phase values to assess stability margins.

Use cases

  • Verify hand-calculated Bode plot magnitude and phase at a spot frequency.
  • Find the gain crossover frequency where magnitude = 0 dB.
  • Find the phase crossover frequency where phase = −180°.
  • Estimate gain margin and phase margin for a compensated loop.
  • Study how damping ratio affects the resonant peak in second-order systems.
  • Check whether a PID-tuned plant meets gain/phase margin specifications.
  • Quickly explore how changing pole/zero locations shifts the Bode plot.
  • Teach or learn frequency-domain control concepts without MATLAB.

Frequently Asked Questions

Last updated: 2026-06-18 · Reviewed by Nham Vu