A low pass filter is an electronic circuit that allows low-frequency signals to pass through while attenuating (blocking) frequencies above a specific cutoff point. When you insert this into a real circuit, it changes the signal's amplitude profile by shaving off high-frequency noise or harmonics, and it inherently introduces a frequency-dependent phase shift. Beginners commonly confuse a passive RC low pass filter with a simple resistive voltage divider, missing the critical fact that the capacitor's reactance makes the division ratio change dynamically as the signal frequency changes.
The Core Mechanics: Reactance and the -3dB Point
To understand a passive RC (Resistor-Capacitor) low pass filter, you have to look at the capacitor not as a storage device, but as a frequency-dependent resistor. The opposition a capacitor presents to alternating current is called capacitive reactance ($X_C$), calculated as:
XC = 1 / (2πfC)
Where f is frequency in Hertz and C is capacitance in Farads. Notice the inverse relationship: as frequency goes up, reactance goes down. In a standard low pass configuration, the resistor is in series with the signal path, and the capacitor is in parallel (shunting to ground).
Think of the capacitor as a water reservoir separated by a flexible rubber diaphragm. Slow, steady changes in water pressure (low frequencies) easily flex the diaphragm and transfer the pressure to the other side. But rapid, high-frequency pressure spikes (noise) just bounce off the diaphragm's physical inertia, failing to transfer. Electrically, low frequencies see a high $X_C$, so the signal stays on the main path. High frequencies see a low $X_C$, so they take the path of least resistance straight to ground.
The cutoff frequency ($f_c$) is the exact point where the output voltage drops to 70.7% of the input voltage. In decibel terms, this is the -3dB point. It is also the frequency where the phase shift between the input and output is exactly -45 degrees. According to foundational texts like those on Electronics Tutorials, the formula for the cutoff frequency of a first-order RC filter is:
fc = 1 / (2πRC)
Worked Example: Designing a 1 kHz RC Low Pass Filter
Let's say you are reading an analog sensor that outputs a slow-moving DC voltage, but your breadboard is picking up 10 kHz switching noise from a nearby buck converter. You want to design a low pass filter with a cutoff frequency of exactly 1,000 Hz (1 kHz) to strip out that noise while letting the sensor data pass.
Step 1: Pick a standard capacitor value.
It is almost always easier to pick the capacitor first because standard capacitor values (E6/E12 series) are much sparser than resistor values. Let's choose 100 nF (0.1 μF), a highly common, cheap, and readily available ceramic capacitor value.
Step 2: Calculate the required resistance.
Rearranging the formula to solve for R:
R = 1 / (2π × fc × C)
R = 1 / (2 × 3.14159 × 1000 × 0.0000001)
R = 1591.5 Ω
Step 3: Select a real-world resistor.
You won't find a 1591.5 Ω resistor in your kit. You need to choose a standard value. If you are using standard 5% carbon film resistors (E24 series), the closest values are 1.5 kΩ or 1.6 kΩ. If you use 1% metal film resistors (E96 series), you can get much closer.
| Resistor Choice | Tolerance | Actual Cutoff Frequency | Error from Target |
|---|---|---|---|
| 1.5 kΩ (E24) | 5% | 1061 Hz | +6.1% |
| 1.6 kΩ (E24) | 5% | 994.7 Hz | -0.53% |
| 1.58 kΩ (E96) | 1% | 1007 Hz | +0.7% |
For this build, we will select the 1.6 kΩ 5% resistor paired with a 100 nF X7R ceramic capacitor. This gives us a cutoff of 994.7 Hz, which is well within the acceptable margin for filtering out 10 kHz noise. At 10 kHz (one decade above $f_c$), a first-order filter provides -20dB of attenuation, reducing the noise amplitude to just 10% of its original level.
Where You Meet This In Practice
You will rarely build a low pass filter just for the sake of theory. Here is where they actually show up on the bench and in commercial PCB designs:
- PWM to Analog DAC Reconstruction: Microcontrollers like the Arduino or ESP32 output Pulse Width Modulation (PWM) to simulate analog voltages. If you feed a 5V, 5 kHz PWM signal into an RC low pass filter with a 50 Hz cutoff, the capacitor smooths the square wave into a steady, ripple-free DC voltage proportional to the duty cycle.
- ADC Anti-Aliasing: When feeding a signal into an Analog-to-Digital Converter (ADC), any noise higher than half your sampling rate (the Nyquist frequency) will "fold back" and corrupt your data. A hardware low pass filter right at the ADC pin is mandatory to prevent this aliasing.
- Audio Line-Level Crossovers: While high-power speaker crossovers use inductors (LC filters), line-level audio signals often use RC low pass filters to route bass frequencies to a subwoofer pre-amplifier while blocking treble.
- Switch Debouncing: Mechanical switches bounce, creating high-frequency microsecond spikes when pressed. A simple RC low pass filter followed by a Schmitt trigger (like a 74HC14) absorbs the bounce, yielding a clean digital edge.
Common Confusions: Low Pass vs. High Pass vs. Voltage Dividers
The most frequent mistake hobbyists make is confusing a low pass filter with a high pass filter. The difference is purely physical layout. If the capacitor is in series with the signal and the resistor is shunting to ground, it is a high pass filter (it blocks DC and passes AC). If the resistor is in series and the capacitor is to ground, it is a low pass filter. Swapping the two components entirely inverts the frequency response.
Another common confusion is treating the RC network like a static voltage divider. A resistive voltage divider (two resistors) outputs a fixed ratio regardless of whether you feed it 10 Hz or 10 MHz. An RC network is a dynamic voltage divider. As detailed in All About Circuits, because the capacitor's impedance changes with frequency, the "bottom half" of your voltage divider is constantly shifting its resistance, which is exactly what creates the filtering action.
Frequently Asked Questions
What is the difference between a low pass filter and a high pass filter?
A low pass filter allows frequencies below the cutoff to pass while attenuating higher frequencies, typically using a series resistor and a shunt capacitor. A high pass filter does the exact opposite: it blocks low frequencies and DC while allowing high frequencies to pass, achieved by swapping the positions of the resistor and capacitor (series capacitor, shunt resistor). In audio, a low pass filter routes bass to a subwoofer, while a high pass filter routes treble to a tweeter.
How do I choose the right capacitor dielectric for a low pass filter?
For general noise filtering on digital lines or power supplies, a standard X7R ceramic capacitor is perfectly fine and very cheap. However, X7R capacitors exhibit microphonics and voltage coefficient effects (their capacitance drops as applied DC voltage increases). If you are designing a low pass filter for high-fidelity audio or precision analog sensor signals, you must use a C0G/NP0 ceramic capacitor or a polypropylene film capacitor. These dielectrics are highly stable, linear, and introduce zero harmonic distortion to the signal path.
Why is my low pass filter causing a phase shift in my signal?
Phase shift is an unavoidable mathematical consequence of filtering in the time domain. Because the capacitor takes time to charge and discharge through the resistor, the output voltage inherently lags behind the input voltage. At the exact cutoff frequency ($f_c$), the phase lag is exactly 45 degrees. As the frequency increases well beyond the cutoff, the phase lag approaches 90 degrees. If your application requires zero phase shift (like in certain feedback control loops), you cannot use a simple passive RC filter; you will need an active Bessel filter topology designed specifically for linear phase response.
Can I use a low pass filter to smooth PWM into a true analog DC voltage?
Yes, this is one of the most common uses for an RC low pass filter on a microcontroller workbench. To smooth a PWM signal, your filter's cutoff frequency must be significantly lower than the PWM frequency—usually by a factor of 10 to 100. For example, if your Arduino outputs a 490 Hz PWM signal, setting your RC filter cutoff to 10 Hz will yield a very smooth DC voltage. The trade-off is response time: the lower the cutoff frequency, the longer it takes for the output voltage to settle when you change the PWM duty cycle. If you need fast settling times and low ripple simultaneously, you must increase the PWM frequency (using timer registers) rather than just lowering the filter cutoff.






