# Key Signatures: What the Sharps and Flats at the Start of a Staff Tell You

A key signature is one standing instruction covering every octave of the piece — and its sharps and flats always come out in the same order because each neighbouring key is a fifth away.

> key signatures · keys and scales · music notation · relative minor · About 7 min · Nov 15

## Key points

1. A key signature is a standing instruction placed after the clef: it applies a sharp or flat to every occurrence of that note name, in all octaves, for the whole piece until a new signature appears or a natural cancels it.
2. Sharps and flats appear in a fixed order because each successive key is a perfect fifth above (sharps) or below (flats) the previous one, and each new symbol is the single note that key needs — the leading tone for sharps, the fourth degree for flats — so the symbols queue up as F C G D A E B, and B E A D G C F in reverse.
3. To name a sharp key, go a semitone above the last sharp; to name a flat key, take the second-to-last flat (one flat is F major by exception); no symbols means C major or A minor.
4. Every signature belongs to two keys, a major and its relative minor, whose tonic is a minor third below the major tonic and whose seven notes are identical.
5. The signature fixes the pitch collection, not the home note; the tonic is decided by ear, from where the melody rests and where the final chord lands.
6. The shortcuts fail when a minor piece raises its seventh degree, and when the music modulates away from the starting key.

---

You open a piece of music and there, between the clef and the first note, sits a small cluster of two sharps. Every new line of music begins with the same cluster. Then the notes start, and nothing explains the cluster at all.

That cluster is the **key signature**, and it answers a bigger question than it looks like it does: which seven of the twelve pitches this piece is built from, and which of those seven is home. Reading it takes two steps — count the symbols, name the major key, then flip to its relative minor — and both steps follow from one fact about how scales are built. Once you see that fact, the fixed order of sharps and flats stops being a list to memorize.

## A key signature is a standing instruction, not a footnote

[The previous article](/article/46f69850) covered accidentals: a ♯ or ♭ written next to a note raises or lowers that note a semitone, and the effect lasts to the end of that bar.

Move the same symbols to the front of the line, and they change meaning. A sharp in the key signature says: *every* F in this piece is an F♯ — in every octave, in every bar, on every line of the page — until a new key signature appears or a natural sign cancels one [1].

Think of the difference between writing "20 °C" after every temperature in a table and writing it once above the column. The key signature is that column header. In G major, every single F would otherwise need its own sharp, and the page would fill up with symbols that all say the same thing.

