160 Hz notch
Removes one frequency and leaves the rest of the spectrum untouched. Solved at 8 sample rates, with the poles, the real −3 dB point and the word length it stops working at.
Magnitude response at 48 kHz
Every vertex is 20·log₁₀|H(ejω)| evaluated on the unit circle — not a sketch of the filter's shape. The faint traces behind it are the same corner at every Q in the sweep below.
Gain at f0 (160 Hz)
−∞ dB
exact at every sample rate — the bilinear transform maps this value, not just the frequency
Pole radius at 48 kHz
0.9895830
conjugate pair at ±1.04°, 0.0104 from the circle
−3 dB point
none
the magnitude never falls 3 dB below its own peak inside the band
16-bit fixed point
holds
largest pole 0.9895696 in Q1.14
Coefficients, at every sample rate
The cookbook computes w₀ = 2πf₀/Fs, so the same filter is a different set of numbers at every rate. Rates whose Nyquist limit is at or below 160 Hz are absent because the filter does not exist there — equivalently, the f₀/Nyquist column never reaches 100%. That is why this table is 8 rows and a 20 Hz page is 8.
| Sample rate | b0 | b1 | b2 | a1 | a2 | Pole r | f₀/Nyquist |
|---|---|---|---|---|---|---|---|
| 8 kHz | 0.941029 | -1.867217 | 0.941029 | -1.867217 | 0.882058 | 0.939179 | 4.0% |
| 16 kHz | 0.969560 | -1.935294 | 0.969560 | -1.935294 | 0.939121 | 0.969082 | 2.0% |
| 22.1 kHz | 0.977719 | -1.953407 | 0.977719 | -1.953407 | 0.955439 | 0.977466 | 1.5% |
| 32 kHz | 0.984537 | -1.968103 | 0.984537 | -1.968103 | 0.969075 | 0.984416 | 1.0% |
| 44.1 kHz | 0.988731 | -1.976949 | 0.988731 | -1.976949 | 0.977463 | 0.988667 | 0.7% |
| 48 kHz | 0.989637 | -1.978841 | 0.989637 | -1.978841 | 0.979275 | 0.989583 | 0.7% |
| 96 kHz | 0.994791 | -1.989474 | 0.994791 | -1.989474 | 0.989583 | 0.994778 | 0.3% |
| 192 kHz | 0.997389 | -1.994750 | 0.997389 | -1.994750 | 0.994778 | 0.997385 | 0.2% |
const float b0 = 0.98963730f, b1 = -1.97884051f, b2 = 0.98963730f;
const float a1 = -1.97884051f, a2 = 0.97927460f; // a0 == 1What word length this filter survives
The fixed-point rows round all five coefficients to one shared scale, which is what a q15/q31 biquad section does with its post-shift.Pole radius is solved from the quadratic, not taken as √|a₂| — once rounding pushes the poles onto the real axis those two disagree, and the convenient one reports a comfortable margin on a filter that has already left the unit circle. Error is the worst deviation from float64 across frequencies where the response is within 40 dB of its own peak; below that it is measuring the −200 dB floor.
| Word format | Q format | Largest pole | √|a₂| says | Stable | Worst error in band |
|---|---|---|---|---|---|
| float64 | — | 0.9895830 | 0.9895830 | yes | reference |
| float32 | — | 0.9895830 | 0.9895830 | yes | 0.0252 dB |
| 32-bit fixed | Q1.30 | 0.9895830 | 0.9895830 | yes | 0.0003 dB |
| 24-bit fixed | Q1.22 | 0.9895830 | 0.9895830 | yes | 0.0254 dB |
| 16-bit fixed | Q1.14 | 0.9895696 | 0.9895696 | yes | 2.1647 dB |
What Q does at 160 Hz
f₀ does not move with Q — the −3 dB point does. They are the same frequency only at Q = 1/√2, which is why a Butterworth corner is the one people quote and why every other Q surprises somebody.
| Q | At f₀ | Peak | −3 dB | Pole r | Group delay at f₀ |
|---|---|---|---|---|---|
| 0.5 | −∞ dB | 0.00 dB @ 24.00 kHz | — | 0.979272 | -499.005 ms |
| 0.7071 | −∞ dB | 0.00 dB @ 24.00 kHz | 309.1 Hz | 0.985300 | -498.593 ms |
| 1 | −∞ dB | 0.00 dB @ 24.00 kHz | 258.9 Hz | 0.989583 | -498.010 ms |
| 2 | −∞ dB | 0.00 dB @ 24.00 kHz | — | 0.994778 | -496.021 ms |
| 4 | −∞ dB | 0.00 dB @ 24.00 kHz | 181.2 Hz | 0.997386 | -492.043 ms |
| 10 | −∞ dB | 0.00 dB @ 24.00 kHz | 168.2 Hz | 0.998953 | -480.130 ms |
Questions this filter answers
What are the biquad coefficients for a 160 Hz notch filter at 48 kHz?
b0 = 0.989637, b1 = -1.978841, b2 = 0.989637, a1 = -1.978841, a2 = 0.979275, with a0 normalised to 1 — the RBJ Audio EQ Cookbook form at Q = 1.0000. Every other sample rate in the table above gives different numbers for the same filter, because w0 = 2πf0/Fs and every cosine and sine downstream of it moves.
Is a 160 Hz notch filter stable in 16-bit fixed point?
Yes. Rounding the five coefficients to a shared 1.14 scale leaves the largest pole at 0.9895696, against 0.9895830 exact, and the response drifts by at most 2.165 dB inside the band. 24-bit takes that to 0.0254 dB.
Where is the real −3 dB point of a 160 Hz notch filter?
This type has no −3 dB edge to find: its magnitude response sits at 0.00 dB at its peak and never falls 3 dB below it inside the band. At f0 the response measures −∞ dB.
How close to the unit circle are the poles of a 160 Hz notch filter?
0.9895830 at 48 kHz, as a conjugate pair at ±1.04°. Pole radius rises toward 1 as the corner frequency falls relative to the sample rate — the same filter at 192 kHz sits at 0.9973854 and at 8 kHz at 0.9391793. That distance is the whole story of the fixed-point table: a pole a few parts in 10⁵ from the circle has nowhere to be rounded to.
The neighbouring corners
One third-octave either side, and the same 160 Hz corner as every other filter type.
- Low-pass160 Hz
- High-pass160 Hz
- Band-pass160 Hz
- All-pass160 Hz
- Peaking EQ160 Hz
- Low shelf160 Hz
- High shelf160 Hz
Method and limits. Coefficients follow the RBJ Audio EQ Cookbook, the bilinear transform of the analog prototype prewarped so the corner lands exactly on f0 — which is why −∞ dB at 160 Hz holds at every sample rate in the table rather than only at low f0/Fs. Shelves fix the slope at S = 1, matching Web Audio's BiquadFilterNode, so Q is not read for those two types. Pole and zero radii are the roots of the quadratic, not sqrt(|a2|). The fixed-point rows model a single shared coefficient scale and no other quantisation: they say nothing about signal-path headroom, limit cycles or the accumulator width your implementation uses, all of which can make a filter that passes this table still misbehave. Nothing on this page is fetched or estimated — it is solved from the type and the frequency in the URL.