← Back to blog

Key signatures explained: chart, order of sharps and flats

Published

Read a key signature on the staff: the order of sharps and flats, two rules to name the key, all 15 signatures in a chart and how to tell major from minor.

A hand points at the start of a printed staff on a music stand, where the key signature sits, in soft daylight, with the notes and symbols blurred

A key signature is the group of sharps or flats written right after the clef at the start of every staff. It tells you which notes are raised or lowered for the whole piece, in every octave, and it narrows the key down to two candidates: a major key and its relative minor. Two rules name the major key. With sharps, go up a half step from the last sharp: three sharps end on G♯, so the key is A major. With flats, the second-to-last flat is the key: three flats (B♭, E♭, A♭) mean E♭ major. One flat is F major, and no sharps or flats is C major. Then look at the last chord to choose between the major key and its relative minor.

Below: where each sharp and flat sits on the treble and bass staff, all 15 key signatures in one chart, how to tell major from minor, a lead sheet in three sharps worked through, and what the signature means for your capo and your transposing. To see a key’s signature, relative key and chords at a glance, tap it on the interactive circle of fifths; this page is about reading signatures on the page.

What a key signature tells you (and what it doesn’t)

The key signature sits between the clef and the time signature. Unlike the time signature, it’s repeated at the start of every line, so you can check it wherever you are. It says three things:

  • Which notes change, everywhere. A sharp on the top line of the treble staff means every F is F♯, high or low, for the whole piece. You don’t need to see a sharp next to the note.
  • Which scale the music draws on. One sharp means the notes of G major (G A B C D E F♯), which are also the notes of E minor.
  • How long it lasts. Until a new key signature appears, usually after a double barline. When a song moves to a key with fewer accidentals, the old ones may be canceled with naturals first.

What it doesn’t tell you: whether the song is major or minor, which chords it uses, or where home is. Notes outside the key are written as accidentals, a sharp, flat or natural placed right before the note, and an accidental lasts only until the next barline. The signature is the default; accidentals are the exceptions, bar by bar.

The order of sharps and flats, and where each one sits

Sharps always appear in the same order, and so do flats:

  • Sharps: F♯, C♯, G♯, D♯, A♯, E♯, B♯. A signature with three sharps is always F♯ C♯ G♯, never F♯ G♯ D♯.
  • Flats: B♭, E♭, A♭, D♭, G♭, C♭, F♭, the same letters backwards.

The classic mnemonic is “Father Charles Goes Down And Ends Battle” for sharps, read backwards for flats: “Battle Ends And Down Goes Charles’ Father.” The order isn’t arbitrary: each new sharp is a fifth above the previous one (F up to C, C up to G), and each new flat is a fourth above (B up to E, E up to A). One more pattern saves memorizing: the sharp major keys follow the order of sharps from its third letter and wrap around (G, D, A, E, B, F♯, C♯), and the flat major keys are F followed by the order of flats (F, B♭, E♭, A♭, D♭, G♭, C♭).

The positions never change either, so after a few songs you recognize a signature by its shape before you count it. Lines are numbered 1 to 5 from the bottom, spaces 1 to 4:

OrderSharpTreble clefBass clef
1F♯Top line (5)Line 4
2C♯Space 3Space 2
3G♯Space above the staffTop space (4)
4D♯Line 4Middle line (3)
5A♯Space 2Space 1
6E♯Top space (4)Space 3
7B♯Middle line (3)Line 2
OrderFlatTreble clefBass clef
1B♭Middle line (3)Line 2
2E♭Top space (4)Space 3
3A♭Space 2Space 1
4D♭Line 4Middle line (3)
5G♭Line 2Bottom line (1)
6C♭Space 3Space 2
7F♭Space 1Space below the staff

Compare the two clef columns: in bass clef, every sharp and flat sits one line or one space lower than in treble. Same order, same zigzag, shifted down.

How to name the key in five seconds

