rc filter calculator

Interactive RC Filter Calculator

Calculate cutoff frequency, time constant, capacitive reactance, and frequency response for first-order low-pass or high-pass RC filters.

What Is an RC Filter?

An RC filter is one of the most useful and fundamental circuits in electronics. It combines a resistor (R) and capacitor (C) to control how different signal frequencies are passed or attenuated. RC filters are found in audio devices, sensor interfaces, power supplies, timing circuits, and signal conditioning stages.

The two most common first-order RC filter configurations are:

  • Low-pass filter: passes low frequencies and reduces high frequencies.
  • High-pass filter: passes high frequencies and reduces low frequencies.

Core Formula Used by This Calculator

The most important value is the cutoff frequency (also called corner frequency), where the output magnitude drops to approximately 70.7% of the input, or -3 dB.

Cutoff frequency: fc = 1 / (2πRC)

The calculator also computes the RC time constant:

Time constant: τ = RC

Time constant tells you how fast capacitor voltage rises or falls in transient behavior. For many practical designs, the circuit is effectively settled after about .

How the Frequency Response Is Calculated

Low-pass RC filter

  • Magnitude: |H(jω)| = 1 / √(1 + (f/fc)²)
  • Phase: φ = -atan(f/fc)

High-pass RC filter

  • Magnitude: |H(jω)| = (f/fc) / √(1 + (f/fc)²)
  • Phase: φ = 90° - atan(f/fc)

How to Choose R and C Values

If you know the desired cutoff frequency, rearrange the formula: RC = 1 / (2πfc). Then pick a practical resistor and capacitor pair whose product matches this target. Typical workflow:

  1. Select a capacitor from standard values (for example 10 nF, 100 nF, 1 µF).
  2. Compute the needed resistor value.
  3. Choose the nearest standard resistor (E12/E24 series).
  4. Recalculate the real cutoff frequency using actual values.

Real-World Design Considerations

1) Component tolerance

Real resistors and capacitors have tolerance (for example ±1%, ±5%, ±10%). This shifts actual cutoff frequency. If precision matters, use tighter tolerance parts or trim during calibration.

2) Source and load impedance

Textbook RC equations assume ideal source and no loading. In practice, source resistance and load resistance can alter effective R and therefore move fc. Buffer stages (op-amps) can reduce this effect.

3) Capacitor technology

Ceramic, film, and electrolytic capacitors each behave differently across frequency, voltage, and temperature. For audio or precision filtering, film or C0G/NP0 ceramics are often preferred.

4) Noise and thermal effects

Larger resistor values can increase thermal noise and sensitivity to leakage currents. Very small capacitors can make the circuit more sensitive to parasitic capacitance from PCB traces.

Practical Examples

Example A: Simple low-pass for sensor smoothing

Suppose R = 10 kΩ and C = 100 nF. Then: fc ≈ 159.15 Hz. This is useful to smooth noisy sensor outputs while keeping slow signal changes.

Example B: High-pass for AC coupling

For audio line input, pick R = 47 kΩ and C = 100 nF. Then fc ≈ 33.86 Hz. This attenuates DC offset while preserving most of the audio band.

Quick Reference

  • At f = fc: gain = 0.707, attenuation = -3.01 dB
  • At f = 10fc: low-pass strongly attenuates; high-pass nearly passes all
  • At f = 0.1fc: low-pass nearly passes all; high-pass strongly attenuates

Final Notes

First-order RC filters are simple, inexpensive, and highly effective. This calculator is ideal for quick prototyping, classroom learning, and everyday design checks. For steeper roll-off, combine multiple stages or use active filter topologies (Butterworth, Bessel, Chebyshev) with op-amps.

🔗 Related Calculators