How Keys Work
What a Note Actually Is
3 min readStrike 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.
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.
The Twelve Notes
4 min readInside 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.
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.
Half Steps & Whole Steps
3 min readThe 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.
| Interval | Semitones | Example |
|---|---|---|
| Half step | 1 | E → F, B → C, C → C♯ |
| Whole step | 2 | C → D, F → G, A → B |
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.
Scales — The Recipe
4 min readA 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:
| Step | Move | Note |
|---|---|---|
| Start | — | C |
| 1 | Whole step up | D |
| 2 | Whole step up | E |
| 3 | Half step up | F |
| 4 | Whole step up | G |
| 5 | Whole step up | A |
| 6 | Whole step up | B |
| 7 | Half step up | C (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.
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.
What "Key" Really Means
3 min readA 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.
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.
Major vs. Minor
4 min readYou 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."
| Scale | Notes | 3rd interval |
|---|---|---|
| C major | C D E F G A B | Major 3rd (4 semitones) |
| C natural minor | C D E♭ F G A♭ B♭ | Minor 3rd (3 semitones) |
(There are also "harmonic" and "melodic" minor scales — small variants of natural minor. Beginners can ignore them until later. Natural minor is the foundation.)
Key Signatures
4 min readIf 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/Flats | Which notes |
|---|---|---|
| C major | 0 | — |
| G major | 1 ♯ | F♯ |
| D major | 2 ♯ | F♯, C♯ |
| A major | 3 ♯ | F♯, C♯, G♯ |
| E major | 4 ♯ | F♯, C♯, G♯, D♯ |
| F major | 1 ♭ | B♭ |
| B♭ major | 2 ♭ | B♭, E♭ |
| E♭ major | 3 ♭ | B♭, E♭, A♭ |
| A♭ major | 4 ♭ | B♭, E♭, A♭, D♭ |
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.
The Circle of Fifths
4 min readStart 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.
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.
Relative Major & Minor
3 min readC 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 key | 6th note | Relative minor |
|---|---|---|
| C major | A | A minor |
| G major | E | E minor |
| D major | B | B minor |
| F major | D | D minor |
| B♭ major | G | G minor |
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.
Why Keys Matter in Practice
3 min read1. 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.
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.