With sharps, the last sharp is the seventh note of the major scale, a half step below home. Go up a half step:

  • 1 sharp, F♯: G major.
  • 4 sharps, last one D♯: E major.
  • 6 sharps, last one E♯: F♯ major (a half step above E♯ is F♯, not F).

With flats, the second-to-last flat names the key:

  • 2 flats, B♭ E♭: B♭ major.
  • 4 flats, B♭ E♭ A♭ D♭: A♭ major.
  • 1 flat has no second-to-last, so memorize it: F major. (The last flat is always the fourth note of the key: count down four from B♭, B♭–A–G–F.)

No sharps or flats: C major. To get the relative minor, go down three half steps from the major key: A major, G♯, G, F♯, so F♯ minor. Count the letters too (A, G, F): the answer is spelled F♯ minor, not G♭ minor. With sharps there’s a shortcut: the relative minor is a whole step below the last sharp. Three sharps end on G♯, a whole step down is F♯, so F♯ minor.

All 15 key signatures in one chart

SignatureNew accidentalMajor keyRelative minorSame sound as
None—CA minor—
1♯F♯GE minor—
2♯C♯DB minor—
3♯G♯AF♯ minor—
4♯D♯EC♯ minor—
5♯A♯BG♯ minorC♭ / A♭ minor
6♯E♯F♯D♯ minorG♭ / E♭ minor
7♯B♯C♯A♯ minorD♭ / B♭ minor
1♭B♭FD minor—
2♭E♭B♭G minor—
3♭A♭E♭C minor—
4♭D♭A♭F minor—
5♭G♭D♭B♭ minorC♯ / A♯ minor
6♭C♭G♭E♭ minorF♯ / D♯ minor
7♭F♭C♭A♭ minorB / G♯ minor

Each signature includes all the accidentals above it in its column: four sharps means F♯ C♯ G♯ D♯. Fifteen signatures for twelve notes, because three keys can be written two ways and sound identical (enharmonic keys). Seven sharps or seven flats are rare in practice, since B major and D♭ major say the same thing with fewer symbols; F♯ and G♭ major, with six each, both show up. For the notes, chords and signature of any key, see all 24 major and minor keys.

Major or relative minor? Check the ending, then the accidentals

The signature gives you two candidates. Three clues decide, from strongest to weakest:

  1. The last chord and the last bass note. Songs almost always end at home. One sharp and a final Em chord: E minor. That last step is usually a cadence such as B7–Em, and the guide to cadences in music shows how to spot each kind of ending.
  2. The accidentals. Minor songs usually raise the seventh note so the V chord is major and pulls home. That raised note isn’t in the signature, so it appears as an accidental again and again: G♯ in A minor, D♯ in E minor, C♯ in D minor, F♯ in G minor. In flat minor keys it’s a natural: B♮ in C minor, E♮ in F minor.
  3. The first chord and the melody’s last note. Helpful, but many songs start away from home.

Hear the difference. Both examples below would be written with an empty signature.

No sharps or flats, C major · C–G–Am–F · 96 BPM

After the two-second count-in, C–G–Am–F plays twice: C at about 0:02, G at 0:05, Am at about 0:07, F at 0:10, and C again at about 0:12. Every note is a white key on the piano. Listen to how the C at 0:12 feels like arriving: C is home.

No sharps or flats, A minor · Am–Dm–Am–E · 70 BPM

After a three-second count-in: Am at 0:03, Dm at 0:07, Am at 0:10 and E at 0:14, then the loop again from 0:17, with the E back at 0:27. Same empty signature, but home is A. Now listen at 0:14: the E major chord contains G♯, the one note outside the signature. On a lead sheet it would carry an accidental, and that repeated G♯ is how a reader knows the page is in A minor, not C major.

Worked example: a lead sheet with three sharps

