125 Hz 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 (125 Hz)
+3.00 dB
exact at every sample rate — the bilinear transform maps this value, not just the frequency
Pole radius at 48 kHz
0.9863433
conjugate pair at ±0.79°, 0.0137 from the circle
−3 dB point
124.8 Hz
0.998× f0 at Q = 0.7071
16-bit fixed point
holds
largest pole 0.9863571 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 125 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 | 1.947831 | -3.668301 | 1.733027 | -1.835374 | 0.847931 | 0.920832 | 3.1% |
| 16 kHz | 1.971377 | -3.827631 | 1.859521 | -1.917545 | 0.920812 | 0.959590 | 1.6% |
| 22.1 kHz | 1.977899 | -3.871977 | 1.895818 | -1.940151 | 0.941891 | 0.970511 | 1.1% |
| 32 kHz | 1.983280 | -3.908642 | 1.926196 | -1.958754 | 0.959587 | 0.979585 | 0.8% |
| 44.1 kHz | 1.986560 | -3.931023 | 1.944904 | -1.970068 | 0.970510 | 0.985145 | 0.6% |
| 48 kHz | 1.987266 | -3.935841 | 1.948948 | -1.972500 | 0.972873 | 0.986343 | 0.5% |
| 96 kHz | 1.991260 | -3.963135 | 1.971969 | -1.986249 | 0.986343 | 0.993148 | 0.3% |
| 192 kHz | 1.993260 | -3.976818 | 1.983581 | -1.993125 | 0.993148 | 0.996568 | 0.1% |
const float b0 = 1.98726572f, b1 = -3.93584053f, b2 = 1.94894784f;
const float a1 = -1.97249999f, a2 = 0.97287302f; // 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.9863433 | 0.9863433 | yes | reference |
| float32 | — | 0.9863433 | 0.9863433 | yes | 0.0041 dB |
| 32-bit fixed | Q2.29 | 0.9863433 | 0.9863433 | yes | 0.0000 dB |
| 24-bit fixed | Q2.21 | 0.9863434 | 0.9863434 | yes | 0.0110 dB |
| 16-bit fixed | Q2.13 | 0.9863571 | 0.9863571 | yes | 2.4838 dB |
What gain does at 125 Hz
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.253245 | -1.983618 | 0.983751 | 0.991842 |
| -6 dB | −3.00 dB | 0.503204 | -1.980531 | 0.980718 | 0.990312 |
| -3 dB | −1.50 dB | 0.709363 | -1.978775 | 0.978998 | 0.989443 |
| +3 dB | +1.50 dB | 1.409715 | -1.974775 | 0.975089 | 0.987466 |
| +6 dB | +3.00 dB | 1.987266 | -1.972500 | 0.972873 | 0.986343 |
| +12 dB | +6.00 dB | 3.948751 | -1.967317 | 0.967843 | 0.983790 |
Questions this filter answers
What are the biquad coefficients for a 125 Hz high-shelf filter at 48 kHz?
b0 = 1.987266, b1 = -3.935841, b2 = 1.948948, a1 = -1.972500, a2 = 0.972873, 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 125 Hz 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.9863571, against 0.9863433 exact, and the response drifts by at most 2.484 dB inside the band. 24-bit takes that to 0.0110 dB.
Where is the real −3 dB point of a 125 Hz high-shelf filter?
124.8 Hz, which is 0.998× the 125 Hz 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 125 Hz high-shelf filter?
0.9863433 at 48 kHz, as a conjugate pair at ±0.79°. Pole radius rises toward 1 as the corner frequency falls relative to the sample rate — the same filter at 192 kHz sits at 0.9965682 and at 8 kHz at 0.9208315. 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 125 Hz corner as every other filter type.
- Low-pass125 Hz
- High-pass125 Hz
- Band-pass125 Hz
- Notch125 Hz
- All-pass125 Hz
- Peaking EQ125 Hz
- Low shelf125 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 +3.00 dB at 125 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.