Tools / RC filter response at a frequency

How to work out RC filter gain and phase at a frequency

The cutoff tells you where the filter turns. The gain and phase tell you what it does to one frequency, which is what you measure on a scope.

fc = 1 ÷ 2πRC; |H| = 1 ÷ √(1 + (f/fc)²) low-pass, (f/fc) ÷ √(1 + (f/fc)²) high-pass

Inputs

Ω
nF
Hz

Results update as you type. Prefixes work: 4.7k, 100u, 10n.

Result
Cutoff frequency
1.592 kHz
Lowpass gain
303.3 mV
Lowpass gain (dB)
-10.36
Lowpass phase (°)
-72.34
Highpass gain
952.9 mV
Highpass gain (dB)
-0.4191
Highpass phase (°)
17.66
Step by step

The working with your numbers

  1. Find the cutofffc = 1 ÷ (2π × 10,000 × 10⁻⁸) = 1.59 kHz
  2. Compare the test frequency with itx = f ÷ fc = 5,000 ÷ 1,592 = 3.142
  3. Low-pass gain|H| = 1 ÷ √(1 + x²) = 1 ÷ √(1 + 9.87) = 0.3033 (−10.4 dB)
  4. Low-pass phaseφ = −arctan(x) = −72.3°The output lags the input.
  5. High-pass gain|H| = x ÷ √(1 + x²) = 0.9529 (−0.419 dB)
  6. High-pass phaseφ = +arctan(1 ÷ x) = +17.7°The output leads the input.

Does the answer make sense?

  • OK: Low-pass and high-pass gains satisfy |HL|² + |HH|² = 1 (0.092 + 0.908). At fc each is 0.707 (−3 dB).
  • OK: Slope check: far above fc the low-pass falls about 20 dB for every ten times in frequency. Your point is 3.14 times above fc.

Pick a real part

  • Standard parts: R = 10 kΩ (E24), C = 10 nF (E12) give fc = 1.59 kHz. At 5 kHz that is −10.4 dB low-pass.
  • On the scope, measure the gain as Vout(peak) ÷ Vin(peak) at the same frequency, and the phase from the time gap between the zero crossings: φ = 360° × Δt × f.

Common mistakes

  • Measuring Vin with the function generator unloaded. Its output drops when the filter loads it, so probe Vin at the filter, not at the generator dial.
  • Quoting phase without the sign. A low-pass lags (negative), a high-pass leads (positive).
  • Using the −3 dB point as 50 % of the voltage. It is 70.7 % of the voltage, which is 50 % of the power.

Learn it, try it, build it

Calculated, not measured. Check the exact part datasheet and your real circuit before powering anything.

Common questions

How do you work out the gain of an RC low-pass filter at a frequency?

|H| = 1 ÷ √(1 + (f ÷ fc)²), where fc = 1 ÷ (2πRC). At f = fc the gain is 0.707, or −3 dB. In dB, gain = 20 × log10(|H|).

What is the phase shift of an RC filter at the cutoff?

−45° for a low-pass (output lags) and +45° for a high-pass (output leads). It moves towards −90° or 0° as the frequency goes far above or below fc.