Your friend Maya, who plays keys, sends a one-page lead sheet for her ballad “Salt on the Window” and asks you to sing it. Here’s what’s on the page:

Key signature: ♯♯♯ (F♯ C♯ G♯)    Time: 4/4

Verse    | F♯m  | D    | A    | E    |
         | F♯m  | D    | Bm   | C♯7  |   melody: E♯ in bar 8
Chorus   | D    | A    | E    | F♯m  |
         | D    | A    | C♯7  | F♯m  |   last bar: F♯ in the bass

Read it in four steps:

  1. Count. Three sharps, the last one G♯. A half step up: A major. Or its relative minor, three half steps down: F♯ minor.
  2. Check the ending. The last chord is F♯m with F♯ in the bass. That points to F♯ minor.
  3. Check the accidentals. Bar 8 has E♯ in the melody, over C♯7. E♯ is the raised seventh of F♯ minor (on a piano, the white key F); in A major that note would be a plain E. Confirmed: F♯ minor.
  4. Write it down. “F♯ minor, 3♯.” Check it against the A major and F♯ minor slice of the circle of fifths.

Now what the key changes for you. On guitar, F♯m is a barre chord, but with a capo on fret 2 you can play Em, C, G, D, Am and B7 shapes, which sound as F♯m, D, A, E, Bm and C♯7. If the chorus sits too high for your voice, move the whole song down a whole step with the chord transposer: F♯m becomes Em, C♯7 becomes B7, and the signature drops to one sharp (E minor). The E♯ accidentals become D♯, and the guitarist can take the capo off. Each symbol keeps its type as it moves, so the m and the 7 travel with the letter; if one of them slows you down, see how to read chord charts. The what key should I sing in tool helps you choose that new key from your lowest and highest comfortable notes.

Why key signatures matter even if you never read notes

Plenty of songwriters play by ear and read chord charts, not staff notation. The key signature still earns its place:

  • It’s the fastest way to the key. Songbooks, piano and vocal books, choir parts and lead sheets from session players all carry one. Counting symbols beats analyzing chords, and it gives you the key before you play a note. For recordings without a page, see how to find the key of a song.
  • It sets your capo. Three flats means E♭ major: capo 1 with D shapes, or capo 3 with C shapes. The capo chart gives the capo and shapes for every key.
  • It tells you what transposing will do. Moving a song up a whole step moves it two places clockwise on the circle: two more sharps or two fewer flats, so F major (one flat) becomes G major (one sharp).
  • It explains the horn players’ charts. For a song in E♭ (three flats), the B♭ trumpet, clarinet and tenor sax parts are written in F (one flat), and the E♭ alto sax part in C, with no signature at all. Different stands, different signatures, same sound.

The notes the signature gives you are the notes of the key’s scale; the guide to music scales for songwriting turns them into melodies, and types of chords shows which chords each key gives you.

A 10-minute exercise: read five signatures without counting twice

  1. Minutes 0–2. Write the order of sharps and the order of flats from memory: F C G D A E B, then B E A D G C F. Check against the tables above.
  2. Minutes 2–5. Name the major key and relative minor for 2♯, 4♭, 5♯, 1♭ and 6♭ using only the two rules. Then check each on the circle of fifths. Answers: D / B minor, A♭ / F minor, B / G♯ minor, F / D minor, G♭ / E♭ minor.
  3. Minutes 5–8. Open any songbook or sheet music you own. For three songs, read the signature, name both candidates and decide with the last chord and the accidentals.
  4. Minutes 8–10. Take the song you’re writing. Name its key and write its signature at the top of your chord sheet, for example “E major, 4♯: F♯ C♯ G♯ D♯”. Loop its chords in the chord player, set to your key, and confirm that the home chord is the one that sounds finished.

