The cutoff frequency formula for a standard first-order RC (resistor-capacitor) filter is f_c = 1 / (2πRC). This defines the -3dB point—the exact frequency where the output signal power drops to half its maximum value, and the voltage amplitude falls to roughly 70.7% (1/√2) of the input. Whether you are designing an audio crossover, smoothing a PWM DAC signal, or blocking DC offset in an RF path, this single equation dictates your component selection.
The Cutoff Frequency Formula and Symbol Definitions
Before plugging numbers into a calculator, you must understand the derivation's origin. The formula comes from the transfer function magnitude of an RC voltage divider: |H(jω)| = 1 / √(1 + (ωRC)²). By setting this magnitude to 1/√2 (the half-power point) and solving for angular frequency (ω), we get ω_c = 1/RC. Since ω = 2πf, we substitute and isolate f to get the standard Hertz-based formula.
| Symbol | Parameter | Standard Unit | Unit in Formula | Practical Notes |
|---|---|---|---|---|
| f_c | Cutoff Frequency | Hertz (Hz) | Hz | The -3dB threshold. Signals above this (in LPF) are attenuated at -20dB/decade. |
| π | Pi (Archimedes' constant) | Dimensionless | ~3.14159 | Relates angular frequency (rad/s) to standard frequency (Hz). |
| R | Resistance | Ohms (Ω) | Ohms (Ω) | Must be the total Thevenin equivalent resistance seen by the capacitor. |
| C | Capacitance | Farads (F) | Farads (F) | Use base Farads in calculation. 1 μF = 10⁻⁶ F, not 10⁻³ F. |
Note: For RL (resistor-inductor) filters, the formula shifts to f_c = R / (2πL), where L is inductance in Henries. The RC variant is vastly more common on the bench due to the physical size and non-ideal parasitics of inductors.
When the Formula Applies (and When It Breaks)
The elegance of f_c = 1 / (2πRC) hides several assumptions. If your circuit violates these, your calculated cutoff frequency will not match your oscilloscope trace.
Core Assumptions
- Ideal Components: The formula assumes a pure resistance and pure capacitance. Real capacitors have Equivalent Series Resistance (ESR) and Equivalent Series Inductance (ESL). At high frequencies (typically >1 MHz for standard ceramics), ESL dominates, turning your low-pass filter into a resonant band-pass.
- No Loading Effects: The formula assumes the filter drives an infinite impedance load. If your RC filter feeds a 1 kΩ ADC input, that load resistance is in parallel with your filter resistor, altering the effective 'R' and shifting f_c upward.
- Sinusoidal Steady-State: The -3dB point is strictly defined for continuous sine waves. For step responses or square waves (like PWM), you must also consider the time constant (τ = RC) and settling time.
Realistic Answer Magnitudes
A realistic f_c depends entirely on the domain. For audio LPFs, expect 20 Hz to 20 kHz. For microcontroller PWM smoothing, expect 100 Hz to 2 kHz (to filter out 10 kHz+ carrier frequencies). For RF DC-blocking high-pass filters, expect 10 MHz to 2 GHz. If your calculation yields 0.0004 Hz or 400 GHz for a standard bench circuit, you have likely made a unit conversion error.
The most common bench error is confusing microfarads (μF) with millifarads (mF). A 1 μF capacitor is 1 × 10⁻⁶ F. If you accidentally type 1 × 10⁻³ F into your calculator, your calculated cutoff frequency will be 1,000 times lower than reality. Always convert to base units (Ohms, Farads, Hertz) before calculating.
Worked Examples: Calculating f_c with Unit Tracking
Let's run through two distinct scenarios, explicitly tracking the scientific notation to prevent magnitude errors.
Problem 1: Audio Low-Pass Filter (LPF)
Scenario: You are building a passive LPF to roll off high-frequency hiss from a DAC output. You have a 10 kΩ resistor and a 100 nF ceramic capacitor.
- Convert to base units:
R = 10 kΩ = 10 × 10³ Ω = 10⁴ Ω
C = 100 nF = 100 × 10⁻⁹ F = 10⁻⁷ F - Calculate the RC time constant (τ):
τ = R × C = (10⁴) × (10⁻⁷) = 10⁻³ seconds (or 1 ms) - Apply the cutoff frequency formula:
f_c = 1 / (2π × τ) = 1 / (2 × 3.14159 × 10⁻³)
f_c = 1 / 0.00628318 - Final Result:
f_c ≈ 159.15 Hz
Sanity Check: 159 Hz is well within the audio band, making this a valid subwoofer or rumble filter configuration.
Problem 2: RF High-Pass DC Block
Scenario: You need to block DC bias from entering a 50 Ω RF spectrum analyzer input while passing a 40 MHz IF signal. You select a 100 pF capacitor in series with the 50 Ω coaxial line.
- Convert to base units:
R = 50 Ω
C = 100 pF = 100 × 10⁻¹² F = 10⁻¹⁰ F - Calculate τ:
τ = 50 × 10⁻¹⁰ = 5 × 10⁻⁹ seconds (5 ns) - Apply the formula:
f_c = 1 / (2π × 5 × 10⁻⁹) = 1 / (3.14159 × 10⁻⁸) - Final Result:
f_c ≈ 31.83 MHz
Sanity Check: A 31.8 MHz cutoff means a 40 MHz signal will pass with minimal attenuation (less than 1dB loss), while DC is completely blocked. For deeper reading on RF filter topologies, refer to Analog Devices' filter design guides.
Bench Scenario: Designing a PWM Smoothing Filter
Formulas assume ideal conditions; the workbench does not. Here is a real-world narrative of how ignoring load impedance ruins a theoretically perfect design.
An ESP32 generates a 20 kHz PWM signal to act as a crude 0-3.3V DAC. We need an RC low-pass filter to smooth the 20 kHz square wave into a flat DC voltage. To adequately suppress the carrier, we target a cutoff frequency one decade below the PWM frequency: f_c = 2 kHz.
The Numbers:
We arbitrarily choose a standard 100 nF (10⁻⁷ F) X7R ceramic capacitor for C. We rearrange the formula to solve for R:
R = 1 / (2π × f_c × C)
R = 1 / (2π × 2000 × 10⁻⁷) = 1 / 0.0012566 ≈ 795.7 Ω.
We select the closest E24 standard resistor: 820 Ω. We breadboard the circuit: ESP32 GPIO → 820Ω → 100nF to GND. We probe the capacitor with an oscilloscope.
The Outcome:
Instead of a flat DC line, the scope shows a jagged sawtooth wave with 150 mV of peak-to-peak ripple at 20 kHz. The filter is failing to smooth the PWM.
What Went Wrong (The Loading Effect):
The oscilloscope probe has a 1 MΩ input impedance, which is negligible. However, the filter was simultaneously feeding the ADC input of an ATmega328P microcontroller to read the voltage. The ATmega's ADC input impedance is roughly 10 kΩ (plus sampling switch transients).
Because the 10 kΩ load is in parallel with our 820 Ω resistor, the effective Thevenin resistance of the filter is actually:
R_eff = (820 × 10,000) / (820 + 10,000) ≈ 757 Ω.
While 757 Ω isn't drastically different from 820 Ω, the real issue was the ADC's internal sample-and-hold capacitor (approx 14 pF) drawing sudden current spikes, combined with the fact that an 820 Ω source impedance is too high for the ATmega ADC to charge its internal capacitor accurately within the sampling window, causing voltage droop and apparent ripple.
The Fix: We added an op-amp voltage follower (buffer) between the RC filter and the ADC. The op-amp's mega-ohm input impedance prevented loading of the filter, and its low-ohm output easily drove the ADC. For more on microcontroller ADC driving, see this SparkFun RC filter tutorial.
Rearranging the Formula for Component Selection
In practice, you rarely calculate f_c from known components. Usually, you have a target f_c and a drawer full of standard capacitors, and you need to find the required resistor. Here are the rearranged forms of the cutoff frequency formula.
| Target Variable | Rearranged Formula | Design Application |
|---|---|---|
| Solve for R | R = 1 / (2π × f_c × C) | Used when you have fixed capacitor values (e.g., a kit of E6 ceramics) and need to calculate the required series or shunt resistance. |
| Solve for C | C = 1 / (2π × f_c × R) | Used when the resistance is fixed by the circuit architecture (e.g., a 50 Ω transmission line or a specific 10 kΩ pull-up) and you must select the capacitor. |
| Solve for f_c | f_c = 1 / (2π × R × C) | Used for troubleshooting or verifying an existing PCB trace/filter to document its actual bandwidth. |
Pro-Tip for Component Selection: Always calculate the exact mathematical value first, then map it to the nearest standard E24 (5%) or E96 (1%) resistor series. For capacitors, stick to the E6 or E12 series (e.g., 10, 22, 47, 100 nF) as tighter tolerance ceramics (like C0G/NP0) become prohibitively expensive and physically large outside these standard values. If your calculated f_c is critical for a safety or anti-aliasing threshold, design the filter one decade lower than strictly required to account for component tolerance drift over temperature.






