Why a Tuner and Your Ear Disagree
By Lucian — builder & engineer, LK Forge
Tune a guitar to a digital tuner, play a big open major chord, and something is faintly off — a slow shimmer in the sound. The tuner isn't wrong, and neither are your ears. They're using two different definitions of "in tune," and the gap between them is a fixed, measurable number. Our tuners target one definition; your ear prefers the other. Here's exactly how far apart they are.
Two definitions of "in tune"
A digital tuner uses equal temperament: the octave is chopped into twelve exactly equal steps of 100 cents each (a cent is 1/100 of a semitone). That evenness is what lets one piano play in all 24 keys without retuning. Your ear, though, calls an interval "pure" when the two frequencies form a simple whole-number ratio — a perfect fifth is 3:2, a major third is 5:4 — because then the waves lock together and stop beating. The catch: those pure ratios don't fall on the equal 100-cent grid. So the two systems disagree, note by note, by an amount you can compute exactly.
Key finding: equal temperament's major third is +13.69 cents off a pure third and its major sixth +15.64 cents; the perfect fifth is only -1.96 cents. The worst offender is the minor 7th at -17.6 cents. A trained ear notices about 5 cents — so the thirds and sixths are audibly tempered, the fifths and fourths barely.
The full table
| Interval | Pure ratio | Equal temp. | Pure (cents) | Off by |
|---|---|---|---|---|
| Unison | 1/1 | 0 | 0 | 0 |
| Minor 2nd | 16/15 | 100 | 111.73 | -11.73 |
| Major 2nd | 9/8 | 200 | 203.91 | -3.91 |
| Minor 3rd | 6/5 | 300 | 315.64 | -15.64 |
| Major 3rd | 5/4 | 400 | 386.31 | +13.69 |
| Perfect 4th | 4/3 | 500 | 498.04 | +1.96 |
| Tritone | 45/32 | 600 | 590.22 | +9.78 |
| Perfect 5th | 3/2 | 700 | 701.96 | -1.96 |
| Minor 6th | 8/5 | 800 | 813.69 | -13.69 |
| Major 6th | 5/3 | 900 | 884.36 | +15.64 |
| Minor 7th | 9/5 | 1000 | 1017.6 | -17.6 |
| Major 7th | 15/8 | 1100 | 1088.27 | +11.73 |
| Octave | 2/1 | 1200 | 1200 | 0 |
This is why a piano can never be perfectly in tune and perfectly playable in every key at once — the two goals are mathematically incompatible, and equal temperament is the elegant surrender that spreads the error evenly so no key sounds worse than any other. A string quartet or a barbershop group, with no frets or keys, can slide each note to the pure ratio and get thirds with no beating at all. That's the sound your ear is quietly asking a fretted, tempered instrument for and not quite getting.
What your tuner is actually listening for
A digital tuner takes the equal-tempered target frequency for each string and shows how many cents
your string is above or below it. Every one of these comes from the same formula the
tuners use — f = 440 × 2⁽⁽ᵐ⁻⁶⁹⁾ᐟ¹²⁾, where
m is the MIDI note number:
Reproduce this
Every number comes from scripts/gen-temperament-study.mjs — two one-line functions, no
dependencies:
// cents in an interval given its frequency ratio
const cents = (ratio) => 1200 * Math.log2(ratio)
// equal-tempered note frequency (A4 = 440 Hz) — the tuners' formula
const midiToFreq = (m) => 440 * 2 ** ((m - 69) / 12)
// deviation of the equal-tempered interval from the pure one:
// major third → 100*4 - cents(5/4) = 400 - 386.31 = +13.69 cents
Run it for each interval's just ratio (5:4, 3:2, …) and you get the whole table; feed each string's
MIDI number to midiToFreq and you get every tuner target above.
Hear it for yourself
Tune up with a tuner, then play a major third and a fifth and listen for the difference in how "settled" they sound. Sweep two pitches close together on the tone generator to hear beating appear and vanish, and see how the intervals sit on the circle of fifths. All run in your browser with the Web Audio API — nothing to install.
More from the music tools
- Circle of Fifths — the map of keys and their relationships, and why the fifth is the interval temperament protects.
- Chord Finder — build the very thirds and sixths that carry the tempering.
- All the music tools — tuners, metronome, synth, tone generator and more, all in the browser.