Compute cutoff frequency (fc), time constant (τ), and visualize the magnitude frequency response of a passive RC low-pass filter. Evaluate attenuation at any frequency.
A RC low-pass filter is a fundamental first-order passive filter that attenuates high-frequency signals while allowing low-frequency signals to pass. It consists of a single resistor (R) and a capacitor (C) in series, with the output taken across the capacitor. The frequency at which the output power drops to half (−3 dB) is the cutoff frequency fc = 1/(2πRC). The filter's behavior is governed by the voltage divider principle with complex impedances, leading to the transfer function H(f) = 1 / (1 + jf/fc).
? Key formulas:
$$ f_c = \frac{1}{2 \pi R C} \qquad \tau = R \cdot C \qquad |H(f)| = \frac{1}{\sqrt{1+(f/f_c)^2}} \qquad A_{dB}(f) = 20 \log_{10}|H(f)| $$
The transfer function in the frequency domain is derived using the capacitive reactance XC = 1/(jωC). Output voltage Vout = Vin × (XC)/(R + XC) = Vin / (1 + jωRC). The magnitude squared is |H(ω)|² = 1 / (1 + (ωRC)²). The cutoff frequency ωc = 1/RC defines the corner where the real and imaginary parts are equal. The phase shift varies from 0° at DC to -90° at high frequencies, with φ = -arctan(f/fc) at the cutoff being -45°.
This filter exhibits a -20 dB/decade roll-off (or -6 dB/octave) beyond the cutoff frequency, making it suitable for eliminating high-frequency noise, smoothing pulse-width modulation (PWM) signals, and creating simple audio equalizers. In real-world design, component tolerances (typically ±5% to ±20% for capacitors) affect fc accuracy. Our calculator offers ideal theoretical values — critical for initial design phases.
Before an analog-to-digital converter (ADC), a low-pass filter removes frequencies above Nyquist. For a 44.1 kHz audio system (Nyquist ≈ 22.05 kHz), set fc around 20 kHz. Using C = 1 nF, we require R = 1/(2π×20k×1nF) ≈ 7.96 kΩ (use 8.2 kΩ). Our calculator confirms fc ≈ 19.4 kHz, attenuation at 22 kHz ≈ -1.9 dB, providing adequate anti-aliasing. This approach preserves audio integrity.
Microcontrollers generate PWM at a high frequency (e.g., 10 kHz to 100 kHz). A low-pass filter extracts the average DC value. Set fc an order below PWM frequency. For 10 kHz PWM, choose fc ≈ 1 kHz. With C = 100 nF, R = 1/(2π×1k×100nF) ≈ 1.59 kΩ. The filter reduces ripple while maintaining fast response. Our interactive plot shows -20 dB/decade attenuation: at 10 kHz ripple is attenuated by approx -20 dB (10× reduction).
| Application | fc (typical) | Example R / C | Attenuation at 10×fc |
|---|---|---|---|
| Biomedical (ECG) | 150 Hz | 10 kΩ / 106 nF | ≈ -20 dB |
| Audio crossover (tweeter) | 3.5 kHz | 4.7 kΩ / 9.7 nF | ≈ -20 dB |
| Power supply ripple rejection | 120 Hz | 1 kΩ / 1.33 µF | ≈ -26 dB @ 1.2 kHz |
| Sensor signal conditioning | 10 Hz | 10 kΩ / 1.6 µF | excellent noise rejection |
For steeper roll-off, cascade multiple RC stages (2nd-order filter yields -40 dB/dec) or active filters (Sallen-Key). For applications needing high input impedance, buffers are recommended. The interactive Bode plot here is exact for ideal components; parasitic elements (ESR, stray capacitance) may alter real-world response at very high frequencies (>MHz). Nevertheless, this calculator serves as an authoritative baseline for analog design, referenced in countless university courses (MIT 6.002, Berkeley EE105).