Key signatures
See any key signature in treble and bass clef, hear its scale, and quiz yourself until you can name them on sight.
E♭ major
Relative minor: C minor
3 flatsB♭E♭A♭
Using the key signatures
- 1Pick a major key from the list to see its signature in treble and bass clef.
- 2Switch the scale to the relative minor and press play to hear it.
- 3Open the quiz, name the key from each signature and build a streak.
Related tools
The order of sharps and flats
A key signature is the group of sharps or flats written at the start of every line of music. It tells you which notes are raised or lowered for the whole piece, so you don't need an accidental on each one.
Sharps are always added in the same order: F♯ C♯ G♯ D♯ A♯ E♯ B♯. Each new sharp is a fifth above the last. The phrase Father Charles Goes Down And Ends Battle keeps them straight. Flats run in the reverse order, B♭ E♭ A♭ D♭ G♭ C♭ F♭, each a fifth below the last: Battle Ends And Down Goes Charles' Father.
A signature never skips one. If a key has three sharps, they are F♯, C♯ and G♯, and they sit on the same lines and spaces in every piece. In bass clef the pattern is identical, just one line lower on the staff.
Naming a key from its signature
Sharp keys: find the last sharp and go up a half step. Two sharps end on C♯, so the key is D major. Five sharps end on A♯, so the key is B major.
Flat keys: the second-to-last flat is the name of the key. Three flats are B♭, E♭ and A♭, so the key is E♭ major. Only F major, with a single B♭, has to be memorized.
Minor keys: every signature also belongs to a relative minor, found by going down three half steps from the major tonic. E♭ major becomes C minor; D major becomes B minor. To tell which one a piece is in, look at the first and last notes and chords, and watch for a raised seventh (B♮ in C minor), which points to the minor key. The circle of fifths shows all of these relationships in one picture.
Every key signature
All 15 major key signatures with their relative minors, from seven flats to seven sharps.
| Major key | Relative minor | Signature | Sharps or flats |
|---|---|---|---|
| C♭ major | A♭ minor | 7 flats | B♭ E♭ A♭ D♭ G♭ C♭ F♭ |
| G♭ major | E♭ minor | 6 flats | B♭ E♭ A♭ D♭ G♭ C♭ |
| D♭ major | B♭ minor | 5 flats | B♭ E♭ A♭ D♭ G♭ |
| A♭ major | F minor | 4 flats | B♭ E♭ A♭ D♭ |
| E♭ major | C minor | 3 flats | B♭ E♭ A♭ |
| B♭ major | G minor | 2 flats | B♭ E♭ |
| F major | D minor | 1 flat | B♭ |
| C major | A minor | No sharps or flats | None |
| G major | E minor | 1 sharp | F♯ |
| D major | B minor | 2 sharps | F♯ C♯ |
| A major | F♯ minor | 3 sharps | F♯ C♯ G♯ |
| E major | C♯ minor | 4 sharps | F♯ C♯ G♯ D♯ |
| B major | G♯ minor | 5 sharps | F♯ C♯ G♯ D♯ A♯ |
| F♯ major | D♯ minor | 6 sharps | F♯ C♯ G♯ D♯ A♯ E♯ |
| C♯ major | A♯ minor | 7 sharps | F♯ C♯ G♯ D♯ A♯ E♯ B♯ |
Questions
What is the order of sharps?
F♯, C♯, G♯, D♯, A♯, E♯, B♯. A common memory aid is Father Charles Goes Down And Ends Battle.
What is the order of flats?
B♭, E♭, A♭, D♭, G♭, C♭, F♭. It is the order of sharps backwards, remembered as Battle Ends And Down Goes Charles' Father.
How do you find a major key from its sharps?
Take the last sharp in the signature and go up a half step. With three sharps the last one is G♯, so the key is A major.
How do you find a major key from its flats?
The second-to-last flat names the key. With four flats (B♭, E♭, A♭, D♭) the key is A♭ major. One flat is the exception to learn by heart: F major.
Which minor key shares a key signature with a major key?
Its relative minor, which starts on the sixth note of the major scale, three half steps below the major tonic. C major and A minor both have no sharps or flats.
Why are there 15 major key signatures but only 12 notes?
Three pairs of keys sound the same but are written differently: B and C♭, F♯ and G♭, C♯ and D♭. Each spelling has its own signature.