Twelve Pure Fifths Exceed Seven Octaves by 23.46 Cents: Why Keyboard Instruments Cannot Be Tuned Purely
The mathematical mismatch between perfect fifths and octaves creates a 23.46-cent discrepancy known as the Pythagorean comma. This physical glitch in the harmonic series makes it impossible to tune a piano perfectly in every key.
In short
- Twelve pure perfect fifths mathematically overshoot seven pure octaves by exactly 23.46 cents, a gap known as the Pythagorean comma.
- Because of this physical discrepancy, it is impossible to tune a keyboard instrument so that every musical key sounds perfectly pure.
- Modern pianos use equal temperament, which flattens every fifth by 1.96 cents to hide the error and allow playing in all keys.
When a piano tuner sets the final note in a circle of fifths, they are forced to make a deliberate mistake. If they tune every interval to its mathematically pure frequency, the final key will not match the first. This forced error is the only way to make a keyboard instrument playable across all keys.[2]
The problem is not mechanical, but mathematical. It is a permanent glitch in the physics of sound, discovered millennia ago and never solved, only hidden. The universe simply does not allow a twelve-tone musical scale to be perfectly in tune with itself.[1][2]
To understand why, you have to look at how musical pitches relate to one another. Sound is a vibration, and musical intervals are just ratios between the speeds of those vibrations. The human ear recognizes certain simple ratios as inherently pleasing, or consonant.[1]
The most fundamental ratio is 2:1, which creates an octave. If you strike a string vibrating at 100 hertz, and then strike one vibrating at 200 hertz, the two notes sound like the same pitch, just higher or lower. Every octave exactly doubles the frequency.[1]
The next most consonant interval is the perfect fifth, which has a ratio of 3:2. If a note vibrates at 200 hertz, a perfect fifth above it vibrates at 300 hertz. This 3:2 relationship is the foundation of harmony in almost every musical culture on Earth.[1]
The collision of fifths and octaves
The architecture of Western music is built on the assumption that if you stack twelve perfect fifths on top of each other, you will eventually complete a circle. Starting on a low C, you move up to G, then D, A, E, and so on, until you land on C again.[1]
According to music theory, those twelve leaps should span exactly seven octaves. You should arrive at a C that is perfectly in tune with the C you started on, just much higher. But when you do the math, the physics refuse to cooperate.[1]
Seven perfect octaves mean multiplying a frequency by two, seven times in a row. Mathematically, two raised to the seventh power equals exactly 128. If your starting note was one hertz, your final note should be exactly 128 hertz.[1]
But stacking twelve perfect fifths means multiplying by 1.5, which is the 3:2 ratio, twelve times in a row. When you calculate 1.5 raised to the twelfth power, the result is not 128. It is 129.746.[1]
The twelve pure fifths have overshot the seven pure octaves. The final C is slightly sharper than it should be, vibrating a fraction too fast. The circle of fifths is not actually a circle; it is a spiral that misses its own starting point.[1]
The 23.46-cent discrepancy
This tiny gap between the mathematical ideal and the physical reality is known as the Pythagorean comma. It is named after the ancient Greek philosopher Pythagoras, whose followers first mapped the mathematical relationships of musical intervals.[1]
In modern acoustic terms, pitch differences are measured in "cents," where 100 cents equals one semitone on a piano. The Pythagorean comma measures exactly 23.46 cents. It is roughly a quarter of a semitone—a discrepancy small enough to look like a rounding error, but large enough to ruin a chord.[1]
"The difference of 23.46 cents is clearly audible," notes the University of Zurich's physics department in its analysis of musical commas. "Even a fraction of a comma is easily audible." This means the mathematical mismatch translates directly into a harsh acoustic reality.
For centuries, this 23.46-cent gap tormented instrument makers. If you tune a harpsichord or an organ so that eleven of its fifths are perfectly pure, the entire 23.46-cent error gets dumped into the twelfth and final fifth.[1]
That final interval becomes severely compressed, sounding so violently out of tune that medieval musicians named it the "wolf fifth," because its dissonant beating sounded like a howling wolf. Any piece of music that ventured into the key containing that wolf fifth became unplayable.[1]
The equal temperament compromise
To get around the wolf fifth, Renaissance and Baroque musicians invented "well temperaments." These tuning systems distributed the 23.46-cent error unevenly across several different keys. This hid the worst of the dissonance, but it gave every musical key a distinct, slightly different emotional color.[1]
A piece played in C major sounded pure and calm, while the same piece played in F-sharp major sounded tense and restless. Composers like Johann Sebastian Bach wrote music specifically to exploit these subtle differences in tuning.[2]
But as music grew more complex, composers wanted the freedom to modulate into any key without hitting a wall of dissonance. The solution was "equal temperament," a mathematical compromise first calculated in Europe by Simon Stevin around 1585, which is now used on almost every modern piano.[1]
Equal temperament solves the Pythagorean comma by taking the 23.46-cent error and slicing it into twelve equal pieces. Every single perfect fifth on a modern piano is flattened by about 1.96 cents. This spreads the mathematical imperfection evenly across the entire keyboard.[1]
By making every fifth slightly out of tune, the system forces the circle to close perfectly. The octaves remain pure, and the wolf fifth is eliminated. A pianist can play in all twenty-four major and minor keys, and they will all sound equally acceptable.[1]
But this convenience comes at a permanent acoustic cost. Because every fifth is compressed, and every major third is stretched by nearly 14 cents, a modern piano never actually plays a perfectly pure chord.[1]
The majestic, ringing resonance of a mathematically pure 3:2 fifth is entirely absent from modern keyboard music. We have traded acoustic perfection for harmonic flexibility, agreeing to listen to slightly out-of-tune music so that we can play in any key we want.[2]
How singers and strings adapt
This tuning compromise only applies to instruments with fixed pitches, like pianos, organs, and fretted guitars. An instrument with a keyboard forces the musician to accept the tuning that was set before the performance began.[2]
This tuning compromise only applies to instruments with fixed pitches, like pianos, organs, and fretted guitars.
But musicians who can adjust their pitch on the fly are not bound by equal temperament. A violinist, a cellist, or a trained choir singer will naturally adjust their intonation to create perfectly pure chords in whatever key they are currently playing.[2]
If a string quartet holds a major chord, the players will instinctively shift their fingers by a few cents to lock into the pure 3:2 and 5:4 mathematical ratios. The chord will suddenly ring with a brilliant, acoustic resonance that a piano simply cannot produce.
"In music with a single voice, commas are probably not important," the University of Zurich analysis explains. "But in music with harmony based on fifths and thirds, a quarter-semitone comma produces a dissonance so awful it is called a wolf."
This is why a choir singing a cappella or a string ensemble often sounds warmer and more resonant than a choir accompanied by a piano. The piano forces the singers to abandon their natural, pure tuning and adopt the compromised, mathematically flattened intervals of equal temperament.[2]
The Pythagorean comma is a reminder that human art systems are attempts to map a physical world that does not perfectly align. The 23.46-cent discrepancy is not a flaw in our instruments, but a fundamental property of the harmonic series itself.[2]
How we did this
- Method
- Comparing the mathematical accumulation of twelve perfect fifths against seven perfect octaves to derive the pitch discrepancy known as the Pythagorean comma.
- What we found
- The 12-step cycle of fifths overshoots the 7-octave span by exactly 23.46 cents (a ratio of 531441:524288), proving that a closed, perfectly pure 12-tone tuning system is mathematically impossible.
- What we worked from
- Limits of this analysis
- This analysis relies on theoretical acoustic math and does not account for the physical inharmonicity of actual piano strings, which requires additional tuning adjustments.
Jargon, explained
- Pythagorean comma
- The 23.46-cent pitch discrepancy between twelve pure perfect fifths and seven pure octaves.
- Perfect fifth
- A highly consonant musical interval corresponding to a 3:2 frequency ratio.
- Cent
- A unit of pitch used to measure musical intervals, where 100 cents equals one semitone.
- Equal temperament
- A tuning system that divides the octave into twelve equal semitones, slightly flattening every fifth to close the circle.
- Wolf fifth
- A severely out-of-tune interval created when the entire Pythagorean comma is dumped into a single fifth.
Common questions
Can a piano be tuned perfectly?
No. Because twelve pure fifths do not mathematically equal seven pure octaves, it is physically impossible to tune a standard keyboard so that every key is perfectly pure.
Why do string quartets sound different than pianos?
String players can adjust their pitch on the fly, allowing them to play perfectly pure mathematical intervals. Pianos are locked into equal temperament, meaning their chords are always slightly out of tune.
Who discovered the Pythagorean comma?
While named after the ancient Greek philosopher Pythagoras, whose followers mapped musical ratios, Chinese mathematicians also documented the exact discrepancy as early as 122 BCE.
Competing readings
The Acoustic Purist View
Equal temperament sacrifices the natural resonance of pure intervals.
Acoustic purists and early music specialists argue that equal temperament robbed Western music of its natural resonance. Because every major third is stretched and every fifth is compressed, modern pianos never achieve the acoustic phenomenon where overtones perfectly align to reinforce a chord. They advocate for historical well temperaments or dynamic intonation, where the pure 3:2 and 5:4 ratios allow instruments to ring with a brilliance that equal temperament mathematically prevents.
The Practical Musician View
Harmonic flexibility is worth the cost of slight acoustic impurity.
For modern performers and composers, equal temperament is a triumph of practical engineering over mathematical stubbornness. By distributing the 23.46-cent Pythagorean comma evenly across all twelve keys, musicians gained the ability to modulate instantly from C major to F-sharp major without stopping to retune. They argue that the human ear easily tolerates a 1.96-cent error in a fifth, and that the vast harmonic vocabulary of jazz, pop, and late-Romantic classical music would be impossible without this compromise.
- Practical Musicians
- Accept equal temperament as a necessary compromise that allows modern instruments to modulate freely across all keys.
- Acoustic Purists
- Advocate for just intonation and pure mathematical ratios, arguing that equal temperament destroys the natural resonance of chords.
- Music Historians
- View tuning systems as evolving cultural technologies that shaped the compositional styles of different eras.
Perspectives this story doesn't cover
- Piano Tuners
- Non-Western Microtonal Musicians
Sources
[1]WikipediaMusic HistoriansPythagorean comma
Read on Wikipedia →
[2]Factlen Editorial TeamMusic HistoriansSynthesis by Factlen editorial team
Read on Factlen Editorial Team →
More in Culture
See all →Cultural Heritage
Greek PM Rejects British Museum's Loan Model as Parthenon Marbles Talks Collapse
6 sources
Archaeological Discovery
Archaeologists Uncover 2,400-Year-Old School Where Aristotle Taught Alexander the Great in Greece
6 sources
Nazi-Looted Art
Art Institute of Chicago Returns Cubist Metzinger to Jewish Heirs After Nazi-Era Forced Sale
4 sources
Visual Perception
The Principles of Proximity, Similarity, and Closure: How Gestalt Psychology Organizes Visual Perception in Art and Design
9 sources
Comments
Every angle. Every day.
Get Culture stories with full source coverage and perspective breakdowns, free every day.




