Key Signatures

A key signature tells you which notes are sharp or flat throughout a piece of music. It appears at the beginning of each staff in sheet music, right after the clef. Instead of writing a sharp or flat symbol before every affected note, the key signature communicates this information once, making sheet music cleaner and easier to read.

Key signatures are organized by the circle of fifths, a circular diagram that maps all 12 major keys and their relative minors. Moving clockwise around the circle adds sharps; moving counterclockwise adds flats. Understanding this system makes reading key signatures second nature.

The Order of Sharps

Sharps are added in a specific order as keys get progressively sharper. The order is: F# C# G# D# A# E# B#. A useful mnemonic: Father Charles Goes Down And Ends Battle.

  • G major: 1 sharp (F#)
  • D major: 2 sharps (F#, C#)
  • A major: 3 sharps (F#, C#, G#)
  • E major: 4 sharps (F#, C#, G#, D#)
  • B major: 5 sharps (F#, C#, G#, D#, A#)
  • F# major: 6 sharps (F#, C#, G#, D#, A#, E#)
  • C# major: 7 sharps (F#, C#, G#, D#, A#, E#, B#)

To identify a sharp key, look at the last sharp in the signature and go up one semitone. If the last sharp is G#, the key is A major. If the last sharp is D#, the key is E major. This always works.

The Order of Flats

Flats follow the reverse order: Bb Eb Ab Db Gb Cb Fb. Mnemonic: Battle Ends And Down Goes Charles Father.

  • F major: 1 flat (Bb)
  • Bb major: 2 flats (Bb, Eb)
  • Eb major: 3 flats (Bb, Eb, Ab)
  • Ab major: 4 flats (Bb, Eb, Ab, Db)
  • Db major: 5 flats (Bb, Eb, Ab, Db, Gb)
  • Gb major: 6 flats (Bb, Eb, Ab, Db, Gb, Cb)
  • Cb major: 7 flats (Bb, Eb, Ab, Db, Gb, Cb, Fb)

To identify a flat key, look at the second-to-last flat. If the flats are Bb, Eb, and Ab, the key is Eb major (second-to-last is Eb). The only exception is F major (1 flat), which has no second-to-last flat to read.

Complete Key Signature Table

Major Key Relative Minor Sharps/Flats
C majorA minorNone
G majorE minor1 sharp (F#)
D majorB minor2 sharps (F#, C#)
A majorF# minor3 sharps (F#, C#, G#)
E majorC# minor4 sharps (F#, C#, G#, D#)
B majorG# minor5 sharps (F#, C#, G#, D#, A#)
F# majorD# minor6 sharps (F#, C#, G#, D#, A#, E#)
F majorD minor1 flat (Bb)
Bb majorG minor2 flats (Bb, Eb)
Eb majorC minor3 flats (Bb, Eb, Ab)
Ab majorF minor4 flats (Bb, Eb, Ab, Db)
Db majorBb minor5 flats (Bb, Eb, Ab, Db, Gb)
Gb majorEb minor6 flats (Bb, Eb, Ab, Db, Gb, Cb)

Finding the Relative Minor

Every major key has a relative minor that shares the same key signature. The relative minor starts on the 6th degree of the major scale. To find it, count down 3 semitones from the major key's root:

  • C major → down 3 semitones → A minor (no sharps/flats)
  • G major → down 3 semitones → E minor (1 sharp)
  • F major → down 3 semitones → D minor (1 flat)

Conversely, the relative major of a minor key is up 3 semitones. A minor → up 3 → C major. This relationship is bidirectional and essential for understanding how major and minor keys intertwine. Our interactive Circle of Fifths shows every key with its relative minor and key signature at a glance.

Enharmonic Equivalent Keys

Some keys are enharmonic equivalents — they sound the same but are written differently. F# major (6 sharps) sounds identical to Gb major (6 flats). C# major (7 sharps) sounds identical to Db major (5 flats). In practice, composers choose the easier-to-read version. Db major (5 flats) is far more common than C# major (7 sharps).

The existence of enharmonic keys means that while there are 15 possible key signatures, only 12 unique pitch sets. C# major and Db major are the same notes under different names. Our Music Theory page provides additional context for understanding enharmonic relationships in practice.

Practice Tips

Start by memorizing the order of sharps and flats using the mnemonics above. Then practice identifying key signatures by sight — the more you see them, the faster you'll recognize them. Use the circle of fifths as a reference and memorize the sharp and flat counts for the most common keys (C, G, D, A, F, Bb, Eb). Learning key signatures makes sight reading significantly easier and deepens your understanding of harmonic relationships in every piece you play.

Explore Key Signatures

Use our interactive tools to learn and practice key signatures.

Knowledge Base & FAQs

Key Signatures — Frequently Asked Questions

Everything you need to know about our browser-based Web Audio engine, instruments, and music theory workspace.

What is a key signature?

A key signature is a set of sharps or flats placed at the beginning of a staff in sheet music.

It tells you which notes are consistently sharp or flat throughout the piece, saving you from writing accidentals before every affected note. It also tells you the key of the music.

How do I remember the order of sharps?

Use the mnemonic 'Father Charles Goes Down And Ends Battle.

' The order is F#, C#, G#, D#, A#, E#, B#. This is the order in which sharps appear as you move clockwise through the circle of fifths from C major.

How do I remember the order of flats?

Reverse the sharps mnemonic: 'Battle Ends And Down Goes Charles Father.

' The order is Bb, Eb, Ab, Db, Gb, Cb, Fb. This is the order flats appear as you move counterclockwise from C major.

How do I find the key from a key signature with sharps?

For sharp keys, look at the last sharp in the signature and go up one semitone (one half step).

The last sharp is the 7th degree of the major key. For example, if the last sharp is D#, go up to E — that key is E major.

How do I find the key from a key signature with flats?

For flat keys, the second-to-last flat is the major key.

If you have Bb and Eb, the second-to-last is Bb — that key is Bb major. The only exception is F major, which has just one flat (Bb).

What is the relative minor of a key?

The relative minor shares the same key signature as its major key.

To find it, count down 3 semitones from the major root. C major → A minor. G major → E minor. F major → D minor. The relative minor starts on the 6th degree of the major scale.

How many keys are there in total?

There are 15 standard key signatures in common use: C major (no sharps/flats), 7 sharp keys (G, D, A, E, B, F#, C#), and 7 flat keys (F, Bb, Eb, Ab, Db, Gb, Cb).

Each also has a relative minor, giving 30 keys total. In practice, enharmonic equivalents reduce this to 24 distinct keys.

What is the circle of fifths?

The circle of fifths is a visual diagram that organizes keys by perfect fifth intervals.

Moving clockwise adds one sharp at a time. Moving counterclockwise adds one flat. It shows key signatures, relative minors, and harmonic relationships between keys at a glance. Our <a href='/learn/circle-of-fifths'>interactive Circle of Fifths</a> makes exploring these relationships easy.