Twelve fifths do not land on seven octaves: 3¹² − 2¹⁹ = 7153

The Pythagorean comma is 23.46 cents, and every tuned keyboard is a decision about where to hide it.

Arithmetic and functions · Level: Classic result · Updated on 2026-11-10

Stack twelve pure fifths and the frequency has multiplied by 3¹² = 5.31441⋅10+5 (first link); fold each of those fifths back down into one octave and the ladder you have actually climbed is seven octaves plus twelve foldings, nineteen doublings in all, 2¹⁹ = 5.24288⋅10+5 (second). Twelve fifths should land on seven octaves — that is what closing the circle of fifths means — and they overshoot it by the ratio 531 441 to 524 288, whose difference as whole numbers is on the third link: 7153. The fourth link puts that ratio into cents, the hundredth-of-an-octave scale that ears actually use, and gets 23.460010384649, which is a little under a quarter of a semitone.

No keyboard can be tuned to both, so the comma has to be paid somewhere. Meantone and the well temperaments of the seventeenth and eighteenth centuries buried it in some fifths and left the rest close to pure, which is why keys had recognised colours and why a piece in D-flat sounded like a different kind of event than a piece in D; equal temperament spreads it evenly, twelve payments of just under two cents each, so that 12 × 1.955 recovers the comma exactly and every octave is true. The cost is that no interval but the octave is a whole-number ratio any more: the tempered fifth is a hair flat against 3:2 and the tempered major third is the worst of the common intervals against 5:4. The claim that this made modulation possible in all keys is roughly right — what it made possible is modulating without the instrument sounding wrong afterwards.

Answer

7153

How to read it

The gap between twelve fifths and seven octaves as integers. The first two links are the two sides of it and the fourth is the same gap in cents.

Source

the Pythagorean comma, implicit in Greek harmonics and tabulated by Ptolemy; expressed in cents as 1200 log₂(3¹²/2¹⁹) after Alexander Ellis's cents scale of 1885, and the equal-tempered division into twelve steps of 2^(1/12) was formalised by Simon Stevin and Werckmeister

Work it in the calculator

These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.

This is an independent third-party tool site. It is not affiliated with, sponsored by, or authorised by Casio, Texas Instruments or their distributors. Model names and product names are trademarks of their respective owners and appear here only to identify devices.

The keystroke sequences in these manuals were written from this site's own layout data — the same data the online calculator renders — plus publicly available product facts. Specifications and regional configurations are confirmed against the physical device and the manufacturer's most recent material.