Toolvito

Calculates on this device. File exports run online.

Butterworth Filter Calculator

Work out a Butterworth filter: its loss at any frequency, its poles and second-order stages with Sallen-Key or LC ladder values, the order a specification needs, band-pass and band-stop versions, and the coefficients of a digital Butterworth filter.

Enter your values

Your values

More options

Optional: gives unity-gain Sallen-Key values for each stage (C2 of a low-pass stage, both capacitors of a high-pass stage).

Optional: gives the parts of a doubly terminated LC ladder.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

Full Butterworth design with Bode plot

Full Butterworth design with Bode plot

Uses the filter of the result above (all four modes). The server designs it with SciPy and gives the poles, the stages, the response with phase and group delay, the step response, a Bode plot and, for the first mode, Sallen-Key or LC ladder values checked by a circuit analysis.

The calculator above works on your device. When you run a task in this section, Toolvito receives the values and result you submit to make the file or run the check. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

How to use the Butterworth filter calculator

  1. Choose what you want: the response of a filter of a given order, the order for a specification, a band-pass or band-stop filter, or a digital filter.
  2. Type the cut-off frequency (the −3 dB point) and the order, or the edges and losses of your specification.
  3. Under More options type a capacitor value for Sallen-Key stages or a resistance for an LC ladder.
  4. Press Calculate. The box under the result designs the same filter on the server with a Bode plot, group delay and step response.

The formulas

  • Response: |H|² = 1 ÷ (1 + (f/fc)^(2n)) for a low-pass; fc ÷ f for a high-pass. Every order is 3.01 dB down at fc and falls 20n dB per decade.
  • Poles: −sin θₖ + j cos θₖ with θₖ = (2k − 1)π ÷ (2n), on a circle of radius 2π fc. Each pair is a stage with f0 = fc and Q = 1 ÷ (2 sin θₖ): 0.7071 for n = 2; 0.5412 and 1.3066 for n = 4.
  • Order: n = log10((10^(As/10) − 1) ÷ (10^(Ap/10) − 1)) ÷ (2 log10(fs ÷ fp)), rounded up.
  • Band-pass: f0 = √(f1 f2), bandwidth B = f2 − f1, |H|² = 1 ÷ (1 + ((f² − f0²) ÷ (f B))^(2n)).
  • Digital: the bilinear transform with K = tan(π fc ÷ fs) gives biquads with exactly −3.01 dB at fc.

Worked example

A 4th-order low-pass at 1 kHz loses 24.10 dB at 2 kHz (1 ÷ (1 + 2⁸) in power). Its two stages both have f0 = 1 kHz, with Q = 0.5412 and 1.3066.

To keep at most 1 dB loss up to 1 kHz and at least 40 dB from 3 kHz you need order 5, with fc = 1,144.7 Hz.

Limits you should know

  • Ideal parts and op-amps. Sallen-Key stages with high Q need accurate capacitors; real op-amps limit the highest frequencies.
  • A Butterworth filter has a flat pass band but rings on steps; a Bessel filter keeps the waveform better, a Chebyshev or elliptic one is steeper (see the box below).

Related tools