NewAI Part GeneratorFree to get started
FREE TOOL

Butterworth filter calculator

Give this Butterworth filter calculator your attenuation spec to find the filter order, then get L and C values for a π or T ladder, or the stage Qs and parts for an active Sallen-Key cascade. Each result comes with a magnitude plot.

Solve for
Examples
Hz
dB

Use 3 to treat fp as the −3 dB point.

Hz
dB
Hz

Optional.

Minimum filter order

4

exact value 3.324, rounded up

Exact order before rounding up
3.324
Cutoff that just meets the passband
1.001 kHz 48.1 dB at fs
Cutoff that just meets the stopband
1.265 kHz 0.62 dB at fp
Roll-off
80 dB/decade well above the cutoff
Highest stage Q
1.307
Second-order stage Qs
0.5412, 1.3066

Any cutoff between the two shown meets both limits. The first puts all the margin in the stopband, the second all of it in the passband.

Magnitude response
-100-80-60-40-2001001k10kFrequency (Hz)Gain (dB)−3 dB−40 dBfp 1 kHzfs 4 kHz
n = 4n = 3n = 5

What each order gives (cutoff set to just meet the passband)

OrderCutoffAttenuation at fsMarginHighest stage Q
31.001 kHz36.1 dB−3.9 dB1.000
41.001 kHz48.1 dB+8.1 dB1.307
51 kHz60.2 dB+20.2 dB1.618
61 kHz72.2 dB+32.2 dB1.932

How do you design a Butterworth low-pass filter?

Work out the order from n ≥ log10[(10^(As/10) − 1) ÷ (10^(Ap/10) − 1)] ÷ (2 log10(fs/fp)) and round up: 3 dB at 5 kHz and 40 dB at 20 kHz needs order 4. For an LC ladder, scale g_k = 2 sin((2k − 1)π ÷ 2n) with L = g Z0 ÷ (2π fc) and C = g ÷ (2π fc Z0). For an active filter, cascade second-order stages with pole frequency fc and Q = 1 ÷ g_k.

Butterworth filter formula and order equation

A Butterworth low-pass filter has the flattest possible passband for its order. The Butterworth filter equation for its power response has only one term that grows with frequency.

|H(f)| = 1 ÷ √(1 + (f / fc)^(2n))     A(f) = 10 log10(1 + (f / fc)^(2n))
fc
−3 dB cutoff frequency in Hz
n
filter order
A(f)
attenuation in dB

The order for no more than Ap dB of loss at the passband edge fp and at least As dB at the stopband edge fs:

n ≥ log10[(10^(As/10) − 1) ÷ (10^(Ap/10) − 1)] ÷ (2 log10(fs / fp))

Any cutoff between these two meets both limits:

fc = fp ÷ (10^(Ap/10) − 1)^(1/2n)     fc = fs ÷ (10^(As/10) − 1)^(1/2n)

The doubly terminated ladder (source and load both Z0) comes from the normalized values:

g_k = 2 sin((2k − 1)π ÷ 2n)     L = g Z0 ÷ (2π fc)     C = g ÷ (2π fc Z0)
g_k
k-th normalized element, k = 1 to n
Z0
source and load resistance in Ω

An active filter factors the same response into second-order sections s² + a s + 1, each with pole frequency fc, plus one first-order section for odd orders. The a values match the first half of the g values:

a_k = 2 sin((2k − 1)π ÷ 2n)     Q_k = 1 ÷ a_k     k = 1 to ⌊n/2⌋

Butterworth filter design: worked examples

Example 1: what order for 40 dB two octaves above the passband?

With Ap = 3 dB at 5 kHz and As = 40 dB at 20 kHz, the exact order is 3.32 (the example in C.L. Wyatt’s ECE 3704 notes), so use n = 4. Setting the cutoff to meet the passband exactly gives fc = 5.003 kHz and 48.1 dB at 20 kHz, which is 8.1 dB of margin.

Example 2: third-order π ladder at 10 MHz in 50 Ω

