edubun
English

The circle of fifths

Go up a perfect fifth twelve times from C and you land on C again, seven octaves higher, having passed through every major key on the way.

Twelve keys on a clock face

Put C major at 12 o'clock. Go up a perfect fifth, to G, and place G major at 1 o'clock: it has one sharp. A fifth above G is D, two sharps, at 2 o'clock. Keep going (A, E, B) and each step clockwise adds one sharp. Going the other way, a fifth down from C is F, one flat, at 11 o'clock; then B♭, E♭ and A♭ follow, each adding a flat. The result is the circle of fifths, all the key signatures in one picture.

Each new sharp is the leading tone of the new key. G major's sharp is F♯, a half step under G. D major keeps F♯ and adds C♯, a half step under D. Each new flat works the other way round: it is the fourth degree of the new key. F major adds B♭, the fourth note of F major, and B♭ major adds E♭, its own fourth note. The tricks from the last unit are this pattern seen from a different side.

Loading the 3D model

Drag to turn. Scroll or pinch to zoom.

Press "Walk the circle" to step clockwise one fifth at a time. Each step raises the next key and plays its tonic chord; the tags mark its IV, V and relative minor.

Neighbours share six notes

Keys next to each other on the circle differ by exactly one note. C major and G major share C, D, E, G, A and B, and differ only in F versus F♯. Because the change is a single note, music often moves to a neighbouring key and the ear follows easily. The two neighbours of any key are its dominant (clockwise, a fifth up) and its subdominant (counterclockwise, a fifth down), the same 5 and 4 you met as scale degrees.

The farther apart two keys are on the circle, the fewer notes they share. Counting from C major: G shares six notes, D five, A four, E three, and B two. F♯ major, straight across the circle, also shares only two (B, and E♯, which sounds as F). That is why a jump from C to F♯ sounds like a sudden change of scene, while a move from C to G hardly sounds like a move at all.

The bottom of the circle is where sharps and flats meet. At 5 o'clock, B major (five sharps) sounds the same as C♭ major (seven flats). At 6 o'clock, F♯ major (six sharps) and G♭ major (six flats) are played on the same keys. At 7 o'clock, C♯ major (seven sharps) matches D♭ major (five flats). Notes or keys that sound alike but are spelled differently are called enharmonic, and that is how twelve positions hold fifteen key signatures.

Why the circle closes

A perfect fifth is seven half steps. Twelve fifths are 12 × 7 = 84 half steps, and 84 ÷ 12 = 7, exactly seven octaves, so on a piano the circle closes perfectly. Modern pianos are tuned so that every half step is the same size. If instead every fifth were tuned to the pure frequency ratio 3:2, twelve of them would overshoot seven octaves slightly: (3/2)¹² ÷ 2⁷ is about 1.0136, a gap of about 23.5 cents, where a cent is one hundredth of a half step. A keyboard with fixed pitches cannot have every fifth pure and still close the circle, so its tuning has to share that small gap out somewhere.

BackgroundThe earliest known circle-of-fifths diagrams appear in the Grammatika of Nikolai Diletskii (Mykola Dyletsky), a composer working in Muscovy who wrote it in the late 1670s to teach Western-style composition; its surviving versions date from 1677 to 1681. In 1711 the German composer Johann David Heinichen printed his own "musical circle" (Musicalischer Circul), and he included it again in a larger book in 1728. Heinichen's circle placed each major key beside its relative minor rather than following fifths all the way round, a layout later theorists tried to improve.
  • 1677: Earliest surviving version of Diletskii's Grammatika, with circles of fifths
  • 1711: Heinichen prints his "musical circle"
  • 1722: Bach dates Book 1 of The Well-Tempered Clavier, in all 24 keys
  • 1728: Heinichen reprints the circle in Der General-Bass in der Composition
  1. Going clockwise from C, which key comes next?
    • G major
    • F major
    • D major
    • A minor
  2. Going counterclockwise from C, which key comes next?
    • F major
    • G major
    • B♭ major
    • E minor
  3. How many half steps are in a perfect fifth?
  4. Twelve perfect fifths add up to how many octaves on a piano?
  5. How many notes do C major and D major have in common?
  6. The new sharp in each sharp key is that key's…
    • Leading tone
    • Dominant
    • Subdominant
    • Mediant
  7. The new flat in each flat key is that key's…
    • 4th degree
    • 7th degree
    • 5th degree
    • 1st degree
  8. Which key is enharmonic with B major?
    • C♭ major
    • B♭ major
    • C♯ major
    • A♯ major
  9. How many flats does G♭ major have?
  10. Which pair is directly across the circle from each other?
    • C and F♯
    • C and G
    • C and A
    • G and D
  11. With pure 3:2 fifths, about how many cents do twelve fifths overshoot seven octaves? (whole number)
  12. Whose treatise has the earliest known circle-of-fifths diagrams?
    • Diletskii
    • Heinichen
    • Bach
    • Rameau
Key points
  • Clockwise: a fifth up, one more sharp. Counterclockwise: a fifth down, one more flat.
  • Neighbouring keys differ by one note.
  • Bottom three positions are enharmonic: B/C♭, F♯/G♭, C♯/D♭.
  • 12 fifths = 84 half steps = 7 octaves.
Sources for this course (5)
  • Open Music Theory 2e (Viva Pressbooks; ideas only, no sentences copied): "Major Scales, Scale Degrees, and Key Signatures" (W-W-H-W-W-W-H, scale named for first note incl. accidental, scale-degree numbers with carets, do re mi fa sol la ti, tonic/supertonic/mediant/subdominant/dominant/submediant/leading tone and how the names were derived, clef-key-time order, order of sharps F C G D A E B and flats B E A D G C F, last sharp a half step below the tonic, second-to-last flat is the tonic, C and F memorised, C♭ seven flats and C♯ seven sharps, circle of fifths with enharmonic keys at 5, 6 and 7 o'clock; viva.pressbooks.pub/openmusictheory/chapter/major-scales/) and "Minor Scales, Scale Degrees, and Key Signatures" (natural W-H-W-W-H-W-W, harmonic W-H-W-W-H-3H-H, melodic up W-H-W-W-W-W-H and down = natural, lowered 3 6 7 / 3 6 / 3, me le te, subtonic, parallel and relative, relative minor three half steps below, D♭ major and B♭ minor not A♯ minor, three flavours of the same key, first and last notes and the Louise Reichardt song in F minor; viva.pressbooks.pub/openmusictheory/chapter/minor-scales/)
  • musictheory.net lessons 21-24 used as a cross-check only. Wikipedia "Circle of fifths" (Diletskii Grammatika 1677, Heinichen Musicalischer Circul 1711 and 1728, relative minor placed beside its major; en.wikipedia.org/wiki/Circle_of_fifths) and C. R. Jensen, "A Theoretical Work of Late Seventeenth-Century Muscovy: Nikolai Diletskii's Grammatika and the Earliest Circle of Fifths", JAMS 45/2 (1992)
  • abstract (surviving variants Smolensk 1677, Moscow 1679 and 1681; doi.org/10.2307/831450)
  • Wikipedia "The Well-Tempered Clavier" (Book 1 autograph dated 1722, 24 keys, C major then C minor then up by half steps; en.wikipedia.org/wiki/The_Well-Tempered_Clavier)
  • Wikipedia "Solfège" and "Guido of Arezzo" (ut re mi fa sol la from Ut queant laxis, 11th century, ut became do in 17th-century Italy, si added later, ti from Sarah Glover in the 19th century, fixed do in Romance-language countries; en.wikipedia.org/wiki/Solf%C3%A8ge).

Checked: 2026-10-17