fc = 1 / (2πRC). This equation defines the -3 dB corner frequency—the exact point where the output signal power drops to 50% of the input power, and the voltage amplitude falls to roughly 70.7% (-3.01 dB). Whether you are rolling off high-frequency switching noise on an ESP32 ADC input or designing a passive audio crossover, this single relationship dictates your component selection and system bandwidth.
The Core Equation, Symbols, and Rearranged Forms
At the bench, you rarely just plug numbers into the base equation and walk away. You usually know the target frequency and have constraints on either the resistor or the capacitor. Below is the definitive symbol table for the passive RC low-pass (and high-pass) filter.| Symbol | Parameter | Base SI Unit | Common Bench Units |
|---|---|---|---|
fc | Cutoff (Corner) Frequency | Hertz (Hz) | kHz, MHz |
π | Pi (Mathematical Constant) | Dimensionless | ≈ 3.14159 |
R | Resistance | Ohms (Ω) | kΩ, MΩ |
C | Capacitance | Farads (F) | µF, nF, pF |
The 2π term exists because the formula bridges standard frequency (Hertz, or cycles per second) with angular frequency (radians per second, ω = 2πf). The reactance of a capacitor is Xc = 1 / (ωC). The cutoff occurs when the resistive magnitude equals the capacitive reactance magnitude (R = Xc), yielding R = 1 / (2πfcC).
Rearranged Forms for Component Selection
When prototyping, you usually need to solve for the missing passive component. Use these algebraic rearrangements:
- Solving for Resistance:
R = 1 / (2π · fc · C) - Solving for Capacitance:
C = 1 / (2π · fc · R)
Applicability, Assumptions, and the Unit Trap
Before applying this formula, you must understand its boundaries. The equation assumes a linear time-invariant (LTI) system operating in a sinusoidal steady state. It also assumes ideal components: a resistor with zero parasitic inductance and a capacitor with zero equivalent series resistance (ESR) or equivalent series inductance (ESL). At audio frequencies, these assumptions hold. At RF frequencies (above 50 MHz), parasitic ESL in the capacitor will create a self-resonant frequency, breaking the model.
The Unit Trap
The most common mistake hobbyists and junior engineers make is plugging bench values directly into the formula without converting to base SI units. If you use R = 10 (for 10 kΩ) and C = 100 (for 100 nF), your calculator will output nonsense. You must convert:
- kΩ to Ω (multiply by
103) - µF to F (multiply by
10-6) - nF to F (multiply by
10-9) - pF to F (multiply by
10-12)
Realistic Answer Magnitudes
If your calculator spits out 4.5 x 1012 Hz for an audio filter, you forgot to convert microfarads to farads. Use these sanity-check ranges:
- Audio Crossovers & Line-Level: 20 Hz to 20 kHz
- Microcontroller Sensor Filtering: 1 Hz to 1 kHz
- RF & Intermediate Frequency (IF): 10 MHz to 5 GHz
Worked Problem 1: Passive Audio Subwoofer Crossover
Scenario: You are building a line-level active subwoofer and need a passive RC low-pass filter before the amplifier input to roll off frequencies above 80 Hz. You have a standard 10 kΩ resistor in your kit. What capacitor value do you need?
- Identify knowns and target:
fc = 80 Hz,R = 10 kΩ. Target isC. - Convert to base SI units:
R = 10,000 Ω. - Select rearranged formula:
C = 1 / (2π · fc · R) - Substitute values:
C = 1 / (2 · 3.14159 · 80 · 10,000) - Calculate denominator:
2 · 3.14159 · 80 = 502.65. Then502.65 · 10,000 = 5,026,548. - Divide:
C = 1 / 5,026,548 = 1.989 x 10-7 Farads. - Convert to bench units:
1.989 x 10-7 F = 0.1989 µF, or roughly200 nF.
Bench Reality: A 200 nF capacitor is not a standard E12/E24 value. You would use a 220 nF (0.22 µF) film capacitor, which shifts the actual cutoff down to roughly 72 Hz—a perfectly acceptable margin for a subwoofer crossover.
Worked Problem 2: ESP32 ADC Anti-Aliasing Filter
Scenario: You are reading a slow-moving thermistor voltage divider with an ESP32. The ADC is picking up 60 Hz mains hum and high-frequency switching noise from a nearby buck converter. You want a cutoff frequency of 15 Hz to heavily attenuate the 60 Hz hum. To keep the source impedance low for the ESP32's SAR ADC, you fix the filter resistor at 1 kΩ. Find C.
- Identify knowns:
fc = 15 Hz,R = 1,000 Ω. - Substitute into capacitance formula:
C = 1 / (2 · π · 15 · 1,000) - Calculate denominator:
2 · 3.14159 · 15,000 = 94,247.7 - Divide:
C = 1 / 94,247.7 = 1.061 x 10-5 Farads. - Convert to bench units:
10.61 µF.
Bench Reality: A 10 µF X7R ceramic capacitor will work, but X7R dielectrics suffer from severe DC bias derating. If your thermistor divider sits at 2.5V, a 10 µF 0805 X7R cap might only provide 6 µF of actual capacitance, shifting your cutoff up to 26 Hz. For precision DC filtering, use a 22 µF X5R/X7R or a low-ESR aluminum electrolytic to guarantee the required capacitance under bias. For deep technical guidance on driving SAR ADCs, refer to the Texas Instruments ADC Drive Circuitry application note.
Real-World Bench Scenario: The Source Impedance Trap
Formulas assume isolated components. Real circuits do not. Here is a narrative walkthrough of a common filtering failure on the bench.
The Setup
An engineer needed to read a 0-12V industrial pressure sensor using a 3.3V microcontroller. They built a voltage divider using a 27 kΩ top resistor and a 10 kΩ bottom resistor to scale 12V down to ~3.24V. To filter out motor noise, they placed a 100 nF ceramic capacitor in parallel with the 10 kΩ resistor to ground.
The Numbers
The engineer calculated the cutoff frequency using the 10 kΩ resistor:
fc = 1 / (2 · π · 10,000 · 100 x 10-9) = 159.15 Hz.
They expected a clean DC reading with all motor noise (above 200 Hz) eliminated.
The Outcome
The ADC readings were wildly unstable. The DC offset was 15% lower than what a bench multimeter showed at the same node, and high-frequency noise was still aliasing into the microcontroller's readings.
What Went Wrong
Two distinct physical realities broke the mathematical model:
- Thevenin Equivalent Resistance: The capacitor doesn't 'see' just the 10 kΩ resistor to ground. From the capacitor's perspective, the 27 kΩ and 10 kΩ resistors are in parallel (assuming the 12V sensor output is a stiff voltage source with near-zero impedance). The actual resistance is
27k || 10k = 7.3 kΩ. The real cutoff frequency was217 Hz, not 159 Hz. - ADC Charge Kickback: The ESP32's internal sample-and-hold circuit draws a sudden spike of current (charge kickback) when the sampling switch closes. The
7.3 kΩThevenin resistance was too high, and the100 nFcapacitor was too small to act as a local charge reservoir. The ADC literally pulled the voltage down during the acquisition window, causing the 15% DC drop and allowing noise to slip through.
The Fix: Drop the divider resistors to 2.7 kΩ and 1 kΩ (lowering Thevenin R to ~730 Ω) and increase the capacitor to 1 µF. Alternatively, buffer the voltage divider with a low-offset op-amp like the OPA333 before filtering. See Analog Devices' guide on active filter topologies for buffering strategies.
Extending the Math: RL Filters and Active Topologies
While RC filters dominate low-frequency and audio bench work, RF and power electronics often rely on RL (Resistor-Inductor) filters. The frequency cutoff formula for a first-order RL low-pass filter is:
fc = R / (2πL)
Notice that resistance is in the numerator here. This is because inductive reactance (XL = 2πfL) increases with frequency, whereas capacitive reactance decreases. At the cutoff point, R = XL, leading directly to the rearranged formula above.
Why we avoid passive RL at low frequencies: To get a 100 Hz cutoff with a 1 kΩ resistor, you would need a 1.59 Henry inductor. At audio frequencies, a 1.5H inductor is physically massive, heavy, expensive, and suffers from high DC resistance (DCR) that ruins your signal amplitude. This is precisely why active Sallen-Key op-amp filters are the industry standard for low-frequency, high-Q filtering—they simulate inductance using capacitors and feedback networks without the magnetic bulk.






