PTESEN
Home › Music theory › Sheet music
Sheet music · extra

Key signatures: find the key of a piece in 5 seconds

The sharps or flats right after the clef tell you the key. With two simple tricks you can work it out without memorizing anything.

⏱ 8 min readUpdated November 11, 2026By Dedilhado Vivo

What a key signature is

A key signature is the group of sharps (♯) or flats (♭) written right after the clef at the start of every line. It applies to every note with that letter name, in any octave, for the whole piece, and it shows the key. To see why each key has its own sharps or flats, read the major scale.

The order of sharps and flats

Order
Sharps ♯F, C, G, D, A, E, B
Flats ♭B, E, A, D, G, C, F

A classic way to remember: Father Charles Goes Down And Ends Battle. Read it backwards for flats: Battle Ends And Down Goes Charles' Father.

Finding the key with sharps

Take the last sharp and go up a half step. That's the major key.

Finding the key with flats

The second-to-last flat is the name of the major key.

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

Major or minor?

Every key signature is shared by a major key and its relative minor, 3 half steps lower. G major and E minor both have one sharp. More in the minor scale.

  1. Look at the last note and last chord: it is almost always the key.
  2. Look for the raised 7th of the minor key: in E minor you'll see D♯.
  3. Listen: major usually sounds bright and open, minor darker or more serious.

Now put the theory into your fingers

In Dedilhado Vivo you learn flute, guitar, violin or piano by seeing each finger on the screen, and the app listens to you play through the microphone.

Practice theory in the free app

Chart of all keys

Key signatureMajor keyRelative minor
0C majorA minor
1♯G majorE minor
2♯D majorB minor
3♯A majorF♯ minor
4♯E majorC♯ minor
5♯B majorG♯ minor
6♯F♯ majorD♯ minor
7♯C♯ majorA♯ minor
1♭F majorD minor
2♭B♭ majorG minor
3♭E♭ majorC minor
4♭A♭ majorF minor
5♭D♭ majorB♭ minor
6♭G♭ majorE♭ minor
7♭C♭ majorA♭ minor

F♯ and G♭ major sound the same (they are enharmonic), as do C♯ and D♭, and B and C♭. The chords in each key are in diatonic chords, for example G major.

Key signature vs. accidentals

Frequently asked questions

What is a key signature?

The set of sharps or flats at the start of the staff. It applies to every note of those names throughout the piece and shows the key.

What is the order of sharps?

F, C, G, D, A, E, B. Flats are the reverse: B, E, A, D, G, C, F.

How do you find the key from the key signature?

With sharps, go up a half step from the last sharp. With flats, the second-to-last flat is the key (one flat is F major).

What key has one sharp?

G major, or its relative E minor.

Choose your instrument

Guitarchords and strumming patternsFlutefingerings and first soundViolin1st position and bowPianokeyboard and fingersOnline tunerfree, using the microphone
Practice in the free app →