RC Filter Calculator (Low‑Pass & High‑Pass)
Design and analyze first‑order RC low‑pass or high‑pass filters. Compute cutoff frequency, magnitude (linear & dB), and phase shift at any frequency.
RC filter calculator
Key results
- Cutoff frequency fc
- 159.15 Hz
- Time constant τ = RC
- 1.00 ms
- Angular frequency ω = 2πf
- 6.283 krad/s
Frequency response at f
- Magnitude |H(jω)|
- 0.85
- Magnitude (dB)
- −1.41 dB
- Phase shift φ
- −35.0°
Tip: drag the frequency slider to see how magnitude and phase change across decades.
At f = fc, |H| = 1/√2 ≈ 0.707 (−3 dB) and |φ| = 45°.
What is an RC filter?
An RC filter is the simplest analog filter you can build: it uses one resistor (R) and one capacitor (C). Depending on how you connect them, the circuit behaves as:
- RC low‑pass filter – passes low frequencies, attenuates high frequencies.
- RC high‑pass filter – passes high frequencies, attenuates low frequencies.
Both are first‑order filters: their magnitude response rolls off at approximately 20 dB/decade (6 dB per octave) beyond the cutoff frequency.
RC low‑pass and high‑pass formulas
Cutoff frequency and time constant
Time constant: \(\tau = R C\)
Cutoff (−3 dB) frequency: \[ f_c = \frac{1}{2\pi R C} \]
At \(f = f_c\), the output magnitude is \(1/\sqrt{2} \approx 0.707\) of the pass‑band value, which corresponds to −3 dB.
Low‑pass RC filter transfer function
Standard low‑pass topology: resistor in series, capacitor to ground, output across the capacitor.
High‑pass RC filter transfer function
Standard high‑pass topology: capacitor in series, resistor to ground, output across the resistor.
How to choose R and C for a desired cutoff
If you know the desired cutoff frequency \(f_c\), you can choose any convenient R or C and solve for the other:
Practical guidelines:
- For audio filters, R between 1 kΩ and 100 kΩ is typical.
- Very large R increases noise and sensitivity to input bias currents.
- Very large C is bulky and may be more expensive or leaky (electrolytics).
- Pick standard E‑series values that are easy to source.
Example: audio low‑pass at 1.6 kHz
Suppose you want a simple low‑pass filter with \(f_c \approx 1.6\ \text{kHz}\) for audio.
- Choose \(R = 10\ \text{k}\Omega\).
- Compute \(C\): \[ C = \frac{1}{2\pi f_c R} = \frac{1}{2\pi \cdot 1600 \cdot 10\,000} \approx 9.95 \times 10^{-9}\ \text{F} \approx 10\ \text{nF} \]
- Use standard values R = 10 kΩ, C = 10 nF.
Enter these values in the calculator and you will see \(f_c \approx 1.59\ \text{kHz}\), magnitude ≈ 0.707 (−3 dB) and phase ≈ −45° at that frequency.
Common pitfalls and design tips
- Loading effects: The formulas assume the filter is not significantly loaded. If the next stage has a low input impedance, it will change the effective R and shift \(f_c\).
- Source impedance: A non‑ideal source resistance adds to R in a low‑pass or forms a divider in a high‑pass, again shifting the response.
- Tolerance: Real components have tolerances (e.g., ±5%). Expect the actual cutoff to vary accordingly.
- Noise: Higher resistance values increase thermal noise. For low‑noise designs, prefer smaller R and larger C.
FAQ
Is the cutoff frequency the same for low‑pass and high‑pass RC filters?
Yes. For a given R and C, both first‑order RC low‑pass and high‑pass filters have the same cutoff frequency \(f_c = 1/(2\pi R C)\). What changes is which side of that frequency is passed.
Can I cascade RC filters to get a steeper slope?
Yes. Cascading two identical RC low‑pass filters gives a second‑order response with approximately 40 dB/decade roll‑off. However, the exact response depends on how the stages load each other; for precise control, active filters with op‑amps are often used.
What happens at DC and very high frequency?
- Low‑pass: At DC (0 Hz) the capacitor is open‑circuit, so the output equals the input (gain ≈ 1). At very high frequency the capacitor shorts to ground, so the output tends to 0.
- High‑pass: At DC the capacitor blocks, so the output is 0. At very high frequency the capacitor behaves like a short, so the output tends to the input (gain ≈ 1).