RC & RL Low-Pass / High-Pass Filter & Bode Plot Calculator

Compute −3 dB cutoff frequency fc, time constant τ, settling times, attenuation (dB) and phase shift at any test frequency with an interactive Bode magnitude SVG.

Jump to results

Inputs

Filter topology & components
Frequency evaluation

Results

Estimates
−3 dB Cutoff frequency (fc)159.15 Hz
Time constant (τ)
1 ms
Gain at f_test
-16.07 dB (15.7%)
Phase shift at f_test
-81°
Settling time (3τ / 5τ)
3 ms / 5 ms
Reactance at f_test
1.59 kΩ
Total impedance |Z|
10.13 kΩ
Bode magnitude plot (0.01·fc to 100·fc)
0 dB -20 dB -40 dB0.01×0.1×fc10×100×fc = 159.15 Hz (−3 dB) · Amber dot: f_test
Frequency response sweep
Frequencyf / fcMagnitude |H|Gain (dB)Phase (°)
1.59 Hz0.01×1-4.34e-4 dB-0.6°
15.92 Hz0.1×0.995-0.04 dB-5.7°
79.58 Hz0.5×0.8944-0.97 dB-26.6°
159.15 Hz1×0.7071-3.01 dB-45°
318.31 Hz2×0.4472-6.99 dB-63.4°
1.59 kHz10×0.0995-20.04 dB-84.3°
15.92 kHz100×0.01-40 dB-89.4°

First-order passive filters roll off at −20 dB/decade (−6 dB/octave). Buffer the output if downstream load impedance is less than 10× R.

Design first-order RC and RL filters with exact Bode attenuation and phase

First-order RC and RL networks appear everywhere in embedded hardware: anti-aliasing before an ADC, smoothing PWM into an analog reference, AC-coupling audio signals, debouncing mechanical switches and damping high-frequency rail noise.

At the cutoff frequency f_c, output amplitude drops to 70.7% (−3.01 dB) and phase shifts by 45°. Beyond f_c, magnitude rolls off asymptotically at −20 dB per decade (10× frequency reduces amplitude by 10×). Use C0G/NP0 ceramics for precision filtering so capacitance stays stable across DC bias and temperature.

Formulas

  • RC: τ = R × C; f_c = 1 ÷ (2π × R × C)
  • RL: τ = L ÷ R; f_c = R ÷ (2π × L)
  • Low-Pass |H(f)| = 1 ÷ √(1 + (f/f_c)²); Gain (dB) = 20·log10(|H|)

Worked example

A 10 kΩ resistor and 100 nF capacitor form an RC low-pass filter with τ = 1.00 ms and f_c = 159.15 Hz. At a 1 kHz test frequency (6.28× f_c), signal magnitude drops to 15.7% (−16.07 dB) with a −80.9° phase lag.

Frequently asked questions

How many time constants does an RC filter take to settle?

A step input reaches 63.2% in 1τ, 95.0% in 3τ, and 99.3% in 5τ. For 12-bit ADC settling (1/4096), allow roughly 8.3τ.

Why does my RC filter cutoff shift when connected to another stage?

A downstream resistive load forms a parallel divider with the filter output. Keep downstream load impedance at least 10× higher than R, or add a unity-gain op-amp buffer.

When should I pick an RL filter instead of an RC filter?

Use an RL choke filter on power rails carrying appreciable DC current where a series resistor would cause unacceptable voltage drop and I²R heat loss.