RC Filter Cutoff Frequency Calculator

Find the cutoff frequency of an RC low-pass or high-pass filter, solve for R or C, and see the gain in dB at any frequency on a Bode plot.

  • Free, no signup
  • Works on mobile
  • Formula + worked example

How to use the RC filter calculator

  1. Choose Low-pass (passes slow signals, blocks fast ones) or High-pass (blocks DC and slow signals, passes fast ones).
  2. Choose what to calculate: Find fc from R and C, or Find R / Find C for a cutoff frequency you want. When solving for a part, you also get the nearest standard value (E24 resistors, E12 capacitors) and the real cutoff it gives.
  3. Enter a signal frequency to check to see the gain in dB, the output-to-input ratio, the phase shift and — if you enter an input amplitude — the output voltage.

The Bode plot uses a logarithmic frequency axis. The black dot marks the −3 dB cutoff point, the grey dashed lines are the straight-line approximation, and the blue dot is your test frequency.

Formula

fc = 1 ÷ (2π × R × C) τ = R × C, fc = 1 ÷ (2πτ) Low-pass: |H| = 1 ÷ √(1 + (f/fc)²) phase = −arctan(f/fc) High-pass: |H| = (f/fc) ÷ √(1 + (f/fc)²) phase = 90° − arctan(f/fc) Gain in dB = 20 × log₁₀ |H|

At f = fc both filters give |H| = 1/√2 = 0.707, which is −3 dB. Far past the cutoff, a single RC stage changes by 20 dB per decade (a factor of 10 in voltage for every 10× in frequency).

f compared with fcLow-pass gainHigh-pass gain
fc ÷ 10−0.04 dB (99.5%)−20.0 dB (9.95%)
fc ÷ 2−0.97 dB (89.4%)−6.99 dB (44.7%)
fc−3.01 dB (70.7%)−3.01 dB (70.7%)
2 × fc−6.99 dB (44.7%)−0.97 dB (89.4%)
10 × fc−20.0 dB (9.95%)−0.04 dB (99.5%)
100 × fc−40.0 dB (1.0%)≈ 0 dB (100%)

Where RC filters are used

  • PWM to analog — turning an Arduino or ESP32 PWM output into a voltage. Work out the duty cycle with the PWM duty cycle calculator.
  • Sensor smoothing — a low-pass in front of an ADC input removes noise. Check the reading with the ADC voltage calculator.
  • Audio coupling — a high-pass (series capacitor) blocks DC between amplifier stages while passing sound.

Common mistakes

  • Forgetting the 2π. τ = RC is not the same as 1/fc. 10 kΩ and 100 nF give τ = 1 ms but fc = 159 Hz, not 1 kHz.
  • Loading the filter. The formula assumes the next stage draws almost no current. Keep its input resistance at least 10× R, or add an op-amp buffer.
  • Ignoring the source resistance. Whatever drives the filter adds its own resistance to R and lowers fc.
  • Expecting a brick wall. One RC stage rolls off gently. Signals just above fc still get through at reduced size.

Learn more

See how fast the same R and C charge with the RC time constant calculator, and read PWM explained: LED dimming and motor speed and capacitors explained for beginners. Want to try it on a real board? Our Arduino kits include the resistors and capacitors you need.

Frequently asked questions

What is the formula for RC filter cutoff frequency?+

fc = 1 ÷ (2π × R × C). With R = 10 kΩ and C = 100 nF, fc = 1 ÷ (2π × 10,000 × 0.0000001) ≈ 159 Hz. The same formula works for both low-pass and high-pass RC filters.

What does −3 dB at the cutoff frequency mean?+

At fc the output is 1/√2 ≈ 70.7% of the input voltage, which is −3 dB, and the output power is half. Above fc a low-pass filter falls by 20 dB (10×) for every 10× rise in frequency.

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

In a low-pass filter the resistor is in series and the capacitor goes to ground; it passes slow signals and blocks fast ones. Swap them — capacitor in series, resistor to ground — and you get a high-pass filter that blocks DC and low frequencies.

How do I filter Arduino PWM into a steady voltage?+

Use an RC low-pass with fc far below the PWM frequency. Arduino Uno PWM is about 490 Hz on most pins; 10 kΩ and 10 µF give fc ≈ 1.6 Hz, cutting the 490 Hz ripple to about 0.3% (−50 dB). The trade-off is slow response: τ = 0.1 s.

Can I connect two RC filters for a sharper cutoff?+

Yes, two stages give about −40 dB per decade, but the second stage loads the first and moves the corner. Make the second resistor about 10× larger than the first, or put an op-amp buffer between them.

From the Thinking Robot store

Shop all
All tools
WhatsApp