How Musical Keys Work — A Module for Heath
Musical Keys
A self-contained beginner's module
For Heath · Ten Sections · No Prior Knowledge Required

How Keys Work

From a note's physical definition to the Circle of Fifths, with the underlying logic shown.
§ 01

What a Note Actually Is

3 min read
Before keys, before scales, before any of it — a note is just a vibration moving through air at a specific speed.

Strike a string. It vibrates. Those vibrations push air. Your ear catches the push. We measure the speed of the push in hertz (Hz) — vibrations per second. Slow vibrations sound low. Fast vibrations sound high. That is the entire physical basis of pitch.

Here is the one fact that makes music possible: when you double the frequency of a note, your brain hears the same note again, only higher. 440 Hz is the note A. So is 880 Hz. So is 220 Hz. This doubling is called an octave. Every note you have ever heard has infinite octave twins above and below it.

Doubling the frequency = same note, one octave higher. This is not a human invention. It is a fact about how ears and air work. Every musical system on Earth is built on top of it.

The question Western music answers is: between a note and its octave twin, what other notes should exist? The answer it gives is twelve. We will get to those twelve in the next section.

Section 01 — Three Questions
Q1.What is pitch, physically speaking?
Q2.If A is 440 Hz, what frequency is the same note one octave higher?
Q3.True or false: an octave is a human convention that varies by culture.
§ 02

The Twelve Notes

4 min read
Western music carves each octave into twelve equal slices. Learn the twelve and you have learned every note that exists.

Inside one octave, Western music places 12 notes, spaced equally apart. Their names use only seven letters — A, B, C, D, E, F, G — plus five "in-between" notes labeled with sharps (♯) or flats (♭). The full list, going up:

A   A♯/B♭   B   C   C♯/D♭   D   D♯/E♭   E   F   F♯/G♭   G   G♯/A♭   (then A again)

That is the alphabet. Twelve letters. Memorize their order and the rest of music theory is bookkeeping.

The piano shows this layout cleanly. Seven white keys repeat (A through G). Five black keys fill the gaps. Notice: the black keys are arranged in groups of two and three. That irregularity matters — it tells you that the gaps between white keys are not all the same size.

C
D
E
F
G
A
B
C
C♯
D♯
F♯
G♯
A♯
One octave on a piano. Five black keys, seven white keys, twelve notes total.
A♯ and B♭ are the same note. Same key on the piano. Two names. Same with C♯/D♭, D♯/E♭, F♯/G♭, G♯/A♭. The names you use depend on which key you are in. That will make sense later.

Two oddities to notice now, because they will explain everything that comes next: between B and C there is no black key. Between E and F, also no black key. Those two pairs of white keys sit right next to each other. The other white-key pairs have a black key between them. This asymmetry is the whole reason scales sound the way they do.

Section 02 — Three Questions
Q1.How many distinct notes are there in one octave of Western music?
Q2.C♯ and D♭ are:
Q3.Which pair of natural notes has no black key between them?
§ 03

Half Steps & Whole Steps

3 min read
The distance between two notes has a name. Two distances, actually. Master these and you can build any scale on Earth.

The smallest distance between two notes in Western music is one slice of the octave — the gap between any two adjacent notes on our list of twelve. This is a half step (also called a semitone). C to C♯. E to F. B to C. All half steps.

A whole step is two half steps. C to D. F to G. A to B. All whole steps.

IntervalSemitonesExample
Half step1E → F, B → C, C → C♯
Whole step2C → D, F → G, A → B
Half step = adjacent notes on the 12-note list. Whole step = skip one. That is the entire concept.

The two natural half steps on the piano — E–F and B–C — are the asymmetries we noticed in Section 02. They are why C major sounds like C major and not something else. Every scale is just a custom pattern of whole steps and half steps walking up the twelve.

Section 03 — Three Questions
Q1.How many semitones in a whole step?
Q2.From E, going up one half step, you land on:
Q3.From G, going up one whole step, you land on:
§ 04

Scales — The Recipe

4 min read
A scale is a chosen path through the twelve notes. The pattern of steps you choose decides what it sounds like.

A scale is a selection of seven notes (usually) out of the twelve, played in order. The selection is defined by a pattern of whole and half steps. Change the pattern, change the scale.

The most important scale in Western music is the major scale. Its pattern, starting from any note:

W — W — H — W — W — W — H

Whole, whole, half, whole, whole, whole, half. Memorize this. It is the most-used sequence in music.

Apply it starting on C:

StepMoveNote
StartC
1Whole step upD
2Whole step upE
3Half step upF
4Whole step upG
5Whole step upA
6Whole step upB
7Half step upC (octave)

