Topics A–Z

Circuit

The RC low-pass filter, watched in motion

One resistor and one capacitor make the simplest filter in electronics. Drag the frequency and watch the output shrink and fall behind the input.

LVL 51 min read

For Readers comfortable with basic schematics and high-school algebra.

LVL 4

A simpler explanation with fewer formulas.

If you’ve wired an LED with a resistor, you already know half of this circuit. Put a resistor in series with a signal, connect a capacitor from the far end to ground, and take your output across the capacitor. Two parts, and you’ve built a filter that passes slow signals and quiets fast ones.

Put a resistor in series with a signal, hang a capacitor from the far end to ground, and take your output across the capacitor. That’s it: two parts, and you’ve built a filter that lets slow signals through and quiets fast ones.

RC low-pass · 1 kΩ, 100 nF
VinRCVout
1.59 kHzCutoff fc
-3.0 dBGain
-45°Phase
71%Vout / Vin
Vin (dashed)Vout100 Hz1.00 kHz10.0 kHz−3 dB
Drag the slider. The dashes show current sloshing back and forth through R and C; the animation is slowed right down, and its size shows how much current flows.

Why it filters

A capacitor lets alternating current through more easily the faster it alternates. At low frequencies it barely conducts, almost no current flows through the resistor, and the output follows the input. At high frequencies the capacitor acts almost like a wire to ground: more current flows, the resistor drops most of the voltage, and little is left at the output.

That’s why, in the figure, the current dashes grow as you raise the frequency while the output shrinks.

A capacitor’s opposition to alternating current, its reactance, depends on frequency:

XC=12πfCX_C = \frac{1}{2\pi f C}

At low frequencies Xc is huge, so the capacitor barely conducts. Almost no current flows through R, almost no voltage drops across it, and the output follows the input.

At high frequencies Xc is small. The capacitor acts like a short to ground, more current flows, R drops most of the voltage, and little is left at the output. That’s why, in the figure, the current grows as you raise the frequency while the output shrinks.

Formally, R and C form a voltage divider with a complex impedance. With ω = 2πf, the transfer function is

H(jω)=11+jωRCH(j\omega) = \frac{1}{1 + j\omega RC}

Its magnitude is 1 / √(1 + (ωRC)²) and its phase is −arctan(ωRC), which is exactly what the gain and phase readouts compute.

The cutoff frequency

The handover happens at the cutoff frequency, where the capacitor’s reactance equals the resistance:

fc=12πRCf_c = \frac{1}{2\pi R C}

With 1 kΩ and 100 nF, that’s about 1.59 kHz. At exactly fc:

  • the output is 1/√2 of the input, about 70.7%, which is −3 dB;
  • the output lags the input by 45°.

Above fc the gain falls by about 20 dB per decade: ten times the frequency, one tenth the amplitude. The Bode plot in the figure shows this as a straight line sloping down after the knee.

Where you’ll meet it

  • Anti-aliasing in front of an ADC, to remove frequencies the converter can’t sample correctly.
  • Smoothing PWM from a microcontroller into a rough analog voltage.
  • Debouncing a mechanical switch, together with a Schmitt-trigger input.
  • Taming noise on a sensor line.

Cascading two identical passive RC stages doesn’t give you a clean second-order response: the second stage loads the first, so the combined corner lands lower than either stage alone. Buffer between stages with an op-amp, or design an active second-order filter (Sallen–Key or multiple-feedback) when you need a defined Q.