All-Pass Filter Calculator

Design 1st- or 2nd-order all-pass filters for phase shaping. Output magnitude is flat; phase varies with frequency. Used for audio time-delay, PLLs, and group-delay equalization.

Calculator Electronics Updated Oct 16, 2026
How to Use
  1. Choose 1st or 2nd order. A 1st-order stage shifts phase from 0° to −180°; a 2nd-order stage from 0° to −360°.
  2. Enter f₀, the frequency where the phase reaches −90° (1st order) or −180° (2nd order).
  3. For 2nd order, enter Q: a higher Q makes the phase change faster around f₀ and the delay there larger.
  4. Enter the capacitor value and read the resistor, the phase at f₀ and the group delay.
Input
Hz (kHz OK)
F (nF, uF OK)
Presets
Phase Response
R
—
Phase @ f₀
—°
Group Delay
—
Magnitude
0 dB (flat)

Worked Example

A 1st-order all-pass at 1 kHz using a 10 nF capacitor. R = 1 ÷ (2π × 1,000 × 10 nF) = 15.92 kΩ (use 15.8 kΩ or 16 kΩ). At 1 kHz the output lags by 90°, and the level is unchanged at every frequency.

Delay: at f₀ the group delay is 1 ÷ (2π × 1,000) = 0.159 ms; at low frequencies it is twice that, 0.318 ms, falling towards zero far above f₀. A 2nd-order section at 1 kHz with Q = 1 delays 2 × 1 ÷ (π × 1,000) = 0.637 ms at f₀.

The common mistake: using 1/(π·f₀) as the delay at f₀. That is the 1st-order delay at DC, double the true value at f₀. It is an easy slip because the delay peaks at low frequency for 1st order but at f₀ for 2nd order.

Show Work

Enter f₀.

Formulas

1st-order R
R = 1 / (2π·f₀·C)
At f₀, phase = ±90°.
1st-order phase
φ(f) = −2·arctan(f/f₀)
Lag: 0° → -180°.
2nd-order phase
0° → -360° through f₀
Sharpness controlled by Q.
Group delay
τ_g = −dφ/dω
Time delay at each frequency.
Delay at f₀
τ = 1/(2π·f₀) · τ = 2Q/(π·f₀)
1st order (twice this at low frequencies) · 2nd order (the peak).
Magnitude
|H| = 1
All frequencies pass unchanged.

History

The all-pass filter concept dates to Hendrik Bode's 1945 monograph on feedback-amplifier design. Bode showed that any linear filter's magnitude and phase responses are related (Hilbert transform), and that "all-pass" networks — which shift phase while leaving magnitude flat — serve as building blocks for phase compensation and group-delay equalization.

Audio phaser effects (Mu-Tron Bi-Phase, Electro-Harmonix Small Stone) became cultural icons of 1970s funk and prog rock — fundamentally just 4-6 first-order all-passes with LFO-modulated R values creating a sweeping phase-shift signature. The same idea later moved into digital effects units and plug-ins.

Modern DSP implements all-pass filters as z-domain biquads with specific coefficient symmetry. They remain central to reverbs and stereo decorrelation, I/Q generation in software-defined radio, and group-delay correction of IIR filters.

About This Calculator

Enter the center frequency f₀ where the phase crosses ±90° (1st order) or ±180° (2nd order). For 2nd-order, enter Q to set the transition sharpness. The tool solves for R (given C) and reports the group delay at f₀.

Topology: 1st-order = op-amp non-inverting input with RC network on non-inv, resistor to inv, feedback R to inv. 2nd-order sections are usually built as a band-pass stage plus a summing amplifier (H = 1 − 2·HBP), with the Q set by resistor ratios. Gain is always exactly 1 across all frequencies — only phase changes. Everything runs client-side.

Frequently Asked Questions

What does an all-pass filter do?

It passes every frequency at the same level (gain exactly 1) but delays some frequencies more than others, so only the phase changes. That makes it a tool for correcting or deliberately shaping phase.

What is the difference between 1st and 2nd order?

A 1st-order section turns the phase from 0° to −180°, reaching −90° at f₀. A 2nd-order section turns it from 0° to −360°, reaching −180° at f₀, and its Q sets how quickly the change happens.

What is group delay?

How long each frequency is held back, in seconds: the slope of the phase curve. A 1st-order stage at 1 kHz delays 0.159 ms at f₀ and 0.318 ms at low frequencies; a 2nd-order stage with Q = 1 delays 0.637 ms at f₀.

How does a phaser use all-pass stages?

Mixing the shifted signal with the original cancels the frequencies where the shift reaches 180°, 540° and so on. Four 1st-order stages (up to 720°) give two notches, and sweeping R moves them up and down the spectrum.

Can I hear an all-pass filter on its own?

Usually very little: the level of every frequency is unchanged, and the ear is not very sensitive to phase on steady sounds. Large delays can soften sharp transients, which is why they are used gently in audio.

How do I use the All-Pass Filter Calculator?

Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.

Do I need to install or sign up for anything?

Not at all — it runs in the browser with nothing to install and no account. After it loads once, it even works without an internet connection.

Is my information private?

Yes. Everything happens in your browser. Nothing you type is sent to a server or saved anywhere.

Common Use Cases

Audio Phaser Effect

Four 1st-order stages with their resistors swept by a slow oscillator, mixed with the dry signal, give the classic two-notch phaser sweep.

Group-Delay Equalizer

Chebyshev and elliptic filters delay frequencies near their corner more than others; an all-pass section added after them flattens the total delay so pulses keep their shape.

I/Q (Hilbert) Networks

Two chains of all-pass stages that stay 90° apart over a wide band produce in-phase and quadrature signals for single-sideband radios.

Speaker Driver Alignment

A 1st-order all-pass can delay a tweeter slightly so it lines up in time with a woofer mounted further back, without changing its level.

Last updated: