Types of Filters in Electronics, With Formulas and Worked Examples
The four filter types, passive vs active, and the formulas behind them, each worked with real parts: a 1 kHz RC low-pass, a coupling capacitor, an RLC band-pass, a 50 Hz twin-T notch for Indian mains, a Sallen-Key Butterworth stage, the filter order a 10-bit ADC needs and power-supply ripple.

A filter in electronics is a circuit that passes signals in one range of frequencies and weakens the rest. There are four basic types. A low-pass filter keeps frequencies below its cut-off, and a high-pass filter keeps those above it. A band-pass filter keeps a band around a centre frequency, and a band-stop (notch) filter removes one. Filters built only from resistors, capacitors and inductors are passive. Filters that add an op-amp are active.
This guide works through each type with real component values: the cut-off formula, an RC low-pass, a coupling capacitor, an RLC band-pass, a 50 Hz notch for Indian mains hum, a Sallen-Key active filter, an anti-aliasing filter for an ADC and a power-supply smoothing capacitor. Skill-Lync checked every number with a short script that solves each circuit by nodal analysis.
Key takeaways
- The RC cut-off is . With 1.58 kΩ and 100 nF it is 1,007 Hz. The output there is 3 dB down (70.7% of the input voltage) and lags by 45°. Above it, the gain falls 20 dB per decade.
- Each order adds 20 dB per decade. At ten times the cut-off, a first-order filter is 20 dB down, a second-order 40 dB and a fourth-order Butterworth 80 dB.
- A 50 Hz notch must be tuned precisely. India's grid runs at a reference of 50.000 Hz, with an allowed band of 49.900-50.050 Hz under CERC's 2023 Grid Code. A passive twin-T built from the nearest standard parts (31.6 kΩ, 100 nF) notches at 50.37 Hz and gives only 48.8 dB at 50 Hz.
- Anti-aliasing takes more order than you'd guess. To sample a 1 kHz signal at 10 kHz with a 10-bit ADC, you need at least a fourth-order Butterworth. Only that order pushes a full-scale 9 kHz tone below one LSB (−60.2 dB).
- There is no free lunch between filter families. At the same fourth order and 1 kHz cut-off, a 1 dB Chebyshev is 32.9 dB down at 2 kHz but overshoots a step by 21.7%. A Bessel is only 13.4 dB down but overshoots by 0.8%.
What is a filter in electronics?
A filter is a circuit whose gain depends on frequency. It lets its passband through, attenuates its stopband, and the cut-off frequency marks the boundary. By convention the cut-off is where the output falls 3 dB below the passband: 70.7% of the voltage, or half the power. The filter's order sets how fast it falls beyond that.
Engineers plot a filter's behaviour as a Bode plot: gain in decibels against frequency on a logarithmic axis, often with phase underneath. A decibel figure is , so −20 dB means one-tenth of the voltage and −40 dB one-hundredth. On those axes, a first-order filter's roll-off is a straight line falling 20 dB for every tenfold step in frequency (one decade).
What are the four types of filters?
The four types are low-pass, high-pass, band-pass and band-stop. A low-pass filter passes slow signals and blocks fast ones, such as noise. A high-pass filter blocks DC and slow drift. A band-pass filter selects one channel or tone. A band-stop or notch filter removes one unwanted frequency, such as 50 Hz mains hum.
| Type | Passes | Typical job |
|---|---|---|
| Low-pass | Below | Remove noise; anti-aliasing before an ADC; smooth PWM |
| High-pass | Above | Block DC between amplifier stages; remove sensor drift |
| Band-pass | to | Pick a radio channel; detect one tone; vibration bands |
| Band-stop (notch) | All but a band | Remove 50 Hz hum; reject one interfering carrier |
One more type, the all-pass filter, keeps every frequency's amplitude and only shifts its phase. Designers use it to correct delay rather than to remove anything.
Passive or active filter: which should you use?
Use a passive filter when you only need one or two simple RC stages, or at radio frequencies where op-amps run out of bandwidth. Use an active filter when you need gain, sharp roll-off at audio or sensor frequencies, or freedom from bulky inductors. Active filters also isolate each stage, so cascaded sections don't load each other.
| Passive (R, L, C) | Active (op-amp + R, C) | |
|---|---|---|
| Gain | At most 1 | Can be more than 1 |
| Power supply | None needed | Needs one |
| Inductors | Needed for steep low-frequency filters | Not needed |
| Loading | Response shifts with the load | Low output impedance; stages cascade cleanly |
| Upper frequency | Into RF (MHz to GHz) | Limited by the op-amp's bandwidth |
Inductors are why active filters took over at low frequencies. Skill-Lync's Analog Electronics interactive book works out a passive Butterworth low-pass for 1 kHz into a 1 kΩ load: it needs a 225 mH coil and a 113 nF capacitor. That coil is heavy, lossy and picks up magnetic hum, while an op-amp circuit does the same job with resistors and capacitors.
How do you calculate the cut-off frequency of an RC filter?
For a resistor R in series with a capacitor C, the cut-off frequency is . A low-pass filter takes the output across the capacitor, a high-pass filter across the resistor. At the capacitor's reactance equals R, so the output is 3 dB down. The phase shift there is 45°: a lag for low-pass, a lead for high-pass.
Worked example: a 1 kHz low-pass. Pick the capacitor first, because capacitors come in fewer values. With C = 100 nF:
The nearest 1% (E96) value is 1.58 kΩ, which gives = 1,007 Hz and a time constant RC = 158 µs. The gain is :
| Frequency | Gain | Phase |
|---|---|---|
| 50 Hz | −0.01 dB | −2.8° |
| 1,007 Hz | −3.01 dB | −45.0° |
| 10 kHz | −19.98 dB | −84.2° |
| 100 kHz | −39.94 dB | −89.4° |
Watch the load. If this filter feeds a 10 kΩ input, that resistance sits in parallel with C. The DC gain drops to 10/(10 + 1.58) = 0.864 (−1.27 dB), and the corner moves up to 1,166 Hz, because the capacitor now charges through 1.58 kΩ ∥ 10 kΩ. Either make the load at least ten times R, or buffer the filter with an op-amp follower.
How do you choose a coupling capacitor (high-pass filter)?
A coupling capacitor in series with an amplifier's input resistance forms a high-pass filter that blocks DC. Size it so the corner sits well below the lowest frequency you care about, not exactly on it. At the cut-off you already lose 3 dB. A factor of about three below the band edge keeps the loss near half a decibel.
Worked example: an audio stage with a 10 kΩ input must pass 20 Hz. Putting exactly at 20 Hz needs C = 1/(2π × 10 kΩ × 20 Hz) = 0.796 µF:
- A 1 µF capacitor gives = 15.9 Hz. At 20 Hz the response is still −2.13 dB down, which you can hear on a bass note.
- A 2.2 µF capacitor gives = 7.2 Hz and only −0.53 dB at 20 Hz.
How does a band-pass filter work?
A band-pass filter passes frequencies between a lower and an upper cut-off and weakens everything outside. In a series RLC circuit with the output across R, the inductor and capacitor cancel at resonance, , so the full input reaches the output. The quality factor Q sets the width: bandwidth = .
Worked example: L = 10 mH, C = 100 nF and R = 100 Ω give = 5,033 Hz, Q = 3.16 and a bandwidth of 1,592 Hz. Solving the circuit numerically puts the −3 dB points at 4,300 Hz and 5,891 Hz. Their geometric mean, , is exactly , so the band is symmetric on a log axis, not a linear one. Halve R and Q doubles, which halves the bandwidth.
You can also build a band-pass by cascading a high-pass and a low-pass. That works when the band is wide, because the two corners barely interact. For a narrow band, use a resonant or active (multiple-feedback) band-pass stage instead.
What is a notch filter used for?
A notch filter removes one narrow band of frequencies and passes the rest. Its classic job is removing mains hum: 50 Hz in India, which leaks into sensor, audio and biomedical amplifiers through wiring and ground loops. Notches are also used to reject one interfering carrier in a radio, or a resonance in a motor drive.
A passive twin-T notch uses two T-networks in parallel: R, R and 2C in one, and C, C and R/2 in the other. It notches at . For 50 Hz with C = 100 nF, R should be 31.83 kΩ. The nearest E96 value, 31.6 kΩ, puts the notch at 50.37 Hz. India's grid frequency must stay within 49.900-50.050 Hz around its 50.000 Hz reference (CERC Indian Electricity Grid Code 2023, Regulation 30). Here is what that 0.7% tuning error costs:
| Frequency | Tuned to exactly 50 Hz | Built with 31.6 kΩ |
|---|---|---|
| 25 Hz | −9.1 dB | −9.0 dB |
| 49.9 Hz | −60.0 dB | −46.7 dB |
| 50.0 Hz | full notch | −48.8 dB |
| 50.05 Hz | −66.0 dB | −50.1 dB |
| 100 Hz | −9.1 dB | −9.2 dB |
The table shows two weaknesses of the plain twin-T. First, its Q is only 1/4, so it also takes 9 dB off 25 Hz and 100 Hz, harming the signal you want to keep. Second, 1% parts can move the notch by about 2% (49-51 Hz), which is wider than the grid's whole band. Practical hum filters add op-amp feedback to sharpen the notch, use trimmed or matched parts, or remove hum digitally after the ADC.
A correction: the earlier version of this page built a band-stop filter by summing a 200 Hz first-order low-pass and an 800 Hz first-order high-pass in parallel. Solved properly, that pair dips by only 8.0 dB, at 400 Hz. It is a shallow dip, not a notch. A deep notch needs a resonant, twin-T or active design like the one above.
What is a Sallen-Key filter?
A Sallen-Key filter is a second-order active filter made from one op-amp, two resistors and two capacitors, described by R. P. Sallen and E. L. Key in 1955. In the unity-gain low-pass, the op-amp is a follower. One capacitor goes to ground; the other feeds the output back, giving a Q no passive RC ladder can reach.
For the unity-gain low-pass, with the feedback capacitor and the one to ground:
Worked example: with = 10 kΩ, Q reduces to . A Butterworth response (Q = 0.7071) therefore needs . With = 10 nF that means 20 nF, which is not a common value. The nearest E6 part, 22 nF, gives = 1,073 Hz and Q = 0.742. The −3 dB point lands at 1,123 Hz, with a barely measurable 0.04 dB of peaking, and the response is −38.8 dB at 10 kHz. Two 10 nF capacitors in parallel would give the exact 20 nF.
TI's design notes point out a practical advantage. At unity gain, the Sallen-Key's passband gain does not depend on component values at all. The trade-off is that its rejection at very high frequencies is limited by the op-amp's own bandwidth.
Butterworth, Chebyshev or Bessel: which filter response should you choose?
Choose Butterworth for the flattest passband, Chebyshev when you need the steepest roll-off and can accept ripple and ringing, and Bessel when the waveform shape matters, as with pulses, data or ECG traces. Bessel filters keep the delay nearly constant across frequencies, so a step comes out almost without overshoot. All three can be built with Sallen-Key or multiple-feedback stages.
| 4th order, = 1 kHz | Passband | At 2 kHz | Step overshoot |
|---|---|---|---|
| Butterworth | Maximally flat | −24.1 dB | 10.8% |
| Chebyshev (1 dB ripple) | 1 dB ripple | −32.9 dB | 21.7% |
| Bessel | Gradual droop | −13.4 dB | 0.8% |
The filter order is the number of reactive elements, or poles, and each one adds 20 dB per decade of roll-off. Designers build higher orders by cascading second-order stages, plus one first-order stage for odd orders. TI's SLOA049D tabulates the stage values for each family.
Worked example: how much anti-aliasing filtering does an ADC need?
An ADC sampling at cannot tell a frequency f from . Anything above the Nyquist frequency, , folds back into the band you are measuring, and no software can remove it afterwards. An analog low-pass filter in front of the ADC must therefore push those frequencies below the converter's resolution.
The set-up: a vibration sensor's useful signal runs up to 1 kHz. A microcontroller samples it at 10 kHz with a 10-bit ADC, and there is a full-scale interfering tone at 9 kHz from a nearby switching circuit.
- The 9 kHz tone aliases to |9 − 10| = 1 kHz, right inside the wanted band.
- One LSB of a 10-bit converter is 1/1,024 of full scale, which is −60.2 dB.
- A Butterworth low-pass with = 1 kHz attenuates by . At 9 kHz that is 19.1 dB for order 1, 38.2 dB for order 2, 76.3 dB for order 4 and 114.5 dB for order 6.
- Order 4 is the lowest that gets below 60.2 dB. In practice that means two Sallen-Key stages.
The cheaper alternative is to sample faster. Oversample, use a gentle analog filter, then filter digitally and decimate. That is the idea behind oversampling (sigma-delta) converters.
How does a capacitor filter smooth a power supply?
After a rectifier, a large capacitor acts as a low-pass filter. It charges to nearly the peak voltage, then supplies the load between peaks. The ripple left on the DC is roughly , where is the number of charging pulses per second: 50 for half-wave and 100 for full-wave on 50 Hz mains.
Worked example: a full-wave bridge supplies 0.5 A, so the ripple frequency is 100 Hz:
| Capacitor | Ripple, peak to peak |
|---|---|
| 1,000 µF | 5.00 V |
| 2,200 µF | 2.27 V |
| 4,700 µF | 1.06 V |
The formula assumes the capacitor discharges for a whole half-cycle, so it slightly overestimates the ripple. A simulation in Skill-Lync's Analog Electronics book (12 V rms, 1,000 µF, 100 Ω) gives 1.13 V where the formula says 1.45 V. A linear regulator after the capacitor then removes most of what is left.
Where are filters used in electronic circuits?
Filters are on almost every circuit board: in radio receivers to select a channel, in audio crossovers to split bass and treble, in front of every ADC to stop aliasing, and in power supplies to smooth rectified DC. They also keep switching noise out of the mains and rectifier harmonics off the grid.
- Communications: band-pass filters select a channel, and low-pass filters clean up a transmitter's harmonics.
- Audio: crossover networks send low frequencies to the woofer and high frequencies to the tweeter. Equalisers are banks of band-pass filters.
- Power electronics: EMI filters on switch-mode supplies keep high-frequency noise out of the mains. Input filters and active power-factor correction (PFC) keep rectifier harmonics within limits. Skill-Lync's 12-week AC-DC Rectifiers, Harmonics and Related Standards course covers PFC rectifiers and the concept of active filtering.
- Digital filters: once a signal is digitised, FIR and IIR filters do the same jobs in software or on a DSP. See digital signal processing fundamentals and MATLAB for electrical engineering.
How do you design and test a filter in practice?
Start from the specification: passband edge, stopband edge, required attenuation and allowed ripple or overshoot. Pick a response family and order, and compute values from a design table or tool. Round to standard parts and recheck. Simulate in SPICE or MATLAB, then measure the built board with a signal generator and oscilloscope, or a network analyser.
The rounding step is where designs go wrong, as the 22 nF Sallen-Key and the 31.6 kΩ twin-T above show. For more practice, Skill-Lync's Circuit Theory book covers constant-k and m-derived passive filters (SPPU 203147 Unit 5). The Analog Electronics book's active-filter chapter maps to AU EC3451 Unit II, VTU BEC303 Module 4 and MU ECC403 Module 2. For circuit analysis, see our post on network analysis with phasors. To put filters on a real board, see the Advanced PCB Design using Altium course, or talk to a Skill-Lync counsellor about which path fits you.
Frequently asked questions
What is the cut-off frequency of a filter?
The cut-off frequency is the boundary between the passband and the stopband. For Butterworth, Bessel and simple RC filters, it is where the output falls 3 dB below the passband, which is 70.7% of the voltage and half the power. For an RC filter it equals . For example, 1.58 kΩ with 100 nF gives 1,007 Hz.
Why is the cut-off defined at −3 dB?
At −3 dB, the output power is half the passband power, because 10 log₁₀(0.5) is −3.01 dB. For an RC filter it is also the frequency where the capacitor's reactance equals the resistance and the phase shift is exactly 45°. That makes it a natural, measurable reference point. It is a convention, not the point where filtering starts.
What is the difference between active and passive filters?
Passive filters use only resistors, capacitors and inductors, so they need no power supply but cannot amplify, and they change with the load. Active filters add an op-amp, which provides gain, buffers the load and avoids large inductors at low frequencies. The catch is that they need a supply, and the op-amp's bandwidth limits their highest working frequency.
Which filter is used before an ADC?
An anti-aliasing low-pass filter, usually an active Butterworth or Bessel filter built from Sallen-Key or multiple-feedback stages. It must attenuate everything above half the sampling rate to below the ADC's resolution. In our example, a 10-bit ADC sampling at 10 kHz with a 1 kHz signal needed a fourth-order filter.
What does the order of a filter mean?
The order is the number of poles, roughly the number of capacitors and inductors that shape the response. Each order adds 20 dB per decade of roll-off. A first-order RC filter falls 20 dB per decade, and a fourth-order filter falls 80 dB per decade. Higher orders are built by cascading second-order stages.
How do you remove 50 Hz noise from a signal?
First reduce the pickup with shielded cables, twisted pairs, short ground returns and a differential amplifier. Then filter what is left. Use a high-Q notch at 50 Hz, ideally active or digital, because a passive twin-T is broad and drifts with part tolerance. In India the grid frequency stays within 49.900-50.050 Hz, so the notch must cover that band.
Sources and further reading
- Central Electricity Regulatory Commission, Suo-Motu Petition No. 2/SM/2025, quoting Regulation 30(1) of the Indian Electricity Grid Code 2023: "The National Reference Frequency shall be 50.000 Hz and the allowable band of frequency shall be 49.900-50.050 Hz" (accessed 21 Nov 2026).
- J. Karki, Texas Instruments, Analysis of the Sallen-Key Architecture, SLOA024B (passive RC ladder Q below 1/2; Sallen and Key, 1955).
- J. Karki, Texas Instruments, Active Low-Pass Filter Design, SLOA049D, revised February 2023 (Butterworth, Bessel and Chebyshev trade-offs; Sallen-Key and MFB design equations and tables).
- Preferred-value series for resistors (IEC 60063), E96 value table (158 and 316 are E96 values).
- Skill-Lync interactive books: Analog Electronics, chapter 22: active filters and the capacitor-filter section of chapter 2; Circuit Theory, chapter 27: passive filters.
- Skill-Lync calculation files for this post: closed-form results checked against nodal analysis of each circuit, and SciPy filter designs (kept with the article's run folder).