Common mistakes when reading key signatures

  • Naming the key from the first chord. Many songs start on IV or vi. The ending and the accidentals are safer clues.
  • Forgetting the signature covers every octave. An F♯ in the signature means the low F in the bass line too.
  • Reading a raised seventh as a key change. A D♯ that keeps appearing in a one-sharp song means E minor, not a new key. A real key change comes with a new signature.
  • Missing the mid-song change. Look for a double barline followed by new sharps or flats, sometimes with naturals canceling the old ones.
  • Carrying an accidental past the barline. It ends at the barline. A courtesy accidental in the next bar is only a reminder.
  • Expecting the signature to name the home note in modal songs. A song in D Dorian may be written with no signature or with one flat, depending on the arranger. The modes guide explains why.

Where Zoundroom fits: the lead sheet, your key and your takes together

Zoundroom doesn’t display or read sheet music, doesn’t detect keys and doesn’t transpose; for those you have the circle of fifths, the chord transposer and the key finder, free in your browser. What it does is keep a song’s material in one place. Each song is a project that holds its recordings, lyrics, notes and files, so add Maya’s lead sheet to the project’s files, open a note and write the reading on the first line: “Written in F♯ minor (3♯) · I sing it in E minor (1♯) · no capo.” Paste the transposed chords under it, then record a take of the chorus inside the note with the app on your phone; the audio lands at the cursor, right under the chords it belongs to. When you invite Maya to the project, she sees the original page, the key you chose and your take without a single message. Your next step: create a project for the song you checked in the exercise and put its signature at the top of its first note.

Frequently asked questions

How do you read a key signature quickly?

Look at the last symbol. If it’s a sharp, go up a half step: that’s the major key. If they’re flats, the second-to-last flat is the major key; one flat is F, none is C. Then check the last chord: if it’s the relative minor (three half steps below), the song is in minor.

What is the order of sharps and flats?

Sharps: F, C, G, D, A, E, B. Flats: B, E, A, D, G, C, F, the same letters backwards. “Father Charles Goes Down And Ends Battle” covers sharps; read it backwards for flats.

How do I know if a key signature is major or minor?

The signature alone can’t tell you; it fits both. The final chord decides most of the time. The second clue is an accidental that keeps coming back a half step below the minor tonic, such as G♯ with an empty signature, which means A minor.

Why are there 15 key signatures and not 12?

Three keys can be spelled two ways with the same sound: B and C♭, F♯ and G♭, C♯ and D♭. Each spelling has its own signature, so 12 sounds give 15 signatures.

Do key signatures matter for guitar players?

Yes, even without reading notes. The signature gives you the key in seconds, and the key tells you the capo position and which open shapes to use. Three sharps with an F♯m ending means F♯ minor: capo 2 and play Em shapes.

Sources

All pages checked on September 28, 2026.

  • Wikipedia, “Key signature”: the order of sharps (F C G D A E B) and flats (B E A D G C F); the tonic a semitone above the last sharp and at the second-to-last flat; a signature applies to notes in all octaves; 15 signatures and the enharmonic pairs; relative minor a minor third lower; naturals canceling a previous signature. wikipedia.org
  • Wikipedia, “Accidental (music)”: accidentals last until the barline; courtesy accidentals; the key signature’s effect lasts until another is indicated. wikipedia.org
  • Robert Hutchinson, Music Theory for the 21st-Century Classroom (University of Puget Sound), “Major Key Signatures”: go up a half step from the last sharp; the second-to-last flat is the key; “Father Charles Goes Down And Ends Battle” and its reverse. pugetsound.edu
  • StudyBass, “Key Signatures”: the sharps of D major on the F line and C space of the bass staff; sharps and flats always written in the same order. studybass.com
  • Piano-Lessons-Info, “Key Signatures Bass Clef”: in bass clef, sharps and flats begin one line lower than in treble and follow the same pattern. piano-lessons-info.com
  • Wikipedia, “Transposing instrument”: B♭ instruments sound a major second below written pitch, E♭ alto saxophone a major sixth below; parts are written in transposed form. wikipedia.org