Result: C, D, E, F, G, A, B, C. Every white key on the piano. That is the C major scale. The reason it lands on all white keys is precisely because the natural half steps (E–F, B–C) line up with the half steps required by the major pattern.

Start on any of the 12 notes. Apply W-W-H-W-W-W-H. You get the major scale of that note. Start on G, you get G major. Start on F, you get F major. The pattern is portable.

Try G: G → A (W) → B (W) → C (H) → D (W) → E (W) → F♯ (W) → G (H). That F♯ is forced — a plain F would only be a half step from E, breaking the pattern. This is why some keys have sharps or flats. They are mathematically required to keep the pattern intact.

Section 04 — Four Questions
Q1.The major scale pattern is:
Q2.Which scale uses all and only the white keys on a piano?
Q3.The 7th note of the G major scale is:
Q4.Why does G major contain F♯ instead of F?
§ 05

What "Key" Really Means

3 min read
A scale is the raw material. A key is what a song does with it: pick one note as home, then keep coming back.

A key is a scale plus a sense of gravity. One note in the scale is designated as home — the tonic. The whole piece feels like it is leaving home, getting lost, and returning. When the music finally lands on the tonic at the end, you feel the resolution. That feeling is what "being in a key" produces.

Say a song is "in the key of D major." That tells you two things: (1) it uses the D major scale (D, E, F♯, G, A, B, C♯), and (2) the note D feels like home. The melody will usually start or end on D. The final chord will almost certainly be a D chord. Try humming "Happy Birthday" and stopping on the second-to-last note. It feels unfinished. That last note is the tonic pulling everything back.

Key = scale + tonic. The scale tells you which notes are in bounds. The tonic tells you which one is home.

This is why "what key is this song in?" is a meaningful question. The answer tells a musician which notes will fit, which chords sound natural, and where the song wants to rest.

Section 05 — Three Questions
Q1.What is the tonic of a key?
Q2.A song in the key of D major will most often end on:
Q3.Two songs use the same seven notes but feel like they are in different keys. How is this possible?
§ 06

Major vs. Minor

4 min read
Two flavors dominate Western music. They differ by a single interval, and that interval changes everything.

You already know the major scale: W-W-H-W-W-W-H. Bright. Stable. The default sound of pop, classical, gospel, country, most music your brain registers as "happy" or "settled."

The natural minor scale uses a different pattern:

W — H — W — W — H — W — W

Apply it from A: A → B (W) → C (H) → D (W) → E (W) → F (H) → G (W) → A (W). That is A natural minor. All white keys, again. Same seven notes as C major. Different starting point. Different feel.

The difference between major and minor is decided largely by the 3rd note of the scale. In C major, the 3rd is E — four semitones above C. In C minor, the 3rd is E♭ — only three semitones above C. That one-semitone difference is what your ear hears as "happy vs. sad," "bright vs. dark."

ScaleNotes3rd interval
C majorC D E F G A BMajor 3rd (4 semitones)
C natural minorC D E♭ F G A♭ B♭Minor 3rd (3 semitones)
Major sounds bright. Minor sounds dark. The pivot is the 3rd. Lower it by a half step and you flip the mood.

(There are also "harmonic" and "melodic" minor scales — small variants of natural minor. Beginners can ignore them until later. Natural minor is the foundation.)

Section 06 — Three Questions
Q1.The natural minor scale pattern is:
Q2.Which scale degree most defines the difference between major and minor?
Q3.The third note of C natural minor is:
§ 07

Key Signatures

4 min read
A key signature is a shorthand: a few marks at the start of the staff that say "for this whole piece, these notes are sharp (or flat)."

If a song is in G major, every F is actually F♯. Rather than write a sharp symbol next to every F in the score, music notation puts one sharp on the F line at the very beginning and calls it done. That is the key signature. Every key has one.

C major and A minor are the only keys with no sharps and no flats. Every other key carries some. Here are the most common:

Key (Major)Sharps/FlatsWhich notes
C major0
G major1 ♯F♯
D major2 ♯F♯, C♯
A major3 ♯F♯, C♯, G♯
E major4 ♯F♯, C♯, G♯, D♯
F major1 ♭B♭
B♭ major2 ♭B♭, E♭
E♭ major3 ♭B♭, E♭, A♭
A♭ major4 ♭B♭, E♭, A♭, D♭
Sharps get added in a fixed order: F♯, C♯, G♯, D♯, A♯, E♯, B♯. Flats get added in the reverse order: B♭, E♭, A♭, D♭, G♭, C♭, F♭. This is not random — it falls out of the math of the Circle of Fifths, next section.

You do not have to memorize all 15 key signatures right away. You do need to understand why they exist: they tell you, at a glance, which seven notes the piece is using.

Section 07 — Three Questions
Q1.How many sharps does D major have?
Q2.Which major key has exactly one flat?
Q3.What is the purpose of a key signature?
§ 08

The Circle of Fifths

4 min read
One diagram organizes every key in Western music. Once you can read it, you can deduce any key signature in seconds.

Start at C major (no sharps, no flats). Go up a fifth — that is, count up five letter-names: C, D, E, F, G. You land on G. G major has one sharp.

From G, go up another fifth: G, A, B, C, D. You land on D. D major has two sharps. Each fifth you climb adds exactly one sharp. Keep going: A (3♯), E (4♯), B (5♯), F♯ (6♯), C♯ (7♯).

Now go the other direction from C. Down a fifth (or up a fourth): C, D, E, F. You land on F. F major has one flat. Down another fifth lands on B♭ (2♭), then E♭ (3♭), A♭ (4♭), D♭ (5♭), G♭ (6♭), C♭ (7♭).

Arrange all this in a circle, like a clock face. C at 12 o'clock. Sharps clockwise. Flats counter-clockwise. That is the Circle of Fifths.

C G D A E B F♯/G♭ D♭ A♭ E♭ B♭ F 0 1♯ 2♯ 3♯ 4♯ 5♯ 5♭ 4♭ 3♭ 2♭ 1♭ CIRCLE OF FIFTHS
Clockwise adds sharps. Counter-clockwise adds flats. C sits at the top, signature-less.
The Circle of Fifths is not mystical. It is a direct consequence of the major-scale formula. Climbing by fifths is the smallest move that shifts a scale to a new key with only one note changed — and that note becomes the new sharp (or flat).

Practical use: looking at a piece in B major? B is five positions clockwise from C, so the key signature has five sharps. You did not need to memorize that — you derived it.

Section 08 — Three Questions
Q1.Moving clockwise on the Circle of Fifths adds:
Q2.Which key is three positions clockwise from C?
Q3.How many flats does A♭ major have?
§ 09

Relative Major & Minor

3 min read
Every major key has a minor twin that uses the exact same notes. Same notes, different home.

C major contains: C, D, E, F, G, A, B. A natural minor contains: A, B, C, D, E, F, G. The same seven notes. They share a key signature (zero sharps, zero flats). What makes them different keys is which note feels like home — C for the major, A for the minor.

This pairing exists for every key signature. The minor that shares notes with a major is called its relative minor. To find it: start on the major scale's 6th note. That note is the tonic of the relative minor.

Major key6th noteRelative minor
C majorAA minor
G majorEE minor
D majorBB minor
F majorDD minor
B♭ majorGG minor
Relative major and minor = same seven notes, same key signature, different tonic. The "feel" is entirely produced by which note the music treats as home.

Shortcut: the relative minor's tonic is three semitones below the major's tonic. C → A. G → E. D → B. F → D. Always three semitones down.

Section 09 — Three Questions
Q1.The relative minor of C major is:
Q2.What do relative major and minor keys share?
Q3.To find the relative minor of any major key, go to the:
§ 10

Why Keys Matter in Practice

3 min read
All this theory pays off in four practical ways. Knowing the key tells you what fits, what fights, what to play, and how to move it.

1. Mood. Major keys default to bright. Minor keys default to dark. A composer picks one to set the emotional tone before a single melody is written.

2. Which notes fit. If a song is in E♭ major, the seven notes of the E♭ major scale will sound "in." Notes outside that scale will sound "out" — possibly interesting, possibly wrong. A soloist improvising over the song uses the key as a fence.

3. Which chords fit. Chords are built from scale notes. Every key has a small set of chords that sound native to it. In C major, those chords are C, Dm, Em, F, G, Am, Bdim — and they form the backbone of most pop and folk songs in that key.

4. Transposition. Move every note of a song up by, say, three semitones, and the song is now in a new key but sounds the same — just higher. Singers do this constantly to fit their vocal range. It works because the pattern of intervals is preserved, even though the actual notes change.

Keys are not decoration. They are how musicians communicate. "It's in A minor, capo 2" tells another guitarist exactly which chords to play and which notes to avoid. Without keys, every song would need a separate instruction manual.

That is the entire foundation. From here on out, anything you read or hear about scales, modes, chords, progressions, modulations, or harmony is built on the ten ideas in this module.

Section 10 — Three Questions
Q1.Transposing a song means:
Q2.Why do soloists need to know the key of a song?
Q3.True or false: chords in a key are built from notes of that key's scale.
· · ·
Optional

50-Question Test Bank

Use it to check your retention after working through the module.
End of module
·
Re-read any section. Re-take any quiz. The material does not expire.