1.592 kHzgain −3.0 dBphase −45.0°
Move over the plot (or drag a finger along it) to read any frequency.
fc = 1 / (2π × R × C) = 1 / (2π × 1 kΩ × 100 nF) = 1.592 kHz
τ = R × C = 1 kΩ × 100 nF = 100 µs
An RC low-pass filter is a resistor in series and a capacitor to ground. At low frequencies the capacitor is close to an open circuit and the signal passes. At high frequencies it is close to a short and the signal is shunted away. Swap the two parts and you get a high-pass filter. The cutoff frequency is where the two regimes meet:
fc = 1 / (2π × R × C)  · RL filter: fc = R / (2π × L)
At fc the output is 1/√2 = 70.7% of the input amplitude, which is half the power, or −3 dB. The phase is shifted by 45°: lagging for a low-pass, leading for a high-pass. Example: 1 kΩ and 100 nF give 1 / (2π × 1000 × 0.0000001) = 1591.5 Hz.
The cutoff is not a wall. A 1.6 kHz low-pass still lets a 3.2 kHz signal through at 45% of its amplitude. If you need a frequency gone, check it with the "Check a frequency" field above rather than assuming anything past fc disappears.
τ = R × C  · fc = 1 / (2π × τ)
The same two parts set how fast the filter responds to a step. τ (tau) is the time to reach 63.2% of a step, and after 5τ the output is within 1% of it. 10 kΩ and 1 µF give τ = 10 ms: such a filter takes about 50 ms to settle, and its cutoff is 15.9 Hz. For RL filters the time constant is τ = L / R. The capacitor calculator draws the charging curve and works out the time to any voltage.
Well past the cutoff, a first-order filter (one R and one C, or one R and one L) loses 20 dB for every tenfold step in frequency, which is 6 dB per octave. At 10 × fc the output is a tenth of the input; at 100 × fc it is a hundredth. That is the straight downward slope on the Bode plot.
A second-order filter, such as the LC low-pass, falls 40 dB per decade. Two RC stages in a row also get steeper, but the second stage loads the first, so the corner moves and softens. Make the second resistor at least ten times the first, or put a buffer between them.
f₀ = 1 / (2π × √(L × C))  · Q = R × √(C / L)
At the resonant frequency the inductor's reactance (2πfL) equals the capacitor's (1 / 2πfC), and they cancel. 10 µH and 100 nF resonate at 159 kHz. That is the frequency an LC tank rings at and the frequency an LC oscillator or an RF matching network is tuned to.
In an LC low-pass with a load R across the capacitor, Q says how the response behaves around f₀. At Q = 0.707 (a Butterworth filter) the passband is as flat as it gets and the −3 dB point falls on f₀. Lower Q droops early; higher Q peaks above 0 dB and rings on transients. A switching regulator's output filter with a light load can have a Q of 5 or more, which is why its datasheet asks for a minimum capacitor ESR or a damping network. The inductor's own resistance and the source impedance add damping this calculator leaves out.
An ADC sampling at 1 kHz can't tell a 900 Hz signal from a 100 Hz one. A low-pass in front removes what it can't sample. 10 kΩ and 100 nF put fc at 159 Hz and cut 500 Hz (half the sample rate) to −10.4 dB.
The capacitor also feeds the ADC's sample-and-hold, so keep it close to the pin.
Filter a 5 kHz PWM pin with 10 kΩ and 1 µF (fc = 15.9 Hz) and you get a DC voltage of duty × 3.3 V. The leftover ripple is about V × D × (1 − D) / (f × R × C): 16.5 mV peak to peak at 50% duty.
A bigger RC means less ripple but a slower response (Ï„ = 10 ms here). A faster PWM lets you have both.
Switch contacts bounce for a few milliseconds. 10 kΩ and 470 nF give τ = 4.7 ms, slow enough to smooth the bounce and fast enough that a press still feels instant.
Feed it into a Schmitt-trigger input, or the slow edge can toggle the pin more than once.
The formulas are the standard first- and second-order filter results, as in Horowitz and Hill, The Art of Electronics (3rd edition), chapter 1.7. The plot shows the ideal filter driven from a zero-ohm source.
GrandpaCAD's chat picks real parts, draws the schematic, routes the PCB and checks it against JLCPCB's rules. You get Gerbers, BOM, pick-and-place, a KiCad project and a 3D board, plus a printed case if you want one.
"ESP32 board with a PWM output filtered to a 0–3.3 V analog signal"