Science · Interactive demo
How do noise-cancelling headphones work?
Slide an anti-noise wave against an engine hum and watch the two cancel. Let the timing slip and they add up instead.
Created by ExplainerTools.
About this explainer
- Made by
- ExplainerTools
- Format
- Interactive demo
- Subject
- Science
- Where it runs
- Plays here
- Full tool
- Open the tool page
- Published
- Added to collection
- noise cancelling
- sound waves
- interference
- headphones
How the model works
Put on noise-cancelling headphones and an airplane's roar drops to a whisper, yet nothing blocks your ears any harder. Where does the noise go?
- Noise pitch50 Hz · low hum → 4 kHz · hiss
- Anti-noise delay1 µs → 5 ms
- Anti-noise strengthoff → 150%
Presets Engine hum · 100 HzFan · 300 HzVoice · 1.5 kHzTiming error · 5 ms latePerfect timing
One pure tone heard at one point with a fixed delay and no adaptive filter, so real noise with many frequencies is not modeled.
Model notes and sources
Model. Sound is a pressure wave: as it passes, the air is squeezed (a compression, slightly higher pressure) and stretched (a rarefaction, slightly lower pressure). The tool follows one pure tone of frequency f at one point by your ear: the noise is p(t) = sin(2πf t). A feedforward headphone hears it with a microphone on the outside of the ear cup, and its circuit plays the opposite wave through the speaker, with strength g and late by a delay τ: a(t) = −g·sin(2πf(t − τ)). The two pressures simply add. What is left is another sine whose size, relative to the noise alone, is r = √(1 + g² − 2g·cos φ), where φ = 360° × f × τ is the phase error. With g = 1 this is r = 2|sin(φ/2)|: complete cancellation when φ = 0, no benefit at all at 60°, and twice the pressure swing (+6 dB) at 180°, where squeeze lands on squeeze. The level change is 20·log10 r dB.
Why low, steady hums cancel best. The same delay is a small slice of a long, slow wave and a big slice of a short, fast one: 50 µs is 1.8° of a 100 Hz hum (about 3% left, −30 dB) but 27° of a 1.5 kHz tone (47% left, −7 dB). Steady, repeating sounds are also predictable, so the circuit can keep matching them, while voices change pitch and loudness from moment to moment. The film's voice is a synthetic voice-like sound (harmonics of a pitch gliding between about 135 and 215 Hz, shaped by peaks near 650, 1,750 and 2,700 Hz); with the same 50 µs error about 38% of it is left (root-mean-square).
Fixed values. The 50 µs delay is illustrative. The anti-noise has to be ready in about the time the noise takes to cross the few centimetres from the outside microphone to your ear (sound covers 1.7 cm in 50 µs at 343 m/s), so real designs work with delays of tens of microseconds. The film's 2.5 ms and 5 ms delays are deliberately huge, so the slip is easy to see, and its engine hum is a 100 Hz tone. The waves are drawn in slow motion and not to scale: a 100 Hz wave in air is 3.4 m long. The photos are AI-generated illustrations; every wave and number comes from the model.
Not modeled. Real noise mixes many frequencies at once. The model leaves out the passive blocking by the ear cushions (strongest at higher pitches), the speaker's and microphone's own responses, feedback microphones inside the cup, the adaptive filters that keep retuning the anti-noise, how the zone of cancellation shrinks at short wavelengths, and sound leaking around the cushions. It does not use any manufacturer's decibel rating.
Sources: Active noise control (an anti-phase wave of equal amplitude; best suited to low frequencies; periodic sounds are easier to cancel than random ones); Noise-cancelling headphones (feedforward microphones on the outside of the ear cups; most effective on constant low-frequency sound and less on voices; passive isolation for higher frequencies); Longitudinal wave (compressions and rarefactions); Wave interference; S. M. Kuo and D. R. Morgan, “Active noise control: a tutorial review”, Proceedings of the IEEE 87(6), 943–975 (1999).
An ExplainerTools Original.
Watch it move
- How do noise-cancelling headphones work?37-second Short
Explore interactive ideas in space, science, math, and more. Try a demo, read an interactive article, watch a short video, and follow what makes you curious.
New Originals
Change one thing and see why.
The three newest models, each with a short film. Watch the question, then play with the answer.
Follow your curiosity
A collection of small doors into big ideas.
Format
Swipe or scroll for more formats →
Subject
Swipe or scroll for more subjects →
Topic
Swipe or scroll for more topics →
Sort by
Rankings count activity here on ExplainerTools. Newest means added to this collection.
Loading collection…
Make something click.
Made an explainer, or found one you love? Give it a place in the collection.


