Skip to content
FiftyOhm
Esc
  • Air-core coilSingle-layer air-core solenoid inductance from Nagaoka's exact coefficient, compared with Wheeler's formula. Solve for the number of turns for a target inductance.Components & magnetics
  • Attenuator PadsResistor values for Pi, T, bridged-T and minimum-loss L-pad attenuators, with unequal impedances, power dissipation per resistor and E24/E96 rounding.Couplers, dividers & attenuators
  • CoaxCoax Z0, capacitance and inductance per length, velocity factor, loss, exact TE11 cutoff and breakdown voltage. Solve for D, d or εr from Z0.Transmission lines
  • CPW / GCPWCoplanar waveguide and grounded CPW impedance, effective permittivity, dispersion, delay and loss by conformal mapping. Solve for centre width or gap.Transmission lines
  • dBm ↔ W ↔ VConvert RF power between dBm, dBW, watts, Vrms, Vpeak, Vpp, dBµV and dBmV for any system impedance. Instant, accurate, with formulas.Fundamentals & conversions
  • Differential pairEdge-coupled microstrip and stripline differential impedance, Z0 even/odd, common-mode impedance, coupling and delay. Solve for spacing or width from Zdiff.Transmission lines
  • Filter OrderMinimum filter order to meet a passband/stopband attenuation mask for Butterworth, Chebyshev and elliptic responses, with the attenuation actually achieved.Filters
  • Free-space path lossFree-space path loss from the Friis equation, received power with antenna gains, and a far-field check. Solve for distance or frequency.Propagation & link budget
  • L / Pi / T MatchingDesign lumped L, Pi and T matching networks between complex source and load impedances. Both L solutions, loaded-Q Pi/T, component values and bandwidth.Matching & Smith chart
  • LC Filter DesignerDesign lumped LC ladder filters: Butterworth, Chebyshev or Bessel; low-pass, high-pass, band-pass, band-stop to order 10, with exact insertion loss and group delay.Filters
  • MicrostripMicrostrip Z0, effective permittivity, dispersion, delay and loss. Solve for trace width from target impedance. Hammerstad–Jensen + Kirschning–Jansen models.Transmission lines

Filter Order Calculator (Butterworth, Chebyshev, Elliptic)

Minimum filter order to meet a passband/stopband attenuation mask for Butterworth, Chebyshev and elliptic responses, with the attenuation actually achieved.

4 cited sources63 reference checksRuns in your browser

Inputs

Frequency where the attenuation may reach Ap (for Ap = 3.01 dB this is the 3 dB cutoff).

Frequency from which the attenuation must be at least As.

Attenuation allowed at the passband edge. For Chebyshev and elliptic this is the passband ripple.

Results

Butterworth order(N_B)
9
Chebyshev order(N_C)
5
Elliptic order(N_E)
4
Butterworth attenuation at stopband edge(A_B(Ωs))
45.05dB
Chebyshev attenuation at stopband edge(A_C(Ωs))
42.039dB
Elliptic minimum stopband attenuation(A_E)
48.639dB
Normalized stopband frequency Ωs(Ωs)
2
Butterworth order (exact)
8.1612
Chebyshev order (exact)
4.8218
Elliptic order (exact)
3.505
  • Even-order Chebyshev and elliptic LC ladders need unequal terminations (or a transformer); the next odd order keeps equal terminations.

Formulas

Ωs=fsfp (LP),fpfs (HP),min⁡i∣fs,i2−fp1fp2∣fs,i(fp2−fp1) (BP)\Omega_s = \frac{f_s}{f_p}\ (\text{LP}),\quad \frac{f_p}{f_s}\ (\text{HP}),\quad \min_i \frac{|f_{s,i}^2 - f_{p1}f_{p2}|}{f_{s,i}(f_{p2}-f_{p1})}\ (\text{BP})D=10As/10−110Ap/10−1,ε2=10Ap/10−1D = \frac{10^{A_s/10}-1}{10^{A_p/10}-1},\quad \varepsilon^2 = 10^{A_p/10}-1NB≥log⁡10D2log⁡10Ωs,NC≥cosh⁡−1Dcosh⁡−1ΩsN_B \ge \frac{\log_{10} D}{2\log_{10}\Omega_s},\qquad N_C \ge \frac{\cosh^{-1}\sqrt{D}}{\cosh^{-1}\Omega_s}NE≥K(k) K′(k1)K′(k) K(k1),k=1Ωs, k1=1D, K′(k)=K ⁣(1−k2)N_E \ge \frac{K(k)\,K'(k_1)}{K'(k)\,K(k_1)},\quad k=\frac{1}{\Omega_s},\ k_1=\frac{1}{\sqrt{D}},\ K'(k)=K\!\left(\sqrt{1-k^2}\right)AB=10log⁡10 ⁣(1+ε2Ωs2N),AC=10log⁡10 ⁣(1+ε2cosh⁡2(Ncosh⁡−1Ωs))A_B = 10\log_{10}\!\left(1+\varepsilon^2\Omega_s^{2N}\right),\quad A_C = 10\log_{10}\!\left(1+\varepsilon^2\cosh^2(N\cosh^{-1}\Omega_s)\right)AE=10log⁡10 ⁣(1+ε2/k12),q(k1)=q(k)N, q(k)=e−πK′(k)/K(k)A_E = 10\log_{10}\!\left(1+\varepsilon^2/k_1^2\right),\quad q(k_1) = q(k)^N,\ q(k)=e^{-\pi K'(k)/K(k)}

