Back to Blog
Electronics

Reading a Bode Plot for the First Time (an RC Filter Walkthrough)

11 min read
NevilLabs Spice simulation showing an RC low-pass filter schematic beside a phase plot that falls from near 0 towards −90 degrees on a logarithmic frequency axis, with a dashed marker at the corner frequency

Most people meet their first Bode plot already drawn on a lecture slide: a flat line that bends and slides downhill, a second curve sinking towards −90°, and a frequency axis counting 10, 100, 1k, 10k as if they were evenly spaced. You learn that the cutoff is "where it drops by 3 dB", copy the formula and pass the exam. Then someone hands you a plot from a real circuit, and the formula doesn't help much.

The plot isn't the hard part. It's two unfamiliar scales (decibels and a logarithmic frequency axis) stacked on one simple question, and nobody stops to explain the scales. So this post does, with the simplest filter there is: a 1 kΩ resistor and a 100 nF capacitor. We'll work the answer out by hand, then run the same circuit in the NevilLabs Spice simulation and read both halves of the plot.

What You Will Learn

  • What a frequency response measures, and why it needs two plots
  • How decibels turn voltage ratios into numbers you can add, and why −3 dB means half the power
  • Why a logarithmic frequency axis turns a filter's roll-off into a straight line
  • How to calculate the corner frequency f = 1/(2πRC) and check it in a simulation
  • Why a first-order filter falls at 20 dB per decade while its phase heads towards −90°
  • How to read magnitude and phase together, and what the plot leaves out about real parts

What a Frequency Response Actually Asks

Imagine feeding a circuit a pure sine wave, measuring what comes out, then nudging the frequency up and repeating, hundreds of times. At each frequency you'd note two numbers: how big the output is compared with the input (magnitude) and how far behind it arrives (phase). That pair, at every frequency, is the frequency response, and a Bode plot draws it as two graphs sharing one frequency axis.

The name comes from Hendrik Bode, a research mathematician at Bell Telephone Laboratories, who showed how gain and phase are tied together in feedback amplifiers (Bode, 1940) and set out the method in his 1945 book, Network Analysis and Feedback Amplifier Design.

The Circuit: One Resistor, One Capacitor

An RC low-pass filter is a voltage divider with a twist. The input passes through the resistor to the output node, and the capacitor sits from that node to ground. The resistor ignores frequency, but the capacitor doesn't. Its reactance, Xc = 1/(2πfC), is large at low frequency (nearly all the input reaches the output) and small at high frequency (it shorts the output towards ground). So the output shrinks as frequency rises.

That tidy picture assumes a perfect source and nothing connected to the output. Real circuits are rarely that polite, and we'll come back to what it costs.

RC low-pass filter on the NevilLabs canvas: an AC voltage source feeding a 1 kilohm resistor, a 100 nanofarad capacitor from the output node to ground, and the properties panel showing the capacitor value
The walkthrough circuit: an AC source, a 1 kΩ series resistor and a 100 nF capacitor to ground. The output is the node between them.

Decibels Without the Fear

Gain is measured in decibels because ratios multiply, and long chains of multiplied ratios are a pain. For voltages, gain in dB is 20 × log10(Vout/Vin). The 20 is there because the decibel was defined for power (10 × log10), and power goes as voltage squared (NIST Special Publication 811 sets out these logarithmic units). A few values worth knowing by heart:

  • ×1 (output equals input): 0 dB
  • ×2: about +6 dB, and ×0.5: about −6 dB
  • ×0.707 (that is, 1/√2): −3 dB, which is half the power
  • ×0.1: −20 dB, and ×0.01: −40 dB

Negative dB just means the output is smaller than the input. And cascaded stages add: −6 dB followed by −20 dB gives −26 dB, no multiplication needed.

Why the Frequency Axis Jumps by Tens

The frequency axis is logarithmic, so 10 Hz to 100 Hz takes the same width as 1 kHz to 10 kHz. Each ×10 step is a decade. On this axis a response falling in proportion to 1/f becomes a straight line, so with dB on the vertical axis, curves you'd struggle to sketch turn into lines you can draw with a ruler.

