The circle of fifths doesn’t close
Climb twelve perfect fifths from C and you should land on C again, seven octaves up. You land slightly sharp. That leftover sliver is the Pythagorean comma.
Each dot is one more fifth, folded back into a single octave. Angle is pitch, running clockwise from C; the dots move outward only so the path stays readable. The ring marks the twelve piano keys. Turn your sound on (on an iPhone, silent mode mutes it).
Two perfect ratios
Pitch is frequency. Two notes sound consonant when their frequencies form a simple ratio, because their waves keep realigning.
The simplest is the octave, 2 : 1. Double a frequency and you get “the same note, higher.” Next is the fifth, 3 : 2, the interval from C up to G. Pythagoras’s school built a whole tuning from just these two ratios.
Measuring in cents
Ratios multiply, which makes them awkward to compare. Musicians use a logarithmic unit instead: the octave is divided into 1200 cents, and a piano semitone is exactly 100.
pure fifth = 1200 × log2(3/2) = 701.96 cents
piano fifth = 7 semitones = 700 cents
So a pure fifth is about 2 cents wider than the piano’s. Tiny, but it compounds: every fifth you stack pushes you another 1.96 cents ahead of the keyboard. After twelve, you’re 23.46 cents ahead, nearly a quarter of a semitone.
Hear the gap
B♯ is where the twelve fifths land. On a piano it’s the same key as C. In pure fifths it’s 23.46 cents higher, and you can hear the difference when the two sound together.
The wobble is called beating. Two frequencies that are almost equal drift in and out of phase, and the sound swells and fades at a rate equal to their difference. That pulse is the comma, made audible.
Why it can never close
Twelve fifths land almost on seven octaves:
gap = 312 / 219 = 531,441 / 524,288 ≈ 1.01364 = 23.46 cents
To close exactly, you’d need 312 = 219. That can’t happen: every power of 3 is odd and every power of 2 is even. The same holds for any number of fifths and octaves, since 3a = 2b has no solution with a > 0. No stack of pure fifths ever lands exactly on an octave. The circle is really a spiral.
So the useful question becomes how close you can get. That means approximating log2(3/2) = 0.58496… with fractions. Its continued-fraction convergents are 1/2, 3/5, 7/12, 24/41, 31/53. Each denominator is a number of equal steps to divide the octave into, and the numerator is how many of those steps make a fifth.
Twelve is the first division that’s both small and good, which is a large part of why Western keyboards have twelve keys per octave. The next big improvement comes at 53, which nearly erases the comma. The Chinese theorist Jing Fang noticed in the first century BCE that 53 fifths come extremely close to 31 octaves.
Where to hide it
With twelve notes per octave, the twelve fifths have to add up to exactly seven octaves. Pure fifths overshoot by one comma, so the fifths must shrink by 23.46 cents in total. A tuning system is a decision about where that shrinkage goes.
Tap a bar to hear that fifth.
Pythagorean tuning, standard in medieval Europe, keeps eleven fifths pure and puts the whole comma into one. That fifth, from G♯ to E♭, is so sour it was called the wolf, because it howls. Composers stayed away from it.
Equal temperament shaves 1.96 cents from every fifth. None is quite pure, and each beats very slowly, but every key works the same way. That’s the modern piano.
Between those two lie the meantone and well temperaments of the 1500s to 1700s. They also juggle a second, unrelated sliver, the syntonic comma of 81/80, to make major thirds sweeter. That’s a story for another page.
A piece cut off
The Greek komma means “a piece cut off.” Here it’s the piece that remains when twelve perfect steps fail to bring you home: not a mistake in any one interval, but a fact about 2 and 3 that no tuning can repair, only redistribute.