You open a piece of music and there, between the clef and the first note, sits a small cluster of two sharps. Every new line of music begins with the same cluster. Then the notes start, and nothing explains the cluster at all.
That cluster is the key signature, and it answers a bigger question than it looks like it does: which seven of the twelve pitches this piece is built from, and which of those seven is home. Reading it takes two steps — count the symbols, name the major key, then flip to its relative minor — and both steps follow from one fact about how scales are built. Once you see that fact, the fixed order of sharps and flats stops being a list to memorize.
A key signature is a standing instruction, not a footnote
The previous article covered accidentals: a ♯ or ♭ written next to a note raises or lowers that note a semitone, and the effect lasts to the end of that bar.
Move the same symbols to the front of the line, and they change meaning. A sharp in the key signature says: every F in this piece is an F♯ — in every octave, in every bar, on every line of the page — until a new key signature appears or a natural sign cancels one 1.
Think of the difference between writing "20 °C" after every temperature in a table and writing it once above the column. The key signature is that column header. In G major, every single F would otherwise need its own sharp, and the page would fill up with symbols that all say the same thing.
Why the sharps always come in the order F C G D A E B
Here's the question worth asking: if a piece needs sharps, why those sharps? Why does nobody ever write a key signature containing just a G♯?
Start from the major scale. Its spacing is fixed: whole, whole, half, whole, whole, whole, half 2. Play that recipe from C and you land on the white keys only — C D E F G A B C — so C major needs no symbols at all.
Now play the same recipe starting on G:
G – A – B – C – D – E – F♯ – G
Everything matches until the top. F natural sits a whole step below G, but the recipe's last step is a half step. So F gets raised: G major needs F♯.
Here's the part that explains everything else. That F♯ is the note a semitone below the home note — the leading tone, the one that pulls into the tonic. It isn't an arbitrary member of the scale; it sits right underneath home.
Now start on D:
D – E – F♯ – G – A – B – C♯ – D
F♯ is still there (D major has F♯ as its third), and one new sharp appears: C♯, again the note a semitone below the new home note D.
Each arrow moves to a key whose home note is a perfect fifth higher — seven semitones, the distance from C up to G. And each new sharp is likewise a fifth above the previous new sharp: F up to C, C up to G, G up to D. Two things climb in step, which is why the sharps arrive in a queue instead of at random:
F ♯ — C ♯ — G ♯ — D ♯ — A ♯ — E ♯ — B ♯
A queue that always starts in the same place is how the familiar mnemonic works: Father Charles Goes Down And Ends Battle.
Flats are the same story run backwards. Start the major recipe on F and the fourth step must be a half step, so B becomes B♭ — the note a fourth above F. The next flat key is a fifth below F, which is B♭, and its new flat is E♭, a fourth above it. So each new flat is the fourth degree of the key it belongs to, and each new flat sits a fifth below the previous one:
B ♭ — E ♭ — A ♭ — D ♭ — G ♭ — C ♭ — F ♭
Which is the sharp order read backwards — Battle Ends And Down Goes Charles' Father 3.
Decoding a signature: count first, then look at the end of the queue
Because the order never varies, the number of symbols tells you which letters they are. Two sharps are always F♯ and C♯. Four flats are always B♭, E♭, A♭ and D♭. You never need to check each one.
Then one short cut names the key:
Sharp keys: the last sharp is the leading tone, so the major key is a semitone above it. Three sharps — F♯, C♯, G♯ — end on G♯, and a semitone above G♯ is A major.
Flat keys: the last flat added is the fourth degree of the key, so the tonic is the flat before it. Four flats — B♭, E♭, A♭, D♭ — have A♭ second from the end, so the key is A♭ major. One flat is the exception with no second-to-last symbol: B♭ alone means F major, worth simply knowing.
No symbols at all means C major or A minor — the two keys that need nothing.
| Signature | Major key | Relative minor |
|---|---|---|
| none | C | A minor |
| 1 sharp | G | E minor |
| 2 sharps | D | B minor |
| 3 sharps | A | F♯ minor |
| 4 sharps | E | C♯ minor |
| 5 sharps | B | G♯ minor |
| 6 sharps | F♯ | D♯ minor |
| 7 sharps | C♯ | A♯ minor |
| 1 flat | F | D minor |
| 2 flats | B♭ | G minor |
| 3 flats | E♭ | C minor |
| 4 flats | A♭ | F minor |
| 5 flats | D♭ | B♭ minor |
| 6 flats | G♭ | E♭ minor |
| 7 flats | C♭ | A♭ minor |
Relative minor: the same seven notes with a different home
Every key signature names two keys, and the pair is called relative major and relative minor.
The reason is simple: play a major scale and start counting from its sixth note instead of its first, and you get a minor scale built from the identical seven notes. D major is D E F♯ G A B C♯. Start on B and you have B C♯ D E F♯ G A — B minor, no new symbols required.
So the relative minor of any major key is a minor third (three semitones) below its tonic, which is the same as the sixth degree of its major scale 4. Two sharps: D major and B minor. Three flats: E♭ major and C minor.
The key signature tells you which seven notes are in play. It does not tell you which of the two is home — that's the difference between a major key and its relative minor, and you decide it by ear. Listen for the note the melody settles on, and often for the bass note of the final chord: a piece that keeps coming to rest on B, over a two-sharp signature, is in B minor, not D major.
Don't confuse this pair with parallel keys, which share a tonic but not a signature: C major has no symbols, C minor has three flats.
Where the shortcuts stop working
- Minor pieces collect extra accidentals. The seventh degree of a minor key is often raised in the music itself to sharpen the pull into the tonic. Those sharps are not in the signature, so a piece in B minor can be full of A♯s.
- The signature is a starting point, not a fence. Pieces modulate — they move to another key partway through, and the notation then either changes the signature or adds accidentals.
Three to check yourself
- Four sharps. Which letters, which major key, which relative minor?
- Two flats. Same three answers.
- A piece with three sharps ends its last chord on F♯. Major or minor, and why?
Answers: (1) F♯ C♯ G♯ D♯; E major; C♯ minor. (2) B♭ E♭; B♭ major; G minor. (3) Minor — F♯ minor is the relative minor of A major, and the final chord is the strongest clue to the tonic.