The Corner Frequency, Worked Out by Hand

The corner (or cutoff) frequency is where the capacitor's reactance equals the resistance. Set Xc = R and solve, and you get fc = 1/(2πRC), as any circuits text derives (Sedra and Smith's Microelectronic Circuits, for one). For our parts:

  • RC = 1,000 Ω × 100 × 10⁻⁹ F = 1.0 × 10⁻⁴ s, or 100 µs (the time constant)
  • 2πRC = 6.283 × 10⁻⁴ s
  • fc = 1 / (6.283 × 10⁻⁴ s) ≈ 1,591.5 Hz, or about 1.59 kHz

At that frequency the two voltage drops are equal in size but 90° out of step, so they add like the sides of a right-angled triangle and the output is 1/√2 of the input: 0.707, or −3.01 dB. That's the famous −3 dB point, and it isn't arbitrary: it's where the filter delivers half the power it delivers at DC.

Above the Corner: −20 dB per Decade

Well above fc the capacitor dominates and the output falls in proportion to 1/f: ten times the frequency, one tenth of the voltage, −20 dB per decade. At 15.9 kHz (ten times fc) the gain is −20.04 dB, at 159 kHz it's −40.0 dB, and down at 159 Hz it's only −0.04 dB. (Some books, The Art of Electronics among them, give the slope as 6 dB per octave, an octave being a doubling of frequency.)

Draw a flat line at 0 dB up to fc and a line falling at −20 dB per decade beyond it, and you have Bode's straight-line approximation. The real curve hugs both and rounds off the corner, 3 dB below where they meet.

Diagram of a first-order low-pass Bode plot: the magnitude curve follows a flat 0 dB line, bends at the corner frequency 3 dB below the meeting point of two straight asymptotes, then falls at 20 dB per decade; below it the phase curve passes through −45 degrees at the corner and approaches −90 degrees
Straight-line asymptotes against the real curve. The magnitude is 3 dB down and the phase is −45° at the same frequency, fc.

The Phase Plot: Late, Then Later

The output doesn't just shrink as frequency rises, it arrives later. The phase is −arctan(f/fc), and a negative phase means the output lags the input. For our filter:

  • At 159 Hz (fc/10): −5.7°
  • At 1.59 kHz (fc): exactly −45°
  • At 15.9 kHz (10 × fc): −84.3°
  • At 159 kHz (100 × fc): −89.4°, edging towards −90° without ever reaching it

Degrees are easier to feel as time. At 1.59 kHz one cycle lasts about 628 µs, and −45° is an eighth of that, so the output peaks roughly 79 µs after the input. Most of the phase change happens within a decade either side of the corner.

Running It in NevilLabs

Now the simulator, which runs in your browser with nothing to install. Its job is not to replace the hand calculation but to check it, and then to change things faster than a breadboard allows.

  1. Place an AC voltage source, a resistor, a capacitor and a ground, wired as a low-pass, with 1 kΩ and 100 nF. The source's AC sweep magnitude defaults to 1 V, so the output's dB value reads directly as the filter's gain.
  2. Open the Spice simulation workspace. It recognises the RC low-pass and selects AC Analysis itself (an "auto" label appears beside the menu), and the Why? button explains the sweep range it chose. f_start and f_stop, in hertz, stay editable.
  3. In Graph Config, tick Magnitude (dB) and Phase (°) and, under Nodes to probe, pick the output node (the one shared by the resistor and capacitor in the netlist). The input node would only draw a flat 0 dB line, so the output is the trace to read, and the markers then describe it.
  4. Press Run Simulation. The Spice simulation solves the netlist on our servers and sends the results back for plotting.
  5. Switch the Plot selector between Magnitude (dB) and Phase (°). Both use a logarithmic frequency axis, and hovering shows the frequency and value at any point.

The read-only netlist will contain a line like .ac dec 20 10 100000: a decade sweep, 20 points per decade, from 10 Hz to 100 kHz, which is the whole question the simulator was asked. (Our post on multi-domain simulation shows where this engine sits among the other tools.)