![Seven sharps and seven flats drawn in their standard positions on treble and bass staves, showing that placement is fixed as well as order](https://pressbooks.macalester.digital/multimodalmusicianship/files/2023/04/image42.png)

## Why the sharps always come in the order F C G D A E B

Here's the question worth asking: if a piece needs sharps, why those sharps? Why does nobody ever write a key signature containing just a G♯?

Start from the major scale. Its spacing is fixed: whole, whole, half, whole, whole, whole, half [2]. Play that recipe from C and you land on the white keys only — C D E F G A B C — so C major needs no symbols at all.

Now play the same recipe starting on G:

**G – A – B – C – D – E – F♯ – G**

Everything matches until the top. F natural sits a whole step below G, but the recipe's last step is a half step. So F gets raised: G major needs F♯.

Here's the part that explains everything else. That F♯ is *the note a semitone below the home note* — the leading tone, the one that pulls into the tonic. It isn't an arbitrary member of the scale; it sits right underneath home.

Now start on D:

**D – E – F♯ – G – A – B – C♯ – D**

F♯ is still there (D major has F♯ as its third), and one new sharp appears: C♯, again the note a semitone below the new home note D.

```mermaid
flowchart LR
  C["C major<br/>no sharps"] --> G["G major<br/>F♯"]
  G --> D["D major<br/>F♯ C♯"]
  D --> A["A major<br/>F♯ C♯ G♯"]
  A --> E["E major<br/>F♯ C♯ G♯ D♯"]
```

Each arrow moves to a key whose home note is a perfect fifth higher — seven semitones, the distance from C up to G. And each new sharp is likewise a fifth above the previous new sharp: F up to C, C up to G, G up to D. Two things climb in step, which is why the sharps arrive in a queue instead of at random:

**F ♯ — C ♯ — G ♯ — D ♯ — A ♯ — E ♯ — B ♯**

A queue that always starts in the same place is how the familiar mnemonic works: *Father Charles Goes Down And Ends Battle.*

Flats are the same story run backwards. Start the major recipe on F and the fourth step must be a half step, so B becomes B♭ — the note a fourth above F. The next flat key is a fifth *below* F, which is B♭, and its new flat is E♭, a fourth above it. So each new flat is the fourth degree of the key it belongs to, and each new flat sits a fifth below the previous one:

**B ♭ — E ♭ — A ♭ — D ♭ — G ♭ — C ♭ — F ♭**

Which is the sharp order read backwards — *Battle Ends And Down Goes Charles' Father* [3].

## Decoding a signature: count first, then look at the end of the queue

Because the order never varies, the *number* of symbols tells you which letters they are. Two sharps are always F♯ and C♯. Four flats are always B♭, E♭, A♭ and D♭. You never need to check each one.

Then one short cut names the key:

**Sharp keys:** the last sharp is the leading tone, so the major key is a semitone above it. Three sharps — F♯, C♯, G♯ — end on G♯, and a semitone above G♯ is **A major**.

**Flat keys:** the last flat added is the fourth degree of the key, so the tonic is the flat *before* it. Four flats — B♭, E♭, A♭, D♭ — have A♭ second from the end, so the key is **A♭ major**. One flat is the exception with no second-to-last symbol: B♭ alone means **F major**, worth simply knowing.

No symbols at all means C major or A minor — the two keys that need nothing.

| Signature | Major key | Relative minor |
|---|---|---|
| none | C | A minor |
| 1 sharp | G | E minor |
| 2 sharps | D | B minor |
| 3 sharps | A | F♯ minor |
| 4 sharps | E | C♯ minor |
| 5 sharps | B | G♯ minor |
| 6 sharps | F♯ | D♯ minor |
| 7 sharps | C♯ | A♯ minor |
| 1 flat | F | D minor |
| 2 flats | B♭ | G minor |
| 3 flats | E♭ | C minor |
| 4 flats | A♭ | F minor |
| 5 flats | D♭ | B♭ minor |
| 6 flats | G♭ | E♭ minor |
| 7 flats | C♭ | A♭ minor |

## Relative minor: the same seven notes with a different home

Every key signature names **two** keys, and the pair is called relative major and relative minor.

The reason is simple: play a major scale and start counting from its sixth note instead of its first, and you get a minor scale built from the identical seven notes. D major is D E F♯ G A B C♯. Start on B and you have B C♯ D E F♯ G A — B minor, no new symbols required.

So the relative minor of any major key is a minor third (three semitones) below its tonic, which is the same as the sixth degree of its major scale [4]. Two sharps: **D major and B minor**. Three flats: **E♭ major and C minor**.

The key signature tells you which seven notes are in play. It does not tell you which of the two is home — that's the difference between a major key and its relative minor, and you decide it by ear. Listen for the note the melody settles on, and often for the bass note of the final chord: a piece that keeps coming to rest on B, over a two-sharp signature, is in B minor, not D major.

Don't confuse this pair with *parallel* keys, which share a tonic but not a signature: C major has no symbols, C minor has three flats.

## Where the shortcuts stop working

- **Minor pieces collect extra accidentals.** The seventh degree of a minor key is often raised in the music itself to sharpen the pull into the tonic. Those sharps are not in the signature, so a piece in B minor can be full of A♯s.
- **The signature is a starting point, not a fence.** Pieces modulate — they move to another key partway through, and the notation then either changes the signature or adds accidentals.

<details><summary>Three to check yourself</summary>

1. **Four sharps.** Which letters, which major key, which relative minor?
2. **Two flats.** Same three answers.
3. **A piece with three sharps ends its last chord on F♯.** Major or minor, and why?

Answers: (1) F♯ C♯ G♯ D♯; E major; C♯ minor. (2) B♭ E♭; B♭ major; G minor. (3) Minor — F♯ minor is the relative minor of A major, and the final chord is the strongest clue to the tonic.

</details>

## Mind map

```mermaid
flowchart LR
  K["Key signature<br/>sharps or flats after the clef"] --> M["Standing instruction<br/>all octaves, whole piece"]
  K --> O["Fixed order<br/>sharps F C G D A E B<br/>flats reversed"]
  O --> W["Why: each key is a fifth away<br/>new symbol = leading tone for sharps<br/>fourth degree for flats"]
  K --> D1["Name the major key<br/>last sharp plus a semitone<br/>second-to-last flat"]
  D1 --> R["Relative minor<br/>minor third below the major tonic"]
  R --> L["Signature gives the notes,<br/>not which one is home"]
```

## Glossary

- Key signature：a group of sharps or flats written after the clef at the start of every line, stating once which note names are raised or lowered for the whole piece.
- Leading tone：the note a semitone below the tonic, which pulls strongly back up to it; every new sharp in a sharp key sits on it.
- Relative minor：the minor key that uses exactly the same seven notes as a given major key, with its tonic a minor third below the major tonic.
- Parallel keys：a major and minor key with the same tonic but different key signatures, such as C major and C minor.
- Order of fifths：the fact that neighbouring keys sit a perfect fifth apart, so each step adds exactly one symbol and the new symbols themselves line up in fifths.

## Sources

1. [Wikipedia: Key signature — scope of a signature across all octaves, and the uniform order of sharps and flats](https://en.wikipedia.org/wiki/Key_signature)
2. [Multimodal Musicianship: Major key signatures — why signatures exist, standard placement, last-sharp and second-to-last-flat rules](https://pressbooks.macalester.digital/multimodalmusicianship/chapter/major-key-signatures/)
3. [Integrated Music Theory, Lesson 2d: Key Signatures — sharps as ascending fifths, flats as descending fifths](https://intmus.github.io/inttheory/02-int-scales-keys/d1-keys.html)
4. [Music Crash Courses: Key Relationships — relative versus parallel keys, plus the full major and minor signature table](https://www.musiccrashcourses.com/lessons/key_relationships.html)

---

Original article: https://eulore.ai/articles/key-signatures-0d13702d

> **Eulore** · Start small. Go deep.
>
> Eulore is an AI learning tool built around connected articles, each a 5–10 minute read. Ask questions as you go and help shape what comes next. That’s how this article was created.
>
> Start your own series → https://eulore.ai
