DEV Community

Cover image for Low Pass Filter Design: Setting the Cut-off with Two Components
NovaSolver
NovaSolver

Posted on • Originally published at novasolver.jp

Low Pass Filter Design: Setting the Cut-off with Two Components

Plug an oscilloscope probe into almost any real circuit and the trace will be fuzzy. Riding on top of the signal you actually want is a haze of higher-frequency noise — switching hash, radio pickup, digital crosstalk. The signal and the noise occupy different parts of the frequency spectrum, and that separation is an opportunity. If you can build something that passes the low frequencies and quietly turns down the high ones, the fuzz disappears and the signal stays. That something is a low-pass filter, and in its simplest form it is just a resistor and a capacitor.

This article explains where the cut-off frequency comes from, works a concrete RC example, and clears up the misunderstandings that most often trip up a first filter design.

Why this calculation matters

Low-pass filters are everywhere a clean signal is needed. They sit in front of analog-to-digital converters as anti-aliasing filters, smooth the ripple out of power supplies, condition sensor outputs, and recover audio from a noisy line. Even an averaging operation in software is a low-pass filter wearing different clothes.

The calculation matters because the cut-off frequency is a design decision with real consequences in both directions. Set it too low and you blur the signal you were trying to protect — its fast edges and genuine high-frequency content vanish along with the noise. Set it too high and the noise sails straight through. The cut-off is a deliberate line drawn through the frequency spectrum, and a passive RC filter places it with just two component values.

The core formula

A first-order RC low-pass filter is a resistor in series with the signal and a capacitor from the output node to ground. At low frequencies the capacitor is effectively an open circuit, so the output simply follows the input. At high frequencies the capacitor's impedance becomes small, shorting the high-frequency content to ground.

The crossover between those two regimes is the cut-off frequency:

f_c = 1 / (2 * pi * R * C)
Enter fullscreen mode Exit fullscreen mode

At f_c the output amplitude has fallen to 1/sqrt(2), about 0.707, of the input. In decibels that is exactly -3 dB, which is why the cut-off is also called the -3 dB point. It is conventionally treated as the edge of the passband — not because the signal vanishes there, but because half the signal power is gone.

Above the cut-off, a first-order filter rolls off at a steady rate:

roll-off = 20 dB per decade
Enter fullscreen mode Exit fullscreen mode

A decade is a tenfold change in frequency. Twenty decibels is a factor of ten in amplitude. So one decade above f_c the signal is attenuated to one-tenth; two decades above, to one-hundredth. The companion quantity is the time constant:

tau = R * C
Enter fullscreen mode Exit fullscreen mode

which describes how the same filter behaves in the time domain — how quickly its output settles after a step change at the input.

A worked example

Design a first-order RC low-pass filter with R = 1.6 kohm and C = 100 nF.

Step 1 — cut-off frequency.

f_c = 1 / (2 * pi * R * C)
f_c = 1 / (2 * pi * 1600 * 1e-7)
f_c = 995 Hz
Enter fullscreen mode Exit fullscreen mode

The product R*C is 1.6e-4 seconds; multiplying by 2*pi and inverting gives about 995 Hz — close enough to call it 1 kHz.

Step 2 — interpret the cut-off. At 995 Hz the output is 3 dB below the input, meaning roughly 70.7 % of the input amplitude reaches the output. Signals well below 995 Hz pass with almost no loss; signals well above it are progressively cut.

Step 3 — attenuation one decade up. A first-order filter rolls off at 20 dB per decade, so one decade above the cut-off — at about 10 kHz — the signal is attenuated by 20 dB. Twenty decibels is a factor of ten in amplitude, so a component at 10 kHz emerges at roughly one-tenth of its original size. A 30 kHz component, about half a decade further, is down by another 10 dB or so.

So this single RC pair, two components costing almost nothing, draws a usable line at about 1 kHz and steadily suppresses everything above it. If 20 dB per decade is not steep enough for the noise you face, that is the signal to move to a second-order filter.

Common mistakes

Reading the cut-off as a hard wall. A filter does not pass everything below f_c untouched and block everything above it. The transition is gradual. At the cut-off itself the signal is already down 3 dB, and useful frequencies sit comfortably below f_c, not right at it.

Underestimating how gentle a first-order roll-off is. Twenty decibels per decade sounds aggressive until you need to reject noise close in frequency to your signal. To reach 60 dB of attenuation you would need three full decades of separation. Tight requirements call for higher-order filters.

Ignoring the source and load impedance. The clean f_c formula assumes the filter is driven by a near-zero source impedance and feeds a near-infinite load. A significant source resistance adds to R; a load that draws current alters the response. Buffer the filter when in doubt.

Forgetting the phase shift. A low-pass filter delays as well as attenuates. At the cut-off the output lags the input by 45 degrees. In a control loop or a timing-sensitive path that phase lag can matter as much as the amplitude change.

Picking impractical component values. A given f_c can be met by many R-C pairs, but not all are wise. Very large resistors raise noise and interact with stray capacitance; very small ones load the source. Keep R in a sensible range and let C follow.

Try the interactive NovaSolver calculator

Filter behaviour is best understood by watching the Bode plot move. The Low-Pass Filter Simulator on NovaSolver lets you set R and C and immediately see the cut-off frequency, the gain at a chosen observation frequency, the phase, and the time constant tau = RC. It draws a live Bode plot and the circuit waveforms, and a frequency-sweep mode walks the response across the spectrum so the -3 dB point and the 20 dB-per-decade slope become something you can see rather than just compute.

Related calculators

The full set lives in the controls and frequency-response tools hub.

Closing note

A first-order RC low-pass filter is one of the highest-value calculations in electronics: two components, one formula, and a meaningful improvement in signal quality. Remember the three facts that define it — the cut-off sits at -3 dB, the roll-off is 20 dB per decade, and the time constant is simply RC. Decide where your signal ends and your noise begins, place f_c on purpose, and check whether a single pole is steep enough. When it is not, you will know exactly why you are reaching for a second one.

Top comments (0)