2.5 kHz high shelf
Lifts or drops everything above f0 by a fixed amount and leaves the bottom flat. 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. Shelves fix the slope at S = 1, so there is no Q family to draw; the faint traces are the gain sweep.
Gain at f0 (2.5 kHz)
+3.00 dB
exact at every sample rate — the bilinear transform maps this value, not just the frequency
Pole radius at 48 kHz
0.7604393
conjugate pair at ±16.10°, 0.240 from the circle
−3 dB point
2495.6 Hz
0.998× f0 at Q = 0.7071
16-bit fixed point
holds
largest pole 0.7604256 in Q2.13
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 2.5 kHz 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 | 1.304371 | 0.349909 | 0.240426 | 0.647922 | 0.246784 | 0.496774 | 62.5% |
| 16 kHz | 1.593356 | -1.382901 | 0.490796 | -0.518195 | 0.219447 | 0.468452 | 31.3% |
| 22.1 kHz | 1.688260 | -1.976757 | 0.718033 | -0.883596 | 0.313132 | 0.559582 | 22.7% |
| 32 kHz | 1.774320 | -2.525937 | 0.986448 | -1.207399 | 0.442230 | 0.665004 | 15.6% |
| 44.1 kHz | 1.830722 | -2.891753 | 1.196807 | -1.415446 | 0.551222 | 0.742443 | 11.3% |
| 48 kHz | 1.843266 | -2.973789 | 1.247554 | -1.461237 | 0.578268 | 0.760439 | 10.4% |
| 96 kHz | 1.917026 | -3.461590 | 1.577673 | -1.726647 | 0.759756 | 0.871640 | 5.2% |
| 192 kHz | 1.955639 | -3.721007 | 1.774204 | -1.862717 | 0.871554 | 0.933570 | 2.6% |
const float b0 = 1.84326633f, b1 = -2.97378932f, b2 = 1.24755388f;
const float a1 = -1.46123699f, a2 = 0.57826788f; // 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.7604393 | 0.7604393 | yes | reference |
| float32 | — | 0.7604393 | 0.7604393 | yes | 0.0000 dB |
| 32-bit fixed | Q2.29 | 0.7604393 | 0.7604393 | yes | 0.0000 dB |
| 24-bit fixed | Q2.21 | 0.7604394 | 0.7604394 | yes | 0.0000 dB |
| 16-bit fixed | Q2.13 | 0.7604256 | 0.7604256 | yes | 0.0015 dB |
What gain does at 2.5 kHz
A shelf reaches half its dB gain at f₀ — exactly half, at every sample rate — and its full gain on the far side.
| Gain | At f₀ | b0 | a1 | a2 | Pole r |
|---|---|---|---|---|---|
| -12 dB | −6.00 dB | 0.294917 | -1.673238 | 0.719589 | 0.848286 |
| -6 dB | −3.00 dB | 0.542515 | -1.613326 | 0.676817 | 0.822689 |
| -3 dB | −1.50 dB | 0.736463 | -1.579596 | 0.653753 | 0.808550 |
| +3 dB | +1.50 dB | 1.357841 | -1.503726 | 0.604419 | 0.777444 |
| +6 dB | +3.00 dB | 1.843266 | -1.461237 | 0.578268 | 0.760439 |
| +12 dB | +6.00 dB | 3.390786 | -1.366298 | 0.523464 | 0.723508 |
Questions this filter answers
What are the biquad coefficients for a 2.5 kHz high-shelf filter at 48 kHz?
b0 = 1.843266, b1 = -2.973789, b2 = 1.247554, a1 = -1.461237, a2 = 0.578268, with a0 normalised to 1 — the RBJ Audio EQ Cookbook form at Q = 0.7071 and +6 dB of gain. 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 2.5 kHz high-shelf filter stable in 16-bit fixed point?
Yes. Rounding the five coefficients to a shared 2.13 scale leaves the largest pole at 0.7604256, against 0.7604393 exact, and the response drifts by at most 0.002 dB inside the band. 24-bit takes that to 0.0000 dB.
Where is the real −3 dB point of a 2.5 kHz high-shelf filter?
2495.6 Hz, which is 0.998× the 2.5 kHz corner. f0 and the −3 dB point are the same frequency only at Q = 1/√2; this page is designed at Q = 0.7071, and a shelf does not read Q at all — its slope is fixed at S = 1, matching Web Audio's BiquadFilterNode, so the gain sweep above is the family that moves this filter rather than a Q sweep.
How close to the unit circle are the poles of a 2.5 kHz high-shelf filter?
0.7604393 at 48 kHz, as a conjugate pair at ±16.10°. Pole radius rises toward 1 as the corner frequency falls relative to the sample rate — the same filter at 192 kHz sits at 0.9335704 and at 8 kHz at 0.4967738. 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 2.5 kHz corner as every other filter type.
- Low-pass2.5 kHz
- High-pass2.5 kHz
- Band-pass2.5 kHz
- Notch2.5 kHz
- All-pass2.5 kHz
- Peaking EQ2.5 kHz
- Low shelf2.5 kHz
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 +3.00 dB at 2.5 kHz 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.