100nF

RC filter

Corner frequency of a first-order RC section, and the time constant that goes with it. Solve for whichever of the three you are missing.

0-10-20-30-40−3 dB1.59 kHzfc/100fc×100dB−20 dB/dec
Fig 1 — Magnitude response. The corner sits at 1.59 kHz, 3 dB down.
Cutoff (-3 dB)
1.59 kHz
Resistance
1.00 kΩ
Capacitance
100 nF
Time constant
100 µs
Rise time (10-90 %)
220 µs

What it computes

One resistor in series, one capacitor to ground. The capacitor's reactance falls with frequency, so the divider it forms with R passes DC and rolls off above the frequency where XC equals R. That is the corner, and everything else follows from the time constant τ = RC.

fc = 1 / (2π · R · C)              −3 dB point; |H| = 1/√2, phase −45°
τ  = R · C                         step reaches 63 % at τ, 99 % at 4.6 τ
tr = ln(9) · τ ≈ 2.2 · τ           10 % to 90 % rise time on a step
|H(f)| = 1 / √(1 + (f/fc)²)        −20 dB/decade well above fc

Nothing here comes from a standard; it is the first-order low-pass from any circuits text (Horowitz & Hill, The Art of Electronics, section 1.7). The 2.2 τ figure is the one with consequences: it links the filter to the edge you are filtering, and through BW ≈ 0.35 / tr it links back to bandwidth. The tool solves for whichever of fc, R or C you leave out and reports τ and tr for the pair.

Worked example

An ADC input with a 4.7 kΩ series resistor and 10 nF to ground.

τ  = 4700 × 10e-9      = 47.0 µs
fc = 1 / (2π × 47e-6)  = 1 / 2.953e-4 = 3.39 kHz
tr = 2.2 × 47 µs       = 103 µs

The calculator gives 3.39 kHz, 47.0 µs and 103 µs. Going the other way, solving for the capacitor that puts a 10 kΩ source at 1 kHz:

C = 1 / (2π × 1000 × 10 000) = 15.9 nF   →  fit 15 nF (1.06 kHz) or 18 nF (884 Hz)

Now the two things the formula does not know about. Suppose the signal comes from a 1 kΩ source (a sensor output, an op-amp with a series isolation resistor) and feeds a 100 kΩ load:

Source impedance adds to R:
  R' = 4.7k + 1k = 5.7 kΩ      fc = 1 / (2π × 5700 × 10n) = 2.79 kHz

Load in parallel with C, Thévenin:
  R_th = 4.7k ∥ 100k = 4.49 kΩ  fc = 1 / (2π × 4490 × 10n) = 3.55 kHz
  DC gain = 100 / 104.7 = 0.955  = −0.40 dB

Make the series resistor 100 kΩ to save current and the same load halves the signal.

Where it stops being valid

Cascading two sections. Two identical RCs in a row do not give −6 dB at fc and −40 dB/decade from there. Twobuffered sections do: each contributes −3 dB, and the pair reaches −40 dB/decade well above the corner. Unbuffered, the second section loads the first and the transfer function is 1 / (1 + 3sτ + s²τ²). At the design fc that is 20·log(1/3) = −9.5 dB, the real −3 dB point has dropped to about 0.37 fc, and the two poles are spread apart (at 0.38/τ and 2.62/τ), so the slope only reaches −40 dB/decade a decade above the higher one. The usual fix is to make the second stage ten times higher in impedance (R2 = 10 R1, C2 = C1/10) so the loading is a few percent; the better fix is a buffer, or a proper second-order Sallen-Key if you need a defined corner.

Anti-aliasing for an ADC. A single pole is 20 dB per decade. Sampling at 10 kHz with fc at 1 kHz attenuates a 9 kHz interferer (which aliases to 1 kHz) by only about 19 dB. A 12-bit converter wants 72 dB. So a single RC is an anti-alias filter only when the oversampling ratio is large: sigma-delta parts at 1 MHz modulator rates, or SAR parts oversampled in firmware. For a SAR sampling near Nyquist, the RC's job is different. It is a charge reservoir for the sample-and-hold: C should be 10 to 20 times the ADC's sampling capacitor and R small enough that the reservoir recharges within the acquisition time, which for a 10 pF hold cap and 1 µs acquisition means well under 10 kΩ. Those two constraints, not the corner, set the values; check them against the ADC datasheet's Rsource maximum.

Fast edges. Above a few MHz the capacitor's ESL and the resistor's parasitic capacitance appear. A 0603 MLCC self-resonates in the tens of MHz and looks inductive above that; a 10 kΩ thick-film resistor has 0.1 to 0.2 pF across it, which at 100 MHz is 8 kΩ of bypass. The roll-off flattens well short of the floor you expected.

Ceramic DC-bias derating. The C in the formula is the capacitance the part actually has at its operating voltage. Class 2 ceramics (X5R, X7R) lose capacitance with DC bias, badly so in small packages: a 0402 10 V X5R at 3.3 V can be at 60 % of nominal, a 0603 16 V X7R at 5 V is often at 70 to 80 %. Würth ANP062 has the curves. The corner moves up by the same factor. For a filter on a biased node, use C0G/NP0 (no bias effect, but only up to a few tens of nF), a physically larger package with a higher voltage rating, or size the corner with the derated value from the manufacturer's tool. Time constants for timing (reset delays, debounce) have the same problem, plus X7R's ±15 % over temperature.

Common mistakes

Further reading