How to use this calculator
Design a normalized digital biquad for a peaking EQ, low-pass, high-pass, or notch response.
- Enter Center or cutoff frequency (Hz), Sampling rate (Hz), Quality factor Q, Peak filter gain (dB), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
RBJ audio equalizer biquad coefficients explained
The sampling rate sets the normalized frequency used by the coefficient equations; the returned coefficients are normalized so a0 equals one.
Inputs, symbols, and units
f— Center or cutoff frequency (Hz)- Center or cutoff frequency (Hz).
fs— Sampling rate (Hz)- Sampling rate (Hz).
q— Quality factor Q- Quality factor Q.
g— Peak filter gain (dB)- Peak filter gain (dB).
m— Filter type- Filter type. Choose peak, lowpass, highpass, notch.
Formula and method
RBJ cookbook coefficients normalized to a0=1
Compute normalized angular frequency, alpha=sin(ω0)/(2Q), and peak-mode A=10^(gain/40). Select the cookbook numerator/denominator for the chosen filter, then divide all six coefficients by a0. The output denominator is written with explicit plus signs.
A worked scenario
Center or cutoff frequency (Hz) = 1000; Sampling rate (Hz) = 48000; Quality factor Q = 0.707107; Peak filter gain (dB) = 6; Filter type = peak.
- Normalized b0: 1.0610424253
- Numerator b0 b1 b2: 1.0610424253, -1.861273144, 0.8162915713
- Denominator a0 a1 a2: 1, -1.861273144, 0.8773339966
This scenario uses the stated units and assumptions. Displayed values are rounded only after calculation.
Assumptions and edge cases
Q uses the cookbook Q convention; gain applies only in peak mode. Coefficients use the plus-sign denominator convention and require 0<f<Fs/2.
Frequently asked questions
Is gain used for low-pass mode?
No, it affects the peaking equalizer only.
What does a0 normalization do?
All numerator and denominator coefficients are divided by a0.
Can I paste coefficients into every DSP API?
Check feedback sign and coefficient-order conventions first.
How do I use the RBJ audio equalizer biquad coefficients calculator?
Enter Center or cutoff frequency (Hz), Sampling rate (Hz), Quality factor Q, Peak filter gain (dB), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of RBJ audio equalizer biquad coefficients?
Center or cutoff frequency (Hz) = 1000; Sampling rate (Hz) = 48000; Quality factor Q = 0.707107; Peak filter gain (dB) = 6; Filter type = peak. Normalized b0: 1.0610424253 Numerator b0 b1 b2: 1.0610424253, -1.861273144, 0.8162915713 Denominator a0 a1 a2: 1, -1.861273144, 0.8773339966 This scenario uses the stated units and assumptions. Displayed values are rounded only after calculation.
Method reference: W3C Audio EQ Cookbook.
Read our calculation methodology.