Close view of strings, hammers, and tuning pins inside a piano

Why a Piano Cannot Be Perfectly in Tune

A piano cannot make every interval mathematically pure. See how equal temperament turns that conflict into music that works in every key.

A freshly tuned piano can sound clear, stable, and beautifully balanced. Yet measured against the purest mathematical intervals, almost every interval on it is slightly altered. That is not a failure of the tuner. It is the solution to a stubborn problem: the simple frequency ratios that make some notes blend perfectly cannot all fit into one fixed set of twelve keys.

The modern piano usually handles that conflict with 12-tone equal temperament. It divides an octave into twelve equal steps, making every major and minor key usable. The price is small, carefully distributed tuning error. Understanding that tradeoff reveals why musical tuning is not just a matter of finding the “correct” frequency for every note.

Why simple frequency ratios sound so settled

A musical note comes from vibration. If one string vibrates 220 times per second and another vibrates 440 times per second, the second note is an octave above the first. Their frequencies form the simple ratio 2:1. Because every other vibration of the faster note lines up with a vibration of the slower one, the two sounds reinforce each other in a regular pattern.

Other familiar intervals also have clean ratios in just intonation. A pure perfect fifth has the ratio 3:2, while a pure major third has the ratio 5:4. These relationships connect neatly with the harmonic series, the higher-frequency components that accompany the main pitch of a vibrating string or air column. When the components align, the interval can sound unusually smooth and focused.

That smoothness is physical, not merely a rule learned in music class. Two nearby frequencies alternately reinforce and cancel each other, producing pulses in loudness called beats. The Physics Classroom gives a simple example: sounds at 256 and 254 hertz create two beats per second. Piano tuners listen to controlled beat rates because they reveal tiny frequency differences more precisely than a vague impression that a note sounds high or low.

It seems reasonable, then, to build an entire keyboard from pure octaves, fifths, and thirds. The trouble begins when those desirable ratios are extended across many notes. The numbers refuse to close into a single consistent system.

The circle of fifths does not quite close

Imagine starting on one note and moving upward by twelve pure perfect fifths. Each step multiplies the frequency by 3/2. After twelve fifths, the calculation gives (3/2)^12. Musically, those twelve steps should return to the starting pitch class seven octaves higher, and seven octaves multiply the original frequency by 2^7.

But the two results are not equal. Twelve pure fifths produce a frequency ratio of about 129.75, while seven octaves produce exactly 128. The gap is small, roughly 23.5 cents, where 100 cents make one equal-tempered semitone. Musicians call this mismatch the Pythagorean comma.

No amount of careful craftsmanship removes it. A tuner can preserve every octave and most pure fifths only by placing the accumulated discrepancy somewhere else. Older systems sometimes concentrated the problem in a badly distorted “wolf” interval. That approach could give a few favored keys beautiful, nearly pure chords, but music in distant keys could become harsh or impractical.

A piano on the stage of an auditorium in 1938
A fixed-pitch keyboard must make the same set of notes work across every key. Library of Congress, public domain.

The major third creates another conflict. A pure major third uses 5:4, but a chain built from other pure intervals does not reliably land on that same value. A keyboard has only one key for each pitch: its G-sharp cannot be adjusted one way for an E-major chord and another way for an A-flat-major chord. A singer or string player can shade a pitch while performing, but a piano’s pitch remains fixed once its strings are tuned.

Equal temperament spreads the compromise

Equal temperament takes the mismatch and distributes it systematically. The octave remains exact, but it is divided into twelve steps with the same frequency ratio. Each neighboring key is 2^(1/12), or about 1.05946, times the frequency of the key below it. After twelve identical multiplications, the frequency has doubled exactly.

This makes transposition dependable. A melody moved from C major to E-flat major keeps the same pattern of interval sizes. Chords have the same tuning character in every key, and composers can modulate through several keys without encountering one disastrously mistuned interval. The compromise helped fixed-pitch instruments support increasingly mobile harmony, though historians are careful about the timeline: the “well temperament” associated with Johann Sebastian Bach was not necessarily the fully equal temperament used today.

The equal-tempered perfect fifth is extremely close to pure: 700 cents instead of about 701.96. The equal-tempered major third is a more noticeable compromise at 400 cents instead of about 386.31. That is why a sustained major chord sung by a responsive vocal ensemble can settle into a smoother sound than the same chord on a piano. Singers can move the third toward the pure 5:4 relationship; piano keys cannot move after they are struck.

