Band-pass/band-stop filter calculator

Enter decimals or scientific notation, such as 4.7 or 4.7e3. R is the resistor in the circuit; add the source resistance to it where it is in series.

Enter R, the center frequency and the bandwidth to find L and C.

No valid result to draw.

Show the steps

Interactive calculation is unavailable until JavaScript loads. The formulas, worked examples and references below remain available.

Find L and C for a passive RLC band-pass or band-stop filter from its edge frequencies or center frequency and bandwidth, or its response from R, L and C.

How to use

Choose the filter circuit: a band-pass or band-stop, with the LC pair in the signal path or across the output.

Choose what to calculate: L and C from the −3 dB edges, L and C from the center frequency and bandwidth, or the band of a filter you have.

Enter R and the frequencies (with their unit), or R, L and C.

Optionally enter a check frequency to see the gain there.

Read L and C or the center frequency, bandwidth and Q, and the exact −3 dB edges; the plot shows the response. Copy result copies labeled values; Reset restores the starting fields.

Science

An inductor and a capacitor together have one frequency, f0 = 1/(2π√(LC)), where their reactances are equal and opposite. In series they then look like a short circuit; in parallel, like an open circuit. Placing the pair in the signal path or across the output, with one resistor, makes a band-pass or a band-stop filter centered on f0.

The bandwidth is the distance between the two frequencies where the output is 3 dB below its pass-band level (half the power). Q = f0/B measures how narrow the band is. With the LC pair in series, Q = (1/R)√(L/C), so a smaller R narrows the band; with the pair in parallel, Q = R√(C/L), so a larger R narrows it.

The center frequency is the geometric mean of the edges, √(f_L × f_H), not their average: the response is symmetric on a logarithmic frequency scale. The edges sit exactly B apart, slightly more above f0 than below it, and for Q of 10 or more they are close to f0 ∓ B/2.

Limitations: the circuits are ideal, with a perfect source, an unloaded output and lossless parts. A real inductor's winding resistance lowers Q, the source resistance adds to R where it is in series, and a load across the output lowers Q and the pass-band gain. The band-stop notch is infinitely deep only in this model; parts losses make it a finite dip. The tool gives exact L and C, not standard values, and does not model active or higher-order filters.

Formulas

Center frequency: f0 = 1 / (2π × √(L × C)). L in H, C in F, f0 in Hz.

Series LC (band-pass in the path, band-stop across the output): Q = (1/R) × √(L/C); B = R / (2π × L).

Parallel LC (band-pass across the output, band-stop in the path): Q = R × √(C/L); B = 1 / (2π × R × C).

Edges: f_L, f_H = f0 × (√(1 + 1/(4Q^2)) ∓ 1/(2Q)); f0 = √(f_L × f_H); B = f_H − f_L = f0 / Q.

Design: Series LC: L = R / (2π × B), C = 1 / ((2π × f0)^2 × L). Parallel LC: C = 1 / (2π × R × B), L = 1 / ((2π × f0)^2 × C).

Examples

Band-pass, series LC, R 600 Ω, center 1 kHz, bandwidth 100 Hz: L = 954.9 mH, C = 26.53 nF, Q = 10; edges 951.2 Hz and 1.051 kHz. L = 600/(2π × 100); C = 1/((2π × 1000)^2 × L).

Band-pass, series LC, R 600 Ω, edges 300 Hz and 3.4 kHz: f0 = 1.010 kHz, Q = 0.3258, L = 30.8 mH, C = 806.2 nF. Common mistake: the center is √(300 × 3400) = 1.010 kHz, not the average 1.85 kHz.

Band-pass, series LC, R 50 Ω, L 1 mH, C 1 nF (Fiore Example 8.1): f0 = 159.2 kHz, Q = 20, B = 7.958 kHz; edges 155.2 and 163.2 kHz. (1/50) × √(1e-3/1e-9) = 20.

Band-stop, series LC across the output, R 600 Ω, center 1 kHz, bandwidth 100 Hz: L = 954.9 mH, C = 26.53 nF; no output at 1 kHz; −0.01926 dB at 2 kHz. Boundary: the ideal notch has no output at f0.

Band-pass, parallel LC across the output, R 1 kΩ, L 10 mH, C 100 nF: f0 = 5.033 kHz, Q = 3.162, B = 1.592 kHz; edges 4.3 and 5.891 kHz. Common mistake: the series formula (1/R)√(L/C) gives 0.3162 here. For a parallel pair Q is its inverse, R√(C/L) = 3.162.

References

OpenStax University Physics Volume 2: Resonance in an AC circuit

Fiore: Series resonance (AC Electrical Circuit Analysis, 8.2)

Fiore: Parallel resonance (AC Electrical Circuit Analysis, 8.3)

Kuphaldt: Resonant filters