Bode magnitude plot of the 1 kilohm, 100 nanofarad RC low-pass in NevilLabs, gain in decibels flat near 0 dB then falling, with a dashed fc marker at the minus 3 dB point near 1.59 kilohertz and the Analysis Markers panel listing the corner frequency and roll-off rate
The AC sweep of the walkthrough circuit. The dashed fc line sits at the −3 dB corner, within a few hertz of the 1.59 kHz worked out by hand.

Reading the Markers

A dashed fc line marks the −3 dB corner, and the Analysis Markers panel lists the values. Expect fc near 1.59 kHz rather than exactly on it: the marker is interpolated between sample points, so a few hertz either way is the sampling, not the physics. Hovering a row lights up its line, and hovering a marker's name gives a short explanation.

Two readings deserve a moment. The first is the roll-off rate, which reads about −17.7 dB per decade in the screenshot rather than −20. That is a reading tip, not a discrepancy. The marker measures the slope across a finite window just above the corner (from fc to ten times fc), and the curve is still bending towards its asymptote there: the real curve starts 3 dB below the asymptote at fc and has nearly caught up by 10 × fc, so it drops only about 17 dB across that decade. Measure the slope further out and it approaches −20 dB per decade, as the worked numbers earlier showed (−20.04 dB at 10 × fc, −40.0 dB at 100 × fc).

The second is the group of gain crossover, phase crossover and both margins, which read N/A for this circuit. They describe feedback loops, and a passive RC never rises above 0 dB or reaches −180°, so there is nothing for them to mark. The fp line marks the curve's highest point, which on a low-pass is simply the start of the sweep.

Change R, Run Again

Predict before you touch anything. If R goes from 1 kΩ to 2.2 kΩ, fc should fall by the same factor, to about 723 Hz. Change the value, run again, and the fc line and the −45° point both move left, while the slope beyond the corner stays put. Predict, test, explain the gap: that loop is the heart of experiential learning, and it sticks in a way that reading someone else's plot doesn't.

Reading Magnitude and Phase Together

Magnitude and phase are the size and angle of one complex number at each frequency, split across two graphs. The fc line sits at the same frequency in both views, so read straight down it: at 1.59 kHz, −3 dB and −45°; a decade up, about −20 dB and −84°.

With practice you read one plot from the other. Bode showed that for a large class of circuits (called minimum-phase) the magnitude slope and the phase are linked, so a long stretch at −20 dB per decade comes with a phase near −90° (Bode, 1940). Power-supply and control engineers lean on that link to judge whether a feedback loop will settle or ring. If you want both in a spreadsheet, the CSV export puts each probed trace in its own column beside the frequencies.

Tolerances and Loading: Why a Real RC Corner Moves

Read this as a small-signal answer. Spice AC analysis linearises the circuit around its operating point before sweeping (Nagel, SPICE2), so nothing ever clips. For an RC that is exactly what you want. Once an amplifier is involved, use the AC plot for the shape of the response and a transient run to see how large the output can really get.

Then there are the parts. A 5% resistor and a 10% capacitor are ordinary components (tolerance is coded on the part, under IEC 60062), and together they can put our corner anywhere from about 1.38 to 1.86 kHz, or 1.26 to 2.09 kHz with a 20% capacitor. NevilLabs shows each part's tolerance, so set R and C to their extreme values and run again to see the spread. Tolerance is only the first layer of realism, though. For analogue components in the Spice simulation you can also describe the non-ideal side of each part: ESR and ESL on capacitors and inductors, parasitic values, and for transistors the quiescent current, bandgap and similar figures you copy from the datasheet. Entering them gets you a Bode plot much closer to what the real circuit does.

The formula also assumes an ideal source and no load. A 50 Ω signal generator adds to R and pulls fc down to about 1.52 kHz. A 10 kΩ load across the capacitor lifts the corner to about 1.75 kHz and drops the passband by 0.83 dB. Real capacitors also carry a little series resistance and inductance, which is why a real filter's curve eventually stops falling.

