Butterworth filter order and cut-off calculator
Find the lowest Butterworth filter order that meets your passband and stopband specification, and the cut-off frequency to design for.
Butterworth filter order
Enter the passband edge, the stopband edge and how much attenuation you need. You get the lowest filter order that meets it, and the cut-off frequency to design for. Works for low-pass; for high-pass, swap the meaning of the two edges.
n ≥ log[(10^(A_s/10) − 1) / (10^(A_p/10) − 1)] / (2 log(f_s / f_p))
How it works
- A Butterworth filter’s loss is 10 log(1 + (f/fc)²ⁿ) dB.
- Requiring at most Ap at fp and at least As at fs gives the order formula above; round up.
- Each extra order makes the roll-off 20 dB per decade steeper.
Worked example
fp = 1 kHz, fs = 4 kHz, Ap = 3 dB, As = 40 dB: n = log(9999 ÷ 0.995) ÷ (2 log 4) = 3.32, so n = 4. The loss at 4 kHz is then about 48 dB.
Common questions
Why Butterworth and not Chebyshev?
Butterworth has a perfectly flat passband. Chebyshev reaches the same stopband with a lower order but adds ripple in the passband.
Does this work for digital filters?
For an IIR filter made with the bilinear transform, first pre-warp your edge frequencies, then use the same order formula.
More calculators
- Resistor colour codePick the four colour bands and get the resistance, tolerance and the range the real part can fall in.
- Ohm's law and powerEnter any two of voltage, current, resistance and power.
- Voltage dividerTwo resistors in series split the input voltage.
- RC filter cut-offGet the cut-off frequency and time constant of a first-order RC filter, low-pass or high-pass.
- RL filter cut-offGet the cut-off frequency and time constant of a first-order RL filter.
- 555 timer (astable)Get the frequency, high and low times and duty cycle of a 555 timer running in astable mode.
- Op-amp gainGet the gain of an inverting or non-inverting op-amp amplifier, in times and in dB, and the output for a given input.
- Number base converterConvert between decimal, binary, hexadecimal and octal.
- Decibel converterConvert a power or voltage ratio to decibels, or decibels back to a ratio.
- SGPA calculatorEnter each subject’s credits and grade to get your semester grade point average.
- Digital logic toolsTruth tables, K-maps, simplifier and gates.