RC Filter Calculator: Cutoff Frequency and Time Constant
The cutoff frequency of an RC filter is fc = 1 / (2π × R × C) and its time constant is τ = R × C. With 4.7 kΩ and 47 nF, fc = 720.5 Hz and τ = 220.9 µs: at fc the output falls to 70.7 % of the input (−3 dB). The calculator also gives the gain and phase at a chosen frequency, for a low-pass or high-pass filter, the R or C value for a target cutoff, and a capacitor's voltage while charging or discharging.
720.5 Hz
fc = 1 / (2π × R × C) fc = 1 / (2π × 4.7 kΩ × 47 nF) = 720.5 Hz
τ = 220.9 µs; −3 dB (× 0.707) and −45° phase at fc
Ideal first-order RC: zero source resistance, unloaded output, no capacitor ESR or leakage. A source resistance adds to R; a load on the output lowers the gain. Component tolerance shifts fc by the same percentage.
Lesson: the formula explained step by step: RC time constant
An RC filter is enough for a debounce or a simple anti-aliasing stage; ADC input filtering or EMC compliance needs full design work. We design and measure them in our lab. Let's talk it through in a free 30-minute audit.
RC low-pass and high-pass filter formula
A first-order RC filter has a cutoff frequency fc = 1 / (2π × R × C). In a low-pass, the output is taken across the capacitor and the gain is 1 / √(1 + (f/fc)²); in a high-pass, the output is taken across the resistor and the gain is (f/fc) / √(1 + (f/fc)²). Both are 0.707 at fc.
The low-pass phase runs from 0° to −90°, through −45° at fc; the high-pass phase runs from +90° to 0°. These relations come from the capacitor's reactance, XC = 1 / (2π × f × C), which forms a voltage divider with R.
| R | C | τ = R × C | fc |
|---|---|---|---|
| 330 Ω | 100 nF | 33 µs | 4.823 kHz |
| 1 kΩ | 100 nF | 100 µs | 1.592 kHz |
| 4.7 kΩ | 47 nF | 220.9 µs | 720.5 Hz |
| 10 kΩ | 10 nF | 100 µs | 1.592 kHz |
| 10 kΩ | 100 nF | 1 ms | 159.2 Hz |
| 10 kΩ | 1 nF | 10 µs | 15.92 kHz |
| 100 kΩ | 1 µF | 100 ms | 1.592 Hz |
| 1 MΩ | 1 µF | 1 s | 0.1592 Hz |
Capacitor charging and discharging
Charging from 0 V, Vc = Vs × (1 − e^(−t/τ)); discharging from Vs, Vc = Vs × e^(−t/τ). In both cases the current decays as e^(−t/τ). The time to reach a fraction x of the final value is t = −τ × ln(1 − x): 2.3 τ for 90 %, 4.6 τ for 99 %.
| Time | Voltage on C (% of Vs) | Current (% of maximum) |
|---|---|---|
| 1 τ | 63.2 % | 36.8 % |
| 2 τ | 86.5 % | 13.5 % |
| 3 τ | 95.0 % | 5.0 % |
| 4 τ | 98.2 % | 1.8 % |
| 5 τ | 99.3 % | 0.7 % |
FAQ
- What is the cutoff frequency formula for an RC filter?
- fc = 1 / (2π × R × C), in hertz, with R in ohms and C in farads. Example: 4.7 kΩ and 47 nF give 1 / (2π × 4,700 × 47 × 10⁻⁹) = 720.5 Hz. The formula is the same for low-pass and high-pass; only the output moves, across C for a low-pass and across R for a high-pass.
- What happens at the cutoff frequency?
- The gain is 1/√2, which is 70.7 % of the input voltage or −3 dB, and the output power is halved. The phase shift is −45° for a low-pass and +45° for a high-pass. Beyond it, a first-order RC filter rolls off at 20 dB per decade (6 dB per octave): at 10 × fc, a low-pass output is only about 10 % of the input.
- What is the RC time constant τ?
- τ = R × C, in seconds. It is the time the capacitor takes to cover 63.2 % of the way to its final voltage. After 5 τ it reaches 99.3 % and is treated as fully charged. Example: 47 kΩ and 1000 µF give τ = 47 s; on 5 V, the voltage reaches 3.16 V after 47 s and 4.4 V after 100 s.
- How do I choose R and C for a given cutoff frequency?
- Fix the capacitor first, since fewer values are available (E6 or E12), then compute R = 1 / (2π × fc × C) and take the nearest standard resistor. For 1 kHz with 100 nF, R = 1.592 kΩ; in E12, 1.5 kΩ gives 1.061 kHz and in E96, 1.58 kΩ gives 1.007 kHz. Keep R well above the source impedance.
- Why doesn't my RC filter cut off at the calculated frequency?
- Because the formula assumes an ideal source and an unloaded output. The source's output resistance adds to R and lowers fc; a load on the output forms a divider with R and cuts the gain even at low frequencies. Component tolerance matters too: ±10 % on C shifts fc by the same amount. Add a buffer stage if the load is heavy.
- Does a second-order RC filter cut twice as hard?
- It rolls off twice as fast past the cutoff, −40 dB per decade, but two identical RC stages in cascade do not give −3 dB at fc: each adds −3 dB, −6 dB in total, and the second loads the first. For an accurate second-order response, use an active filter such as a Sallen-Key stage.
An electronics design house based in Montpellier, France, AESTECHNO brings 10+ years of design experience and a 100% success rate on CE/FCC certifications, across dozens of campaigns run over more than 10 years of practice. Preferred values follow the IEC 60063 E series.