g = 1, 2, 1. C1 = C3 = 1 ÷ (2π × 10 MHz × 50 Ω) = 318 pF and L2 = 2 × 50 Ω ÷ (2π × 10 MHz) = 1.59 µH. Rounding to E24 gives 330 pF, 1.6 µH and 330 pF, for 3.22 dB of loss at 10 MHz instead of 3.01 dB. At 20 MHz the ideal filter is 18.1 dB down.

Example 3: fourth-order active filter at 1 kHz

The stages have Q = 0.5412 and 1.3066, both with their poles at 1 kHz. With C1 = 10 nF, stage 1 takes C2 = 12 nF, R1 = 12.4 kΩ and R2 = 16.9 kΩ; stage 2 takes C2 = 82 nF, R1 = 3.57 kΩ and R2 = 8.66 kΩ. TI’s 1 % rule needs an op amp with about 119 kHz of unity-gain bandwidth, set by the second stage.

Butterworth filter table: g values, order 1 to 10

Normalized element values, g_k = 2 sin((2k − 1)π / 2n), for equal 1 Ω terminations and a 1 rad/s cutoff. Each row reads the same forward and backward.

ng1g2g3g4g5g6g7g8g9g10
12.0000
21.41421.4142
31.00002.00001.0000
40.76541.84781.84780.7654
50.61801.61802.00001.61800.6180
60.51761.41421.93191.93191.41420.5176
70.44501.24701.80192.00001.80191.24700.4450
80.39021.11111.66291.96161.96161.66291.11110.3902
90.34731.00001.53211.87942.00001.87941.53211.00000.3473
100.31290.90801.41421.78201.97541.97541.78201.41420.90800.3129

Attenuation versus frequency for each Butterworth filter order

A(f) = 10 log10(1 + (f/fc)^(2n)), where fc is the −3 dB frequency. Read across for how far above the cutoff you need the attenuation.

Order1.2 × fc1.5 × fc2 × fc3 × fc5 × fc10 × fc
13.9 dB5.1 dB7.0 dB10.0 dB14.1 dB20.0 dB
24.9 dB7.8 dB12.3 dB19.1 dB28.0 dB40.0 dB
36.0 dB10.9 dB18.1 dB28.6 dB41.9 dB60.0 dB
47.2 dB14.3 dB24.1 dB38.2 dB55.9 dB80.0 dB
58.6 dB17.7 dB30.1 dB47.7 dB69.9 dB100.0 dB
610.0 dB21.2 dB36.1 dB57.3 dB83.9 dB120.0 dB
711.4 dB24.7 dB42.1 dB66.8 dB97.9 dB140.0 dB
812.9 dB28.2 dB48.2 dB76.3 dB111.8 dB160.0 dB

Butterworth polynomial table: second-order stages for active filters

All sections have pole frequency fc. Values are listed in rising Q, the order the stages should be built in. They agree with TI SLOA049 Table 9-1 and Op Amps for Everyone Table 16-5.

OrderFirst-order RC sectiona (s² + a s + 1)Q
2no1.41420.7071
3yes1.00001.0000
4no1.8478, 0.76540.5412, 1.3066
5yes1.6180, 0.61800.6180, 1.6180
6no1.9319, 1.4142, 0.51760.5176, 0.7071, 1.9319
7yes1.8019, 1.2470, 0.44500.5550, 0.8019, 2.2470
8no1.9616, 1.6629, 1.1111, 0.39020.5098, 0.6013, 0.9000, 2.5629
9yes1.8794, 1.5321, 1.0000, 0.34730.5321, 0.6527, 1.0000, 2.8794
10no1.9754, 1.7820, 1.4142, 0.9080, 0.31290.5062, 0.5612, 0.7071, 1.1013, 3.1962

Where the ideal filter and the real one part ways

