RC Filter Calculator: Low-Pass and High-Pass Cutoff, Gain, Phase and Bode Plot
By FindMySum · Last reviewed
A resistor and a capacitor are enough to build a filter: one that lets low frequencies through and blocks high ones, or the reverse. This RC filter calculator finds the cutoff frequency of a first-order RC or RL filter, or the resistor, capacitor or inductor that gives the cutoff you want, with the nearest standard part. It also gives the gain and phase at any frequency, draws the Bode plot, handles identical stages in cascade, and covers the second-order series RLC filter.
The cutoff frequency
For an RC filter, the cutoff (or corner) frequency is
f꜀ = 1 ÷ (2πRC)
and for an RL filter, f꜀ = R ÷ (2πL). At f꜀ the reactance of the capacitor or inductor equals the resistance, and the output is 1 ÷ √2 of the input, which is −3 dB, or half power. The time constant, τ = RC or L ÷ R, is 1 ÷ (2πf꜀).
- Low-pass: the resistor is in series and the output is taken across the capacitor. Low frequencies pass almost untouched; high frequencies are shunted to ground.
- High-pass: the capacitor is in series and the output is taken across the resistor. The capacitor blocks DC and low frequencies.
Worked example: 1 kΩ and 100 nF
The calculator opens with a low-pass filter of 1 kΩ and 100 nF.
- RC = 1,000 × 100 × 10⁻⁹ = 100 µs
- f꜀ = 1 ÷ (2π × 100 µs) = 1,591.5 Hz
At the 1 kHz check frequency, f ÷ f꜀ = 0.628, so the gain is 1 ÷ √(1 + 0.628²) = 0.847, or −1.45 dB, and the output lags the input by atan(0.628) = 32.1°. Switch to high-pass and the same parts give 0.532 (−5.48 dB) with a phase lead of 57.9°: the low-pass and high-pass gains at any frequency always add up, in power, to the input.
Gain, phase and the Bode plot
The low-pass gain is |H| = 1 ÷ √(1 + (f/f꜀)²) and the high-pass gain is (f/f꜀) ÷ √(1 + (f/f꜀)²). In decibels, 20 log₁₀|H|. Far beyond the cutoff a first-order filter falls 20 dB per decade, which is 6 dB per octave: at ten times f꜀ the output is a tenth of the input.
The Bode plot shows the gain in dB against frequency on a log scale, two decades either side of the cutoff, with the −3 dB line and your check frequency marked. The table beside it lists gain and phase at regular steps. A low-pass filter's phase runs from 0° to −90°, passing −45° at the cutoff; a high-pass runs from +90° to 0°.
Choosing parts for a target cutoff
Switch Solve for to the resistor or the capacitor and enter the cutoff you want. The calculator rearranges the formula, C = 1 ÷ (2πf꜀R) or R = 1 ÷ (2πf꜀C), and suggests the nearest E12 preferred value with the cutoff that part actually gives. For 1 kHz with 10 kΩ, you need 15.9 nF; the nearest E12 capacitor is 15 nF, giving 1,061 Hz. In practice, choose the resistor first to suit the source and load impedances, then pick the capacitor.
Cascading stages
One RC stage rolls off slowly. Putting n identical stages in series, each buffered so it does not load the one before, multiplies their responses: the slope becomes 20n dB per decade, but at the single-stage cutoff the combined gain is already −3n dB. The overall −3 dB point moves to f꜀ × √(2^(1/n) − 1) for low-pass. Three stages of the default filter give 811 Hz instead of 1,592 Hz. Without buffers, each stage loads the previous one and the response sags further, which is why active filters are used for sharp cutoffs.
Second-order RLC filters
A series resistor, inductor and capacitor, with the output across the capacitor, makes a second-order low-pass filter that falls 40 dB per decade. Its natural frequency is f₀ = 1 ÷ (2π√(LC)) and its quality factor Q = (1/R)√(L/C). With Q = 0.707 the response is maximally flat (Butterworth). Higher Q gives a resonant peak at f₀, equal to Q: 100 Ω, 10 mH and 100 nF give f₀ = 5.03 kHz and Q = 3.16, a +10 dB peak. Taking the output across the inductor makes the high-pass version.
Limits
These are the ideal formulas: a source with no output resistance, an output that drives no load, and perfect parts. A real source adds its resistance to R, a load in parallel with the output lowers both the gain and the cutoff, capacitors have tolerances of 5% to 20% and inductors have resistance that lowers Q. For the time-domain view of the same circuit, how fast a capacitor charges through a resistor, use the capacitance calculator.
More questions
Is an RC filter the same as an RC time constant circuit?
They are the same two parts seen from two angles. The time constant τ = RC describes how fast the capacitor charges after a step (63% in one τ), and the cutoff frequency f꜀ = 1 ÷ (2πτ) describes which sine waves pass. A circuit with τ = 100 µs charges to 63% in 0.1 ms and has a cutoff of about 1.6 kHz.
Why use 2π in the cutoff formula?
The capacitor's reactance is 1 ÷ (ωC), where ω = 2πf is the angular frequency in radians per second. The cutoff is where the reactance equals R, so ω꜀ = 1 ÷ (RC) and f꜀ = 1 ÷ (2πRC). Engineers often quote ω꜀ in rad/s; the calculator gives f꜀ in hertz.
What is an anti-aliasing filter?
A low-pass filter in front of an analog-to-digital converter that removes frequencies above half the sampling rate, which would otherwise fold back into the measured band as false signals. A single RC stage is common for slow sensors; audio converters use sharper active or digital filters.
How do I filter noise from a sensor signal?
Put a low-pass RC filter with a cutoff a few times above the fastest change you need to see. For a temperature sensor read once a second, a cutoff of 10 Hz is plenty and removes mains hum at 60 Hz by about 16 dB. Choose R small enough that the input of the next stage doesn't load it.
Can I make a band-pass filter from RC parts?
Yes: a high-pass followed by a low-pass, with the high-pass cutoff below the low-pass cutoff, passes the band between them. With passive parts the second stage loads the first, so use a buffer between them or make the second stage's impedance at least ten times higher.
Why does my measured cutoff differ from the calculation?
Component tolerances (capacitors are often ±10% or worse), the source's output resistance adding to R, the load's resistance in parallel with the output, and stray capacitance at high frequencies all shift it. Measure the frequency where the output falls to 70.7% of its low-frequency value to find the real cutoff.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.