The RC filter formula calculates the -3dB cutoff frequency ($f_c$) of a passive resistor-capacitor network. At this exact frequency, the output signal power drops to 50% of the input, and the voltage amplitude drops to 70.7% ($1/\sqrt{2}$). Whether you are smoothing a PWM signal into a pseudo-analog DC voltage, building an audio crossover, or designing an anti-aliasing front-end for a microcontroller ADC, this single equation dictates your component selection.
The foundational equation for the cutoff frequency is:
fc = 1 / (2 × π × R × C)
The Core RC Filter Formula and Variable Definitions
To use the formula correctly on the bench, you must map every symbol to its strict SI base unit. Plugging in kilo-ohms or microfarads directly without scientific notation conversion is the number one reason hobbyists and students end up with filters that are off by a factor of a million.
| Symbol | Parameter | SI Base Unit | Common Bench Prefixes |
|---|---|---|---|
| fc | Cutoff Frequency (-3dB point) | Hertz (Hz) | kHz (103), MHz (106) |
| R | Resistance | Ohms (Ω) | kΩ (103), MΩ (106) |
| C | Capacitance | Farads (F) | μF (10-6), nF (10-9), pF (10-12) |
| π | Pi (Mathematical Constant) | Dimensionless | ~3.14159265 |
| τ | Time Constant (RC) | Seconds (s) | ms (10-3), μs (10-6) |
Standard Component Combinations for Common Cutoff Frequencies
In practice, you rarely have the exact calculated resistor and capacitor values in your bin. You must select the nearest standard values from the IEC 60063 E-series (E24 for 1% resistors, E12 or E6 for capacitors). Below is a data-dense reference table of real-world component pairings for common engineering tasks, tracking the deviation from the theoretical target.
| Application | Target fc | Resistor (E24) | Capacitor (E12/E6) | Actual fc | Time Constant (τ) |
|---|---|---|---|---|---|
| Audio Subwoofer LPF | 80 Hz | 20 kΩ | 100 nF (X7R) | 79.6 Hz | 2.0 ms |
| PWM Smoothing (1kHz) | 150 Hz | 10 kΩ | 100 nF | 159.1 Hz | 1.0 ms |
| ESP32 ADC Anti-Alias | 15 kHz | 1.0 kΩ | 10 nF (C0G) | 15.9 kHz | 10 μs |
| I2C/SPI Snubber | 1.0 MHz | 51 Ω | 3.3 nF | 941 kHz | 168 ns |
Rearranged Forms for Filter Design
When designing a circuit, you usually know the target cutoff frequency and have a constraint on either the resistor or the capacitor. Here are the algebraically rearranged forms of the core RC filter formula to solve for any variable.
- Solve for Resistance (R):
R = 1 / (2 × π × fc × C)
Use when: You have a fixed capacitor value (e.g., a 100nF film cap already on the PCB) and need to pick a resistor to hit a specific frequency. - Solve for Capacitance (C):
C = 1 / (2 × π × fc × R)
Use when: Your resistor value is constrained by impedance matching or load limits (e.g., keeping source impedance low for an ADC), and you need to find the required capacitance. - Solve for Time Constant (τ):
τ = R × C = 1 / (2 × π × fc)
Use when: Analyzing the step-response of the filter in the time domain. The output will reach 63.2% of its final DC value in one time constant.
Worked Examples with Strict Unit Tracking
Theory is useless if your calculator yields garbage. Below are two bench-realistic problems demonstrating strict SI unit conversion.
Problem 1: Finding the Cutoff Frequency of an Audio High-Pass Filter
Scenario: You are building a passive high-pass filter for a tweeter. You have a 4.7 kΩ resistor and a 2.2 μF film capacitor in series. What is the -3dB cutoff frequency?
Step 1: Convert to SI Base Units
- R = 4.7 kΩ = 4.7 × 103 Ω = 4,700 Ω
- C = 2.2 μF = 2.2 × 10-6 F = 0.0000022 F
Step 2: Apply the Formula
- fc = 1 / (2 × π × 4700 × 0.0000022)
- fc = 1 / (6.28318 × 0.01034)
- fc = 1 / 0.064968
- fc = 15.39 Hz
Sanity Check: A 15 Hz high-pass filter effectively blocks DC offset and sub-sonic rumble while passing the entire audible spectrum to the tweeter. The magnitude makes physical sense.
Problem 2: Designing an Anti-Aliasing Filter for an ESP32 ADC
Scenario: You are sampling a sensor at 10 kHz using an ESP32 SAR ADC. By the Nyquist-Shannon sampling theorem, you must filter out frequencies above 5 kHz to prevent aliasing. You target a conservative fc of 3.0 kHz. To prevent ESP32 ADC sampling glitches, the source impedance (R) must be kept at or below 2.0 kΩ. Find the required capacitor.
Step 1: Convert to SI Base Units
- fc = 3.0 kHz = 3,000 Hz
- R = 2.0 kΩ = 2,000 Ω
Step 2: Apply the Rearranged Formula for C
- C = 1 / (2 × π × fc × R)
- C = 1 / (6.28318 × 3000 × 2000)
- C = 1 / 37,699,080
- C = 2.652 × 10-8 Farads
Step 3: Convert to Practical Units and Select Component
- C = 26.52 nF
- The nearest standard E12 capacitor value is 27 nF.
Step 4: Verify Actual Cutoff
- fc(actual) = 1 / (2 × π × 2000 × 27 × 10-9)
- fc(actual) = 2.94 kHz (Safely below the 5 kHz Nyquist limit).
Assumptions, Limitations, and Common Unit Traps
The RC filter formula is an elegant simplification of complex impedance mathematics, but it relies on assumptions that break down in real-world, high-frequency, or loaded circuits.
When the Formula Applies (and When It Doesn't)
The standard formula assumes an unloaded output. It calculates the behavior of the RC network in isolation. If you connect the output of your RC filter to a load with an impedance comparable to R (for example, feeding a 10kΩ RC filter into a 10kΩ amplifier input), the load resistor acts in parallel with your filter resistor or capacitor, shifting the cutoff frequency and increasing the passband attenuation. In loaded scenarios, you must calculate the Thevenin equivalent resistance or buffer the output with an op-amp.
Furthermore, the formula assumes ideal components. Real capacitors have Equivalent Series Resistance (ESR) and Equivalent Series Inductance (ESL). At high frequencies (typically above 10 MHz for standard 0603 SMD ceramics), the ESL dominates, and the capacitor begins to act like an inductor, rendering the low-pass filter ineffective. For RF applications, you must consult the manufacturer's S-parameter or impedance vs. frequency graphs (e.g., from Murata or TDK) rather than relying solely on the nominal capacitance.
The "Micro-Nano" Unit Trap
The most common mistake when using the RC filter formula is failing to convert prefixes to base SI units. If you type 1 / (2 * pi * 10000 * 100) into a calculator intending to use a 10kΩ resistor and a 100nF capacitor, the calculator assumes 100 Farads. Your result will be 1.59 × 10-7 Hz.
What a Realistic Answer Magnitude Looks Like
Developing an intuition for the final magnitude prevents silent errors. Use this cheat sheet to verify your results:
- Audio Filters: Should yield answers between 20 Hz and 20,000 Hz. If you get 0.02 Hz, you forgot to convert microfarads to farads.
- Microcontroller PWM Smoothing: Typically 100 Hz to 1,000 Hz.
- ADC Anti-Aliasing: Usually matches the sensor bandwidth, ranging from 10 Hz (load cells) to 100 kHz (vibration sensors).
- RF / High-Speed Digital Snubbers: Will yield answers in the Megahertz (106) or Gigahertz (109) range.
By strictly adhering to SI base unit conversions and respecting the physical limitations of real-world passive components, the RC filter formula transitions from a textbook abstraction to a reliable tool for precision circuit design.