The ladder model in this Butterworth calculator uses lossless L and C and exact resistive terminations. A real inductor adds series resistance, which turns the sharp −3 dB corner soft and adds passband loss, and a self-resonance above which it behaves like a capacitor, which limits the stopband. Capacitors have ESL for the same reason, so stopband rejection at high frequency is usually set by parts and layout, not by the order. Mismatched terminations also distort the response: an active stage or an attenuator pad is the fix if the source or load is not really Z0. In an active cascade, the highest-Q stage (3.20 at order 10) is the most sensitive to part tolerance and needs the most op amp bandwidth, and C0G/NP0 capacitors with 1 % resistors keep each stage on its target. At high orders the tolerance stack and the op amp count usually favor a lower-order Chebyshev design if some passband ripple is acceptable.

Glossary

Butterworth response
The maximally flat low-pass response: no ripple, −3 dB at fc, and a monotonic fall.
Order (n)
The number of poles, equal to the number of L and C elements in a ladder.
g values
Normalized ladder element values for 1 Ω terminations and a 1 rad/s cutoff.
π and T ladders
The two ways to start a ladder: a shunt capacitor first (π) or a series inductor first (T).
Passband edge and stopband edge
The frequency up to which the loss must stay under a limit, and the frequency from which it must exceed one.
Insertion loss
How much less power reaches the load with the filter in place than with a direct connection.

Related guides

Frequently asked questions

How do I calculate the Butterworth filter order?

n ≥ log10[(10^(As/10) − 1) / (10^(Ap/10) − 1)] / (2 log10(fs/fp)), rounded up. For 3 dB at 5 kHz and 40 dB at 20 kHz the exact value is 3.32, so the filter needs order 4. The Butterworth filter order calculator in the first tab does this from your passband and stopband limits.

What are Butterworth filter coefficients and g values?

The g values are the normalized ladder elements for 1 Ω terminations and a 1 rad/s cutoff, g_k = 2 sin((2k − 1)π / 2n). For order 3 they are 1, 2, 1, and for order 4 they are 0.7654, 1.8478, 1.8478, 0.7654. An active filter uses the a coefficient of each s² + a s + 1 section, and those match the first half of the g values.

How do I turn g values into L and C?

L = g Z0 / (2π fc) for each series element and C = g / (2π fc Z0) for each shunt element, with equal source and load resistance Z0. Alternate them: a π ladder starts with a shunt capacitor and a T ladder with a series inductor.

What is the attenuation of a Butterworth filter at the cutoff frequency?

3.01 dB for every order, because the response is 1 / √(1 + (f/fc)^(2n)) and f = fc makes that 1 / √2. Order only changes how fast it falls after that.

How fast does a Butterworth filter roll off?

20 dB per decade per order well above the cutoff. A 5th-order filter is 100 dB down at 10 × fc. Near the cutoff it is less: the same filter is 30.1 dB down at 2 × fc.

What Q does each stage of an active Butterworth filter need?

A 2nd-order filter uses one stage with Q = 0.7071. A 4th-order uses 0.5412 and 1.3066. A 6th-order uses 0.5176, 0.7071, 1.9319. Every stage has its pole frequency at fc, and odd orders add one first-order RC section.

Should I use a π or a T ladder?

Both give the same response with equal terminations. For odd orders the π form has one inductor fewer, which usually means lower cost and loss, so it is the common choice. Even orders use the same number of each, so pick the form that suits what is at each end.

Butterworth, Chebyshev or Bessel: which should I use?

TI SLOA049 summarizes it: Butterworth has the flattest passband and a moderate roll-off, Chebyshev rolls off faster but ripples and rings, and Bessel keeps a constant group delay with no overshoot but rolls off slowest. Butterworth is the usual default when a flat passband matters and the transient response is not critical.

More free PCB tools

See all free electronics tools →

Sources

Design the whole board, not one number

ProtoFlow is free AI PCB design software: describe a circuit and get a schematic with real parts, PCB layout with an autorouter, SPICE simulation and Gerber files. Native KiCad, Altium and EAGLE import and export. Free on macOS, Windows and Linux.

Get for Mac

Free to start. No card required.