RC Filter Calculator

Find the cutoff frequency of an RC low-pass or high-pass filter — or the R or C you need — plus gain and phase at any frequency.

Cutoff frequency—
Time constant τ—
Settling (5τ)—
Gain at f—
Phase at f—

This free RC filter calculator finds the cutoff frequency of a first-order RC low-pass or high-pass filter, or the resistor or capacitor you need for a target frequency. It also gives the RC time constant, the settling time and the gain in dB and phase shift at any frequency — useful for anti-aliasing filters, PWM smoothing, switch debouncing and AC coupling.

RC filter formulas

fc = 1 ÷ (2π R C)  ·  C = 1 ÷ (2π R fc)  ·  R = 1 ÷ (2π C fc)
τ = R × C
Low-pass gain: |H| = 1 ÷ √(1 + (f/fc)²), phase = −arctan(f/fc)
High-pass gain: |H| = (f/fc) ÷ √(1 + (f/fc)²), phase = +arctan(fc/f)

Worked example: anti-aliasing filter for an ADC

With R = 10 kΩ and C = 100 nF, fc = 1 ÷ (2π × 10,000 × 100 × 10⁻⁹) = 159 Hz. A 1 kHz noise signal is reduced to 1 ÷ √(1 + 6.28²) = 0.157, i.e. −16 dB. For a 1 kHz cutoff instead, keep R = 10 kΩ and use C = 1 ÷ (2π × 10,000 × 1000) ≈ 15.9 nF — the nearest standard value is 15 nF.

RC cutoff frequency chart

Cutoff (−3 dB) frequency for common resistor and capacitor values. It is the same for low-pass and high-pass filters.

CapacitorR = 1 kΩR = 10 kΩR = 100 kΩ
1 nF159 kHz15.9 kHz1.59 kHz
10 nF15.9 kHz1.59 kHz159 Hz
100 nF1.59 kHz159 Hz15.9 Hz
1 µF159 Hz15.9 Hz1.59 Hz
10 µF15.9 Hz1.59 Hz159 mHz

Where RC filters are used

Scaling a signal down before filtering it? Use the voltage divider calculator.

Frequently asked questions

How do I calculate the cutoff frequency of a low-pass filter?

Use fc = 1 ÷ (2π × R × C), with R in ohms and C in farads. For R = 10 kΩ and C = 10 nF: 1 ÷ (2π × 10,000 × 0.00000001) = 1.59 kHz. The same formula applies to an RC high-pass filter.

How do I filter PWM into an analog voltage?

Set the RC cutoff far below the PWM frequency — at least 10 to 100 times lower — so the ripple is small. For the roughly 490 Hz PWM of an Arduino Uno, 10 kΩ and 10 µF give a cutoff of 1.59 Hz, which smooths it well but takes about 0.5 s (5τ) to settle. A higher PWM frequency allows a faster filter.

What is the cutoff frequency of an RC filter?

The cutoff (or −3 dB) frequency is fc = 1 ÷ (2π × R × C). At this frequency the output is 70.7% of the input amplitude (half the power) and the phase shift is 45°.

What is the difference between an RC low-pass and high-pass filter?

Both use one resistor and one capacitor and have the same cutoff formula. In a low-pass filter the capacitor goes from the output to ground, so high frequencies are shorted away. In a high-pass filter the capacitor is in series with the signal, blocking DC and low frequencies.

How steep is an RC filter?

A single RC stage rolls off at 20 dB per decade (6 dB per octave) beyond the cutoff. For a sharper response, cascade stages (with buffering) or use an active filter such as a Sallen-Key.

What is the RC time constant?

τ = R × C is the time for the capacitor voltage to reach 63.2% of a step change. After 5τ it is within 1% of the final value, which is why 5τ is a common "fully settled" figure.

Standard formulas, tested results

This calculator uses standard engineering formulas, shown in the method section above, and is checked against hand-worked examples. How the calculators are made.

Related calculators