Tech & Digital
RC Filter Calculator (Cut-off Frequency and Response)
A resistor and a capacitor together make the simplest electronic filter. In a low-pass RC filter, the resistor is in series with the signal and the capacitor connects the output to ground; low frequencies pass almost unchanged, while high frequencies are shorted away through the capacitor. In a high-pass filter the positions are swapped: the capacitor blocks steady and low-frequency signals and passes high frequencies. Both are first-order filters, defined by a single number, the cut-off or corner frequency, equal to one divided by two pi times the resistance times the capacitance. At the cut-off frequency the output amplitude is 70.7 percent of the input, a loss of about 3 decibels, and the output power is halved. Beyond the cut-off, the response falls at 20 decibels per decade, meaning the signal drops tenfold for every tenfold increase in frequency for a low-pass filter, or every tenfold decrease for a high-pass filter. The filter also shifts the phase of the signal, by minus 45 degrees at the cut-off for a low-pass filter and plus 45 degrees for a high-pass filter. RC filters are used to remove noise from sensor readings, smooth PWM outputs, couple audio stages, set tone controls and prevent aliasing before analog-to-digital converters. This calculator takes the resistance, the capacitance and a test frequency, and returns the cut-off frequency, the time constant, the gain at the test frequency in volts per volt and decibels, the phase shift and a table of the frequency response.
How to use this calculator
- Choose a low-pass or high-pass filter.
- Enter the resistance in ohms.
- Enter the capacitance in microfarads.
- Enter a frequency at which you want to know the response.
- Read the cut-off frequency and use the table to see the full response.
Choosing component values
For a target cut-off, pick a convenient capacitor value and calculate the resistor with R = 1/(2π fc C), then round to the nearest standard value. Keep the resistor large enough not to load the source, and small compared with the input impedance of the next stage.
Capacitor tolerances are often 5 to 20 %, so the actual cut-off may differ by the same amount. Film and C0G ceramic capacitors are more stable than general-purpose ceramics.
Beyond first order
Cascading two RC stages gives a second-order filter with a 40 dB per decade slope, although passive stages interact; buffering each with an op-amp avoids this.
Active filter designs such as Sallen–Key and multiple-feedback circuits give sharper responses with Butterworth, Bessel or Chebyshev characteristics.
Formula & method
Cut-off frequency fc = 1 ÷ (2π R C)Low-pass gain = 1 ÷ √(1 + (f/fc)²); phase = −arctan(f/fc)High-pass gain = (f/fc) ÷ √(1 + (f/fc)²); phase = 90° − arctan(f/fc)Gain (dB) = 20 log₁₀(gain); slope −20 dB per decade beyond fcfc = 1/(2πRC); low-pass gain = 1/√(1 + (f/fc)²), phase = −arctan(f/fc); high-pass gain = (f/fc)/√(1 + (f/fc)²), phase = 90° − arctan(f/fc).
Worked example
A low-pass filter with R = 1 kΩ and C = 0.1 µF
- RC = 1,000 × 0.1 × 10⁻⁶ = 0.1 ms
- fc = 1 ÷ (2π × 0.0001) ≈ 1,591.55 Hz
- At fc: gain 0.7071 (−3.01 dB), phase −45°
Answer: Signals well below about 1.6 kHz pass, while higher frequencies are progressively reduced.
Frequently asked questions
What does −3 dB mean?
It is the point where the output voltage is 1/√2, about 70.7 %, of the input and the output power is half. It defines the edge of the filter's passband.
What is the time constant?
The time constant τ = RC is how long the capacitor takes to charge to about 63 % of a step input. It is related to the cut-off by fc = 1/(2πτ).
How much does the filter attenuate at ten times the cut-off?
A first-order low-pass filter attenuates by about 20 dB at ten times the cut-off frequency, reducing the amplitude to about one tenth.
Can I use an inductor instead of a capacitor?
Yes. An RL filter has a cut-off of R/(2πL) and behaves in the same way, though RC filters are more common at low frequencies because capacitors are smaller and cheaper.
Does the load affect the filter?
Yes. A load in parallel with the output changes the effective resistance and shifts the cut-off. Use a buffer or make sure the load impedance is much larger than R.
What units should I use?
Enter the resistance in ohms and the capacitance in microfarads. 100 nF is 0.1 µF and 10 pF is 0.00001 µF.