# 31.5 Hz high-pass

Rejects everything below the corner at 12 dB/octave and passes what is above it. Solved at 8 sample rates, with the poles, the real −3 dB point and the word length it stops working at.

Canonical page: https://makerportal.ai/lab/biquad/highpass/31-5-hz
Page title: 31.5 Hz High-pass Biquad Coefficients — RBJ cookbook

This markdown document and the HTML page above are rendered from the same solved values at build time, by the same functions. Nothing here is written by a language model and nothing is fetched at request time.

## Key figures

- **Filter:** 31.5 Hz high-pass filter — Q = 0.7071
- **Gain at f0 (31.5 Hz):** −3.01 dB — exact at every sample rate — the bilinear transform maps this value, not just the frequency
- **Pole radius at 48 kHz:** 0.9970886 — conjugate pair at ±0.17°, 0.00291 from the circle
- **−3 dB point:** 31.5 Hz — 1.000× f0 at Q = 0.7071
- **Peak of the magnitude response:** 0.00 dB at 23.23 kHz — evaluated on the unit circle, not sketched
- **Group delay at f0:** 7.145 ms
- **16-bit fixed point:** holds — largest pole 0.9970966 in Q1.14
- **Coefficients at 48 kHz:** b0 = 0.997089, b1 = -1.994177, b2 = 0.997089, a1 = -1.994169, a2 = 0.994186 — a0 normalised to 1

## Coefficients, at every sample rate

The cookbook computes w0 = 2πf0/Fs, so the same filter is a different set of numbers at every rate. Rates whose Nyquist limit is at or below 31.5 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 | f0/Nyquist |
|---|---|---|---|---|---|---|---|
| 8 kHz | 0.982658 | -1.965317 | 0.982658 | -1.965016 | 0.965617 | 0.982658 | 0.8% |
| 16 kHz | 0.991291 | -1.982582 | 0.991291 | -1.982507 | 0.982658 | 0.991291 | 0.4% |
| 22.1 kHz | 0.993673 | -1.987346 | 0.993673 | -1.987306 | 0.987386 | 0.993673 | 0.3% |
| 32 kHz | 0.995636 | -1.991272 | 0.995636 | -1.991253 | 0.991291 | 0.995636 | 0.2% |
| 44.1 kHz | 0.996832 | -1.993663 | 0.996832 | -1.993653 | 0.993673 | 0.996832 | 0.1% |
| 48 kHz | 0.997089 | -1.994177 | 0.997089 | -1.994169 | 0.994186 | 0.997089 | 0.1% |
| 96 kHz | 0.998543 | -1.997086 | 0.998543 | -1.997084 | 0.997089 | 0.998543 | 0.1% |
| 192 kHz | 0.999271 | -1.998543 | 0.999271 | -1.998542 | 0.998543 | 0.999271 | 0.0% |

## What word length this filter survives

All five coefficients are rounded 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 sqrt(|a2|) — 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.

| Word format | Q format | Largest pole | sqrt of abs(a2) says | Stable | Worst error in band |
|---|---|---|---|---|---|
| float64 | — | 0.9970886 | 0.9970886 | yes | reference |
| float32 | — | 0.9970886 | 0.9970886 | yes | 0.0113 dB |
| 32-bit fixed | Q1.30 | 0.9970886 | 0.9970886 | yes | 0.0002 dB |
| 24-bit fixed | Q1.22 | 0.9970886 | 0.9970886 | yes | 1.2942 dB |
| 16-bit fixed | Q1.14 | 0.9970966 | 0.9970966 | yes | 20.3922 dB |

## Questions this page answers

### What are the biquad coefficients for a 31.5 Hz high-pass filter at 48 kHz?

b0 = 0.997089, b1 = -1.994177, b2 = 0.997089, a1 = -1.994169, a2 = 0.994186, with a0 normalised to 1 — the RBJ Audio EQ Cookbook form at Q = 0.7071. 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 31.5 Hz high-pass filter stable in 16-bit fixed point?

Yes. Rounding the five coefficients to a shared 1.14 scale leaves the largest pole at 0.9970966, against 0.9970886 exact, and the response drifts by at most 20.392 dB inside the band. 24-bit takes that to 1.2942 dB.

### Where is the real −3 dB point of a 31.5 Hz high-pass filter?

31.5 Hz, which is 1.000× the 31.5 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 the Q sweep above shows the point moving from 48.9 Hz to 33.4 Hz across the sweep while f0 never moves.

### How close to the unit circle are the poles of a 31.5 Hz high-pass filter?

0.9970886 at 48 kHz, as a conjugate pair at ±0.17°. Pole radius rises toward 1 as the corner frequency falls relative to the sample rate — the same filter at 192 kHz sits at 0.9992714 and at 8 kHz at 0.9826583. 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.

## 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.01 dB at 31.5 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.

## Related tool

[Biquad Filter Designer](https://makerportal.ai/lab/biquad-filter-designer) — Interactive RBJ-cookbook biquad designer — pick a type, corner, Q and gain and hear the filter while reading its coefficients, poles and magnitude response.

---

Source: MakerPortal — https://makerportal.ai/lab/biquad/highpass/31-5-hz. Free to quote and cite with attribution and a link to the canonical page.
