Learn Piano Game Play free
Home › Guides › Reading music › What Is a Key Signature and How Do You Read One?

What Is a Key Signature and How Do You Read One?

A key signature is the group of sharps or flats written at the start of each line of music, right after the clef. It tells you which notes are raised or lowered for the whole piece, so you don't need a sharp or flat sign in front of every one.

Open any piece of sheet music and you will see a few small symbols between the clef and the numbers of the time signature. Those symbols are the key signature. Once you know how to read it, you know in advance which notes on the piano will be black keys, and you can often tell what key the piece is in.

What a key signature does

Most music uses a set of seven notes that sound good together, called a scale. Different scales need different sharps or flats. Instead of writing a sharp next to every F in a piece, the composer writes one sharp on the F line at the start. From then on, every F is played as F sharp, in every octave, until the music says otherwise.

If you want a refresher on the symbols themselves, see sharps, flats and naturals explained.

Where to find it

The key signature sits at the start of every staff line, after the clef and before the time signature. If there is nothing there, the piece has no sharps or flats in its signature. That usually means C major or A minor, though accidentals can still appear in the music.

A key signature has either sharps or flats, never a mix. The symbols sit on the exact line or space of the note they affect. A sharp on the top line of the treble staff means F sharp. It applies to all Fs, not just that one line.

The order of sharps and flats

Sharps and flats always appear in the same order, so the pattern is easy to recognize.

If you see two sharps, they are F sharp and C sharp. If you see three flats, they are B flat, E flat and A flat. You never get C sharp without F sharp first.

How to name the key

Here are two shortcuts that work for major keys. Teachers sometimes phrase them differently, but they give the same answers.

One flat is the exception to the flat rule, because there is no second to last. A single B flat means F major, and it is worth just memorizing. No sharps or flats means C major.

Major or minor?

Every key signature fits two keys: a major key and its relative minor. The minor key starts three half steps (a minor third) below the major key's starting note. For example, C major and A minor share the same signature of no sharps or flats. G major and E minor share one sharp.

To decide which one a piece is in, look at the music itself. Check the last note and the final chord, which usually match the home note. Also look for accidentals: minor pieces often add a raised seventh note, which shows up as a sharp or natural that is not in the signature. Neither check is perfect, but together they usually settle it.

Common key signatures at a glance

SignatureMajor keyRelative minor
noneC majorA minor
F sharpG majorE minor
F sharp, C sharpD majorB minor
F sharp, C sharp, G sharpA majorF sharp minor
B flatF majorD minor
B flat, E flatB flat majorG minor
B flat, E flat, A flatE flat majorC minor

You can see a key laid out on the keyboard on pages like G major and F major. The Minuet in G, for instance, is in G major with one sharp, while the first movement of the Moonlight Sonata has four sharps and sits in C sharp minor.

A simple way to practice

  1. Look at the key signature before you play a single note. Say the sharps or flats out loud.
  2. Find those notes on the keyboard and touch them once. If you need help locating black keys, try how to find sharps and flats on piano.
  3. Play the matching scale slowly with one hand. Your fingers will learn the pattern before you read it.
  4. Start the piece slowly and watch for any note that has the signature's sharp or flat. Remember it applies in every octave.

A game can help here too. In Keyfall, every falling note shows its letter name and Starter mode waits for you and shows which key to press, so a sharped note is less of a surprise while you learn. It is for practice and fun, and a teacher can explain keys in more depth.

Don't worry if it feels like a lot at first. Start with C, G, D and F major, which have the fewest sharps and flats, and the rest will make more sense over time.

More about reading music

What is the difference between 4/4 and 3/4 time?How do you read bass clef notes on the staff?What are the best mnemonics for reading notes on the staff?Can you learn piano without reading sheet music?What do tempo markings like allegro and andante mean?What do crescendo and decrescendo symbols mean?How do first and second endings work in sheet music?How long does it take to learn to read sheet music?

FAQ

What is the difference between a key signature and a time signature?

A key signature (sharps or flats) tells you which notes are raised or lowered. A time signature (two numbers stacked, like 3 over 4) tells you how many beats are in each measure and which note value gets one beat.

Does a sharp in the key signature affect all octaves?

Yes. A sharp on the F line means every F on the keyboard is played as F sharp, high or low. Only a natural sign or a new key signature cancels it.

What if there are no sharps or flats?

The piece is most likely in C major or A minor, which use only white keys in their basic scales. Accidentals can still appear in the music, so keep watching for them.

How do I remember the order of sharps?

The order is F, C, G, D, A, E, B. Many people use a phrase like Father Charles Goes Down And Ends Battle. For flats, just reverse it: B, E, A, D, G, C, F.

Can the key change in the middle of a piece?

Yes. A new key signature can appear partway through a piece, often after a double bar line. Sometimes a few notes are changed with accidentals instead, which does not count as a full key change.

Do I need to learn all 15 key signatures?

Not right away. Most beginner music uses keys with zero to three sharps or flats, so start there and add more as your pieces demand them. How many you eventually learn depends on the music you want to play.

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