The cutoff frequency (fc) of a first-order passive RC low pass filter is calculated using the formula fc = 1 / (2πRC). At this specific frequency, the filter attenuates the output signal by exactly -3dB, meaning the output voltage drops to 70.7% of the input voltage. Whether you are smoothing a PWM signal from an ESP32 or building an audio crossover, getting this math right dictates whether your circuit passes the signal you want or chokes it out.
The Core Formula and Variable Definitions
The foundational equation for a first-order resistor-capacitor (RC) low pass filter relies on the inverse relationship between resistance, capacitance, and the frequency at which the capacitive reactance equals the resistance.
fc = 1 / (2πRC)
Every symbol in this equation represents a specific physical property or constant. Misidentifying the base units for these variables is the most common reason filter calculations fail on the bench.
| Symbol | Parameter | Standard SI Unit | Unit Abbreviation |
|---|---|---|---|
| fc | Cutoff Frequency (-3dB point) | Hertz | Hz |
| π | Pi (Mathematical Constant) | Dimensionless | ~3.14159 |
| R | Resistance | Ohms | Ω |
| C | Capacitance | Farads | F |
It is critical to understand that R must be in base Ohms and C must be in base Farads before you run the calculation. Components are rarely sold in base Farads; you will almost always be working with microfarads (μF), nanofarads (nF), or picofarads (pF).
Real-World Cutoff Frequencies for Common Applications
Before diving into the manual math, it helps to anchor your expectations. What does a "realistic" cutoff frequency look like? If you calculate a cutoff of 4.5 GHz for an audio circuit, you have made a unit conversion error. If you calculate 0.002 Hz for a PWM smoother, your capacitor is vastly oversized.
The table below provides data-dense, real-world starting points for common low pass filter applications. These use standard E12/E24 resistor and capacitor values you can actually pull from a bench kit.
| Application | Target fc | Standard R Value | Standard C Value | Actual Calculated fc |
|---|---|---|---|---|
| PWM Smoothing (Motor Control) | ~300 Hz | 4.7 kΩ | 100 nF (0.1 μF) | 338 Hz |
| Audio DAC Reconstruction (44.1kHz) | ~22 kHz | 1.5 kΩ | 4.7 nF | 22.5 kHz |
| I2C Bus EMI Noise Filter | ~1.5 MHz | 100 Ω | 1 nF | 1.59 MHz |
| Subwoofer Crossover (Active/Passive) | ~80 Hz | 20 kΩ | 100 nF (0.1 μF) | 79.5 Hz |
| Thermistor Sensor Noise Filtering | ~15 Hz | 100 kΩ | 100 nF (0.1 μF) | 15.9 Hz |
Note: For audio and precision sensor applications, always select C0G/NP0 dielectric capacitors rather than X7R or Y5V. X7R capacitors exhibit microphonics and severe capacitance loss under DC bias, which will shift your actual fc unpredictably.
Step-by-Step Worked Examples with Unit Tracking
Let's walk through two distinct scenarios, paying strict attention to the intermediate unit conversions. According to All About Circuits' passive filter guide, skipping the scientific notation conversion is where 90% of hobbyist math errors occur.
Example 1: Designing an Audio Tone Control Filter
Scenario: You are building a simple synthesizer and need a low pass filter to roll off high-frequency hiss above the human hearing range. You have a 10 kΩ resistor and a 10 nF capacitor.
- Identify and convert R: 10 kΩ = 10 × 103 Ω = 10,000 Ω.
- Identify and convert C: 10 nF = 10 × 10-9 F = 0.00000001 F.
- Multiply R and C: (10 × 103) × (10 × 10-9) = 100 × 10-6 = 0.0001 seconds (this is your time constant, τ).
- Multiply by 2π: 2 × 3.14159 × 0.0001 = 0.0006283.
- Calculate the inverse (1 / x): 1 / 0.0006283 = 1,591.5 Hz.
Result: The cutoff frequency is approximately 1.59 kHz. This is a great value for a "treble cut" circuit on an electric guitar.
Example 2: Smoothing an ESP32 PWM Signal to Analog DC
Scenario: You are using an ESP32 to output a pseudo-analog voltage via PWM at 5 kHz. You want to smooth this into a steady DC voltage to drive a fan controller. You choose a 4.7 kΩ resistor and a 1 μF capacitor.
- Identify and convert R: 4.7 kΩ = 4.7 × 103 Ω = 4,700 Ω.
- Identify and convert C: 1 μF = 1 × 10-6 F = 0.000001 F.
- Multiply R and C (τ): 4,700 × 0.000001 = 0.0047 seconds.
- Multiply by 2π: 2 × 3.14159 × 0.0047 = 0.02953.
- Calculate the inverse: 1 / 0.02953 = 33.86 Hz.
Result: The cutoff frequency is 33.86 Hz. Because this is roughly 150 times lower than your 5,000 Hz PWM carrier frequency, the 5kHz ripple will be heavily attenuated (by about -43dB), leaving you with a very clean DC voltage.
Rearranged Forms: Solving for R and C
On the workbench, you rarely get to pick both components freely. Usually, you have a target cutoff frequency in mind, and you are limited by the capacitors currently in your parts bin. Capacitors come in far fewer standard values than resistors, so the standard engineering practice is to pick the capacitor first, then calculate the required resistor.
Here are the algebraically rearranged forms of the core formula:
Solving for Resistance (R)
R = 1 / (2πfcC)
Use this when: You know your target frequency and have selected a fixed capacitor value. The result will be in base Ohms.
Solving for Capacitance (C)
C = 1 / (2πfcR)
Use this when: You are constrained by a specific resistor (e.g., matching an input impedance requirement) and need to find the capacitor. The result will be in base Farads (expect a very small decimal, which you will then convert to μF or nF).
Assumptions, Edge Cases, and Unit Traps
The formula fc = 1 / (2πRC) is elegant, but it assumes an idealized universe. As detailed in Electronics Tutorials' comprehensive filter analysis, real-world physics introduces variables that can shift your actual cutoff frequency away from your calculated number.
When the Formula Applies (and When It Doesn't)
This formula strictly applies to first-order, passive RC filters driving an infinite impedance load. It assumes the components are purely resistive and capacitive, with no parasitic inductance or resistance.
If you are designing an active filter (using an op-amp like the TL072 or LM358), this formula still calculates the passive RC network's corner frequency, but the op-amp's gain-bandwidth product (GBWP) and slew rate will introduce a secondary, higher-frequency rolloff that this basic formula does not account for.
The Loading Effect: The Silent Filter Killer
The most common reason a passive low pass filter fails to perform as calculated on the bench is the loading effect. The formula assumes the output of the filter is connected to a device with infinite input impedance.
If your filter (say, R = 10kΩ) drives a load with an input impedance of 10kΩ (like a standard audio amplifier input or an ADC pin without a buffer), that load acts as a resistor in parallel with your filter resistor. Two 10kΩ resistors in parallel equal 5kΩ. Your effective R has just been cut in half, which means your actual cutoff frequency has doubled. To prevent this, always ensure the load impedance is at least 10x to 100x higher than your filter resistor, or place a unity-gain op-amp buffer between the filter and the load.
Unit Mistakes That Break the Math
- The Microfarad Trap: Forgetting that 1 μF is 1 × 10-6 F, not 1 × 10-3 F. If you use 0.001 instead of 0.000001, your calculated frequency will be 1,000 times too low.
- Mixing Prefixes: Plugging "4.7" (for kΩ) and "0.1" (for μF) directly into the calculator without converting to base units. The calculator will output ~0.33 Hz, which is entirely wrong. Always convert to base Ohms and base Farads first.
- Angular vs. Standard Frequency: Confusing Hertz (f) with Radians per second (ω). The formula ωc = 1 / (RC) gives you radians/sec. To get Hertz, you must divide by 2π. If your answer is exactly 6.28 times higher than expected, you forgot the 2π.
Parasitic Limits at High Frequencies
If you calculate a cutoff frequency above 1 MHz using this formula, treat the result with extreme skepticism. At RF frequencies, the physical leads of a through-hole resistor introduce parasitic series inductance, and the PCB traces introduce stray parallel capacitance. A 100kΩ resistor might act like an inductor at 50 MHz, completely invalidating the low-pass behavior. For cutoff frequencies above 1 MHz, you must use surface-mount (SMD) 0402 or 0603 components and account for the PCB's dielectric parasitics, or switch to an active LC filter topology.






