Music & Acoustics
Advanced

Mel Scale (Pitch Perception)

Converts frequency to the perceptual mel pitch scale.

Formula

m=2595log⁡10 ⁣(1+f700)m = 2595 \log_{10}\!\left(1 + \frac{f}{700}\right)

Variables

mPitch (mels)
fFrequency (Hz)

Example

f=1000 Hz: m = 2595 log(2.43) ≈ 1000 mels

How it works

The mel scale is a psychoacoustic model that converts a physical frequency in hertz into a number meant to match how high or low a tone is perceived by listeners. It is not linear like Hz: equal steps in mels are intended to correspond more closely to equal perceived pitch differences, especially because human pitch discrimination becomes less sensitive as frequency rises. The logarithmic form reflects the fact that hearing compresses high frequencies, and the constant 700 Hz is a calibration choice that anchors the curve to common auditory observations.

When to use it

Use this when comparing pitch on a perceptual scale rather than a physical frequency scale, such as in speech processing, audio engineering, and computational music analysis. It is especially useful when designing or interpreting mel filter banks, spectrograms, or models of human hearing.

Worked example, step by step

Suppose a tone has frequency f = 2500 Hz. Step 1: Substitute into the formula: m = 2595 log10(1 + f/700) Step 2: Compute the ratio: 2500/700 = 3.5714 Step 3: Add 1: 1 + 3.5714 = 4.5714 Step 4: Take the base-10 logarithm: log10(4.5714) ≈ 0.6608 Step 5: Multiply by 2595: m = 2595 × 0.6608 ≈ 1714.4 Final answer: the pitch is about 1714 mels.

Common mistakes to avoid

  • Using natural log instead of log base 10
  • Forgetting to add 1 inside the logarithm before taking the log
  • Treating mels as an exact physical unit instead of a perceptual scale

Did You Know?

The mel scale underpins MFCC features that power speech recognition and music-genre classifiers.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026