
Every piano you have ever heard is slightly out of tune, and no tuner can fix it. The reason is not wood, weather or bad ears. It is arithmetic: the two most natural intervals in music, the octave and the fifth, cannot both be perfect all the way around.
This is the story of that gap, the howling chord it created, and the compromise you hear in almost every song today.
A musical note is a vibration. When the speeds of two vibrations form a simple ratio, their patterns line up and the sound is still. When they nearly line up, you hear a wobble called beating.
| Interval | Example | Pure ratio |
|---|---|---|
| Octave | C to the next C | 2 : 1 |
| Perfect fifth | C to G | 3 : 2 |
| Perfect fourth | C to F | 4 : 3 |
| Major third | C to E | 5 : 4 |
The idea is traditionally credited to Pythagoras and his followers, and it leads to an obvious plan: build every note from pure fifths.
Start on C and climb by fifths: C, G, D, A, E, B, F♯, C♯, G♯, D♯, A♯, F, and then back to C. Twelve steps, all twelve notes, home again.
Except you are not home. Twelve pure fifths multiply the starting speed by (3/2)¹² = 129.746. Seven octaves multiply it by 2⁷ = 128. You have overshot by about 1.4%, or 23.5 cents, nearly a quarter of a semitone. That gap is the Pythagorean comma.
It can never work out. Closing the circle would need a power of 3 to equal a power of 2 (3¹² = 531,441, but 2¹⁹ = 524,288). Powers of 3 are always odd and powers of 2 are even, so they never meet. The circle of fifths is really a spiral.
For centuries the answer was to put it somewhere nobody would notice. In quarter-comma meantone, a common keyboard tuning from the 1500s, eight of the major thirds are pure and eleven fifths are usable. The leftover error piles up in one fifth, usually between G♯ and E♭, which ends up about 36 cents too wide.
It beats so violently that musicians called it the wolf. Composers mostly avoided the keys that contained it.
In the 1580s the Ming prince Zhu Zaiyu worked out a different answer: do not hide the error, share it. Make all twelve semitones exactly the same size, so each is the previous note multiplied by the twelfth root of 2, about 1.059463. Zhu calculated it to many digits. In Europe, Simon Stevin arrived at the same idea at around the same time.
This is equal temperament. Every fifth is 2 cents narrow, which almost nobody hears. Every major third is about 14 cents wide, which you can hear, if you know what to listen for.
Probably not. Bach's 1722 collection has a prelude and fugue in every major and minor key, and it shows that every key was playable. But "well-tempered" covered many tunings in which the keys still sounded slightly different from each other. Which one Bach used is still debated.
Choirs and string quartets can adjust toward pure thirds as they play. Pianos cannot.
Because every key is wrong by the same amount, music can go anywhere. A song can start in C, modulate to A♭ and come back, and you can move any piece to a key that suits your voice. You can try that directly: open a piece in ScoreFlip, transpose it, and play it back. It works in all twelve keys, because all twelve are equally out of tune.
Explore more articles on notation scanning, electric keyboards, and gamified music practice in our journal.
Explore All Articles