What is the order of sharps and flats in key signatures?
Sharps always appear in the order F, C, G, D, A, E, B, and flats always appear in the reverse order: B, E, A, D, G, C, F. Learn those two lines and you can read any key signature.
A key signature is the group of sharps or flats written at the start of each line of music. Those symbols are never placed at random. They are always added in the same fixed order, so once you know the order, you know exactly which notes a key changes. This page gives you the order, the logic behind it, and a few simple ways to remember it.
The order of sharps
The sharps are always added in this order: F, C, G, D, A, E, B.
A popular memory sentence is "Father Charles Goes Down And Ends Battle." Any sentence works, as long as the first letters give you those seven notes in a row.
A key with one sharp has F sharp. A key with two sharps has F sharp and C sharp. A key with three sharps has F sharp, C sharp and G sharp. You never skip ahead, so three sharps can never be, say, F, G and A.
There is a pattern underneath. Each new sharp is a fifth higher than the one before: F up to C, C up to G, G up to D, and so on. If you like patterns more than sentences, that is the one to remember.
The order of flats
The flats are the sharps in reverse: B, E, A, D, G, C, F.
One sentence for this is "Battle Ends And Down Goes Charles's Father." Another trick: the first four letters spell the word BEAD, and the last three are G, C, F.
The pattern here is the mirror image. Each new flat is a fifth lower than the one before: B down to E, E down to A, A down to D.
Which key has how many?
Here is every major key signature, from none to seven.
| Number | Sharp keys | Flat keys |
|---|---|---|
| 0 | C major | C major |
| 1 | G major (F#) | F major (B flat) |
| 2 | D major (F#, C#) | B flat major (B flat, E flat) |
| 3 | A major (F#, C#, G#) | E flat major (B flat, E flat, A flat) |
| 4 | E major (F#, C#, G#, D#) | A flat major (B flat, E flat, A flat, D flat) |
| 5 | B major (F#, C#, G#, D#, A#) | D flat major (B flat, E flat, A flat, D flat, G flat) |
| 6 | F sharp major (adds E#) | G flat major (adds C flat) |
| 7 | C sharp major (adds B#) | C flat major (adds F flat) |
Keys with six or seven symbols are rare in beginner music. F sharp major and G flat major use different spellings but sound the same on the piano, which is explained in enharmonic notes.
Finding the key from the signature
You do not need to memorize the whole chart. Two quick rules do the job.
For sharp keys, find the last sharp in the signature and go up one half step (the very next key to the right on the piano). That note names the major key.
- Look at the last sharp. With three sharps (F, C, G), it is G sharp.
- Go up a half step from G sharp. You land on A.
- The key is A major.
For flat keys, the second to last flat names the major key.
- Look at the flats. With three flats (B, E, A), the second to last is E flat.
- The key is E flat major.
The flat rule has one exception: a single flat (B flat) has no second to last. Just remember that one flat means F major. And no sharps or flats at all means C major, which uses only white keys.
What about minor keys?
Every major key shares its signature with a relative minor key. The minor key starts three half steps below the major key's first note. C major and A minor share a signature with no sharps or flats. G major and E minor both have one sharp. F major and D minor both have one flat.
The signature alone cannot tell you whether the music is major or minor. To find out, look at the first and last notes and chords, and listen. Minor pieces also often add an extra sharp or natural sign to the seventh note, which is a good clue. The guide on how to read key signatures goes through this step by step.
Ways to practice the order
- Write the sharps and flats out from memory once a day for a few days. Short and frequent works better than one long session.
- Say the letters aloud as you build keys, adding one sharp at a time: F sharp, then F sharp and C sharp, and so on.
- Play the G major scale slowly and name the one black key it needs.
- Check any new piece before you play: read the signature, say the altered notes, then start.
It also helps to connect the letters to the keys under your fingers. In Keyfall, the free piano game at learnpianogame.com, every falling note shows its letter name, so you can play songs from the easiest level up and notice which notes land on black keys. It is a practice tool, not a replacement for a teacher.
The order never changes, but how it is written on the staff differs a little: sharps and flats sit in a set zigzag pattern, and the positions differ between treble and bass clef. Teachers sometimes use different memory sentences too, so pick whichever one sticks for you.
More about music theory
FAQ
Why do sharps and flats always go in the same order?
Each new sharp is added a fifth above the last, and each new flat a fifth below. Keeping one fixed order means every key signature looks the same everywhere, so musicians can read it instantly.
What is a good way to remember the order of sharps?
Use a sentence such as "Father Charles Goes Down And Ends Battle," which gives F, C, G, D, A, E, B. Then read it backwards for the flats: B, E, A, D, G, C, F.
How can I tell if a key signature is major or minor?
The signature fits both a major key and its relative minor, so look at the music. Check the first and last notes and chords, and listen for a minor sound or raised seventh notes.
Which key has no sharps or flats?
C major has none, and so does its relative minor, A minor. Both use only the white keys on the piano.
Do I need to learn all fifteen key signatures at once?
No. Start with C, G, D, F and B flat major, which have two sharps or flats at most. Add more as your pieces need them.
Do double sharps or double flats appear in key signatures?
No. A key signature only ever has single sharps or single flats, up to seven. Double sharps and double flats show up as accidentals inside the music in some keys.
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