Learn Piano Game Play free
Home › Guides › Music theory › How do you read a key signature on the piano?

How do you read a key signature on the piano?

A key signature is the group of sharps or flats at the start of each line of music. Count them, use two quick rules to find the key name, and you know which notes are sharp or flat all the way through the piece.

Open any piece of piano music and you will see a few little symbols right after the clef, before the time signature. Those symbols are the key signature. They look small, but they save the composer from writing a sharp or flat beside every single note, and they tell you which home note (the tonic) the music is built around.

This guide shows a simple routine you can use on any piece. It takes a few minutes to learn and gets faster with practice.

What a key signature tells you

A key signature lists the notes that are sharp or flat every time they appear, in every octave, until the signature changes. If you see one sharp on the F line, then every F you play is F sharp, high or low, unless the music says otherwise.

It also points to a key. Music in G major mostly uses the notes of the G major scale, which has one sharp (F sharp). That is why the key signature and the scale match.

Step by step: reading any key signature

  1. Look at the symbols. Are they all sharps or all flats? A key signature never mixes the two.
  2. Count them. Zero, one, two, and so on, up to seven.
  3. Name the notes. Sharps and flats always appear in a fixed order (see below), so the count tells you exactly which notes are affected.
  4. Find the major key name with the rule for sharps or the rule for flats.
  5. Decide between major and minor by listening and looking at the music (explained further down).

The fixed order of sharps and flats

Sharps are added in this order: F, C, G, D, A, E, B. Flats are added in the reverse order: B, E, A, D, G, C, F.

A popular memory trick for sharps is "Father Charles Goes Down And Ends Battle", and for flats you simply read the sharps backward ("Battle Ends And Down Goes Charles's Father"). If you want to see why the order works this way, the circle of fifths guide explains it.

Finding the key name

For sharp keys: look at the last sharp in the signature, then go up one half step. That note is the major key. Two sharps (F and C): the last is C sharp, one half step up is D, so the key is D major. The rule works for one sharp too: the last sharp is F sharp, one half step up is G, so the key is G major. It is also easy to simply remember.

For flat keys: look at the second to last flat. That note names the major key. Three flats (B, E, A): the second to last is E flat, so the key is E flat major. The exception is one flat (B flat), which is F major.

No sharps and no flats means C major (or A minor).

Sharps or flatsMajor keyNotes altered
0C majornone
1 sharpG majorF sharp
2 sharpsD majorF sharp, C sharp
3 sharpsA majorF, C, G sharp
4 sharpsE majorF, C, G, D sharp
1 flatF majorB flat
2 flatsB flat majorB flat, E flat
3 flatsE flat majorB, E, A flat
4 flatsA flat majorB, E, A, D flat

You can look up any of these keys on their own pages, for example G major.

Major or minor?

Every key signature fits two keys: a major key and its relative minor. The relative minor starts three half steps below the major tonic. C major and A minor share no sharps or flats. G major and E minor share one sharp. F major and D minor share one flat.

To tell which one you are in:

This is a strong clue, not an unbreakable law, and some pieces move between major and minor.

Mistakes beginners often make

How to practice

Start with the keys that have the fewest sharps and flats: C, G, D, F and B flat. Write the signature from memory, name the key, then play its scale slowly with the right hand.

Then connect it to real music. The standard version of Minuet in G is in G major, so you should expect every F to be sharp. In Keyfall, every note on the falling highway shows its letter name, so you can check where those sharps appear as you play Minuet in G. Slowing the speed in settings helps while you are still spotting the pattern.

A teacher can show you shortcuts that suit your own way of thinking, and different teachers do explain these rules a little differently. The routine above works either way: count, name, then decide major or minor.

More about music theory

What is the best way to learn music theory for piano?Can You Learn Piano Without Music Theory?What is the order of sharps and flats in key signatures?C sharp vs D flat: what are enharmonic notes?How long does it take to learn music theory?How many octaves are on a piano?How much music theory do piano players really need?How do you build a major scale on piano?

FAQ

How many sharps or flats can a key signature have?

From zero to seven. With seven sharps or seven flats, every note letter is altered, and those keys are rarely met by beginners.

Do key signatures apply to both hands?

Yes. The signature appears on both the treble and bass staves, and it affects every matching note in both hands and all octaves.

Why do the sharps sit in a zigzag pattern on the staff?

The positions are chosen to keep the symbols inside the staff and easy to read. The pattern differs a little between treble and bass clef, so it is worth checking which clef you are reading.

Is there a quick way to find the relative minor?

Go down three half steps from the major key name. For D major, three half steps down is B, so B minor is its relative minor.

What cancels a note in the key signature for one bar?

A natural sign written beside the note. It cancels the sharp or flat until the end of that bar.

Do I have to memorize all 15 key signatures at once?

No. Learn a few common keys first and add more gradually, since the rules for sharps and flats let you work out the rest.

Practise it on your own piano. Keyfall is a free piano game: notes fall toward the keys and you play them on a digital piano, keyboard, phone or computer.

Play free