Theory · Keys
How to Read Key Signatures: Tricks and a Full Chart
The cluster of sharps or flats after the clef tells you which notes to alter for the whole piece, and narrows the key down to two choices. Two short tricks name the key; a few clues settle major or minor.
A key signature is a shortcut. Instead of printing a flat in front of every B in a piece in F major, the composer prints one flat at the start of each line, and every B in the piece is played as B flat. Reading a key signature means two things: knowing which notes it changes, and working out which key it belongs to. Both take a few minutes to learn and are then automatic.
What a key signature is, and where it sits
The key signature is the group of sharps (♯) or flats (♭) placed right after the clef and before the time signature. Each one sits on a particular line or space: the first sharp in the treble clef is on the top line, which is F, so every F in the piece becomes F sharp.
A few rules make it work:
- It applies to every octave. The F sharp on the top line also turns the F in the bottom space, and any F on ledger lines, into F sharp.
- It is repeated at the start of every line of music, unlike the time signature, which is shown only once until it changes. On piano music, each staff of the grand staff carries its own copy.
- It lasts until a new key signature replaces it. A sharp or flat written next to a note (an accidental) is temporary; the key signature is not.
- It never mixes sharps and flats. A signature is either all sharps, all flats, or empty.
The order of sharps and flats
Sharps are always added in the same order: F, C, G, D, A, E, B. A key with three sharps has F, C and G sharp, never any other three. Flats come in the reverse order: B, E, A, D, G, C, F. If a mnemonic helps, “Father Charles Goes Down And Ends Battle” gives the sharps, and reading it backwards (“Battle Ends And Down Goes Charles’ Father”) gives the flats.
Because the order is fixed, the number of sharps or flats is enough to identify a signature. Four flats can only be B, E, A and D flat.
The tricks for naming the major key
Sharps: last sharp, up a half step. The last sharp on the right is the seventh note of the major scale. Go up one half step (a semitone) and you have the key. Two sharps end on C sharp, so the key is D major. Five sharps end on A sharp, so the key is B major.
Flats: the second-to-last flat. With two or more flats, the second-to-last flat is the name of the key. Three flats (B, E, A) give E flat major; five flats (B, E, A, D, G) give D flat major.
One flat is F major. The flat trick needs at least two flats, so memorise this one. No sharps or flats at all is C major.
Rendering notation…
The relative minor
Every key signature belongs to two keys: a major key and its relative minor. The relative minor starts a minor third below the major key, which is three half steps down. One sharp is G major or E minor; three flats are E flat major or C minor. Keep the spelling of the signature when you count: a minor third below E flat is C, not B sharp. With sharps there is an even quicker route, since the last sharp down a whole step lands on the relative minor (F sharp, down a whole step, is E).
To decide which of the two you are in, look at the music, not the signature:
- The last bass note or chord is usually the home key. A piece with one sharp that ends on E is almost certainly in E minor.
- A raised seventh keeps appearing as an accidental in minor keys, because the harmonic and melodic minor scales sharpen it. In E minor you will see D sharps; in A minor, G sharps; in C minor, B naturals.
- The opening bars usually outline the tonic chord, though not always.
Key signature chart: all 15 keys
There are 15 key signatures: none, one to seven sharps, and one to seven flats. Each line of the chart below shares one signature between a major key and its relative minor.
| Signature | Notes altered | Major key | Relative minor |
|---|---|---|---|
| No sharps or flats | None | C major | A minor |
| 1 sharp | F♯ | G major | E minor |
| 2 sharps | F♯ C♯ | D major | B minor |
| 3 sharps | F♯ C♯ G♯ | A major | F♯ minor |
| 4 sharps | F♯ C♯ G♯ D♯ | E major | C♯ minor |
| 5 sharps | F♯ C♯ G♯ D♯ A♯ | B major | G♯ minor |
| 6 sharps | F♯ C♯ G♯ D♯ A♯ E♯ | F♯ major | D♯ minor |
| 7 sharps | F♯ C♯ G♯ D♯ A♯ E♯ B♯ | C♯ major | A♯ minor |
| 1 flat | B♭ | F major | D minor |
| 2 flats | B♭ E♭ | B♭ major | G minor |
| 3 flats | B♭ E♭ A♭ | E♭ major | C minor |
| 4 flats | B♭ E♭ A♭ D♭ | A♭ major | F minor |
| 5 flats | B♭ E♭ A♭ D♭ G♭ | D♭ major | B♭ minor |
| 6 flats | B♭ E♭ A♭ D♭ G♭ C♭ | G♭ major | E♭ minor |
| 7 flats | B♭ E♭ A♭ D♭ G♭ C♭ F♭ | C♭ major | A♭ minor |
Read down the sharp half and each new key is a fifth above the last (C, G, D, A, E, B, F sharp, C sharp). Read down the flat half and each is a fifth below (F, B flat, E flat, and so on). Drawn as a loop, that pattern is the circle of fifths.
Accidentals against the key signature
An accidental printed in the music overrides the key signature for that note, from that point to the end of the bar (the measure). After the bar line, the key signature takes over again. Strictly, the accidental affects only the line or space it is written on, so a natural on one F does not change an F an octave higher in the same bar; careful editions add an accidental to the second octave anyway, to remove doubt.
Rendering notation…
That bracketed sharp is a courtesy (or cautionary) accidental. It changes nothing, it simply reminds you that the previous bar’s natural has expired. Editions use them freely after altered notes, and they are worth reading as a warning sign that the previous bar did something unusual. One exception to the bar-line reset: if an altered note is tied across the bar line, the tied continuation keeps its accidental.
Key changes and cancelling naturals
When a piece changes key, a new signature appears in the middle of the music, normally after a double bar line. If the change falls at the start of a new line, the new signature is usually also printed at the end of the previous line, as a warning.
Sharps or flats that no longer apply are cancelled with naturals. Conventions vary: traditional engraving prints a natural for every sharp or flat being removed, while some modern editions skip them when the signature switches from sharps to flats, since the new symbols make the change obvious. Moving to C major or A minor, the naturals are always printed, because without them there would be nothing to see.
Rendering notation…
Same notes, different keys: enharmonic keys
On a piano, F sharp and G flat are the same black key. So F sharp major (six sharps) and G flat major (six flats) sound identical: same keys pressed, same pitches heard. Keys like these are enharmonic. Three pairs exist among the 15 signatures: B major and C flat major, F sharp major and G flat major, C sharp major and D flat major (and their relative minors).
Rendering notation…
Composers choose one spelling over the other for practical reasons:
- Fewer accidentals. D flat major (five flats) is easier to read than C sharp major (seven sharps), which is why it is far more common. Chopin’s “Minute” Waltz, Op. 64 No. 1, is in D flat major.
- Avoiding double sharps and flats. Beethoven’s “Moonlight” Sonata is in C sharp minor, four sharps. Its enharmonic twin, D flat minor, would need eight flats, including a B double flat, so it is almost never used.
- The keys around it. A piece that moves through sharp keys tends to stay spelled in sharps, so the chords are written as the harmony actually works.
- The instrument. String players often find sharp keys easier to read, since open strings sit in them; wind and brass music leans towards flats.
Six-sharp and six-flat keys are both in real use. Chopin wrote his “Black Key” Étude, Op. 10 No. 5, in G flat major, and the right hand plays almost entirely on black keys.
When the key signature does not tell the whole story
Older music sometimes uses one flat fewer than a modern edition would. Baroque pieces in minor keys were often written this way, which is why Bach’s Toccata and Fugue in D minor, BWV 538, is nicknamed “Dorian”: it has no key signature at all, and the B flats are written in as accidentals. Modal and modern pieces can also use a signature without being in the major or minor key it suggests. In those cases the signature still tells you which notes to alter; it just does not name the key.
If you are new to the staff and accidentals themselves, start with how to read piano sheet music or the music notation basics guide, then come back to the chart.
Common questions
How do you read a key signature quickly?
With sharps, take the last sharp and go up a half step: that is the major key. With flats, the second-to-last flat is the major key, and one flat on its own means F major. The relative minor is a minor third (three half steps) below the major key.
What is the order of sharps and flats?
Sharps always appear in the order F, C, G, D, A, E, B. Flats appear in the reverse order: B, E, A, D, G, C, F. A key signature never skips one, so a key with three sharps always has F, C and G sharp.
How do you know if a key signature is major or minor?
The signature alone cannot tell you, because every signature is shared by a major key and its relative minor. Look at the last bass note or chord, which is usually the home key, and watch for accidentals: a minor key keeps raising its seventh note, so a piece with one sharp and frequent D sharps is in E minor, not G major.
What key has one sharp, and what key has one flat?
One sharp (F sharp) is G major or E minor. One flat (B flat) is F major or D minor. These two are worth memorising, since the flat trick needs at least two flats to work.
Does a key signature apply to every octave?
Yes. A sharp or flat in the key signature applies to that note name in every octave and for the whole piece, until the key signature changes. An accidental written in the music is different: it only lasts to the end of its bar.
Why are there 15 key signatures but only 12 major keys?
Three pairs of keys sound the same on a piano but are spelled differently: B and C flat major, F sharp and G flat major, C sharp and D flat major. Each spelling has its own signature, which gives 15 signatures for 12 sounding keys.