Quiz: RC Filter Calculator

Enter resistance, capacitance, filter type, and a signal frequency to get the cutoff frequency, voltage gain, attenuation (dB), and phase shift of a first-order RC filter.

Quick Facts

Cutoff frequency
f_c = 1 / (2πRC)
The -3 dB point where gain falls to 1/√2 ≈ 70.7% of the passband.
Low-pass gain
|H(f)| = 1 / √(1+(f/f_c)²)
Highest near f = 0; falls off above f_c.
High-pass gain
|H(f)| = (f/f_c) / √(1+(f/f_c)²)
Near zero at low f; rises toward 1 above f_c.
Rolloff rate
≈ 6 dB/octave (≈ 20 dB/decade)
Typical for a single first-order RC stage.

Your Results

Calculated
Cutoff Frequency (f_c)
-
-3 dB corner frequency, in Hz
Voltage Gain |H(f)|
-
Output/input amplitude ratio at f
Attenuation
-
Gain expressed in decibels (dB)
Phase Shift
-
Output-to-input phase angle, in degrees

Ready

Enter resistance, capacitance, and a signal frequency, then press Calculate.

How to Use the RC Filter Calculator

An RC filter uses a single resistor and capacitor to shape a signal's frequency content. Depending on where the output is tapped, the same two-component network can be either a low-pass filter (passes low frequencies, attenuates high ones) or a high-pass filter (passes high frequencies, attenuates low ones). This calculator takes your resistance, capacitance, filter type, and a signal frequency, then reports the cutoff frequency along with the exact voltage gain, attenuation in decibels, and phase shift the filter produces at that frequency.

Deriving the low-pass and high-pass response

A capacitor's impedance falls as frequency rises: X_C = 1/(2πfC). In a low-pass RC filter the output is taken across the capacitor, which forms a voltage divider with the resistor. Treating the network as a complex divider gives a transfer function H(f) = 1/(1 + jf/f_c), where the cutoff frequency is f_c = 1/(2πRC) — the point where X_C equals R. Taking the magnitude gives the gain |H(f)| = 1/√(1+(f/f_c)²), and the phase angle is φ = −arctan(f/f_c), meaning the output increasingly lags the input as frequency rises. Swap the resistor and capacitor positions (output across the resistor instead) and the roles invert: the high-pass transfer function is H(f) = (jf/f_c)/(1 + jf/f_c), giving gain |H(f)| = (f/f_c)/√(1+(f/f_c)²) and phase φ = 90° − arctan(f/f_c). Both filters share the same cutoff formula and both cross |H| = 1/√2 ≈ 0.707 (equivalently −3.01 dB) exactly at f = f_c, but they approach that point from opposite directions.

Practical design notes

  • Rolloff is gradual, not a hard wall: a single RC stage attenuates at roughly 6 dB per octave (about 20 dB per decade), so a low-pass filter still passes a meaningful fraction of a signal one octave above cutoff (about 45%, or −7 dB) rather than blocking it outright. Cascading multiple RC stages (or using an active filter topology) steepens the rolloff for applications that need sharper separation.
  • Loading matters: the formulas above assume the filter drives a high-impedance load and is driven by a low-impedance source. A load comparable to R, or a source impedance comparable to X_C, shifts the effective cutoff frequency — buffer the filter with an op-amp follower when the downstream impedance is not much larger than R.
  • Component tolerance and rounding: standard resistors and capacitors carry ±1% to ±20% tolerance, and common capacitor values (e.g. 0.1 µF, 100 nF) are rounded from the exact calculated value. Recompute the cutoff with the nearest real-world part values before finalizing a design.
  • Common uses: low-pass RC filters remove high-frequency noise and anti-alias signals before an ADC; high-pass RC filters (also called AC-coupling or DC-blocking capacitors) strip DC offset from audio and sensor signals while passing the frequencies of interest.

Frequently Asked Questions

What is an RC filter and how does it work?
An RC filter is a single resistor and capacitor arranged to pass some frequencies while attenuating others. In a low-pass filter the output is taken across the capacitor, so low frequencies (where the capacitor's reactance is high) pass through with little loss while high frequencies are attenuated. In a high-pass filter the output is taken across the resistor instead, reversing that behavior so high frequencies pass and low frequencies are attenuated.
How do I calculate the cutoff frequency of an RC filter?
Use f_c = 1 / (2πRC), where R is resistance in ohms and C is capacitance in farads. For example, a 4.7 kΩ resistor with a 0.1 µF capacitor gives f_c = 1 / (2π × 4700 × 0.0000001) ≈ 338.6 Hz. This formula is identical for low-pass and high-pass RC filters — only the output tap point changes which frequencies pass.
What is the difference between a low-pass and high-pass RC filter?
A low-pass filter's gain is |H(f)| = 1/√(1+(f/f_c)²), which is highest at f = 0 and falls off above f_c. A high-pass filter's gain is |H(f)| = (f/f_c)/√(1+(f/f_c)²), which is near zero at low frequencies and rises toward 1 above f_c. At the cutoff frequency itself, both configurations pass the signal at |H| = 1/√2 ≈ 0.707 (-3 dB).
How fast does an RC filter attenuate the signal past cutoff?
A first-order RC filter rolls off at about 6 dB per octave (doubling of frequency), which is the same as roughly 20 dB per decade (10x change in frequency). For a low-pass filter that means a signal at 10× the cutoff frequency is attenuated about 20 dB (a factor of 10 in voltage) beyond the passband level; for a high-pass filter the same rolloff applies below cutoff.