And once an op-amp puts gain in the loop, it adds its own limits: gain that falls with frequency, and extra phase lag. In a NevilLabs netlist an op-amp starts as an ideal gain block (100,000, with no bandwidth limit), a clean way to learn feedback. When a particular chip matters, use the manufacturer's SPICE model in the netlist.

Where You Already Meet Bode Plots

  • Audio: loudspeaker crossover networks are low-pass and high-pass filters that split the signal so each driver receives only the band it can reproduce (Hood, Audio Electronics). Yamaha's HS5, HS7 and HS8 studio monitors are two-way, bi-amplified designs with a 2 kHz crossover between woofer and tweeter.
  • Data acquisition: low-pass filters commonly serve as anti-aliasing filters in front of analogue-to-digital converters (Texas Instruments, Active Low-Pass Filter Design). NI's NI-9234 sound and vibration input module (4 channels, 24 bits, up to 51.2 kS/s per channel) has anti-aliasing filters built in that adjust to the sample rate.
  • Medical instrumentation: a study of ECG and pulse signals found anti-aliasing filters delaying them by 2 to 46 ms, depending on the filter and the signal, which is comparable to the timing differences being measured (Keresnyei et al., Physiological Measurement).
  • Power electronics: switch-mode power supply designers shape the feedback loop's Bode plot, choosing the crossover frequency and phase margin, so the output settles cleanly after a change in load (Erickson and Maksimović, Fundamentals of Power Electronics). Texas Instruments' Power Stage Designer includes a Bode plotting tool and a loop calculator for working out the compensation network.
  • Control engineering: frequency-response methods, with gain and phase margins read from Bode diagrams, are a standard way to design and check control systems (Ogata, Modern Control Engineering).
  • NevilLabs has a Spice simulation in the browser workspace: draw an RC filter, choose AC Analysis, and read gain in dB and phase in degrees on a logarithmic frequency axis, with fc, fgc, fpc and fp markers, an Analysis Markers panel, a pop-out graph window and CSV export.
The magnitude plot tells you how much gets through. The phase plot tells you when it arrives. You don't understand a filter until you can read both at the same frequency.

Predict, Run, Then Explain the Gap

If you keep one routine from this post, make it this: calculate fc by hand, predict the gain and phase a decade either side, then run the sweep and explain every difference. Some come from the sampling, some from the asymptote being an approximation, and some (tolerance, source and load) are the real world leaking in. Telling those apart is what reading a Bode plot actually means.

NevilLabs is opening access in small batches, and the Spice simulation is a good place for a first Bode plot. Join the waitlist, bring your own R and C values, and see whether your hand calculation survives the simulator. Your first Bode plot is a small step, and every filter you simulate after it will make more sense.

