The gain of a low-pass filter is the ratio of its output signal amplitude to its input signal amplitude at a specific frequency, determining how much the filter amplifies or attenuates the passing frequencies. In a real circuit, this parameter sets your baseline passband voltage and, in active topologies, directly alters the filter's damping and roll-off sharpness. Beginners commonly confuse passband gain with the cutoff frequency ($f_c$), or assume all low-pass filters can amplify a signal, forgetting that passive RC networks inherently suffer from insertion loss and can never exceed a gain of 1 (0 dB).
Passband Gain vs. Stopband Attenuation
To design or troubleshoot a filter, you must separate the concept of passband gain from stopband attenuation. The passband is the frequency range below the cutoff point ($f_c$) where the signal is allowed through. The stopband is the range above $f_c$ where the signal is progressively blocked.
Active LPF Gain: User-defined via feedback network ($A_v = 1 + R_f/R_g$)
In a passive RC low-pass filter, the resistor and capacitor form a voltage divider. Because there is no external power source or active component to add energy to the system, the output voltage can never exceed the input voltage. At DC (0 Hz), the capacitor acts as an open circuit, and the full input voltage appears at the output, yielding a maximum gain of 1 (or 0 dB). As frequency increases toward $f_c$, the capacitive reactance ($X_c$) drops, and the gain falls to -3 dB (0.707 of the input voltage) at the cutoff point.
Active filters, which utilize operational amplifiers (op-amps), break this limitation. By powering the op-amp with external supply rails, you can configure the feedback network to provide voltage amplification in the passband. However, this introduces a critical trade-off: in standard active topologies like the Sallen-Key, the passband gain directly dictates the filter's Q-factor (quality factor), which controls the shape of the roll-off.
Worked Numeric Example: Designing a 1 kHz Active LPF
Let's design a 2nd-order active low-pass filter with a 1 kHz cutoff frequency and a flat Butterworth response. We will use the Sallen-Key topology, which is the industry standard for audio and sensor conditioning due to its low component count and stable performance. For the active element, we will use a standard Texas Instruments LM358 dual op-amp.
Step 1: Select the Capacitors
Capacitor values dictate the physical size and dielectric stability of the filter. For a 1 kHz audio or sensor filter, 10 nF is an ideal starting point. We will use $C_1 = C_2 = 10\text{ nF}$. Crucial detail: Always specify C0G/NP0 ceramic dielectrics for filter capacitors. X7R or Y5V dielectrics exhibit severe capacitance shifts with applied DC bias and temperature, which will warp your cutoff frequency.
Step 2: Calculate the Resistors for $f_c$
For a Sallen-Key filter with equal components ($R_1 = R_2 = R$ and $C_1 = C_2 = C$), the cutoff frequency formula simplifies to:
$$f_c = \frac{1}{2\pi R C}$$
Rearranging to solve for R:
$$R = \frac{1}{2\pi \times 1000\text{ Hz} \times 10 \times 10^{-9}\text{ F}} = 15,915\ \Omega$$
Since 15.9k is not a standard value, we select the closest 1% tolerance E96 series resistor: 15.8 kΩ. This shifts our actual cutoff frequency to 1,007 Hz, which is well within acceptable tolerances.
Step 3: Set the Gain for a Butterworth Response
As noted in the bench warning above, a Butterworth response requires a Q-factor of 0.707. In an equal-component Sallen-Key filter, the relationship between gain ($K$) and Q is:
$$Q = \frac{1}{3 - K}$$
Setting $Q = 0.707$ (which is $\frac{1}{\sqrt{2}}$):
$$0.707 = \frac{1}{3 - K} \implies 3 - K = 1.414 \implies K = 1.586$$
The non-inverting gain of the op-amp is set by the feedback resistors: $K = 1 + \frac{R_f}{R_g}$. Therefore, $\frac{R_f}{R_g} = 0.586$.
If we choose $R_g = 10\text{ k}\Omega$, then $R_f = 5.86\text{ k}\Omega$. The closest 1% E96 standard value is 5.90 kΩ. This yields a final gain of 1.59 (or 4.02 dB), resulting in a Q-factor of 0.709—virtually indistinguishable from a perfect Butterworth curve on an oscilloscope.
Where You Meet This in Practice
Understanding how gain interacts with filter topology is not just academic; it solves specific hardware problems on the bench and in the field.
- ADC Anti-Aliasing: When feeding an analog sensor into a microcontroller like an ESP32 or Arduino, you must limit the signal bandwidth to less than half the ADC sampling rate (Nyquist theorem). An active low-pass filter with a gain of 1.5 to 2.0 is often used here to simultaneously filter high-frequency noise and amplify a weak millivolt-level sensor signal to match the 3.3V ADC reference range.
- DAC Reconstruction: Pulse Width Modulation (PWM) outputs or R-2R resistor ladder DACs output a staircase waveform rich in high-frequency switching harmonics. A unity-gain (0 dB) passive or active low-pass filter smooths this into a clean DC or audio waveform without artificially boosting the noise floor.
- Audio Subwoofer Crossovers: In active speaker crossovers, the low-pass filter feeds the subwoofer amplifier. Here, the gain control on the filter board allows the user to match the acoustic output of the subwoofer to the main satellite speakers, compensating for room acoustics and driver sensitivity differences.
Active vs. Passive Gain Comparison Matrix
Choosing between active and passive filtering depends heavily on your gain requirements, power budget, and frequency range. Below is a decision matrix for common low-pass topologies.
| Topology | Max Passband Gain | Insertion Loss | Component Count | Best Application |
|---|---|---|---|---|
| Passive RC (1st Order) | 0 dB (Unity) | Yes (at high freq) | 2 (1 R, 1 C) | Simple noise filtering, LED PWM smoothing |
| Passive LC (2nd Order) | 0 dB (Unity) | Minimal | 2 (1 L, 1 C) | RF circuits, high-current power supply ripple filtering |
| Active Sallen-Key (2nd Order) | User-defined (>0 dB) | No | 5 (2 R, 2 C, 1 Op-Amp) | Audio crossovers, sensor signal conditioning |
| Active Multiple Feedback (MFB) | User-defined (Inverting) | No | 6 (3 R, 2 C, 1 Op-Amp) | High-Q filters, precision instrumentation |
For a deeper dive into the mathematical derivations of these topologies, the Electronics Tutorials guide on low-pass filters provides excellent foundational schematics and Bode plot visualizations.
Frequently Asked Questions
Can a passive low-pass filter have a gain greater than 1?
No. By the laws of thermodynamics and conservation of energy, a passive circuit containing only resistors, capacitors, and inductors cannot output more power or voltage than it receives. The maximum voltage gain of a passive low-pass filter is exactly 1 (0 dB), which occurs at DC (0 Hz). If you need to amplify the signal while filtering, you must use an active filter with an op-amp or a discrete transistor stage powered by an external voltage supply.
How does changing the gain affect the cutoff frequency in a Sallen-Key filter?
In a standard equal-component Sallen-Key filter, changing the passband gain does not mathematically alter the $-3\text{ dB}$ cutoff frequency ($f_c$) equation, which remains dependent only on R and C. However, altering the gain drastically changes the Q-factor. If you increase the gain toward 3.0, the Q-factor approaches infinity, and the circuit turns into an oscillator. If you lower the gain toward 1.0 (unity), the response becomes overdamped, and the actual $-3\text{ dB}$ point shifts lower than the calculated $f_c$ due to the sluggish roll-off.
Why is my active low-pass filter gain dropping at high frequencies?
If your active filter's gain is rolling off earlier than your calculated $f_c$, or if the stopband attenuation is less steep than expected, you are likely hitting the Gain-Bandwidth Product (GBWP) limit of your op-amp. An LM358 has a GBWP of roughly 1 MHz. If you design a filter with a gain of 10 (20 dB), the op-amp's open-loop gain drops to unity at 100 kHz. For high-frequency or high-gain active filters, you must select an op-amp with a GBWP at least 50 to 100 times higher than your target cutoff frequency multiplied by the passband gain.
How do I calculate the gain of a low-pass filter in decibels?
To convert the linear voltage gain ratio ($A_v = V_{out} / V_{in}$) into decibels (dB), use the formula: $\text{Gain (dB)} = 20 \times \log_{10}(A_v)$. For example, if your active filter outputs 2.0V RMS for a 1.0V RMS input, the linear gain is 2.0. The calculation is $20 \times \log_{10}(2) \approx 6.02\text{ dB}$. Conversely, at the cutoff frequency ($f_c$) of any 1st-order or 2nd-order Butterworth filter, the linear gain drops to 0.707, which equates to exactly $-3.01\text{ dB}$.