What this calculator does

The first question in any filter design is how many reactive elements (poles) the filter needs. You describe the requirement as a mask:

  • the passband may lose at most ApA_p up to the passband edge fpf_p;
  • the stopband must reject at least AsA_s beyond the stopband edge fsf_s.

The calculator then gives the minimum order for the three classical approximations. It also shows how much attenuation each one actually reaches at the stopband edge once you round its order up to a whole number.

Every case is reduced to the normalized low-pass prototype, where the passband edge sits at Ω=1\Omega = 1 and the stopband edge at the selectivity Ωs>1\Omega_s > 1:

TypeSelectivity
Low-passΩs=fs/fp\Omega_s = f_s / f_p
High-passΩs=fp/fs\Omega_s = f_p / f_s
Band-passΩs=min⁡i∣fs,i2−fp1fp2∣fs,i (fp2−fp1)\Omega_s = \min_i \dfrac{\lvert f_{s,i}^2 - f_{p1} f_{p2}\rvert}{f_{s,i}\,(f_{p2} - f_{p1})}

For band-pass, the transformation is geometric about f0=fp1fp2f_0 = \sqrt{f_{p1} f_{p2}}. The lower and upper stopband edges usually map to different values of Ω\Omega, and the tighter one (the smaller Ω\Omega) sets the order.

With the discrimination ratio D=(10As/10−1)/(10Ap/10−1)D = (10^{A_s/10}-1)/(10^{A_p/10}-1), the three order formulas are:

  • Butterworth: N≥log⁡10D2log⁡10ΩsN \ge \dfrac{\log_{10} D}{2\log_{10}\Omega_s}
  • Chebyshev (type I): N≥cosh⁡−1Dcosh⁡−1ΩsN \ge \dfrac{\cosh^{-1}\sqrt{D}}{\cosh^{-1}\Omega_s}
  • Elliptic (Cauer): the degree equation N≥K(k) K′(k1)K′(k) K(k1)N \ge \dfrac{K(k)\,K'(k_1)}{K'(k)\,K(k_1)}, with selectivity modulus k=1/Ωsk = 1/\Omega_s, discrimination modulus k1=1/Dk_1 = 1/\sqrt{D}, KK the complete elliptic integral of the first kind, and K′(k)=K(1−k2)K'(k) = K(\sqrt{1-k^2}).

The calculator evaluates KK and K′K' with the arithmetic–geometric mean. It forms K′K' directly from kk, so it keeps full precision even at 150 dB of stopband attenuation, where 1−k12\sqrt{1-k_1^2} would lose digits.

Achieved attenuation

