Pianomi Get early access

Key signatures

The sharps or flats right after the clef tell you which notes to change for the whole piece. There are fifteen, and two rules name any of them in a second.

Every key signature

Major keyRelative minorSignsWhich
C♭ majorA♭ minor7♭B♭ E♭ A♭ D♭ G♭ C♭ F♭
G♭ majorE♭ minor6♭B♭ E♭ A♭ D♭ G♭ C♭
D♭ majorB♭ minor5♭B♭ E♭ A♭ D♭ G♭
A♭ majorF minor4♭B♭ E♭ A♭ D♭
E♭ majorC minor3♭B♭ E♭ A♭
B♭ majorG minor2♭B♭ E♭
F majorD minor1♭B♭
C majorA minor0–
G majorE minor1♯F♯
D majorB minor2♯F♯ C♯
A majorF♯ minor3♯F♯ C♯ G♯
E majorC♯ minor4♯F♯ C♯ G♯ D♯
B majorG♯ minor5♯F♯ C♯ G♯ D♯ A♯
F♯ majorD♯ minor6♯F♯ C♯ G♯ D♯ A♯ E♯
C♯ majorA♯ minor7♯F♯ C♯ G♯ D♯ A♯ E♯ B♯

Each signature belongs to two keys: a major key and its relative minor, which starts three half steps lower (on the sixth note of the major scale) and uses the same notes.

The order of sharps and flats

Sharps are always added in the same order, F♯ C♯ G♯ D♯ A♯ E♯ B♯, and flats in the reverse order, B♭ E♭ A♭ D♭ G♭ C♭ F♭. So you never need to read where each sign sits: count them. Three sharps are always F♯, C♯ and G♯.

Father Charles Goes Down And Ends Battle: sharps. Battle Ends And Down Goes Charles’ Father: flats.

Naming a key in a second

  • Sharps: the major key is a half step above the last sharp. Last sharp G♯: A major.
  • Flats: the second-to-last flat names the major key. B♭ E♭ A♭: E♭ major. One flat is F major; learn it by heart.
  • Minor: go down three half steps from the major key. A major’s relative minor is F♯ minor.

On the circle of fifths, every step clockwise adds a sharp (or takes away a flat), and the new sharp is the leading note of the new key.

Quiz: name the key signature

Ten key signatures in the treble or bass clef. Choose the key, or play its home note on the piano below, a MIDI keyboard or your computer keys (any octave).

The quiz needs JavaScript.

Questions

What is a key signature?

The sharps or flats written right after the clef at the start of every line. They tell you which notes are sharp or flat throughout the piece, and so which key it’s in.

How many key signatures are there?

Fifteen: C major with none, seven with sharps (one to seven) and seven with flats. Three pairs sound the same on the piano: B and C♭ major, F♯ and G♭ major, C♯ and D♭ major. Each signature is shared by a major key and its relative minor.

What is the order of sharps?

F♯, C♯, G♯, D♯, A♯, E♯, B♯ (“Father Charles Goes Down And Ends Battle”). Flats are the same letters backwards: B♭, E♭, A♭, D♭, G♭, C♭, F♭.

How do I tell a major key from its relative minor?

The signature is the same, so look at the music: a minor key usually raises its seventh note with an accidental (G♯ in A minor), and pieces tend to begin and end on the home note or its chord.

Keys, one at a time

Pianomi, a free sight-reading app for piano, brings in key signatures one at a time, G major first, then F, and notices when you play a note as if the key signature weren’t there.

Get early access