Bode plot generator: magnitude and phase online
Draw the magnitude and phase of a transfer function from its gain, poles and zeros, and read the phase margin.
Examples:
How it works
- Each real pole adds −20 dB per decade above its frequency and up to −90° of phase.
- Each real zero does the opposite: +20 dB per decade and up to +90°.
- A second-order pair adds −40 dB per decade; a small damping ζ gives a resonant peak near fₙ.
- Phase margin = 180° + the phase where the gain crosses 0 dB. Above about 45° a feedback loop is comfortably stable.
Try this
- Pick “Two poles” and watch the slope change from −20 to −40 dB per decade after the second pole.
- Pick “Resonant pair” and change ζ from 0.1 to 1: the peak disappears.
- Pick “Three-pole loop” and lower K until the phase margin rises above 45°.
Common questions
What frequency unit is used?
Hertz throughout. The formulas use f / f_corner, so the shapes are the same as with rad/s.
Can I enter complex poles?
Use the second-order pair: fₙ is the natural frequency and ζ the damping ratio. Values of ζ below 1 give complex poles.
More simulators
- Fourier series builderAdd sine waves one at a time and watch them build a square, triangle or sawtooth wave.
- Sampling and aliasingMove the signal frequency and the sampling rate and see exactly when the samples start lying about the frequency.
- AM, FM and QPSKSee what AM, FM and QPSK signals look like in time and frequency, and how noise causes bit errors.
- Smith chartPlace a load on the Smith chart, read its reflection coefficient, VSWR and return loss, and see what a length of line does to it.
- All toolsCalculators and simulators.