Español
  1. Home
  2. Scales & keys
  3. Key signatures

Key signatures

Pick a key signature to see it on the treble and the bass clef, with the major and the minor key that use it.

Your favorites show up first on the home page and under the star at the top (in this browser).

Key signatures

1 sharp

A key signature with 1 sharp (F♯) belongs to G major and to E minor.

F♯
Treble clef
Bass clef
Major keyG major
Minor keyE minor
ScaleG A B C D E F♯

What a key signature is

The key signature is the group of sharps or flats written at the start of each line of music, right after the clef. It tells you which notes are raised or lowered throughout the piece, so they don't have to be marked every time. Each signature belongs to one major key and to its relative minor.

The order of sharps and flats

Sharps are always added in the same order: F♯ C♯ G♯ D♯ A♯ E♯ B♯, each one a fifth above the one before. Flats come in the reverse order: B♭ E♭ A♭ D♭ G♭ C♭ F♭, each one a fourth above the one before. A key with two sharps always has F♯ and C♯; one with three flats, B♭, E♭ and A♭.

Order of sharps: F♯ C♯ G♯ D♯ A♯ E♯ B♯
Order of flats: B♭ E♭ A♭ D♭ G♭ C♭ F♭
Bass clef: F♯ C♯ G♯ D♯ A♯ E♯ B♯
Bass clef: B♭ E♭ A♭ D♭ G♭ C♭ F♭

How to name the key from the signature

  • Sharps: the last sharp is the seventh note of the major key, so the key is a half step above it. With F♯ C♯ G♯ the last sharp is G♯, and the key is A major.
  • Flats: the second-to-last flat names the major key. With B♭ E♭ A♭ it's E♭ major. One flat (B♭) is F major.
  • Minor: the relative minor is three half steps below the major key: A major and F♯ minor share the signature with three sharps.

All key signatures

Key signatureAccidentalsMajor keyMinor key
no sharps or flats—C majorA minor
1 sharpF♯G majorE minor
2 sharpsF♯ C♯D majorB minor
3 sharpsF♯ C♯ G♯A majorF♯ minor
4 sharpsF♯ C♯ G♯ D♯E majorC♯ minor
5 sharpsF♯ C♯ G♯ D♯ A♯B majorG♯ minor
6 sharpsF♯ C♯ G♯ D♯ A♯ E♯F♯ majorD♯ minor
7 sharpsF♯ C♯ G♯ D♯ A♯ E♯ B♯C♯ majorA♯ minor
1 flatB♭F majorD minor
2 flatsB♭ E♭B♭ majorG minor
3 flatsB♭ E♭ A♭E♭ majorC minor
4 flatsB♭ E♭ A♭ D♭A♭ majorF minor
5 flatsB♭ E♭ A♭ D♭ G♭D♭ majorB♭ minor
6 flatsB♭ E♭ A♭ D♭ G♭ C♭G♭ majorE♭ minor
7 flatsB♭ E♭ A♭ D♭ G♭ C♭ F♭C♭ majorA♭ minor

Frequently asked questions

How many sharps are in D major?

Two: F♯ and C♯. B minor uses the same key signature.

Which keys have flats in the key signature?

F (1 flat), B♭ (2), E♭ (3), A♭ (4), D♭ (5), G♭ (6) and C♭ major (7), and their relative minors: D, G, C, F, B♭, E♭ and A♭ minor.

Why are there 15 key signatures and not 12?

Because three keys can be written two ways with the same sound: B major (5 sharps) and C♭ major (7 flats), F♯ major (6 sharps) and G♭ major (6 flats), C♯ major (7 sharps) and D♭ major (5 flats).

Other tools you may need