Skip to the main content

Key signatures

A key signature is the group of sharps or flats written after the clef. It changes the notes with those letter names in all octaves of the piece. Sharps always enter in the order F, C, G, D, A, E and B. Flats enter in the reverse order. A key signature belongs to one major key and one minor key.

♯♯♯
A key signature of three sharps: A major or F♯ minor

The order of sharps

Sharps enter one at a time in this order: F, C, G, D, A, E and B. A key with two sharps has F♯ and C♯. A key with three adds G♯.

Many students remember the order with “Father Charles Goes Down And Ends Battle.”

♯♯♯♯♯♯♯
All seven sharps in their order

The order of flats

Flats enter in the reverse order: B, E, A, D, G, C and F. The first four flats spell the word BEAD.

A new flat always lies a fifth below the one before it.

♭♭♭♭♭♭♭
All seven flats in their order

Finding the major key

With sharps, the major key lies a half step above the last sharp. A key with three sharps ends on G♯, and a half step above G♯ is A. The key is A major.

With flats, the next-to-last flat gives the major key. A key with three flats ends with E♭ and A♭, so the key is E♭ major. The single flat of F major is the exception.

Finding the minor key

A key signature also belongs to a minor key, which is called the relative minor. Its tonic lies a minor third below the major tonic.

To tell the two keys apart, look at the last note of the piece and at its accidentals. Music in a minor key often raises its seventh note, as G♯ in A minor.

All the key signatures

The table lists the fifteen key signatures. On the piano, three pairs of keys sound the same: B with C♭, F♯ with G♭ and C♯ with D♭.

Key signatureMajor keyMinor keyListen
No sharps or flatsC majorA minor
One sharpG majorE minor
Two sharpsD majorB minor
Three sharpsA majorF♯ minor
Four sharpsE majorC♯ minor
Five sharpsB majorG♯ minor
Six sharpsF♯ majorD♯ minor
Seven sharpsC♯ majorA♯ minor
One flatF majorD minor
Two flatsB♭ majorG minor
Three flatsE♭ majorC minor
Four flatsA♭ majorF minor
Five flatsD♭ majorB♭ minor
Six flatsG♭ majorE♭ minor
Seven flatsC♭ majorA♭ minor

Open the circle of fifths

Accidentals in the music

A sharp, flat or natural written beside a note is an accidental. It changes the key signature for that note until the end of the bar.

A natural sign cancels a sharp or a flat of the key signature. In the next bar the key signature applies again.

Keys in Hindustani music

Hindustani notation uses no key signature. Sa can be any pitch, and the singer or player chooses it. A komal or tivra sign is written on any altered swara. Komal lowers a swara by a half step, and tivra raises Ma by a half step.

A thaat is a parent scale of Hindustani music. The thaat of a raga plays a similar role to the key signature. Bilawal thaat has the steps of the major scale, and Asavari thaat those of the natural minor.

A short check

Choose one answer per question.

  1. A key signature has three sharps. Which major key is it?

  2. Which flat comes first in a key signature?

  3. A key signature has four flats. Which minor key shares it?

  4. The last sharp of a key signature is D♯. What is the major key?

Common questions

What is a key signature in music?

It is the set of sharps or flats placed after the clef at the start of all the staves. It shows which notes are raised or lowered throughout the piece.

How do you identify a key signature?

For sharps, go up a half step from the last sharp. For flats, read the next-to-last flat. Then decide between that major key and its relative minor.

What is the order of sharps?

The order is F, C, G, D, A, E and B. A new sharp always lies a fifth above the one before it.

Which key has no sharps or flats?

C major has none, and so does A minor, its relative minor.

How many key signatures are there?

There are fifteen: no sharps or flats, one to seven sharps, and one to seven flats.

Why does F major have one flat?

The fourth note of the F major scale must lie a half step above A. That note is B♭, so the key needs one flat.

Circle of fifthsScalesLevel 4How to read music