Calling equal temperament “out of tune” can therefore mislead. It is tuned accurately to a different goal. Just intonation maximizes purity within a particular harmonic setting. Equal temperament gives up some purity so that all twelve keys remain available under one stable layout. Neither goal is universally correct; they solve different musical problems.

Why real piano tuning goes beyond the formula

A tuner does not simply calculate eighty-eight equal-tempered frequencies and stop. Piano strings are stiff enough that their upper partials run slightly sharper than perfect whole-number multiples. This effect, called inharmonicity, means mathematically exact octaves can sound narrower than the ear expects, especially across the instrument’s wide range.

To compensate, tuners commonly use a stretched tuning: high notes are set a little sharper and low notes a little flatter than the theoretical equal-tempered frequencies. The amount depends on the piano’s scale design, string length, wire stiffness, and condition. A small upright and a concert grand do not need exactly the same stretch.

Most piano notes also use two or three strings struck together. Those strings, known as a unison group, must be matched closely. If they drift apart, the note develops conspicuous slow beats and loses clarity. This is different from temperament: equal temperament deliberately adjusts relationships between different notes, while an out-of-tune unison is unwanted disagreement within one note.

Musician Carl Braun seated at a piano
Keyboard instruments made flexible tuning systems especially valuable. Library of Congress, no known restrictions.

Humidity and temperature add a separate maintenance problem. Changes in the wooden soundboard alter string tension, so a piano that was balanced months ago may no longer hold that balance. Seasonal drift, uneven unisons, temperament, and octave stretch can all be described casually as “tuning,” but they are not the same phenomenon.

What musicians can hear in the compromise

The difference becomes easier to notice with sustained tones. Play a major third in the middle register and listen for a gentle shimmer rather than only the named pitches. On a piano, that motion partly reflects the interval’s equal-tempered width and the instrument’s complex overtones. A digital tone generator can make the comparison clearer by switching between a 5:4 pure third and a 12-tone equal-tempered third.

Ensembles handle the issue in flexible ways. An unaccompanied choir may adjust notes toward pure ratios as chords change. String players continuously refine pitch by ear. Wind players may alter embouchure or air support. When those musicians perform with a piano, however, they often lean toward its fixed pitches so the group sounds unified. Intonation is not a single grid imposed identically in every situation; it is an active negotiation among harmony, instrument design, and listening.

Other musical traditions use tuning systems with different divisions, pitch collections, and expressive expectations. Even within Western music, historical temperaments remain valuable for performing older repertoire, and electronic instruments make alternative tunings easier to explore. Twelve-tone equal temperament is widespread, but it is not a law of acoustics or the only coherent way to organize pitch.

A useful imperfection

A piano cannot make every octave, fifth, and third mathematically pure at the same time. The frequency ratios conflict, and a fixed keyboard forces one pitch to serve many harmonic roles. Equal temperament answers that conflict by preserving the octave and sharing the remaining discrepancy across twelve equal steps.

The result is not a defective version of perfect tuning. It is a carefully chosen balance: pure enough for intervals to sound familiar, consistent enough for music to travel through every key, and adaptable enough for centuries of repertoire. The slight motion inside its chords is the audible trace of a mathematical problem that musicians turned into possibility.

Have any questions or need more information on the topics covered? Get quick answers, further details, or clarifications by chatting with our AI assistant, Novo, at the bottom right corner of the page.

Akshay Dinesh

As a student, I am dedicated to writing articles that educate and inspire others. My interests span a wide range of topics, and I strive to provide valuable insights through my work. If you have any questions or would like to reach out, feel free to contact me at akshay[at]novolearner.com

📘 Free Tutoring – By Students, For Students

🎓 Get completely free, personalized tutoring from high school and college students who understand what it’s like to be a learner today.

Just tell us your grade and subject(s) - we’ll follow up within 24 hours with your class info.

👉 Book your free class here

Like what we do?

Consider donating to us. Running a free educational website has its costs. We never charge our users a fee to access our content. However, we still have to foot our bills. Please help us do more. Any amount is appreciated.

Your Support Matters

We noticed you're using an ad blocker. Our website depends on ad revenue to keep our content free and accessible to everyone. Please consider disabling your ad blocker to support us and help us continue providing valuable content.

Advertisement

Advertisement

Advertisement

Advertisement

Advertisement

Advertisement