Skip to content
Omnikalc

Sallen-Key filter calculator: natural frequency, Q factor and −3 dB cutoff

Enter the two resistors and the two capacitors of a unity-gain Sallen-Key low-pass filter to get the natural frequency, the Q factor, the −3 dB frequency, the peaking and the step overshoot.

Updated on
Your inputs
kΩ

Value out of range

kΩ

Value out of range

nF

Value out of range

nF

Value out of range

Results

Natural frequency f0

1,073.0 Hz

Quality factor Q
0.742
Flat response close to a Butterworth filter (0.707)
−3 dB frequency
1,122.9 Hz
Peak at resonance
0.04 dB
Overshoot on a step
5.7%

The Sallen-Key filter is a second-order active low-pass filter made of two resistors, two capacitors and an op-amp follower. The Sallen-Key calculator gives the natural frequency, the quality factor Q, the −3 dB cutoff, the peaking and the overshoot of the step response.

How the calculation works

  • Enter the two resistors R1 and R2 of the filter: R1 is on the input side, R2 connects to the non-inverting input of the op-amp.
  • Enter the two capacitors: C1 goes from the node between the resistors to the output (the feedback capacitor), and C2 goes from the non-inverting input to ground.
  • The op-amp is a unity-gain follower, the basic low-pass Sallen-Key filter of second order.
  • Read the natural frequency f0 = 1 / (2π √(R1 R2 C1 C2)), the quality factor Q, the −3 dB frequency, the peaking and the overshoot to a step.

Example

A unity-gain Sallen-Key low-pass filter has R1 = R2 = 10 kΩ, C1 = 22 nF and C2 = 10 nF. The time constant √(R1 R2 C1 C2) is 148.3 µs, so the natural frequency is 1 / (2π × 148.3 µs) = 1,073.0 Hz. The quality factor is Q = √(R1 R2 C1 C2) / (C2 (R1 + R2)) = 0.742, close to the Butterworth value of 0.707. The −3 dB frequency is 1,122.9 Hz, the peak at resonance only 0.04 dB and the overshoot to a step 5.7%.

Why it matters

The calculator helps electronics students, audio designers and engineers to check a filter before building it, to choose the capacitor ratio for a Butterworth or Bessel response, and to find the real cutoff of an anti-aliasing or noise filter. It saves the algebra of the transfer function.

Good to know

Choose the capacitors first, from standard values, then compute the resistors, and check that the resistors are in the range of 1 kΩ to 100 kΩ. Use an op-amp with a high enough gain-bandwidth product and a low output impedance. For an accurate filter, use 1% resistors and C0G capacitors, and measure the real values of the parts.

The RC filter calculator covers the first-order filter, the op-amp gain calculator sets the gain of the amplifier stage, the LC resonance calculator gives the passive resonant filter, and the noise figure calculator shows how the noise of a stage counts.

Frequently asked questions

What is a Sallen-Key filter?

A Sallen-Key filter is a second-order active filter made of two resistors, two capacitors and an op-amp, often used as a follower with a gain of 1. It gives a roll-off of 40 dB per decade, twice as steep as a simple RC filter, and a response that depends on the quality factor Q. Several stages in series make the filters of higher order, such as the fourth-order Butterworth.

What are the formulas?

For the unity-gain low-pass circuit, the natural frequency is f0 = 1 / (2π √(R1 R2 C1 C2)) and the quality factor is Q = √(R1 R2 C1 C2) / (C2 (R1 + R2)). With equal resistors, Q = ½ √(C1 / C2), so a ratio C1 / C2 = 2 gives the Butterworth response, Q = 0.707. Equal capacitors and a gain of 1 give Q = 0.5, a response that is too soft.

How do I choose Q?

A Q of 0.707 gives the flattest passband, the Butterworth response. A lower Q, such as 0.5, has no peak but rolls off earlier. A Q of 0.58 gives a Bessel response, with the best step response and a constant delay. A higher Q, such as 1 or more, makes a peak near the cutoff, as in the Chebyshev filters, and more overshoot on a step.

What are the limits of the circuit?

The op-amp must be much faster than the cutoff: its gain-bandwidth product should be at least 100 times f0 for a good response. The tolerances of the parts shift f0 and Q, so use 1% resistors and 5% or better capacitors. The output impedance of the previous stage adds to R1, and a high-Q filter is sensitive to the values of the parts.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.