Interactive Sallen-Key 2nd-Order Filter Solver
Type values into any fields (using standard engineering suffixes like m, u, n, k, M) and leave the remaining field empty to solve for it.
Circuit Parameters
1T (1 THz) simulates an ideal op-amp. We recommend setting GBW from your device's datasheet for an accurate high-frequency Bode plot:Bode Plot (Amplitude & Phase)
Interactive dual-axis AC frequency response (1 Hz to 100 MHz). Move or drag your mouse across the plot to inspect amplitude and phase.
Sallen-Key 2nd-Order Filter Equations & Design Guidelines
Core transfer equation: fc = 1 / (2π · √(R1 · R2 · C1 · C2))
1. 1. Sallen-Key 2nd-Order Synthesis
Introduced by R. P. Sallen and E. L. Key at MIT Lincoln Lab in 1955, the unity-gain Sallen-Key topology synthesizes 2nd-order complex poles without inductors:
- Natural Frequency (fc): fc = 1 / (2π × √(R1 × R2 × C1 × C2))
- Quality Factor (LPF): Q = √(R1 × R2 × C1 × C2) / [C2 × (R1 + R2)]
2. 2. Equal-Resistor Butterworth Recipe
Setting R1 = R2 = R simplifies the Q equation to Q = 0.5 × √(C1 / C2):
- Butterworth (Q = 0.7071): Choose C1 = 2 × C2 with R1 = R2
- Bessel (Q = 0.5774): Choose C1 = 1.333 × C2 with R1 = R2
Using the Sallen-Key 2nd-Order Filter Calculator in a Real Design
The Sallen-Key stage makes a second-order filter from one op-amp, two resistors and two capacitors. With equal resistors, the ratio of the capacitors sets the Q: a ratio of two gives the maximally flat Butterworth response. It is the standard building block for anti-aliasing and reconstruction filters.
Worked example: A 1 kHz Butterworth-like low-pass
R1 = R2 = 10 kΩ, C1 = 22 nF (feedback) and C2 = 10 nF (to ground).
- fc = 1 / (2π × 10 kΩ × √(22 nF × 10 nF)) = 1 / (2π × 10 kΩ × 14.8 nF) = 1073 Hz.
- Q = ½ √(C1/C2) = ½ √2.2 = 0.74, close to the Butterworth value of 0.707.
What it means: A corner near 1.07 kHz, rolling off at 40 dB per decade with almost no peaking. Standard values put the Q 5% above Butterworth, a peak of about 0.1 dB.
Common mistakes
- High-frequency feedthrough. Far above the corner the signal passes through C1 into the op-amp’s output, whose impedance is no longer low. The stopband attenuation bottoms out and then gets worse. Follow the stage with a passive RC if that matters.
- Capacitor tolerance sets the Q. The Q depends on the capacitor ratio. Two 10% capacitors can move it from 0.74 to anywhere between 0.67 and 0.82. Use 5% or better C0G or film parts.
- Op-amp bandwidth. As a rule the GBW should be at least 100 × fc × Q for the response to follow the design.