References

  1. Bode, H. W. (1940). Relations Between Attenuation and Phase in Feedback Amplifier Design. Bell System Technical Journal, 19(3), 421–454. doi: 10.1002/j.1538-7305.1940.tb00839.x (opens in a new tab)
  2. Bode, H. W. (1945). Network Analysis and Feedback Amplifier Design. D. Van Nostrand Company. — https://archive.org/details/dli.ernet.15701 (opens in a new tab)
  3. Sedra, A. S., Smith, K. C., Chan Carusone, T., & Gaudet, V. (2020). Microelectronic Circuits (8th ed.). Oxford University Press.
  4. Horowitz, P., & Hill, W. (2015). The Art of Electronics (3rd ed.). Cambridge University Press.
  5. Ogata, K. (2010). Modern Control Engineering (5th ed.). Prentice Hall.
  6. Erickson, R. W., & Maksimović, D. (2020). Fundamentals of Power Electronics (3rd ed.). Springer. doi: 10.1007/978-3-030-43881-4 (opens in a new tab)
  7. Thompson, A., & Taylor, B. N. (2008). Guide for the Use of the International System of Units (SI). NIST Special Publication 811. National Institute of Standards and Technology. doi: 10.6028/NIST.SP.811e2008 (opens in a new tab)
  8. Hood, J. L. (1999). Loudspeaker crossover systems. In Audio Electronics (pp. 305–323). Elsevier. doi: 10.1016/B978-075064332-0/50008-5 (opens in a new tab)
  9. Keresnyei, R., Megyeri, P., Zidarics, Z., & Hejjel, L. (2015). Selecting the optimal anti-aliasing filter for multichannel biosignal acquisition intended for inter-signal phase shift analysis. Physiological Measurement, 36(1), N23–N34. doi: 10.1088/0967-3334/36/1/N23 (opens in a new tab)
  10. Texas Instruments. Active Low-Pass Filter Design (SLOA049). — https://www.ti.com/lit/pdf/sloa049 (opens in a new tab)
  11. International Electrotechnical Commission. IEC 60062:2016, Marking codes for resistors and capacitors. — https://webstore.iec.ch/en/publication/25395 (opens in a new tab)
  12. Nagel, L. W. (1975). SPICE2: A Computer Program to Simulate Semiconductor Circuits. Memorandum No. ERL-M520, Electronics Research Laboratory, University of California, Berkeley. — https://www2.eecs.berkeley.edu/Pubs/TechRpts/1975/9602.html (opens in a new tab)
  13. Yamaha. HS Series (HS5/HS7/HS8) specifications. — https://usa.yamaha.com/products/proaudio/speakers/hs_series/specs.html (opens in a new tab)
  14. NI. NI-9234 C Series Sound and Vibration Input Module. — https://www.ni.com/en/shop/hardware/sound-and-vibration/model-ni-9234 (opens in a new tab)
  15. Texas Instruments. Power Stage Designer. — https://www.ti.com/tool/POWERSTAGE-DESIGNER (opens in a new tab)

Start your first build with NevilLabs

Design a circuit, run the simulation, and see the physics behind it — in your browser. We're inviting early users in small batches.

Join the Waitlist

More articles

Education
Explore Your Potential with Experiential Learning: A Comprehensive Guide to STEM Education
Inspiration
Sir M. Visvesvaraya: Explorer, Creator, Scholar
Inspiration
C.V. Raman: The Light That Changed Physics
Wireless
Guglielmo Marconi: The Engineer Who Shrank the Planet
Technology
Inside a Quadcopter: The Engineering That Keeps Drones in the Air
Physics
Newton's Laws of Motion: A Visual Guide to Forces, Inertia, and Action-Reaction
Education
Why Virtual Labs Are Rewriting the Economics of STEM Education
Simulation
Multi-Domain Simulation: Why Splitting Analog and Digital Tools Is a Mistake
RF
RF Simulation and Yield Analysis: Reading a Smith Chart Before You Fabricate
Electronics
VirtuBuild Space: Taking One Circuit From Breadboard to PCB Without Leaving the Browser
AI Design
Prompt-to-3D-Structure: What AI-Generated Geometry Is Actually Good For
Design
One Design, Three Views: Why Layout, 2D, and 3D Shouldn't Be Separate Files
Robotics
Mechatronics Simulation: Where Circuits Stop Being Circuits and Become Machines
AI
What an AI Debugging Assistant Can (and Can't) See in Your Circuit
Learning
Adaptive Learning Paths: Why 'Personalised Pace' Only Works If the Physics Is Real
Safety
What 'Child Safety' Actually Means in a STEM Simulation Platform
Visualization
Visualizing the Invisible: What 3D Field Simulation Actually Shows You
Education
What a STEM Lab Actually Costs: A Budget Framework for Administrators
Electronics
Inside the 555 Timer: Build One, Then Make an LED Flash
RF
FEM vs FDTD: Choosing a 3D Solver for a Patch Antenna
PCB
Gerber and Excellon Files: What Your PCB Fab Actually Receives
Materials
Material Science You Can Test: Interactive 3D Experiments
Electronics
Resistor E-Series Explained: What E12, E24 and E96 Mean
RF
RF Cascade Analysis: Gain, Noise Figure, IIP3 and P1dB Through a Chain
Simulation
Spice Simulation Online: What .tran and .ac Results Actually Tell You
Materials
The Stress-Strain Curve: Tensile, Compressive and Shear, Explained
RF
From Datasheet to Smith Chart: Importing Touchstone S-Parameters