audio phase delay calculator
Audio Phase Delay Calculator guide
A fixed delay produces a different phase shift at each frequency. Use this calculator to translate a known delay into phase lag at one test frequency, with both unwrapped and wrapped results.
Play the instrument ↑- Input reference
- Phase shift in degrees = −360 × frequency in Hz × delay in seconds.
Formula and input units
Phase shift in degrees = −360 × frequency in Hz × delay in seconds. The form accepts milliseconds, so it divides delay by 1,000. The sign follows exp(jωt), where a positive delay produces negative phase. Wrapped phase is reported in the interval from −180 degrees inclusive to +180 degrees exclusive.
Worked examples
At 1,000 Hz, a delay of 0.5 ms gives −180 degrees. At the same frequency, 1 ms gives −360 degrees, which wraps to 0 degrees. Equal wrapped phase can therefore occur at delays separated by a full cycle.
A 0.25 ms delay at 500 Hz gives −45 degrees. At 2,000 Hz the same delay gives −180 degrees. This frequency dependence helps explain why aligning one tone does not prove that two broadband paths are aligned across the entire spectrum.
Using the result
Measure or establish the relative delay first, then choose the frequency relevant to your alignment check. Use a consistent ordering of paths so the sign retains its meaning. Reversing which path is the reference reverses the relative delay.
When evaluating loudspeaker alignment, consider the measured transfer function over a useful frequency region. A wrapped reading near zero may hide one or more full cycles of delay. Compare the unwrapped degree value and the known timing when interpreting the result.
Distinguish cycle ambiguity from timing alignment
A one-millisecond delay at 1 kHz is one complete period, so the wrapped result is zero degrees. At 500 Hz the same delay is half a period and wraps to −180 degrees. At 2 kHz it spans two complete periods and wraps to zero again. These three observations can all describe the same physical delay. Looking only at a single wrapped angle hides the number of completed rotations.
To infer delay from an unwrapped phase shift at a known frequency, rearrange the model as delay in seconds = −degrees / (360 × Hz). An unwrapped −90 degrees at 1 kHz corresponds to 0.25 ms. A wrapped −90-degree reading could also correspond to that delay plus whole periods. Additional timing information is needed to select the relevant solution.
For two microphone paths, use a clear reference direction, such as second path minus first path. If the second arrival is later by 0.3 ms, enter positive 0.3. If you swap references, enter negative 0.3 and the phase sign reverses. Use the sound-delay-distance calculator for a geometric estimate when a propagation distance and sound speed are available, while retaining the actual measured relative delay for verification.
Keep test frequency and delay precision visible when preparing alignment notes. At 10 kHz, a delay error of only 0.01 ms changes phase by 36 degrees under this model. The displayed decimal precision cannot recover uncertainty in the measurement. A broad frequency sweep and a stable time reference are more informative than selecting a visually convenient wrapped angle at one isolated point.
Assumptions and limits
The model describes a pure time delay. Filters, reflections and frequency-dependent phase responses can add behavior beyond a constant-delay equation. A polarity inversion adds 180 degrees independently of frequency and is a separate operation.
Negative entered delay represents a relative advance against the selected reference. It can describe an already measured relationship, but cannot create future information in a live causal system. The form accepts signed delay for arithmetic comparisons and does not process audio.
Answers before you play
Common questions
Why is a positive delay shown as negative degrees?
The stated complex-exponential convention represents delayed sinusoids as phase lag. Keep that convention consistent when comparing measurements.
Why does −360 degrees wrap to zero?
A full rotation has the same phase angle at the chosen frequency. The unwrapped result retains the full-cycle delay.
Is 180-degree phase shift always polarity inversion?
At one frequency they can coincide. A pure delay changes phase with frequency, while polarity inversion applies across the signal.
How can I convert phase back into time?
With an unwrapped phase and the same sign convention, use delay = −phase/(360 × frequency). A wrapped phase alone gives multiple possible delays separated by whole periods, so use an independent timing reference to select the appropriate cycle.