Beat Frequency Calculator
Calculate beat frequency from two sound waves. Hear the beats in real-time with Web Audio and visualize waveform interference patterns.
About
When two sound waves of slightly different frequencies f1 and f2 overlap, their superposition produces a periodic amplitude modulation perceived as "beats." The beat frequency fbeat = |f1 − f2| determines how many volume oscillations occur per second. Piano tuners rely on this phenomenon: they adjust a string until the beats slow to zero, confirming unison. Misidentifying beat rate by even 0.5 Hz compounds across an instrument, producing audible dissonance in chords. This calculator computes fbeat and the perceived average pitch, then synthesizes both tones through the Web Audio API so you hear the actual interference - not a recording or approximation.
The tool assumes ideal sinusoidal waves in a linear medium. Real instruments produce harmonics that create additional combination tones beyond the fundamental beat. For frequencies differing by more than roughly 15 Hz, the human ear resolves two distinct pitches rather than perceiving beats - a psychoacoustic boundary known as the roughness limit. Results are most musically relevant when fbeat < 15 Hz.
Formulas
The resultant displacement of two superimposed sinusoidal waves at a fixed point is:
The cosine term modulates amplitude at half the difference frequency. Because amplitude peaks occur twice per full cosine cycle (positive and negative peaks both produce loudness maxima), the perceived beat frequency is:
The perceived average pitch (the carrier) is:
The beat period (time between successive loudness maxima):
Where f1 = frequency of first wave Hz, f2 = frequency of second wave Hz, t = time s, Tbeat = beat period s.
Reference Data
| Musical Interval | f1 Hz | f2 Hz | fbeat Hz | Context |
|---|---|---|---|---|
| A4 Unison (in tune) | 440.00 | 440.00 | 0.00 | Perfect tuning reference |
| A4 slightly sharp | 440.00 | 442.00 | 2.00 | Common orchestral A pitch |
| A4 vs B♭4 | 440.00 | 466.16 | 26.16 | Minor second - dissonant |
| C4 vs C♯4 | 261.63 | 277.18 | 15.55 | Semitone roughness boundary |
| Guitar E2 strings | 82.41 | 83.00 | 0.59 | Slow beat → nearly tuned |
| Tuning fork A4 + piano | 440.00 | 439.00 | 1.00 | 1 beat/sec audible wobble |
| Equal temperament 5th (C4 - G4) | 261.63 | 392.00 | 130.37 | Two distinct pitches heard |
| Just intonation 5th (C4 - G4) | 261.63 | 392.44 | 130.81 | Pure ratio 3:2 |
| Binaural 10 Hz alpha | 200.00 | 210.00 | 10.00 | Alpha brainwave entrainment claim |
| Binaural 4 Hz theta | 150.00 | 154.00 | 4.00 | Theta brainwave entrainment claim |
| Violin A-string detuned | 440.00 | 437.00 | 3.00 | Noticeable wobble during performance |
| Oboe vs Clarinet A4 | 440.00 | 441.50 | 1.50 | Ensemble tuning discrepancy |
| Two tuning forks (demo) | 256.00 | 260.00 | 4.00 | Classic physics lab experiment |
| Sub-bass interference | 30.00 | 31.00 | 1.00 | Felt more than heard |
| Ultrasonic near-limit | 19000 | 19005 | 5.00 | Carriers inaudible, beat may be heard |