Each order is rounded up, which gives every design some margin. The calculator keeps the passband edge at exactly ApA_p and reports the attenuation reached at Ωs\Omega_s:

  • Butterworth: 10log⁡10(1+ε2Ωs2N)10\log_{10}(1 + \varepsilon^2\Omega_s^{2N})
  • Chebyshev: 10log⁡10(1+ε2cosh⁡2(Ncosh⁡−1Ωs))10\log_{10}(1 + \varepsilon^2\cosh^2(N\cosh^{-1}\Omega_s))
  • Elliptic: the equiripple stopband floor 10log⁡10(1+ε2/k12)10\log_{10}(1 + \varepsilon^2/k_1^2). Here k1k_1 is recomputed for the integer NN from the nome relation q(k1)=q(k)Nq(k_1) = q(k)^N, with q(k)=e−πK′(k)/K(k)q(k) = e^{-\pi K'(k)/K(k)} and Jacobi theta functions.

The "exact" orders are the unrounded values. They show how close you are to the next integer. For example, an exact order of 4.02 means a small relaxation of the mask would save a whole section.

How to use solve-for

The exact orders change smoothly with the mask, so you can solve backwards from them:

  • Stopband edge from an exact order: for a fixed attenuation spec, find how close to the passband the stopband can start with a given order. For instance, solve fsf_s for "Elliptic order (exact)" = 5.
  • Stopband attenuation from an exact order: find the most rejection a given order can provide. For instance, solve AsA_s for "Chebyshev order (exact)" = 7.

Worked example

These are the default inputs. A low-pass with fp=1f_p = 1 GHz, Ap=0.5A_p = 0.5 dB and fs=2f_s = 2 GHz must have As≥40A_s \ge 40 dB, so Ωs=2\Omega_s = 2.

ResponseExact orderOrderAttenuation at 2 GHz
Butterworth8.1612945.050 dB
Chebyshev4.8218542.039 dB
Elliptic3.5050448.639 dB (stopband floor)

The elliptic filter needs fewer than half the Butterworth sections, which is why it is the default choice when group delay is not a concern. Note that 0.5 dB at the passband edge of a Butterworth is not its 3 dB point. Its 3 dB frequency lies slightly above 1 GHz.

Pozar's maximally flat example (Example 8.3) asks for a 3 dB cutoff at 2 GHz and at least 15 dB at 3 GHz. Enter Ap=3.0103A_p = 3.0103 dB, fp=2f_p = 2 GHz, fs=3f_s = 3 GHz and As=15A_s = 15 dB. The Butterworth exact order is 4.2195, so N=5N = 5 with 17.684 dB at 3 GHz, which agrees with Pozar. A Chebyshev filter with the same 3.0103 dB ripple needs only N=3N = 3 (19.138 dB), and an elliptic filter needs N=2N = 2 (16.810 dB floor).

For band-pass, switch the type to band-pass to see the defaults: a passband of 950–1050 MHz with 0.5 dB, and 40 dB required at 850 MHz and 1200 MHz. The selectivity is Ωs=3.2353\Omega_s = 3.2353, set by the upper edge. The orders are 5 (Butterworth, 41.856 dB), 4 (Chebyshev, 48.858 dB) and 3 (elliptic, 44.894 dB).

Accuracy and validity

The formulas are exact for the ideal approximations, so the only error is floating-point rounding. The golden vectors check:

CheckSourceAgreement
Orders for 8 LP/HP/BP masksscipy buttord, cheb1ord, ellipord (analog)identical
Butterworth/Chebyshev attenuation at fsf_sscipy butter/cheby1 + freqs_zpk< 10⁻¹⁴ relative
Elliptic stopband floormpmath qfrom/kfrom< 10⁻¹⁴ relative
Pozar Example 8.3textbookN = 5
Butterworth Ωs2N\Omega_s^{2N}, Chebyshev T3(2)=26T_3(2) = 26, elliptic Landen (N=2N = 2) boundariesanalytic< 10⁻¹⁵

The results assume ideal, lossless components and the textbook definitions: equiripple Chebyshev type I (ripple in the passband only), and an elliptic response with equiripple in both bands. Inverse Chebyshev (type II) needs the same order as type I for the same mask.

Practical notes

  • Add margin. Component tolerance, finite Q and layout parasitics all eat into the stopband and round off the band edge. Specify AsA_s a few dB above the real requirement, or move fsf_s slightly closer in.
  • Odd orders for LC ladders. Even-order Chebyshev and elliptic ladders need unequal source and load resistances. If both ends must be 50 Ω, round up to the next odd order.
  • Elliptic filters have finite zeros. Their stopband attenuation is a floor, not a monotonic skirt. In an LC ladder the transmission zeros become parallel-resonant series arms (or series-resonant shunt arms), which need extra capacitors.
  • Butterworth and Bessel for phase. If group delay or step response matters, compare the delay of the candidate designs in the LC Filter Designer. A Bessel filter needs a noticeably higher order than a Butterworth for the same mask.
  • Very sharp masks. When Ωs\Omega_s is close to 1, the orders climb steeply. A transition band narrower than about 5 % usually calls for a different technology: SAW/BAW, ceramic, cavity or crystal.

References

  1. D. M. Pozar, Microwave Engineering, 4th ed., Wiley, 2012, §8.3 (maximally flat and equal-ripple responses, attenuation-versus-frequency curves) and Example 8.3.
  2. A. B. Williams and F. J. Taylor, Electronic Filter Design Handbook, 4th ed., McGraw-Hill, 2006, ch. 2 (selecting the response; normalizing band-pass requirements).
  3. R. W. Daniels, Approximation Methods for Electronic Filter Design, McGraw-Hill, 1974, ch. 5 (elliptic degree equation).
  4. A. Antoniou, Digital Signal Processing: Signals, Systems, and Filters, McGraw-Hill, 2006, ch. 10 (analog Butterworth, Chebyshev and elliptic order formulas).

This calculator's results are checked against 63 independent reference values in automated tests on every change. How we check accuracy.