Key signature chart
There are 15 major key signatures: C major with none, seven with sharps and seven with flats. Every signature is shared by a major key and its relative minor, so the same 15 signatures cover 30 keys.
Sharp keys
C major
A minor · no sharps or flats
G major
E minor · 1 sharp
D major
B minor · 2 sharps
A major
F♯ minor · 3 sharps
E major
C♯ minor · 4 sharps
B major
G♯ minor · 5 sharps
F♯ major
D♯ minor · 6 sharps
C♯ major
A♯ minor · 7 sharps
Flat keys
F major
D minor · 1 flat
B♭ major
G minor · 2 flats
E♭ major
C minor · 3 flats
A♭ major
F minor · 4 flats
D♭ major
B♭ minor · 5 flats
G♭ major
E♭ minor · 6 flats
C♭ major
A♭ minor · 7 flats
| Sharps | Major key | Relative minor |
|---|---|---|
| 0 | C major | A minor |
| 1 | G major | E minor |
| 2 | D major | B minor |
| 3 | A major | F♯ minor |
| 4 | E major | C♯ minor |
| 5 | B major | G♯ minor |
| 6 | F♯ major | D♯ minor |
| 7 | C♯ major | A♯ minor |
| Flats | Major key | Relative minor |
|---|---|---|
| 1 | F major | D minor |
| 2 | B♭ major | G minor |
| 3 | E♭ major | C minor |
| 4 | A♭ major | F minor |
| 5 | D♭ major | B♭ minor |
| 6 | G♭ major | E♭ minor |
| 7 | C♭ major | A♭ minor |
Three pairs of keys sound the same but are spelled differently: B and C♭, F♯ and G♭, C♯ and D♭. These are enharmonic keys.
The order of sharps and flats
Sharps are always added in one fixed order, and flats in the reverse of that order. A signature with three sharps always has the first three sharps, never any others.
Order of sharps
- FFather
- CCharles
- GGoes
- DDown
- AAnd
- EEnds
- BBattles
Order of flats
- BBattles
- EEnd
- AAnd
- DDown
- GGoes
- CCharles’
- FFather
How to identify a key signature
You do not need to memorize the chart. Two short rules name the major key of almost any signature.
Sharps: last sharp, up a semitone
Find the last sharp in the signature and go up to the next letter name. Three sharps end on G♯; the next letter up is A, so the key is A major.Flats: the second-to-last flat
The second-to-last flat is the name of the key, flat included. Four flats end B♭, E♭, A♭, D♭; the second-to-last is A♭, so the key is A♭ major.Learn two by heart
No sharps or flats is C major. One flat has no second-to-last flat, so learn it: F major.
Sharps
A major: 3 sharps
Flats
A♭ major: 4 flats
To go the other way, from a key to its signature, use the same rules backwards. How many sharps in E major? E has to be one letter above the last sharp, so the last sharp is D♯: F♯, C♯, G♯, D♯. That is four sharps.
Try it: name the key
Question 1 of 6
Which major key has this signature?
Major or minor?
A signature on its own cannot tell you whether a piece is in the major key or its relative minor. Look at the music instead:
- The raised 7th. Minor keys usually raise their 7th note with an accidental. A piece with one sharp and frequent D♯s is probably in E minor, not G major.
- First and last notes. Melodies and pieces tend to begin and end on the tonic, the note the key is named after.
The relative minor's tonic is always three semitones (a minor third) below the major key's tonic: G major and E minor share one sharp.