Bode Plot Generator
Generate interactive Bode plots (magnitude and phase) from transfer function coefficients with gain margin, phase margin, and crossover frequencies
Enter transfer function coefficients (highest power first). Frequency range: 0.01–1000 rad/s, widened automatically to include every pole, zero and nearby crossover; a crossover far outside the plotted band is listed below the chart.
From the roots of D(s) + N(s) (unity negative feedback). This holds for every plant; the margins below are local measures and can look healthy for an unstable loop.
Magnitude (dB)
Tip: hover to read values, click to pin a point for export
Phase (degrees)
Tip: hover to read values, click to pin a point for export
Gain crossovers (|G| = 0 dB): none in the sweep
Phase crossovers (∠G ≡ −180°): none in the sweep
The cards show the worst case — the smallest |PM| and the smallest |GM|. Plotted ω: 0.01–1000 rad/s.
Frequency-Response Data Table
| ω (rad/s) | f (Hz) | Magnitude (dB) | |G(jω)| | Phase (°) |
|---|---|---|---|---|
| 1.000e-2 | 1.592e-3 | -6.021 | 5.000e-1 | -0.859 |
| 1.039e-2 | 1.654e-3 | -6.021 | 5.000e-1 | -0.893 |
| 1.080e-2 | 1.719e-3 | -6.021 | 5.000e-1 | -0.928 |
| 1.122e-2 | 1.786e-3 | -6.021 | 5.000e-1 | -0.965 |
| 1.167e-2 | 1.857e-3 | -6.021 | 5.000e-1 | -1.003 |
| 1.212e-2 | 1.929e-3 | -6.021 | 5.000e-1 | -1.042 |
| 1.260e-2 | 2.005e-3 | -6.021 | 5.000e-1 | -1.083 |
| 1.309e-2 | 2.084e-3 | -6.022 | 4.999e-1 | -1.125 |
| 1.361e-2 | 2.166e-3 | -6.022 | 4.999e-1 | -1.169 |
| 1.414e-2 | 2.251e-3 | -6.022 | 4.999e-1 | -1.215 |
| 1.470e-2 | 2.339e-3 | -6.022 | 4.999e-1 | -1.263 |
| 1.527e-2 | 2.431e-3 | -6.022 | 4.999e-1 | -1.313 |
| 1.587e-2 | 2.526e-3 | -6.022 | 4.999e-1 | -1.364 |
| 1.650e-2 | 2.625e-3 | -6.022 | 4.999e-1 | -1.418 |
| 1.714e-2 | 2.729e-3 | -6.022 | 4.999e-1 | -1.473 |
| 1.782e-2 | 2.836e-3 | -6.022 | 4.999e-1 | -1.531 |
| 1.852e-2 | 2.947e-3 | -6.022 | 4.999e-1 | -1.591 |
| 1.924e-2 | 3.063e-3 | -6.023 | 4.999e-1 | -1.654 |
| 2.000e-2 | 3.183e-3 | -6.023 | 4.999e-1 | -1.719 |
| 2.078e-2 | 3.308e-3 | -6.023 | 4.999e-1 | -1.786 |
| 2.160e-2 | 3.438e-3 | -6.023 | 4.999e-1 | -1.856 |
| 2.245e-2 | 3.573e-3 | -6.023 | 4.998e-1 | -1.929 |
| 2.333e-2 | 3.713e-3 | -6.024 | 4.998e-1 | -2.005 |
| 2.424e-2 | 3.859e-3 | -6.024 | 4.998e-1 | -2.083 |
| 2.520e-2 | 4.010e-3 | -6.024 | 4.998e-1 | -2.165 |
| 2.619e-2 | 4.168e-3 | -6.024 | 4.998e-1 | -2.250 |
| 2.721e-2 | 4.331e-3 | -6.025 | 4.998e-1 | -2.338 |
| 2.828e-2 | 4.501e-3 | -6.025 | 4.998e-1 | -2.430 |
| 2.939e-2 | 4.678e-3 | -6.025 | 4.997e-1 | -2.526 |
| 3.055e-2 | 4.861e-3 | -6.026 | 4.997e-1 | -2.625 |
| 3.174e-2 | 5.052e-3 | -6.026 | 4.997e-1 | -2.728 |
| 3.299e-2 | 5.251e-3 | -6.027 | 4.997e-1 | -2.835 |
| 3.429e-2 | 5.457e-3 | -6.027 | 4.996e-1 | -2.946 |
| 3.563e-2 | 5.671e-3 | -6.027 | 4.996e-1 | -3.061 |
| 3.703e-2 | 5.894e-3 | -6.028 | 4.996e-1 | -3.181 |
| 3.848e-2 | 6.125e-3 | -6.029 | 4.995e-1 | -3.306 |
| 4.000e-2 | 6.365e-3 | -6.029 | 4.995e-1 | -3.436 |
| 4.157e-2 | 6.615e-3 | -6.030 | 4.995e-1 | -3.571 |
| 4.320e-2 | 6.875e-3 | -6.031 | 4.994e-1 | -3.711 |
| 4.489e-2 | 7.145e-3 | -6.032 | 4.994e-1 | -3.856 |
| 4.665e-2 | 7.425e-3 | -6.032 | 4.993e-1 | -4.008 |
| 4.849e-2 | 7.717e-3 | -6.033 | 4.993e-1 | -4.165 |
| 5.039e-2 | 8.020e-3 | -6.034 | 4.992e-1 | -4.328 |
| 5.237e-2 | 8.335e-3 | -6.035 | 4.991e-1 | -4.498 |
| 5.442e-2 | 8.662e-3 | -6.037 | 4.991e-1 | -4.674 |
| 5.656e-2 | 9.002e-3 | -6.038 | 4.990e-1 | -4.857 |
| 5.878e-2 | 9.355e-3 | -6.039 | 4.989e-1 | -5.047 |
| 6.109e-2 | 9.722e-3 | -6.041 | 4.988e-1 | -5.245 |
| 6.349e-2 | 1.010e-2 | -6.042 | 4.987e-1 | -5.451 |
| 6.598e-2 | 1.050e-2 | -6.044 | 4.986e-1 | -5.664 |
| 6.857e-2 | 1.091e-2 | -6.046 | 4.985e-1 | -5.886 |
| 7.126e-2 | 1.134e-2 | -6.048 | 4.984e-1 | -6.117 |
| 7.406e-2 | 1.179e-2 | -6.050 | 4.983e-1 | -6.356 |
| 7.696e-2 | 1.225e-2 | -6.053 | 4.982e-1 | -6.605 |
| 7.999e-2 | 1.273e-2 | -6.055 | 4.980e-1 | -6.863 |
| 8.313e-2 | 1.323e-2 | -6.058 | 4.979e-1 | -7.132 |
| 8.639e-2 | 1.375e-2 | -6.061 | 4.977e-1 | -7.411 |
| 8.978e-2 | 1.429e-2 | -6.064 | 4.975e-1 | -7.701 |
| 9.330e-2 | 1.485e-2 | -6.068 | 4.973e-1 | -8.002 |
| 9.697e-2 | 1.543e-2 | -6.071 | 4.971e-1 | -8.314 |
| 1.008e-1 | 1.604e-2 | -6.075 | 4.969e-1 | -8.639 |
| 1.047e-1 | 1.667e-2 | -6.080 | 4.966e-1 | -8.976 |
| 1.088e-1 | 1.732e-2 | -6.085 | 4.963e-1 | -9.327 |
| 1.131e-1 | 1.800e-2 | -6.090 | 4.960e-1 | -9.690 |
| 1.176e-1 | 1.871e-2 | -6.095 | 4.957e-1 | -10.068 |
| 1.222e-1 | 1.944e-2 | -6.101 | 4.954e-1 | -10.461 |
| 1.270e-1 | 2.021e-2 | -6.108 | 4.950e-1 | -10.868 |
| 1.319e-1 | 2.100e-2 | -6.114 | 4.946e-1 | -11.291 |
| 1.371e-1 | 2.182e-2 | -6.122 | 4.942e-1 | -11.730 |
| 1.425e-1 | 2.268e-2 | -6.130 | 4.937e-1 | -12.186 |
| 1.481e-1 | 2.357e-2 | -6.139 | 4.933e-1 | -12.660 |
| 1.539e-1 | 2.450e-2 | -6.148 | 4.927e-1 | -13.151 |
| 1.600e-1 | 2.546e-2 | -6.158 | 4.922e-1 | -13.661 |
| 1.662e-1 | 2.646e-2 | -6.169 | 4.915e-1 | -14.190 |
| 1.728e-1 | 2.750e-2 | -6.181 | 4.909e-1 | -14.739 |
| 1.795e-1 | 2.858e-2 | -6.193 | 4.902e-1 | -15.309 |
| 1.866e-1 | 2.970e-2 | -6.207 | 4.894e-1 | -15.900 |
| 1.939e-1 | 3.086e-2 | -6.222 | 4.886e-1 | -16.513 |
| 2.015e-1 | 3.208e-2 | -6.237 | 4.877e-1 | -17.149 |
| 2.094e-1 | 3.333e-2 | -6.254 | 4.867e-1 | -17.808 |
| 2.177e-1 | 3.464e-2 | -6.273 | 4.857e-1 | -18.491 |
| 2.262e-1 | 3.600e-2 | -6.293 | 4.846e-1 | -19.200 |
| 2.351e-1 | 3.742e-2 | -6.314 | 4.834e-1 | -19.934 |
| 2.443e-1 | 3.888e-2 | -6.337 | 4.821e-1 | -20.694 |
| 2.539e-1 | 4.041e-2 | -6.361 | 4.808e-1 | -21.482 |
| 2.639e-1 | 4.200e-2 | -6.388 | 4.793e-1 | -22.298 |
| 2.742e-1 | 4.365e-2 | -6.416 | 4.777e-1 | -23.143 |
| 2.850e-1 | 4.536e-2 | -6.447 | 4.760e-1 | -24.018 |
| 2.962e-1 | 4.714e-2 | -6.480 | 4.742e-1 | -24.923 |
| 3.078e-1 | 4.899e-2 | -6.515 | 4.723e-1 | -25.859 |
| 3.199e-1 | 5.091e-2 | -6.553 | 4.702e-1 | -26.827 |
| 3.325e-1 | 5.291e-2 | -6.594 | 4.680e-1 | -27.828 |
| 3.455e-1 | 5.499e-2 | -6.638 | 4.657e-1 | -28.862 |
| 3.591e-1 | 5.715e-2 | -6.685 | 4.632e-1 | -29.930 |
| 3.732e-1 | 5.939e-2 | -6.735 | 4.605e-1 | -31.033 |
| 3.878e-1 | 6.172e-2 | -6.789 | 4.576e-1 | -32.171 |
| 4.030e-1 | 6.415e-2 | -6.847 | 4.546e-1 | -33.345 |
| 4.189e-1 | 6.666e-2 | -6.909 | 4.514e-1 | -34.556 |
| 4.353e-1 | 6.928e-2 | -6.975 | 4.480e-1 | -35.803 |
| 4.524e-1 | 7.200e-2 | -7.046 | 4.443e-1 | -37.087 |
| 4.702e-1 | 7.483e-2 | -7.122 | 4.405e-1 | -38.410 |
| 4.886e-1 | 7.776e-2 | -7.202 | 4.364e-1 | -39.769 |
| 5.078e-1 | 8.082e-2 | -7.288 | 4.321e-1 | -41.167 |
| 5.277e-1 | 8.399e-2 | -7.380 | 4.276e-1 | -42.603 |
| 5.484e-1 | 8.729e-2 | -7.478 | 4.228e-1 | -44.077 |
| 5.700e-1 | 9.071e-2 | -7.581 | 4.178e-1 | -45.589 |
| 5.923e-1 | 9.427e-2 | -7.692 | 4.125e-1 | -47.138 |
| 6.156e-1 | 9.798e-2 | -7.809 | 4.069e-1 | -48.725 |
| 6.398e-1 | 1.018e-1 | -7.934 | 4.012e-1 | -50.348 |
| 6.649e-1 | 1.058e-1 | -8.066 | 3.951e-1 | -52.008 |
| 6.910e-1 | 1.100e-1 | -8.205 | 3.888e-1 | -53.703 |
| 7.181e-1 | 1.143e-1 | -8.353 | 3.822e-1 | -55.433 |
| 7.463e-1 | 1.188e-1 | -8.510 | 3.754e-1 | -57.197 |
| 7.756e-1 | 1.234e-1 | -8.674 | 3.684e-1 | -58.993 |
| 8.060e-1 | 1.283e-1 | -8.848 | 3.611e-1 | -60.820 |
| 8.377e-1 | 1.333e-1 | -9.031 | 3.535e-1 | -62.678 |
| 8.706e-1 | 1.386e-1 | -9.224 | 3.458e-1 | -64.564 |
| 9.047e-1 | 1.440e-1 | -9.426 | 3.378e-1 | -66.477 |
| 9.403e-1 | 1.496e-1 | -9.639 | 3.297e-1 | -68.416 |
| 9.772e-1 | 1.555e-1 | -9.861 | 3.213e-1 | -70.377 |
| 1.016e+0 | 1.616e-1 | -10.094 | 3.128e-1 | -72.361 |
| 1.055e+0 | 1.680e-1 | -10.338 | 3.042e-1 | -74.364 |
| 1.097e+0 | 1.746e-1 | -10.593 | 2.954e-1 | -76.384 |
| 1.140e+0 | 1.814e-1 | -10.858 | 2.865e-1 | -78.420 |
| 1.185e+0 | 1.885e-1 | -11.135 | 2.775e-1 | -80.469 |
| 1.231e+0 | 1.959e-1 | -11.422 | 2.685e-1 | -82.529 |
| 1.279e+0 | 2.036e-1 | -11.722 | 2.594e-1 | -84.597 |
| 1.330e+0 | 2.116e-1 | -12.032 | 2.503e-1 | -86.672 |
| 1.382e+0 | 2.199e-1 | -12.354 | 2.412e-1 | -88.750 |
| 1.436e+0 | 2.286e-1 | -12.687 | 2.321e-1 | -90.830 |
| 1.492e+0 | 2.375e-1 | -13.032 | 2.231e-1 | -92.909 |
| 1.551e+0 | 2.469e-1 | -13.388 | 2.141e-1 | -94.985 |
| 1.612e+0 | 2.566e-1 | -13.756 | 2.052e-1 | -97.055 |
| 1.675e+0 | 2.666e-1 | -14.134 | 1.965e-1 | -99.116 |
| 1.741e+0 | 2.771e-1 | -14.525 | 1.878e-1 | -101.168 |
| 1.809e+0 | 2.880e-1 | -14.926 | 1.794e-1 | -103.206 |
| 1.880e+0 | 2.993e-1 | -15.338 | 1.710e-1 | -105.230 |
| 1.954e+0 | 3.110e-1 | -15.761 | 1.629e-1 | -107.237 |
| 2.031e+0 | 3.232e-1 | -16.195 | 1.550e-1 | -109.224 |
| 2.111e+0 | 3.359e-1 | -16.639 | 1.473e-1 | -111.191 |
| 2.193e+0 | 3.491e-1 | -17.093 | 1.397e-1 | -113.134 |
| 2.280e+0 | 3.628e-1 | -17.558 | 1.325e-1 | -115.052 |
| 2.369e+0 | 3.771e-1 | -18.032 | 1.254e-1 | -116.944 |
| 2.462e+0 | 3.919e-1 | -18.516 | 1.186e-1 | -118.807 |
| 2.559e+0 | 4.072e-1 | -19.009 | 1.121e-1 | -120.641 |
| 2.659e+0 | 4.232e-1 | -19.511 | 1.058e-1 | -122.444 |
| 2.764e+0 | 4.398e-1 | -20.022 | 9.974e-2 | -124.214 |
| 2.872e+0 | 4.571e-1 | -20.542 | 9.395e-2 | -125.951 |
| 2.985e+0 | 4.750e-1 | -21.069 | 8.842e-2 | -127.653 |
| 3.102e+0 | 4.937e-1 | -21.605 | 8.313e-2 | -129.320 |
| 3.224e+0 | 5.131e-1 | -22.148 | 7.809e-2 | -130.951 |
| 3.350e+0 | 5.332e-1 | -22.698 | 7.330e-2 | -132.545 |
| 3.482e+0 | 5.541e-1 | -23.255 | 6.875e-2 | -134.102 |
| 3.618e+0 | 5.759e-1 | -23.819 | 6.443e-2 | -135.621 |
| 3.761e+0 | 5.985e-1 | -24.389 | 6.034e-2 | -137.103 |
| 3.908e+0 | 6.220e-1 | -24.965 | 5.646e-2 | -138.546 |
| 4.062e+0 | 6.464e-1 | -25.546 | 5.281e-2 | -139.952 |
| 4.221e+0 | 6.718e-1 | -26.133 | 4.935e-2 | -141.319 |
| 4.387e+0 | 6.982e-1 | -26.726 | 4.610e-2 | -142.649 |
| 4.559e+0 | 7.256e-1 | -27.323 | 4.304e-2 | -143.941 |
| 4.738e+0 | 7.541e-1 | -27.925 | 4.016e-2 | -145.196 |
| 4.924e+0 | 7.837e-1 | -28.531 | 3.745e-2 | -146.414 |
| 5.117e+0 | 8.144e-1 | -29.141 | 3.491e-2 | -147.595 |
| 5.318e+0 | 8.464e-1 | -29.756 | 3.253e-2 | -148.740 |
| 5.527e+0 | 8.796e-1 | -30.373 | 3.029e-2 | -149.850 |
| 5.744e+0 | 9.141e-1 | -30.995 | 2.820e-2 | -150.925 |
| 5.969e+0 | 9.500e-1 | -31.619 | 2.625e-2 | -151.966 |
| 6.204e+0 | 9.873e-1 | -32.247 | 2.442e-2 | -152.974 |
| 6.447e+0 | 1.026e+0 | -32.877 | 2.271e-2 | -153.948 |
| 6.700e+0 | 1.066e+0 | -33.510 | 2.111e-2 | -154.891 |
| 6.963e+0 | 1.108e+0 | -34.145 | 1.962e-2 | -155.802 |
| 7.237e+0 | 1.152e+0 | -34.783 | 1.823e-2 | -156.683 |
| 7.521e+0 | 1.197e+0 | -35.423 | 1.694e-2 | -157.534 |
| 7.816e+0 | 1.244e+0 | -36.065 | 1.573e-2 | -158.355 |
| 8.123e+0 | 1.293e+0 | -36.709 | 1.461e-2 | -159.149 |
| 8.442e+0 | 1.344e+0 | -37.355 | 1.356e-2 | -159.915 |
| 8.773e+0 | 1.396e+0 | -38.002 | 1.259e-2 | -160.655 |
| 9.117e+0 | 1.451e+0 | -38.651 | 1.168e-2 | -161.368 |
| 9.475e+0 | 1.508e+0 | -39.301 | 1.084e-2 | -162.057 |
| 9.847e+0 | 1.567e+0 | -39.953 | 1.005e-2 | -162.721 |
| 1.023e+1 | 1.629e+0 | -40.605 | 9.327e-3 | -163.361 |
| 1.064e+1 | 1.693e+0 | -41.259 | 8.650e-3 | -163.978 |
| 1.105e+1 | 1.759e+0 | -41.914 | 8.022e-3 | -164.574 |
| 1.149e+1 | 1.828e+0 | -42.571 | 7.438e-3 | -165.148 |
| 1.194e+1 | 1.900e+0 | -43.228 | 6.896e-3 | -165.701 |
| 1.241e+1 | 1.975e+0 | -43.885 | 6.393e-3 | -166.234 |
| 1.289e+1 | 2.052e+0 | -44.544 | 5.927e-3 | -166.748 |
| 1.340e+1 | 2.133e+0 | -45.203 | 5.493e-3 | -167.243 |
| 1.393e+1 | 2.216e+0 | -45.864 | 5.091e-3 | -167.720 |
| 1.447e+1 | 2.303e+0 | -46.524 | 4.718e-3 | -168.179 |
| 1.504e+1 | 2.394e+0 | -47.186 | 4.372e-3 | -168.622 |
| 1.563e+1 | 2.488e+0 | -47.847 | 4.052e-3 | -169.048 |
| 1.624e+1 | 2.585e+0 | -48.510 | 3.754e-3 | -169.458 |
| 1.688e+1 | 2.687e+0 | -49.173 | 3.478e-3 | -169.854 |
| 1.754e+1 | 2.792e+0 | -49.836 | 3.223e-3 | -170.235 |
| 1.823e+1 | 2.902e+0 | -50.500 | 2.985e-3 | -170.601 |
| 1.895e+1 | 3.016e+0 | -51.164 | 2.766e-3 | -170.954 |
| 1.969e+1 | 3.134e+0 | -51.828 | 2.562e-3 | -171.294 |
| 2.047e+1 | 3.257e+0 | -52.493 | 2.373e-3 | -171.621 |
| 2.127e+1 | 3.385e+0 | -53.158 | 2.198e-3 | -171.936 |
| 2.210e+1 | 3.518e+0 | -53.824 | 2.036e-3 | -172.240 |
| 2.297e+1 | 3.656e+0 | -54.489 | 1.886e-3 | -172.532 |
| 2.387e+1 | 3.800e+0 | -55.155 | 1.747e-3 | -172.813 |
| 2.481e+1 | 3.949e+0 | -55.821 | 1.618e-3 | -173.083 |
| 2.579e+1 | 4.104e+0 | -56.487 | 1.498e-3 | -173.344 |
| 2.680e+1 | 4.265e+0 | -57.154 | 1.388e-3 | -173.595 |
| 2.785e+1 | 4.432e+0 | -57.821 | 1.285e-3 | -173.836 |
| 2.894e+1 | 4.606e+0 | -58.487 | 1.190e-3 | -174.068 |
| 3.008e+1 | 4.787e+0 | -59.154 | 1.102e-3 | -174.292 |
| 3.126e+1 | 4.975e+0 | -59.822 | 1.021e-3 | -174.507 |
| 3.249e+1 | 5.170e+0 | -60.489 | 9.453e-4 | -174.714 |
| 3.376e+1 | 5.373e+0 | -61.156 | 8.754e-4 | -174.913 |
| 3.509e+1 | 5.584e+0 | -61.824 | 8.106e-4 | -175.105 |
| 3.646e+1 | 5.804e+0 | -62.491 | 7.507e-4 | -175.290 |
| 3.790e+1 | 6.031e+0 | -63.159 | 6.951e-4 | -175.467 |
| 3.938e+1 | 6.268e+0 | -63.827 | 6.437e-4 | -175.638 |
| 4.093e+1 | 6.514e+0 | -64.495 | 5.960e-4 | -175.803 |
| 4.254e+1 | 6.770e+0 | -65.162 | 5.519e-4 | -175.961 |
| 4.421e+1 | 7.036e+0 | -65.831 | 5.111e-4 | -176.114 |
| 4.594e+1 | 7.312e+0 | -66.499 | 4.732e-4 | -176.260 |
| 4.775e+1 | 7.599e+0 | -67.167 | 4.382e-4 | -176.401 |
| 4.962e+1 | 7.897e+0 | -67.835 | 4.057e-4 | -176.537 |
| 5.157e+1 | 8.207e+0 | -68.503 | 3.757e-4 | -176.668 |
| 5.359e+1 | 8.529e+0 | -69.171 | 3.479e-4 | -176.794 |
| 5.570e+1 | 8.864e+0 | -69.840 | 3.221e-4 | -176.915 |
| 5.788e+1 | 9.212e+0 | -70.508 | 2.983e-4 | -177.031 |
| 6.015e+1 | 9.574e+0 | -71.177 | 2.762e-4 | -177.143 |
| 6.252e+1 | 9.950e+0 | -71.845 | 2.557e-4 | -177.251 |
| 6.497e+1 | 1.034e+1 | -72.514 | 2.368e-4 | -177.355 |
| 6.752e+1 | 1.075e+1 | -73.182 | 2.192e-4 | -177.455 |
| 7.017e+1 | 1.117e+1 | -73.851 | 2.030e-4 | -177.551 |
| 7.292e+1 | 1.161e+1 | -74.519 | 1.880e-4 | -177.643 |
| 7.579e+1 | 1.206e+1 | -75.188 | 1.740e-4 | -177.732 |
| 7.876e+1 | 1.254e+1 | -75.856 | 1.611e-4 | -177.818 |
| 8.185e+1 | 1.303e+1 | -76.525 | 1.492e-4 | -177.900 |
| 8.507e+1 | 1.354e+1 | -77.194 | 1.381e-4 | -177.980 |
| 8.841e+1 | 1.407e+1 | -77.862 | 1.279e-4 | -178.056 |
| 9.188e+1 | 1.462e+1 | -78.531 | 1.184e-4 | -178.129 |
| 9.548e+1 | 1.520e+1 | -79.200 | 1.097e-4 | -178.200 |
| 9.923e+1 | 1.579e+1 | -79.868 | 1.015e-4 | -178.268 |
| 1.031e+2 | 1.641e+1 | -80.537 | 9.400e-5 | -178.333 |
| 1.072e+2 | 1.706e+1 | -81.206 | 8.704e-5 | -178.396 |
| 1.114e+2 | 1.773e+1 | -81.875 | 8.059e-5 | -178.457 |
| 1.158e+2 | 1.842e+1 | -82.543 | 7.462e-5 | -178.515 |
| 1.203e+2 | 1.915e+1 | -83.212 | 6.909e-5 | -178.571 |
| 1.250e+2 | 1.990e+1 | -83.881 | 6.397e-5 | -178.625 |
| 1.299e+2 | 2.068e+1 | -84.550 | 5.923e-5 | -178.677 |
| 1.350e+2 | 2.149e+1 | -85.219 | 5.484e-5 | -178.727 |
| 1.403e+2 | 2.233e+1 | -85.887 | 5.077e-5 | -178.775 |
| 1.458e+2 | 2.321e+1 | -86.556 | 4.701e-5 | -178.821 |
| 1.516e+2 | 2.412e+1 | -87.225 | 4.353e-5 | -178.866 |
| 1.575e+2 | 2.507e+1 | -87.894 | 4.030e-5 | -178.909 |
| 1.637e+2 | 2.605e+1 | -88.563 | 3.731e-5 | -178.950 |
| 1.701e+2 | 2.708e+1 | -89.232 | 3.455e-5 | -178.990 |
| 1.768e+2 | 2.814e+1 | -89.900 | 3.199e-5 | -179.028 |
| 1.837e+2 | 2.924e+1 | -90.569 | 2.962e-5 | -179.065 |
| 1.910e+2 | 3.039e+1 | -91.238 | 2.742e-5 | -179.100 |
| 1.985e+2 | 3.158e+1 | -91.907 | 2.539e-5 | -179.134 |
| 2.062e+2 | 3.282e+1 | -92.576 | 2.351e-5 | -179.167 |
| 2.143e+2 | 3.411e+1 | -93.245 | 2.177e-5 | -179.198 |
| 2.228e+2 | 3.545e+1 | -93.913 | 2.015e-5 | -179.228 |
| 2.315e+2 | 3.684e+1 | -94.582 | 1.866e-5 | -179.258 |
| 2.406e+2 | 3.829e+1 | -95.251 | 1.728e-5 | -179.286 |
| 2.500e+2 | 3.979e+1 | -95.920 | 1.600e-5 | -179.313 |
| 2.598e+2 | 4.136e+1 | -96.589 | 1.481e-5 | -179.339 |
| 2.700e+2 | 4.298e+1 | -97.258 | 1.371e-5 | -179.363 |
| 2.806e+2 | 4.467e+1 | -97.927 | 1.270e-5 | -179.388 |
| 2.917e+2 | 4.642e+1 | -98.596 | 1.175e-5 | -179.411 |
| 3.031e+2 | 4.824e+1 | -99.264 | 1.088e-5 | -179.433 |
| 3.150e+2 | 5.014e+1 | -99.933 | 1.008e-5 | -179.454 |
| 3.274e+2 | 5.210e+1 | -100.602 | 9.330e-6 | -179.475 |
| 3.402e+2 | 5.415e+1 | -101.271 | 8.639e-6 | -179.495 |
| 3.536e+2 | 5.627e+1 | -101.940 | 7.998e-6 | -179.514 |
| 3.675e+2 | 5.848e+1 | -102.609 | 7.406e-6 | -179.532 |
| 3.819e+2 | 6.078e+1 | -103.278 | 6.857e-6 | -179.550 |
| 3.969e+2 | 6.317e+1 | -103.947 | 6.348e-6 | -179.567 |
| 4.125e+2 | 6.565e+1 | -104.616 | 5.878e-6 | -179.583 |
| 4.287e+2 | 6.822e+1 | -105.284 | 5.442e-6 | -179.599 |
| 4.455e+2 | 7.090e+1 | -105.953 | 5.039e-6 | -179.614 |
| 4.630e+2 | 7.368e+1 | -106.622 | 4.665e-6 | -179.629 |
| 4.811e+2 | 7.658e+1 | -107.291 | 4.320e-6 | -179.643 |
| 5.000e+2 | 7.958e+1 | -107.960 | 3.999e-6 | -179.656 |
| 5.197e+2 | 8.271e+1 | -108.629 | 3.703e-6 | -179.669 |
| 5.401e+2 | 8.595e+1 | -109.298 | 3.429e-6 | -179.682 |
| 5.613e+2 | 8.933e+1 | -109.967 | 3.174e-6 | -179.694 |
| 5.833e+2 | 9.283e+1 | -110.636 | 2.939e-6 | -179.705 |
| 6.062e+2 | 9.648e+1 | -111.304 | 2.721e-6 | -179.716 |
| 6.300e+2 | 1.003e+2 | -111.973 | 2.520e-6 | -179.727 |
| 6.547e+2 | 1.042e+2 | -112.642 | 2.333e-6 | -179.737 |
| 6.804e+2 | 1.083e+2 | -113.311 | 2.160e-6 | -179.747 |
| 7.071e+2 | 1.125e+2 | -113.980 | 2.000e-6 | -179.757 |
| 7.349e+2 | 1.170e+2 | -114.649 | 1.852e-6 | -179.766 |
| 7.637e+2 | 1.216e+2 | -115.318 | 1.714e-6 | -179.775 |
| 7.937e+2 | 1.263e+2 | -115.987 | 1.587e-6 | -179.783 |
| 8.249e+2 | 1.313e+2 | -116.656 | 1.470e-6 | -179.792 |
| 8.573e+2 | 1.364e+2 | -117.324 | 1.361e-6 | -179.799 |
| 8.909e+2 | 1.418e+2 | -117.993 | 1.260e-6 | -179.807 |
| 9.259e+2 | 1.474e+2 | -118.662 | 1.167e-6 | -179.814 |
| 9.622e+2 | 1.531e+2 | -119.331 | 1.080e-6 | -179.821 |
| 1.000e+3 | 1.592e+2 | -120.000 | 1.000e-6 | -179.828 |
Continue your calculation
Use the same transfer function in each view: inspect pole movement, check frequency margins, then compare transient response. Stability alone does not guarantee acceptable settling or overshoot.
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Bode Plot Generator. Follow the units and input format printed next to each field. Where a unit selector is available, choose the units that match your data.
Review your inputs
Double-check that all values are correct and match the units or format shown for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Bode Plot Generator computes the output in your browser and displays the results, with units clearly labeled, as soon as they are ready — no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
Formula Reference
Transfer Function Evaluated at s = jω
G(s) = N(s) / D(s) | N(s) = Σ a_i · s^(m−i) (i = 0…m) | D(s) = Σ b_i · s^(n−i) (i = 0…n) | s = jω | (jω)^p = ω^p · [ cos(p·π/2) + j · sin(p·π/2) ]
Variables: G = transfer function (dimensionless gain ratio), s = Laplace variable (rad/s), ω = angular frequency (rad/s), a_i = numerator coefficient multiplying s^(m−i), entered highest power first (units of the numerator's common unit × (rad/s)^(i−m), so every term shares one unit), b_i = denominator coefficient multiplying s^(n−i), entered highest power first (units of the denominator's common unit × (rad/s)^(i−n)), m = numerator order (dimensionless integer), n = denominator order (dimensionless integer), p = power of jω in a term (dimensionless integer), j = imaginary unit (dimensionless). Source: Ogata, Modern Control Engineering, 5th ed., Ch. 7 (Control Systems Analysis and Design by the Frequency-Response Method), sinusoidal transfer function G(jω)
Magnitude in Decibels and Frequency Conversion
|G(jω)| = √( Re[G(jω)]² + Im[G(jω)]² ) = |N(jω)| / |D(jω)| | |G(jω)|_dB = 20 · log₁₀ |G(jω)| | |G(jω)| = 10^(|G(jω)|_dB / 20) | f = ω / (2π)
Variables: |G(jω)| = linear magnitude of the frequency response (dimensionless gain ratio), Re[G(jω)], Im[G(jω)] = real and imaginary parts of G(jω) (dimensionless), |N(jω)|, |D(jω)| = magnitudes of the numerator and denominator evaluated at s = jω (units of the respective polynomials; their ratio is dimensionless), |G(jω)|_dB = magnitude in decibels (dB), ω = angular frequency (rad/s), f = cyclic frequency (Hz). Source: Ogata, Modern Control Engineering, 5th ed., Ch. 7 (Control Systems Analysis and Design by the Frequency-Response Method), logarithmic (Bode) plots
Phase Angle (Unwrapped, Anchored at Low Frequency)
φ(ω) = ∠G(jω), continuous in ω | φ(0⁺) = 90° · (z₀ − p₀) − (180° if the DC gain is negative) | atan2( Im[G(jω)], Re[G(jω)] ) fixes φ only modulo 360°
Variables: φ = phase of the frequency response (degrees), NOT confined to (−180°, +180°]: it is unwrapped along ω, so it can run to −270° or below; z₀ = number of zeros at s = 0 (dimensionless count); p₀ = number of poles at s = 0 (dimensionless count); DC gain = ratio of the lowest-order non-zero coefficients of N(s) and D(s) (dimensionless); atan2 = two-argument arctangent, whose principal value on (−π, +π] gives the phase only modulo 360°, so the calculator fixes the branch by matching the exact low-frequency limit φ(0⁺) — e.g. −270° for G = 1/s³, where the principal value would read +90°. A pole exactly on the jω axis steps the phase by −180° and a zero by +180°. Source: Ogata, Modern Control Engineering, 5th ed., Ch. 7 (logarithmic plots: phase of integral and derivative factors); Nise, Control Systems Engineering, 7th ed., Ch. 10 (Frequency Response Techniques)
Gain and Phase Stability Margins
at every gain crossover: |G(jω_gc)| = 1 (0 dB) | PM = 180° + φ(ω_gc), wrapped to (−180°, +180°] | at every phase crossover: φ(ω_pc) ≡ −180° (mod 360°) | GM_dB = −20 · log₁₀ |G(jω_pc)| | reported: the smallest |PM| and the smallest |GM_dB|
Variables: PM = phase margin (degrees), GM_dB = gain margin (dB), ω_gc = a gain-crossover frequency where the magnitude passes through 0 dB in either direction (rad/s), ω_pc = a phase-crossover frequency where the unwrapped phase passes through −180° + k·360° (rad/s; ω = 0 counts when the DC gain is negative), φ(ω_gc) = open-loop phase there (degrees), |G(jω_pc)| = linear open-loop magnitude there (dimensionless). Every crossover is located by bisection on the exact response, not read off the plotted grid, and all of them are listed; the cards show the worst case, following MATLAB margin and python-control stability_margins. Margins alone decide stability only for an open-loop-stable, minimum-phase loop, so the calculator also states closed-loop stability from the roots of D(s) + N(s). Source: Ogata, Modern Control Engineering, 5th ed., Ch. 7 (Control Systems Analysis and Design by the Frequency-Response Method), gain margin and phase margin definitions
When to Use This Calculator
- •Use the Bode Plot Generator to check your hand calculations on homework or exam problems — comparing its result with your own working helps identify arithmetic errors before they propagate.
- •Use it during the early design phase to rapidly iterate on parameters and narrow down feasible configurations before committing time to detailed finite element simulations or full design packages.
- •Use it when reviewing a colleague's calculation or checking a vendor's data sheet for plausibility — a quick sanity check can prevent costly downstream errors.
- •Use it to generate reference data for a technical report or presentation without manual computation, ensuring consistent, reproducible numbers throughout the document.
- •Use it in the field when a quick estimate is needed and a full engineering software package is not available.
About This Calculator
The Bode Plot Generator is a precision engineering calculation tool designed for students, engineers, and technical professionals. Generate interactive Bode plots (magnitude and phase) from transfer function coefficients with gain margin, phase margin, and crossover frequencies All calculations are performed using established engineering formulas from the relevant scientific literature and standards. Follow the units printed beside each field. Where a unit selector is provided, the selected unit is converted internally. Results are computed in your browser without sending data to a server, which keeps your inputs private. This calculator is intended as a supplementary tool for learning and design exploration; always verify results against authoritative references for safety-critical applications.
The Theory Behind It
A Bode plot displays the frequency response of a transfer function G(jω) as two graphs: magnitude |G(jω)| in decibels vs frequency (log scale), and phase ∠G(jω) in degrees vs frequency (log scale). Bode plots reveal how the system responds to sinusoidal inputs at different frequencies and are the foundation of frequency-domain controller design. Key features visible on Bode plots: DC gain (magnitude at ω → 0), corner frequencies (where magnitude slope changes), high-frequency rolloff rate (−20 dB/decade per pole, +20 dB/decade per zero), phase shift progression, and bandwidth (typically defined as the frequency where magnitude drops 3 dB below DC). Performance metrics from Bode plots include gain margin (additional gain before instability, measured at the −180° phase crossing) and phase margin (how close the −180° phase is at the unity-gain crossover, typically desired > 45° for good transient response). Loop shaping designs controllers by directly manipulating the open-loop Bode plot to achieve desired bandwidth and robustness. Bode plots can be hand-drawn using asymptotic approximations: each pole adds −20 dB/decade rolloff at its corner frequency and subtracts 90° of phase spread over a decade; each zero adds +20 dB/decade and adds 90°. Modern tools plot Bode responses numerically for any transfer function.
Real-World Applications
- •Feedback control design: analyze open-loop Bode plot to compute gain margin and phase margin, then design a compensator to achieve target robustness and bandwidth.
- •Filter design verification: plot the frequency response of an analog filter design to verify cutoff frequency, passband ripple, and stopband attenuation meet specifications.
- •System identification: measured frequency response from a physical system can be compared with theoretical models to identify parameters or detect modeling errors.
- •Audio and RF circuit analysis: amplifier and filter circuits are characterized by their Bode plots, which directly show gain vs frequency and phase delay.
- •Vibration analysis: mechanical systems' frequency response functions (displacement per unit force) are displayed as Bode plots to identify resonances and mode shapes.
Frequently Asked Questions
What is a Bode plot?
A Bode plot is a two-part graph showing magnitude and phase of a transfer function vs frequency. The x-axis is frequency on a log scale (decades). The magnitude is plotted in decibels (20·log₁₀|G|) vs log frequency; the phase is in degrees vs log frequency. Bode plots reveal system bandwidth, resonances, stability margins, and other key characteristics at a glance.
What's a gain margin?
Gain margin (GM) is the factor by which the open-loop gain can increase before the closed-loop system becomes unstable. Measured at the frequency where the phase crosses −180°: GM = 1/|G(jω_180)| or equivalently GM_dB = −20·log₁₀|G(jω_180)|. A gain margin of 10 dB means you could double the open-loop gain (20·log₁₀(2) ≈ 6 dB) and still have 4 dB of margin before instability. Typical design targets are > 6 dB.
What's a phase margin?
Phase margin (PM) is the additional phase lag that would cause the closed-loop system to be marginally stable. Measured at the frequency where the open-loop gain crosses unity (0 dB): PM = 180° + ∠G(jω_c). A phase margin of 45° is typically sufficient for adequate transient response without excessive overshoot. Less than 30° gives underdamped response with significant overshoot; more than 70° gives sluggish response.
What is the bandwidth of a system?
Bandwidth is the frequency at which the closed-loop magnitude drops 3 dB below the DC gain (a factor of 0.707 in amplitude). Higher bandwidth means the system can track faster input changes and reject higher-frequency disturbances. However, high bandwidth also amplifies measurement noise. Design trades bandwidth for noise rejection and robustness.
How does a pole appear on a Bode plot?
A pole at corner frequency ω_p adds a −20 dB/decade rolloff to the magnitude asymptote beginning at ω_p. The phase starts to decrease at about 0.1·ω_p, reaches −45° at ω_p, and approaches −90° at 10·ω_p. A zero has the opposite effect: +20 dB/decade slope and +90° phase contribution. Complex pole pairs show resonance peaks at ω_n = √(k/m) for underdamped systems.
Worked Examples
Example 1: Third-order loop K/(s(s+1)(s+2)) at K = 2: read both margins
A unity-feedback loop with open-loop transfer function G(s) = 2/(s(s + 1)(s + 2)). Find the phase and gain crossover frequencies and the gain and phase margins.
GM = 9.54 dB at ω_pc = 1.414 rad/s and PM = 32.6° at ω_gc = 0.749 rad/s. The calculator's cards read Gain Crossover 0.749 rad/s, Phase Crossover 1.414 rad/s, Phase Margin 32.6° and Gain Margin 9.5 dB, with a stable closed loop. A 32.6° margin is below the common 45° target, so expect a noticeably underdamped step response.
Example 2: Same loop at K = 10: negative margins mean an unstable loop
Raise the gain of the same loop to K = 10: G(s) = 10/(s(s + 1)(s + 2)). What do the margins say?
GM = −4.44 dB at 1.414 rad/s and PM = −13.0° at 1.802 rad/s. The calculator shows both margins in red and reports "Closed loop UNSTABLE — 2 right-half-plane poles": the Routh array of s³ + 3s² + 2s + 10 has first column 1, 3, −4/3, 10, with two sign changes.
Example 3: Lead compensation: K_v = 20 s⁻¹ with about 50° of phase margin
The plant G(s) = 4/(s(s + 2)) has velocity error constant K_v = lim(s→0) s·G(s) = 4/2 = 2 s⁻¹. The design asks for K_v = 20 s⁻¹ and a phase margin near 50°. Compare raising the gain alone with adding the lead compensator C(s) = 41.7(s + 4.41)/(s + 18.4).
The lead compensator meets K_v ≈ 20 s⁻¹ with PM = 50.5°, where the gain alone would leave 18.0°. The calculator's cards read Gain Crossover 8.890 rad/s and Phase Margin 50.5°, with N/A for Phase Crossover and Gain Margin because the phase never crosses −180°.
Related Concepts
Pole-Zero Map Calculator
The poles and zeros behind each corner of the Bode plot: every pole bends the magnitude down by 20 dB per decade and every zero up.
Steady-State Error Calculator
The error the same unity-feedback loop leaves for a step, ramp or parabola; Kv sets the ramp error the lead-compensator example designs for.
Related Calculators
Transfer Function Calculator
Analyze transfer functions: compute poles, zeros, DC gain, system order, system type, and stability from numerator/denominator coefficients
Root Locus Plotter
Plot how closed-loop poles move as gain K varies; interactive K slider shows closed-loop poles, open-loop poles, and zeros
Step Response Calculator
Compute and plot unit step response for 1st and 2nd order systems with rise time, settling time, overshoot, and peak time metrics
PID Controller Tuner
Automatic PID tuning using Ziegler-Nichols (open-loop and closed-loop) and Cohen-Coon methods with step response comparison chart
Routh-Hurwitz Stability Calculator
Build the full Routh array for any-order polynomial, determine stability, and count right-half-plane poles from the characteristic equation
Nyquist Stability Calculator
Compute gain margin (dB), phase margin (degrees), gain crossover frequency, and phase crossover frequency from open-loop transfer function
References & Further Reading
Wikipedia
Add the live Bode Plot Generator to your site. Free to embed, with a link back to MegaCalc.