Low pass gain is the maximum amplitude ratio (output voltage divided by input voltage) that a filter allows for signals below its designated cutoff frequency. In any real circuit, this parameter changes the baseline signal level handed off to the next stage, directly dictating your signal-to-noise ratio, op-amp voltage headroom, and overall system amplitude. If you are feeding an ESP32 ADC, getting this gain wrong means either clipping your 3.3V rail or drowning a millivolt sensor signal in quantization noise.
The Core Math: Passband vs. Cutoff Gain
When we talk about the gain of a low pass filter, we are specifically referring to the passband gain—the flat amplification (or attenuation) region from DC (0 Hz) up to the cutoff frequency ($f_c$). At exactly the cutoff frequency, the signal amplitude always drops by -3 dB relative to that passband gain. This is a universal rule for standard Butterworth and Bessel responses, meaning the voltage at $f_c$ is always 70.7% of the passband voltage.
The maximum achievable low pass gain depends entirely on whether you are using passive components (resistors, capacitors, inductors) or active components (operational amplifiers). Passive filters can never amplify a signal; their maximum theoretical gain is 1 (0 dB), and in reality, component parasitics usually drop this slightly below 1. Active filters use op-amps to provide genuine voltage amplification in the passband.
| Filter Topology | Max Passband Gain (Linear) | Max Passband Gain (dB) | Gain at Cutoff ($f_c$) | Component Count |
|---|---|---|---|---|
| 1st-Order Passive RC | 1.0 | 0 dB | 0.707 (-3 dB) | 2 (R, C) |
| 2nd-Order Passive LC | 1.0 | 0 dB | 0.707 (-3 dB)* | 2 (L, C) |
| 1st-Order Active Non-Inverting | $1 + (R_f / R_g)$ | $20 \log_{10}(A_v)$ | $A_v \times 0.707$ | 4 (R, C, $R_f$, $R_g$) + Op-Amp |
| 2nd-Order Active Sallen-Key (Unity) | 1.0 | 0 dB | 0.707 (-3 dB) | 4 (2R, 2C) + Op-Amp |
| 2nd-Order Active Sallen-Key (Gain=2) | 2.0 | +6.02 dB | 1.414 (+3.01 dB) | 6 (4R, 2C) + Op-Amp |
*Note: Passive LC filters can exhibit resonant peaking (gain > 1) near $f_c$ if the Q-factor is high, but the nominal DC passband gain remains 1.
Worked Numeric Example: Designing a 1.5 kHz Active Filter
Let us build a 1st-order active low pass filter with a non-inverting gain stage to condition a 500 mV peak-to-peak sensor signal before it hits a microcontroller ADC. We want a cutoff frequency of roughly 1.5 kHz and a passband gain of 2 to scale our 500 mV signal up to 1 V.
Target Specifications:
- Cutoff Frequency ($f_c$): ~1591 Hz
- Passband Gain ($A_v$): 2 (or +6.02 dB)
- Op-Amp: LM358 (Dual, single-supply capable, GBP = 1 MHz)
Step 1: Set the Cutoff Frequency
The formula for an RC low pass cutoff is $f_c = 1 / (2 \times \pi \times R \times C)$. Let us select a standard capacitor value of $C = 10 \text{ nF}$ (0.01 µF). Solving for R:
$R = 1 / (2 \times \pi \times 1591 \times 10 \times 10^{-9}) \approx 10,005 \Omega$
We will use a standard 10 kΩ resistor. This gives us an exact cutoff of 1591.5 Hz.
Step 2: Set the Low Pass Gain
To achieve a gain of 2 in a non-inverting op-amp configuration, we use the formula $A_v = 1 + (R_f / R_g)$. We need $R_f / R_g = 1$. Selecting $R_f = 10 \text{ k\Omega}$ and $R_g = 10 \text{ k\Omega}$ gives us exactly $A_v = 2$.
Step 3: Verify the Output at Key Frequencies
- At 100 Hz (Well inside passband): The input is 500 mV. The low pass gain is 2. The output is 1.0 V.
- At 1591.5 Hz (At cutoff): The signal drops by -3 dB relative to the passband. The gain here is $2 \times 0.707 = 1.414$. The output is $500 \text{ mV} \times 1.414 =$ 707 mV.
- At 15.9 kHz (One decade above cutoff): A 1st-order filter rolls off at -20 dB/decade. The gain drops to roughly 0.2. The output is 100 mV.
Where You Meet Low Pass Gain in Practice
You will rarely design a standalone filter just for the sake of it; the low pass gain is usually a critical variable in a larger system architecture. Here is where it matters most on the bench:
1. Anti-Aliasing for Microcontroller ADCs
When sampling an analog signal with an ESP32 or STM32, Nyquist theory dictates your sample rate must be at least twice your highest signal frequency. If you sample at 10 kHz, any noise above 5 kHz will 'fold back' and corrupt your data. An active low pass filter with a passband gain of 1 (unity) and a cutoff at 4 kHz is standard here. If you use a gain > 1, you must ensure the amplified signal plus any DC offset does not exceed the ADC's reference voltage (usually 3.3V or 2.5V), or you will hard-clip the waveform.
2. PWM to DC Reconstruction (DAC Smoothing)
If you are using a microcontroller's PWM pin to simulate an analog voltage (a poor man's DAC), the output is a square wave. A passive RC low pass filter smooths this into a DC voltage. Because passive filters have a maximum low pass gain of 1, a 3.3V PWM signal with a 50% duty cycle will yield exactly 1.65V DC. If your target circuit requires a 0-5V control signal, you must follow the passive filter with an active non-inverting amplifier stage with a low pass gain of ~3 to scale the 1.65V up to 5V.
3. Audio Subwoofer Crossovers
In active audio crossovers, the low pass filter feeds the subwoofer amplifier. Here, the low pass gain is often made adjustable (via a potentiometer in the feedback loop) to match the acoustic output of the subwoofer to the main speakers. A typical subwoofer preamp filter might offer a variable low pass gain from 0.5 (-6 dB) to 4.0 (+12 dB).
Common Confusions and Troubleshooting Mistakes
Even experienced hobbyists trip over a few specific nuances when calculating and measuring low pass gain. According to design guides from All About Circuits and Electronics Tutorials, here are the most frequent errors:
Confusion 1: Thinking Passive Filters Have 'Gain'
The Mistake: Designing a passive LC filter and expecting the output voltage to be higher than the input voltage at resonance.
The Reality: Passive filters cannot add energy to a system. The DC passband gain is always $\le 1$. While high-Q LC circuits can exhibit 'resonant peaking' where the voltage at $f_c$ temporarily exceeds the input voltage due to energy exchange between the inductor and capacitor, the true low-frequency passband gain remains 1. If you need actual voltage amplification, you must use an active op-amp topology.
Confusion 2: Ignoring the Op-Amp's Gain-Bandwidth Product (GBP)
The Mistake: Designing an active filter with a passband gain of 100 (+40 dB) and a cutoff frequency of 50 kHz, then wondering why the output is heavily attenuated.
The Reality: Every op-amp has a Gain-Bandwidth Product. A common LM358 has a GBP of roughly 1 MHz. If you set your low pass gain to 100, the op-amp's maximum usable bandwidth drops to $1,000,000 / 100 = 10,000 \text{ Hz}$ (10 kHz). Your 50 kHz cutoff is physically impossible with that chip at that gain. The Fix: For high-gain, high-frequency filters, either choose an op-amp with a higher GBP (like the TL072 at 3 MHz or OPA2134 at 8 MHz) or cascade two lower-gain stages (e.g., two stages with a gain of 10 each).
Confusion 3: Measuring -3 dB at the Wrong Reference Point
The Mistake: Using an oscilloscope to find the cutoff frequency by looking for the point where the output drops to 70.7% of the input voltage, rather than 70.7% of the passband output voltage.
The Reality: If your active filter has a low pass gain of 4, a 1V input yields a 4V passband output. The -3 dB cutoff point is not when the output drops to 0.707V; it is when the output drops to $4 \text{ V} \times 0.707 =$ 2.828 V. Always establish your baseline passband output at a low frequency (like 10 Hz) before sweeping the frequency to find $f_c$.






