Key Signatures

A key signature appears at the start of every staff line and tells you which notes are consistently sharp or flat throughout a piece — eliminating the need to mark every single note. There are 30 key signatures in total, spanning 7 sharps to 7 flats.

30 Keys
15 major + 15 minor
7 Max Sharps
C♯ major
7 Max Flats
C♭ major
3 Enharmonic Pairs
same sound, two spellings

Key Signature Explorer

Click any key to see its signature rendered on a grand staff, with every sharp or flat in its correct notated position.

♯ Sharp Keys
♭ Flat Keys
View as:

C major

No accidentals

Grand Staff

Loading notation…

Scale Notes

CDEFGAB

Relative Minor

A minor

QUICK TIP

No sharps or flats — all white keys. The natural starting point for learning key signatures.

Piano — C major

What Is a Key Signature?

A key signature sits right after the clef at the start of every staff line. It places sharp (♯) or flat (♭) symbols on specific lines and spaces to declare: every time you encounter this note, raise or lower it by a half step — for the entire piece.

Without a key signature, music in G major would need an F♯ written before every F note. The key signature writes it once and applies it everywhere — saving space and making the music far easier to sight-read.

The position of each sharp or flat on the staff is standardized and fixed. F♯ always appears on the top line of treble clef; B♭ always sits on the middle line. This consistency makes key signatures recognizable at a glance.

C major (no accidentals) vs G major (1 sharp — F♯)

The F♯ in G major's key signature means every F in the piece is automatically raised — no per-note marking needed.

Sharp Keys

Sharps are always added in this order: F♯ C♯ G♯ D♯ A♯ E♯ B♯. Mnemonic: "Father Charles Goes Down And Ends Battle."

F♯
Father
C♯
Charles
G♯
Goes
D♯
Down
A♯
And
E♯
Ends
B♯
Battle
KeySharpsAdded SharpRel. MinorNotes
CAmC D E F G A B
G1F♯EmG A B C D E F♯
D2C♯BmD E F♯ G A B C♯
A3G♯F♯mA B C♯ D E F♯ G♯
E4D♯C♯mE F♯ G♯ A B C♯ D♯
B5A♯G♯mB C♯ D♯ E F♯ G♯ A♯
F♯6E♯D♯mF♯ G♯ A♯ B C♯ D♯ E♯
C♯7B♯A♯mC♯ D♯ E♯ F♯ G♯ A♯ B♯

Click any row to jump to that key in the explorer.

Flat Keys

Flats are always added in this order: B♭ E♭ A♭ D♭ G♭ C♭ F♭. Mnemonic: "Battle Ends And Down Goes Charles's Father." (Reverse of sharps.)

B♭
Battle
E♭
Ends
A♭
And
D♭
Down
G♭
Goes
C♭
Charles's
F♭
Father
KeyFlatsAdded FlatRel. MinorNotes
F1B♭DmF G A B♭ C D E
B♭2E♭GmB♭ C D E♭ F G A
E♭3A♭CmE♭ F G A♭ B♭ C D
A♭4D♭FmA♭ B♭ C D♭ E♭ F G
D♭5G♭B♭mD♭ E♭ F G♭ A♭ B♭ C
G♭6C♭E♭mG♭ A♭ B♭ C♭ D♭ E♭ F
C♭7F♭A♭mC♭ D♭ E♭ F♭ G♭ A♭ B♭

Click any row to jump to that key in the explorer.

Circle of Fifths Connection

The Circle of Fifths arranges all 12 major keys in a ring where each key is a perfect fifth above its clockwise neighbor. Moving clockwise adds one sharp; moving counterclockwise adds one flat.

This explains the predictable pattern: C (0) → G (1♯) → D (2♯) → A (3♯) →… Adjacent keys on the circle always differ by exactly one accidental, which is why the entire key signature system is learnable in a single diagram.

Explore the Circle of Fifths →
Circle
of Fifths

How to Identify Any Key Instantly

Sharp Key Trick

Find the last sharp (rightmost on the staff). Go one half step higher — that's the key.

Example: Last sharp = D♯ → half step up = E → E major (4♯)

Flat Key Trick

Look at the second-to-last flat — its name is the key. (Exception: one flat = F major.)

Example: Flats: B♭ E♭ A♭ D♭ → second-to-last = A♭ → A♭ major

No Accidentals

An empty key signature means C major or A minor — all white keys, no alterations.

Key Signature Quiz

Identify the key from the staff notation.

What key is this?

Loading…

Minor Keys & Relative Major/Minor

Every major key shares its key signature with a relative minor. They use the exact same set of notes — the minor scale simply starts on the 6th degree of the major.

C major and A minor both have zero accidentals. G major and E minor both have one sharp (F♯). Use the Relative Minor toggle in the explorer above to hear and see this relationship.

Major KeyAccidentalsRelative MinorMinor Tonic
CNoneA minorA
G1E minorE
D2B minorB
A3F♯ minorF♯
E4C♯ minorC♯
B5G♯ minorG♯
F♯6D♯ minorD♯
C♯7A♯ minorA♯
F1D minorD
B♭2G minorG
E♭3C minorC
A♭4F minorF
D♭5B♭ minorB♭
G♭6E♭ minorE♭
C♭7A♭ minorA♭

Frequently Asked Questions

Keep Exploring

Circle of FifthsIntervalsTriadsScale DegreesAll ScalesModes