Key signatures and the circle of fifths
The sharps or flats right after the clef form the key signature: they apply to the whole piece and tell you what key it's in. With two rules and the circle of fifths, you can name any key in seconds.
Sharp, flat and natural
- A sharp (♯) raises a note by a half step: F♯ is the black key just to the right of F.
- A flat (♭) lowers a note by a half step: B♭ is the black key just to the left of B.
- A natural (♮) cancels a sharp or flat and brings the note back to normal.
Written in front of a note, these signs are accidentals and last until the end of that measure. Written at the start of every staff, right after the clef, they form the key signature and apply to the whole piece, in every octave.
The order of sharps
Sharps always enter the key signature in the same order: F, C, G, D, A, E, B. A key signature with two sharps has F♯ and C♯; with three, F♯, C♯ and G♯; and so on.
Each new sharp is a fifth above the one before (F → C → G…). That same chain of fifths is what gives the circle of fifths its name.
The order of flats
Flats go in the opposite order: B, E, A, D, G, C, F.
How to find the key
For major keys, two rules cover almost everything:
- With sharps: take the last sharp in the key signature and go up a half step. Last sharp C♯ → the key is D major. Last sharp G♯ → A major.
- With flats: the key is the second-to-last flat. Flats B♭, E♭ and A♭ → E♭ major. The exception is F major, which has only one flat (B♭) and just needs to be memorized.
- No sharps or flats: C major (or A minor).
Relative minor keys
Each key signature works for two keys: a major key and its relative minor, which uses exactly the same notes. The relative minor is a minor third below (three half steps) the major key: C major → A minor; G major → E minor; F major → D minor.
To tell whether a piece is in the major or the minor key, look at the last note (almost always the tonic) and the accidentals: in harmonic minor, the 7th degree is raised (G♯ in A minor, for example).
The circle of fifths
The circle of fifths puts it all in one picture. Going clockwise from C, each key is a fifth above the one before and adds one sharp. Going counterclockwise, each key is a fifth below and adds one flat. The inner circle shows the relative minor keys.
It's useful for much more than memorizing key signatures: keys that sit next to each other on the circle are closely related and the easiest to modulate between, and neighboring chords make strong progressions (such as the V–I cadence, from the dominant to the tonic).
Cheat sheet: key signatures
| Accidentals | Major | Relative minor | Accidentals | Major | Relative minor |
|---|---|---|---|---|---|
| 0 | C | A | |||
| 1♯ | G | E | 1♭ | F | D |
| 2♯ | D | B | 2♭ | B♭ | G |
| 3♯ | A | F♯ | 3♭ | E♭ | C |
| 4♯ | E | C♯ | 4♭ | A♭ | F |
| 5♯ | B | G♯ | 5♭ | D♭ | B♭ |
| 6♯ | F♯ | D♯ | 6♭ | G♭ | E♭ |
| 7♯ | C♯ | A♯ | 7♭ | C♭ | A♭ |
Sharps: F, C, G, D, A, E, B (Father Charles Goes Down And Ends Battle). Flats: B, E, A, D, G, C, F.