Ever opened a score and paused at the two or three ♯s or ♭s sitting next to the clef? That's the key signature — and this guide uses a single tool, the Circle of Fifths, to organize all 24 keys at a glance so you never forget them again.
The key signature announces in advance which notes will always be played with a ♯ or ♭ throughout the piece. A piece in G major, for instance, uses F♯ constantly — so instead of drawing a ♯ every time, it's written once at the start of the score as a promise: "in this piece, every F is F♯."
Key signatures always accumulate in a fixed order. Sharps appear in the order F-C-G-D-A-E-B, and flats in the order B-E-A-D-G-C-F. Because each step moves by a fifth, this is also called the "cycle of fifths."
The Circle of Fifths is drawn like a clock face with C major at 12 o'clock. Each step clockwise adds one sharp; each step counterclockwise adds one flat.
| Key | Key signature | Position on the circle |
|---|---|---|
| C major | 0 sharps / 0 flats | 12 o'clock |
| G major | 1 sharp (F♯) | 1 o'clock |
| D major | 2 sharps (F♯, C♯) | 2 o'clock |
| A major | 3 sharps | 3 o'clock |
| E major | 4 sharps | 4 o'clock |
| B major | 5 sharps | 5 o'clock |
| F♯ major | 6 sharps | 6 o'clock |
| F major | 1 flat (B♭) | 11 o'clock |
| B♭ major | 2 flats | 10 o'clock |
| E♭ major | 3 flats | 9 o'clock |
| A♭ major | 4 flats | 8 o'clock |
| D♭ major | 5 flats | 7 o'clock |
| G♭ major | 6 flats | 6 o'clock |
Every key signature is shared by one major key and one minor key — a pair called relative keys. Start on the sixth degree of a major scale and the relative minor begins right there.
Since the key signature alone can't tell you whether a piece is major or minor, you determine it from the chords and melodic center of the first and last measures. For example: "four sharps, and the piece ends on the notes C♯-E-G♯ — so it's C♯ minor." A piece that opens darkly with a falling minor third (E down to C♯), like Chopin's Nocturne op. 9 no. 1, is very likely in a minor key.
The order in which sharps appear — F-C-G-D-A-E-B — and the order in which flats appear — B-E-A-D-G-C-F — are easiest to memorize with these classic mnemonics.
Notice that the two sentences are each other reversed — remember that one fact, and you'll never forget either.
A change of key signature in the middle of a piece is called a modulation. The Romantic composers — Chopin, Schumann, Brahms — modulate frequently within a single piece to shift its color. When you're reading along and the pattern of ♯s and ♭s suddenly changes, the new key signature takes effect at that point, and from the next measure on you follow the new promise.
The measures just before a modulation are usually full of accidentals — they act as the "preparation," easing the music toward the new key. And remember: an accidental only applies within its own measure. If the same note appears in the next measure, it reverts to the key signature.
Practice tip — Pick two pieces with the same key signature from the sheet music library and compare them. For example, put "Für Elise" (A minor, no sharps) next to the "Nocturne op. 9 no. 2" (E♭ major, 3 flats) and slowly compare the first four measures of each — you'll hear for yourself how the key signature shapes a piece's color.
Key signatures look like a lot to memorize at first, but one Circle of Fifths diagram and two mnemonic sentences turn them into a tool you'll use for life. Whenever you encounter a key signature in real music, get in the habit of saying out loud "this piece is in such-and-such key, so these notes are sharp/flat" — and within a month it will feel second nature. The next step is The Periods of Classical Music, where you can compare how composers of each era used tonality.