PlayPiano

Key signatures

All 15 major and 15 minor key signatures on the staff, and how to read them.

The short answer

There are 15 major and 15 minor key signatures, from seven flats to seven sharps. Each signature belongs to one major key and its relative minor, so there are only 15 patterns to learn.

Sharp keys

No sharps or flats

Treble and bass staves showing the key signature with no sharps or flats

White keys only

Major C major

Minor A minor

One sharp

Treble and bass staves showing the key signature with one sharp: F sharp

F sharp

Major G major

Minor E minor

Two sharps

Treble and bass staves showing the key signature with two sharps: F sharp and C sharp

F sharp and C sharp

Major D major

Minor B minor

Three sharps

Treble and bass staves showing the key signature with three sharps: F sharp, C sharp and G sharp

F sharp, C sharp and G sharp

Major A major

Minor F sharp minor

Four sharps

Treble and bass staves showing the key signature with four sharps: F sharp, C sharp, G sharp and D sharp

F sharp, C sharp, G sharp and D sharp

Major E major

Minor C sharp minor

Five sharps

Treble and bass staves showing the key signature with five sharps: F sharp, C sharp, G sharp, D sharp and A sharp

F sharp, C sharp, G sharp, D sharp and A sharp

Major B major

Minor G sharp minor

Six sharps

Treble and bass staves showing the key signature with six sharps: F sharp, C sharp, G sharp, D sharp, A sharp and E sharp

F sharp, C sharp, G sharp, D sharp, A sharp and E sharp

Major F sharp major

Minor D sharp minor (written here as E flat minor)

Seven sharps

Treble and bass staves showing the key signature with seven sharps: F sharp, C sharp, G sharp, D sharp, A sharp, E sharp and B sharp

F sharp, C sharp, G sharp, D sharp, A sharp, E sharp and B sharp

Major C sharp major

Minor A sharp minor (written here as B flat minor)

Flat keys

One flat

Treble and bass staves showing the key signature with one flat: B flat

B flat

Major F major

Minor D minor

Two flats

Treble and bass staves showing the key signature with two flats: B flat and E flat

B flat and E flat

Major B flat major

Minor G minor

Three flats

Treble and bass staves showing the key signature with three flats: B flat, E flat and A flat

B flat, E flat and A flat

Major E flat major

Minor C minor

Four flats

Treble and bass staves showing the key signature with four flats: B flat, E flat, A flat and D flat

B flat, E flat, A flat and D flat

Major A flat major

Minor F minor

Five flats

Treble and bass staves showing the key signature with five flats: B flat, E flat, A flat, D flat and G flat

B flat, E flat, A flat, D flat and G flat

Major D flat major

Minor B flat minor

Six flats

Treble and bass staves showing the key signature with six flats: B flat, E flat, A flat, D flat, G flat and C flat

B flat, E flat, A flat, D flat, G flat and C flat

Major G flat major

Minor E flat minor

Seven flats

Treble and bass staves showing the key signature with seven flats: B flat, E flat, A flat, D flat, G flat, C flat and F flat

B flat, E flat, A flat, D flat, G flat, C flat and F flat

Major C flat major (written here as B major)

Minor A flat minor (written here as G sharp minor)

The order of sharps and flats

Sharps and flats always join a key signature in the same order, and they always sit on the same lines and spaces. The sharps go F, C, G, D, A, E and B. A saying that helps: Father Charles Goes Down And Ends Battle. The flats go B, E, A, D, G, C and F, which is the sharps backwards: Battle Ends And Down Goes Charles's Father.

A key with three sharps has the first three, F, C and G. A key with four flats has the first four, B, E, A and D.

How to tell the key from a key signature

  1. Count the sharps or flats. None means C major or A minor.
  2. With sharps, find the last one and go up a semitone. That note is the major key. With three sharps the last is G sharp, a semitone up is A, so it is A major.
  3. With flats, the second to last flat is the major key. With four flats the second to last is A flat, so it is A flat major. One flat is the exception: it is F major.
  4. The same signature also belongs to the relative minor, three semitones below the major key. Look at the first and last chords of the piece: if they are built on the major key note it is major, and if they are built on the minor key note it is minor.

Relative minor keys

Every major key has a relative minor that uses the same seven notes and the same key signature. Find it on the sixth note of the major scale, which is three semitones below the major key. C major and A minor share no sharps or flats. G major and E minor share one sharp. E flat major and C minor share three flats. A relative minor and its major are different keys even so, because each one treats a different note as home.

Keys with two names

Some keys can be written two ways. B major with five sharps is the same set of keys as C flat major with seven flats. F sharp major and G flat major both have six. D flat major with five flats matches C sharp major with seven sharps. The minor keys do the same: G sharp minor and A flat minor, E flat minor and D sharp minor, B flat minor and A sharp minor. They sound the same and are written differently, and printed music picks the one with fewer sharps or flats. Both spellings of the major keys have their own scale page: C sharp major and D flat major, F sharp major and G flat major.

Keep going

Questions

How many key signatures are there?

There are 15 key signatures: none, one to seven sharps and one to seven flats. Each one is shared by a major key and its relative minor, which makes 15 major keys and 15 minor keys.

What is the order of sharps in a key signature?

The sharps are always added in this order: F, C, G, D, A, E and B. A key with three sharps has F sharp, C sharp and G sharp.

What is the order of flats in a key signature?

The flats are always added in this order: B, E, A, D, G, C and F. It is the order of sharps backwards. A key with three flats has B flat, E flat and A flat.

How do you find the key from a key signature?

With sharps, the last sharp is the seventh note of the major key, so go up one semitone from it. Two sharps, F sharp and C sharp, end on C sharp, and a semitone above is D, so the major key is D major. With flats, the second to last flat names the major key. Four flats, B, E, A and D, give A flat major. One flat is always F major, and no sharps or flats is C major. Then check whether the music feels like the major key or its relative minor.

How do you find the relative minor of a major key?

Count up to the sixth note of the major scale, or go down three semitones from the major key. For example, A major has the relative minor F sharp minor, and E flat major has C minor. They share a key signature.

Practise scales and keys in PlayPiano, a piano practice app for iPhone and iPad.

Play it in the app