The RC corner frequency is the specific point in a resistor-capacitor circuit where the output signal's power drops to half (-3dB) of its input power, effectively marking the boundary between passed and blocked frequencies. In a real circuit, this frequency dictates exactly where the filter begins to attenuate AC signals while introducing a 45-degree phase shift, fundamentally altering both the amplitude and timing of the waveform passing through it.
The Math and a Concrete Numeric Example
Whether you are designing an audio crossover or an anti-aliasing filter for an ADC, the corner frequency (also called the cutoff frequency or -3dB point) is determined by the values of your resistor (R) and capacitor (C). The formula is universal for first-order passive RC networks:
f_c = 1 / (2 * π * R * C)Where f_c is in Hertz, R is in Ohms, and C is in Farads.
Let’s run a worked numeric example using standard bench components. Suppose you need a low-pass filter to clean up a noisy sensor line, and you select a 10 kΩ resistor and a 100 nF (0.1 µF) ceramic capacitor.
- Convert to base units: R = 10,000 Ω; C = 0.0000001 F (100 × 10⁻⁹).
- Multiply R and C: 10,000 × 0.0000001 = 0.001 seconds (this is your time constant, τ).
- Multiply by 2π: 0.001 × 6.28318 = 0.00628318.
- Take the reciprocal: 1 / 0.00628318 = 159.15 Hz.
Your RC corner frequency is 159.15 Hz. At exactly 159.15 Hz, a 1V peak-to-peak sine wave input will measure roughly 0.707V peak-to-peak at the output. Frequencies below 159 Hz pass through with minimal loss; frequencies above it are progressively choked off.
Where You Meet RC Corner Frequency in Practice
You will rarely see an RC filter used as a precision instrument on its own, but it is the foundational building block for dozens of everyday electronic subsystems. According to All About Circuits, passive RC networks are favored for their zero-power-consumption and low component count in non-critical signal paths.
- PWM-to-DC Conversion: Smoothing the square wave from a microcontroller pin into a pseudo-analog DC voltage for motor control or LED dimming.
- ADC Anti-Aliasing: Placed directly before an analog-to-digital converter input to strip out high-frequency RF noise that would otherwise fold back into your digital sampling band.
- Audio Tone Controls: The basic treble-cut circuits in electric guitars and analog synthesizers rely on shifting the RC corner frequency via a potentiometer.
- Power Supply Decoupling: While technically a bypass application, the trace resistance and capacitor ESR create an unintended RC corner frequency that dictates how well a decoupling cap handles high-frequency transient spikes.
Bench Scenario: Smoothing an ESP32 PWM Signal to DC
Theory is clean; the workbench is not. Here is a real-world scenario that highlights what happens when you misunderstand how the corner frequency behaves outside the textbook.
The Setup: You are using an ESP32 DevKit v1 to generate a 5 kHz PWM signal via the LEDC peripheral to simulate a 0–3.3V DAC. You need a clean DC voltage to feed into an analog PID motor controller. You decide to build a simple first-order low-pass RC filter.
The Numbers: You want to filter out the 5 kHz PWM carrier. You pick an RC corner frequency of 1 kHz, using a 1.6 kΩ resistor and a 100 nF capacitor (1 / (2 * π * 1600 * 100e-9) ≈ 994 Hz).
The Outcome: You hook up your oscilloscope. The DC level shifts correctly when you change the duty cycle, but there is a massive, jagged sawtooth ripple sitting on top of the DC line—roughly 350 mV peak-to-peak. The motor controller is twitching erratically.
What Went Wrong: You assumed the corner frequency was a "brick wall" that stops everything above 1 kHz. In reality, a first-order RC filter only attenuates at a rate of -20 dB per decade. Your PWM frequency (5 kHz) is less than one decade above your corner frequency (1 kHz). At 5 kHz, the filter only provides about 14 dB of attenuation. A 3.3V square wave has a fundamental AC amplitude of about 1.65V. Attenuating 1.65V by 14 dB leaves you with ~330 mV of ripple—exactly what the scope showed.
The Fix: You have two choices. First, push the RC corner frequency down to 100 Hz (e.g., R = 16 kΩ, C = 100 nF). This puts the 5 kHz carrier nearly two decades above the cutoff, yielding ~34 dB of attenuation and reducing ripple to under 30 mV. The tradeoff? Your filter's time constant (τ = RC) is now 1.6 ms, meaning it takes roughly 8 ms (5τ) for the DC voltage to settle when you change the PWM duty cycle. If your PID loop needs faster response times, the correct fix is to abandon the passive RC filter and use a second-order active Sallen-Key op-amp filter, which drops at -40 dB/decade, allowing you to keep a higher corner frequency for fast settling while still crushing the 5 kHz ripple.
Common Confusions: Corner Frequency vs. Hard Cutoff
The most frequent mistake hobbyists make is confusing the RC corner frequency with a hard cutoff or an LC resonant frequency.
Think of an RC low-pass filter like a highway toll booth (the resistor) feeding into a large parking lot (the capacitor). If cars arrive in steady, slow intervals (low frequency), they pass through and fill the lot evenly. But if a massive, sudden convoy of cars arrives all at once (high frequency), the toll booth restricts the flow, and the parking lot absorbs the surge, preventing the chaos from reaching the exit road. The toll booth doesn't instantly stop all cars the second the convoy arrives; it just progressively chokes the throughput. That progressive choke is the -20 dB/decade roll-off.
- Not a Brick Wall: At the corner frequency, the signal is NOT zero. It is at 70.7% of its original voltage amplitude (-3dB). It takes several decades of frequency increase to approach zero.
- Not Resonance: Unlike an LC (inductor-capacitor) circuit, a passive RC circuit cannot resonate. There is no peaking or ringing at the corner frequency. The Analog Devices MT-222 tutorial clearly delineates how active feedback is required to create Q-factor peaking in RC-based topologies.
- Phase Shift Matters: At exactly the corner frequency, the output signal is delayed by exactly 45 degrees relative to the input. In audio or control loop applications, this phase shift can cause instability if ignored.
FAQ: RC Filter Design Edge Cases
Q: Does the physical order of the resistor and capacitor matter in a low-pass filter?
A: Electrically, no. Whether the signal hits the resistor first or the capacitor first, the transfer function remains identical. Practically, however, if you are filtering high-frequency RF noise before an ADC, place the capacitor as physically close to the ADC pin as possible to minimize parasitic trace inductance, which can create an unintended LC resonance above your target corner frequency.
Q: Why does my calculated RC corner frequency not match my oscilloscope measurement?
A: Component tolerance is the usual culprit. Standard ceramic capacitors (especially X7R and Y5V dielectrics) can vary by -20% to +80% from their stated value. Furthermore, Y5V capacitors suffer from severe DC bias derating; a 10 µF capacitor might act like a 2 µF capacitor when 3.3V DC is applied across it, shifting your corner frequency up by a factor of five. Always use C0G/NP0 dielectrics for precision signal filtering.
Q: How does load impedance affect the corner frequency?
A: The standard formula assumes an infinite load impedance (an open circuit). If your RC filter drives a load with a relatively low input impedance (e.g., 10 kΩ), that load acts as a parallel resistor to your capacitor. This creates a voltage divider that attenuates your passband signal and effectively lowers the resistance in the RC time constant, shifting your corner frequency higher. Always buffer passive RC filters with a high-impedance op-amp voltage follower if driving heavy loads.






