Scales: notes that belong together
A scale is an ordered set of notes chosen to sound coherent — like the familiar do-re-mi major scale. Most melodies and solos draw their notes from a scale, which is why learning a few scales unlocks so much.
Keys: a home base
A key is built from a scale and gives a piece its home note (the tonic) that everything resolves to. When a song is in the key of C major, it mostly uses the notes and chords of the C major scale and feels resolved on C.
The octave, cut into twelve equal steps
Music theory gets more useful once the octave stops being a vague idea and becomes a measurement. Britannica defines a scale as “any graduated sequence of notes, tones, or intervals dividing what is called an octave,” and in Western practice that division is exact: the octave splits into 12 equal half steps, and — for comparisons finer than a semitone — each half step is itself divided into 100 units called cents. An octave is therefore 1,200 cents, on any instrument tuned to equal temperament.
That grid is what a scale draws from. The major scale most people learn first does not use all 12 semitones; it selects seven of them in one fixed order — whole step, whole step, half step, whole step, whole step, whole step, half step, usually written W-W-H-W-W-W-H. Add those steps in semitones (2+2+1+2+2+2+1) and the total is exactly 12, confirming the seventh step lands back on the octave of where you started. That formula is standard music notation rather than a figure from any one source, but it only works because the 12-semitone octave underneath it is real.
One pattern, twelve places to start it
Because there are exactly 12 semitones to start from, there are exactly 12 places to begin that fixed pattern — one major scale, and one major key, per starting note. Move the whole pattern up by a single semitone (100 cents) and every interval inside it shifts by the same amount, which is why a melody transposed into a new key still sounds like the same tune: the shape travels: the steps between the notes do not change.
This is also why some key changes feel closer than others. Two keys a semitone apart share almost the same pitch centre; two keys further round the twelve share less. None of that is a separate rule — it falls straight out of there being only 12 equal slots on the wheel and one pattern walked around it. It is also why “the twelve keys” is a complete, closed list rather than an open one: once the pattern can be built from any of the twelve starting semitones, there is no thirteenth major key waiting to be found.
Start on C and the running tally reads C(0), D(2), E(4), F(5), G(7), A(9), B(11), C(12) — each number the semitone distance travelled from the starting C, the last one landing exactly on the octave. Start the same W-W-H-W-W-W-H pattern on any other note and the tally always finishes on 12; only the note names in between change.
Why they matter
Scales and keys let musicians improvise, write and play together in a shared framework. Knowing the key tells you which notes and chords will fit, which is why it is one of the first truly useful things to learn.
Build a scale from any starting note
Pick a starting note and a pattern, and this steps through the same whole-step/half-step arithmetic above. Nothing is stored or sent anywhere — it runs in your browser.
Notes are named with sharps rather than key-signature spelling — a scale built this way is correct in pitch even where a trained eye would spell a note as a flat.
Where this comes from
Britannica — Scale (music): the octave as “any graduated sequence of notes... dividing what is called an octave,” the 12 equal half steps used in Western music, and 100 cents to one half step in equal temperament. britannica.com · accessed 4 August 2026.
The W-W-H-W-W-W-H major-scale formula, the natural-minor formula, and the calculator above are standard, widely-taught music notation applied to that 12-semitone octave — not themselves a figure stated in the Britannica entry.
Common questions
What is the difference between a scale and a key?
A scale is the set of notes; a key is a piece centred on that scale, with a home note it resolves to.
How many scales are there?
Many, but a few — like the major and minor scales — cover most popular music. Start with those.
Do I need theory to play?
No, but even a little makes improvising, writing and jamming with others much easier.