Key signature
A key signature is the group of sharps or flats written right after the clef at the start of every line. It tells you which notes are played sharp or flat throughout the piece, so they do not need a sign every time.
It also tells you the key. Here two sharps, F♯ and C♯, mean D major: every F and every C you see is played on the black key above it.
What a key signature does
- Every octave. A sharp on the top line F means every F on the staff, high or low, is F♯.
- The whole piece. It holds from the first bar to the last, and is repeated at the start of every line as a reminder.
- Until something changes it. A single note can be changed with a sign in front of it, called an accidental, for one bar. A new key signature, after a double bar line, changes the rule from there on.
Example
There is one sharp, on F. Which of these F's are played as F♯?
All three. The sharp in the key signature counts for every F, in every bar and every octave, including the high F in bar 2 that sits on the top line.
The order of sharps and flats
Sharps and flats always appear in the same order, so you never see a key signature with only, say, G♯. Each new key adds the next one in the line.
| Order | Say it as | |
|---|---|---|
| Sharps | F C G D A E B | Father Charles Goes Down And Ends Battle |
| Flats | B E A D G C F | Battle Ends And Down Goes Charles' Father |
The flats are the sharps backwards. The first flats spell a word: B, E, A, D.
-
Engraved by Verovio 6.3.0-425dd7b G major One sharp: F♯.
-
Engraved by Verovio 6.3.0-425dd7b D major Two sharps: F♯ C♯.
-
Engraved by Verovio 6.3.0-425dd7b A major Three sharps: F♯ C♯ G♯.
-
Engraved by Verovio 6.3.0-425dd7b F major One flat: B♭.
-
Engraved by Verovio 6.3.0-425dd7b B♭ major Two flats: B♭ E♭.
-
Engraved by Verovio 6.3.0-425dd7b E♭ major Three flats: B♭ E♭ A♭.
How to name the key in two seconds
- No sharps or flats: C major. Or its relative minor, A minor (see below).
- Sharps: last sharp, then up a half step. Take the sharp furthest to the right and go up one key. Last sharp C♯, a half step up is D: D major.
- Flats: the second-to-last flat. The flat just before the last one names the key. B♭ E♭ A♭: the second-to-last is E♭, so E♭ major.
- One flat: remember it. There is no second-to-last flat, so learn this one by heart: one flat is F major.
Try it yourself
Which major key is this?
Four sharps: F♯ C♯ G♯ D♯. The last is D♯, and a half step up is E. E major.
Try it yourself
And this one?
Four flats: B♭ E♭ A♭ D♭. The second-to-last flat is A♭, so A♭ major.
| Signature | Major key | Minor key |
|---|---|---|
| No sharps or flats | C major | A minor |
| 1 sharp | G major | E minor |
| 2 sharps | D major | B minor |
| 3 sharps | A major | F♯ minor |
| 4 sharps | E major | C♯ minor |
| 5 sharps | B major | G♯ minor |
| 6 sharps | F♯ major | D♯ minor |
| 7 sharps | C♯ major | A♯ minor |
| 1 flat | F major | D minor |
| 2 flats | B♭ major | G minor |
| 3 flats | E♭ major | C minor |
| 4 flats | A♭ major | F minor |
| 5 flats | D♭ major | B♭ minor |
| 6 flats | G♭ major | E♭ minor |
| 7 flats | C♭ major | A♭ minor |
Major or minor? The relative minor
Every key signature belongs to two keys: a major key and its relative minor. The minor key starts three half steps below the major one. No sharps or flats is C major or A minor; one sharp is G major or E minor.
To tell which one a piece is in, look at the last note or chord, which is usually the home note. In a minor key you will also often see one extra sharp or natural in the music: the note just below the home note is raised, like G♯ in A minor.
-
Engraved by Verovio 6.3.0-425dd7b G major One sharp, home chord G.
-
Engraved by Verovio 6.3.0-425dd7b E minor Same sharp, home chord E minor.
Try it yourself
Which minor key has the same key signature as D major?
B minor: three half steps below D is B, and both keys have two sharps. D minor is a different signature, with one flat.
The circle of fifths puts all of these on one wheel: each step clockwise adds a sharp, each step counter-clockwise adds a flat.
Pieces to practise reading key signatures
- Minuet in G major by Christian Petzold. One sharp, G major: the first key signature most pianists learn.
- Sonata KV 331 - Tema (Theme) by W. A. Mozart. Three sharps, A major, in an easy, singing theme.
- Minuet in G minor by Christian Petzold. Two flats in G minor, the relative minor of B♭ major, with the raised F♯ written in the music.
- Menuett in E-flat major, WoO 82 by Ludwig van Beethoven. Three flats, then a new key signature with four flats from bar 35.
Questions
What is a key signature in music?
The sharps or flats written after the clef at the start of each line. They apply to those notes in every octave for the whole piece, and they tell you the key.
How do you find the key from a key signature?
With sharps, go a half step up from the last sharp. With flats, the second-to-last flat is the key; one flat is F major. Each signature also fits a minor key three half steps lower.
What is the order of sharps and flats?
Sharps: F C G D A E B (Father Charles Goes Down And Ends Battle). Flats: the same backwards, B E A D G C F.