What is crest factor in music?

What is crest factor?

Mixing & Effects

The ratio between a signal’s peak amplitude and its RMS amplitude over the same measurement interval, often expressed as a difference in decibels. It indicates how far instantaneous peaks stand above the effective signal level, not the difference between the loudest and quietest passages.

What does crest factor mean?

Crest factor compares a signal’s largest instantaneous magnitude with its root-mean-square, or RMS, amplitude over a specified measurement interval. It describes how far the highest peak stands above the signal’s effective average amplitude. A transient-rich signal can have a high crest factor because brief peaks are large relative to the rest of the waveform; a more continuously sustained signal can have a lower value.

The ratio is dimensionless, but audio meters commonly express it in decibels. Turning a signal up or down by a constant gain leaves its crest factor unchanged, provided that the processing does not clip, add significant noise or otherwise change its shape. Compression, limiting and clipping can alter the ratio by changing the relationship between peaks and the surrounding signal.

Measurement choices matter. Peak and RMS must refer to the same interval and a consistent channel method. Sample-peak and reconstructed true-peak measurements can give different results, and a short window may describe a different aspect of the music from a whole-track measurement. Crest factor is useful for understanding transient headroom, but it is not a complete account of perceived loudness or musical dynamics.

Peak-to-RMS Ratio

ARMS=1N∑n=0N−1x[n]2A_{\mathrm{RMS}}=\sqrt{\frac{1}{N}\sum_{n=0}^{N-1}x[n]^2}
CF=ApeakARMS\mathrm{CF}=\frac{A_{\mathrm{peak}}}{A_{\mathrm{RMS}}}
CFdB=20log⁡10 ⁣(ApeakARMS)\mathrm{CF}_{\mathrm{dB}}=20\log_{10}\!\left(\frac{A_{\mathrm{peak}}}{A_{\mathrm{RMS}}}\right)

N≥1N\ge1 is the number of real-valued samples in one measurement window, x[n]x[n] their amplitudes, ARMSA_{\mathrm{RMS}} their root-mean-square amplitude, and Apeak=max⁡0≤n<N∣x[n]∣A_{\mathrm{peak}}=\max_{0\le n<N}|x[n]| their absolute **sample-peak** amplitude. Peak and RMS must use the same window, channel convention and amplitude unit. When ARMS>0A_{\mathrm{RMS}}>0, their dimensionless ratio is CF≥1\mathrm{CF}\ge1, expressed in dB with the amplitude-ratio factor 20. For complete cycles of a unit-amplitude sine, ARMS=1/2A_{\mathrm{RMS}}=1/\sqrt2 and CFdB≈3.0103\mathrm{CF}_{\mathrm{dB}}\approx3.0103; a nonzero constant-magnitude square wave has 0 dB. For all-zero samples, both peak and RMS vanish and the ratio is **undefined**. Peak dB minus RMS dB equals crest factor only when both meters use an *identical amplitude reference*; sine-calibrated RMS dBFS conventions (such as AES17) can differ by about 3.01 dB from a peak-amplitude full-scale reference and must be converted before subtraction. Reconstructed true peak is a different measurement from the sample peak in this equation.

Examples related to crest factor

Common confusions and distinctions

Crest factor is not the difference between the loudest and quietest sections of a song. Peak-minus-LUFS measurements use a perceptually weighted loudness quantity and are not the same as peak-to-RMS crest factor. A higher or lower number is not, by itself, evidence of better sound.

Back to the glossary