RC Filter Calculator

An RC filter uses a resistor and capacitor to control the frequency content of an electrical signal. By changing the arrangement of the resistor and capacitor, the circuit can operate as either a low-pass filter or a high-pass filter.

A low-pass filter allows lower frequencies to pass while attenuating higher frequencies. A high-pass filter does the opposite.

The RC Filter Calculator helps you determine the cutoff frequency, resistance, capacitance, gain, attenuation and phase response of a first-order passive RC filter. Enter two known component or design values to calculate the remaining value and examine the frequency response.

Load Example:
First-Order Low-Pass Topologyfc = 1.591549 kHz
VinR (10 kΩ)C (10 nF)Vout
Bode Magnitude Plot (dB)−3.01 dB @ fc
0−20−400.01fcfc100fc
Cutoff Frequency (fc)Low-Pass (−3.01 dB)
1.591549 kHz
Gain |H| = 0.15718 (--16.072 dB) • Phase = --80.96°
Cutoff Frequency (fc)
1.591549 kHz
Time Constant (τ = RC)
100 µs
Angular Cutoff (ωc)
10 krad/s
Capacitive Reactance (XC)
1.591549431 kΩ
Gain Ratio (|H|)
0.15718
Gain in dB
--16.072 dB
Attenuation / Phase Shift
16.072 dB | --80.96°
Output Amplitude (Vout)
157.176725 mV

Model assumptions: First-order passive RC stage driven by an ideal voltage source with an unloaded output (asymptotic stopband slope: 20 dB/decade).

  1. 1f_c = 1 / (2π R C) = 1 / (2π × 10 kΩ × 10 nF) = 1.591549 kHz
  2. 2τ = R C = 100 µs
  3. 3At f = 10 kHz: |H| = 0.15718, Gain = --16.072 dB, Phase = --80.96°
  4. 4V_out = V_in × |H| = 157.176725 mV

What Is an RC Filter?

An RC filter is an electrical filter constructed using resistors and capacitors. Its behaviour depends on input frequency because capacitive reactance (X_C = 1 / (2πfC)) changes with frequency. The cutoff frequency is where the output amplitude equals approximately 70.7% of the passband amplitude (−3.01 dB).

Low-Pass RC Filter

Allows low-frequency signals to pass across the output capacitor while attenuating higher frequencies as X_C decreases.

f_c = 1 / (2π R C)

High-Pass RC Filter

Blocks low-frequency signals with a series capacitor and passes higher frequencies across the shunt resistor. It shares the same f_c = 1 / (2πRC) equation for identical R and C values.

How to Use the Calculator

  1. Select Low-Pass or High-Pass.
  2. Select what you want to calculate.
  3. Enter the known resistance and capacitance values.
  4. Enter a test frequency if you want to inspect the response.
  5. Optionally enter an input amplitude.
  6. Calculate cutoff frequency, gain, attenuation, output amplitude, phase shift and inspect the Bode plot.

Worked Example — Cutoff & Time Constant

Given: R = 10 kΩ, C = 10 nF.

f_c = 1 / (2π × 10,000 × 10×10⁻⁹) ≈ 1,591.55 Hz ≈ 1.592 kHz

τ = R C = 10,000 × 10×10⁻⁹ = 100 µs

At cutoff: |H| ≈ 0.7071 (−3.0103 dB)

Gain at 10 kHz Test Frequency

Low-Pass |H_LP| ≈ 0.15718 (−16.07 dB), φ ≈ −80.96°

High-Pass |H_HP| ≈ 0.98757 (−0.109 dB), φ ≈ +9.04°

Compare transient RC step behavior in our RC Time Constant Calculator or resonant RLC filtering in the LC Resonance Calculator.

Understanding Phase Shift & Frequency Response

In a first-order low-pass filter, the output lags the input (−45° at f_c). In a high-pass filter, the output leads the input (+45° at f_c). Stopband attenuation rolls off at 20 dB per decade (≈ 6 dB per octave). To buffer an RC stage against heavy downstream loads, pair it with an amplifier designed in our Op-Amp Gain Calculator, check complex network behavior with the Impedance Calculator, or convert wave quantities in the Frequency & Wavelength Calculator.

Applications

  • Signal smoothing & PWM smoothing.
  • Noise attenuation & ADC input filtering.
  • AC coupling & switch debouncing.
  • Simple audio circuits & sensor signal conditioning.

Common Mistakes & Limitations

  • Confusing low-pass and high-pass topologies or taking Vout from the wrong node.
  • Forgetting 2π, mixing Hz/kHz or nF/µF, or using 10 log instead of 20 log for voltage.
  • Assuming a first-order filter has a 40 dB/decade slope.
  • Ignoring component tolerances, ESR, source impedance and load impedance.

Frequently Asked Questions

1. What is the RC filter cutoff frequency formula?

f_c = 1 / (2π R C)

2. What is the difference between a low-pass and high-pass filter?

A low-pass filter passes lower frequencies, while a high-pass filter passes higher frequencies.

3. What happens at the cutoff frequency?

The output amplitude is approximately 70.7% of the passband amplitude, equivalent to −3.01 dB.

4. Does a low-pass and high-pass RC filter have the same cutoff frequency?

For the ideal first-order configurations with the same R and C values, yes.

5. What is the phase shift at cutoff?

Approximately −45° for low-pass and +45° for high-pass.

6. What is the roll-off of a first-order RC filter?

Approximately 20 dB per decade in the stopband.

7. Can this calculator design an active filter?

No. It is designed for first-order passive RC low-pass and high-pass circuits.

8. Why can the actual cutoff differ from the calculated value?

Component tolerances, source resistance, load resistance and parasitic effects can change the actual frequency response.

Conclusion

The RC Filter Calculator provides a practical way to design and understand first-order low-pass and high-pass RC circuits. It combines cutoff-frequency calculations, reverse component design, gain, attenuation, phase response and interactive frequency plots.

Explore companion electronics and circuit calculators for component decoding, DC/AC analysis, filtering, timing, and RF design.