The Math of Musical Notes
Each step on a piano multiplies the frequency by the same number, 2 to the power one twelfth, about 1.0595.
What the symbols mean
- frequency of the note n semitones above A (Hz)
- semitone steps (12 per octave)
- standard pitch of the A above middle C (Hz)
Why it works — the picture
An octave is exactly a doubling of frequency, and the piano splits that doubling into 12 equal multiplications. Nice-sounding chords come from simple ratios: a perfect fifth is 3 : 2, an octave 2 : 1. The piano fifth (7 steps) is 2^(7/12) = 1.4983, very slightly shy of 1.5, a deliberate compromise that lets you play in every key. Your ear hears small whole-number ratios as smooth because the overtones line up.
Try it yourself
- Use the wave mixer to play 440 Hz and 660 Hz together; then 440 and 466. Which sounds smoother, and why?
- Compute the frequency of the C three semitones above A (about 523 Hz).
- Halve the length of a stretched rubber band and listen for the octave.
Where it’s used in real life
Every digital piano, tuner app and auto-tune uses this formula to compute pitches.