Learn

Key signature

Engraved by Verovio 6.3.0-425dd7b

A key signature is the group of sharps or flats written right after the clef at the start of every line. It tells you which notes are played sharp or flat throughout the piece, so they do not need a sign every time.

It also tells you the key. Here two sharps, F♯ and C♯, mean D major: every F and every C you see is played on the black key above it.

What a key signature does

  • Every octave. A sharp on the top line F means every F on the staff, high or low, is F♯.
  • The whole piece. It holds from the first bar to the last, and is repeated at the start of every line as a reminder.
  • Until something changes it. A single note can be changed with a sign in front of it, called an accidental, for one bar. A new key signature, after a double bar line, changes the rule from there on.

Example

There is one sharp, on F. Which of these F's are played as F♯?

Engraved by Verovio 6.3.0-425dd7b A B C
  1. Only A
  2. A and B
  3. All three

All three. The sharp in the key signature counts for every F, in every bar and every octave, including the high F in bar 2 that sits on the top line.

The order of sharps and flats

Sharps and flats always appear in the same order, so you never see a key signature with only, say, G♯. Each new key adds the next one in the line.

The order, first to last
OrderSay it as
Sharps F C G D A E BFather Charles Goes Down And Ends Battle
Flats B E A D G C FBattle Ends And Down Goes Charles' Father

The flats are the sharps backwards. The first flats spell a word: B, E, A, D.

  • Engraved by Verovio 6.3.0-425dd7b
    G major

    One sharp: F♯.

  • Engraved by Verovio 6.3.0-425dd7b
    D major

    Two sharps: F♯ C♯.

  • Engraved by Verovio 6.3.0-425dd7b
    A major

    Three sharps: F♯ C♯ G♯.

  • Engraved by Verovio 6.3.0-425dd7b
    F major

    One flat: B♭.

  • Engraved by Verovio 6.3.0-425dd7b
    B♭ major

    Two flats: B♭ E♭.

  • Engraved by Verovio 6.3.0-425dd7b
    E♭ major

    Three flats: B♭ E♭ A♭.

How to name the key in two seconds

  1. No sharps or flats: C major. Or its relative minor, A minor (see below).
  2. Sharps: last sharp, then up a half step. Take the sharp furthest to the right and go up one key. Last sharp C♯, a half step up is D: D major.
  3. Flats: the second-to-last flat. The flat just before the last one names the key. B♭ E♭ A♭: the second-to-last is E♭, so E♭ major.
  4. One flat: remember it. There is no second-to-last flat, so learn this one by heart: one flat is F major.

Try it yourself

Which major key is this?

Engraved by Verovio 6.3.0-425dd7b

Try it yourself

And this one?

Engraved by Verovio 6.3.0-425dd7b
Every key signature
SignatureMajor keyMinor key
No sharps or flats C majorA minor
1 sharp G majorE minor
2 sharps D majorB minor
3 sharps A majorF♯ minor
4 sharps E majorC♯ minor
5 sharps B majorG♯ minor
6 sharps F♯ majorD♯ minor
7 sharps C♯ majorA♯ minor
1 flat F majorD minor
2 flats B♭ majorG minor
3 flats E♭ majorC minor
4 flats A♭ majorF minor
5 flats D♭ majorB♭ minor
6 flats G♭ majorE♭ minor
7 flats C♭ majorA♭ minor

Major or minor? The relative minor

Every key signature belongs to two keys: a major key and its relative minor. The minor key starts three half steps below the major one. No sharps or flats is C major or A minor; one sharp is G major or E minor.

To tell which one a piece is in, look at the last note or chord, which is usually the home note. In a minor key you will also often see one extra sharp or natural in the music: the note just below the home note is raised, like G♯ in A minor.

  • Engraved by Verovio 6.3.0-425dd7b
    G major

    One sharp, home chord G.

  • Engraved by Verovio 6.3.0-425dd7b
    E minor

    Same sharp, home chord E minor.

Try it yourself

Which minor key has the same key signature as D major?

The circle of fifths puts all of these on one wheel: each step clockwise adds a sharp, each step counter-clockwise adds a flat.

Pieces to practise reading key signatures

  • Minuet in G major by Christian Petzold. One sharp, G major: the first key signature most pianists learn.
  • Sonata KV 331 - Tema (Theme) by W. A. Mozart. Three sharps, A major, in an easy, singing theme.
  • Minuet in G minor by Christian Petzold. Two flats in G minor, the relative minor of B♭ major, with the raised F♯ written in the music.
  • Menuett in E-flat major, WoO 82 by Ludwig van Beethoven. Three flats, then a new key signature with four flats from bar 35.

Questions

What is a key signature in music?

The sharps or flats written after the clef at the start of each line. They apply to those notes in every octave for the whole piece, and they tell you the key.

How do you find the key from a key signature?

With sharps, go a half step up from the last sharp. With flats, the second-to-last flat is the key; one flat is F major. Each signature also fits a minor key three half steps lower.

What is the order of sharps and flats?

Sharps: F C G D A E B (Father Charles Goes Down And Ends Battle). Flats: the same backwards, B E A D G C F.