A scale is a set of notes in order, from low to high. A key is the scale a song is built on. These two ideas explain why some notes sound right in a song and others sound wrong.
This guide shows how scales are built and how keys work. A piano or a keyboard app makes it easier to follow.
What a scale is
There are twelve different notes in music. Most songs use only seven of them. Those seven, played in order, are a scale.
A scale has a home note. It is the first note, and it gives the scale its name. The C major scale starts and ends on C.
The major scale
The major scale is the do, re, mi sound. Play the white keys on a piano from one C to the next and you have it: C, D, E, F, G, A, B, and C.
What makes it a major scale is the pattern of steps between the notes. A half step is the distance from one key to the next, white or black. A whole step is two half steps.
The pattern is: whole, whole, half, whole, whole, whole, half.
Check it on the white keys. C to D is a whole step. D to E is a whole step. E to F is a half step, since no black key sits between them. Then come three whole steps, and B to C is the last half step.
Build a major scale on any note
Start the same pattern on a different note and you get a new major scale. You will need black keys to keep the pattern.
G major is G, A, B, C, D, E, F sharp, and G. It has one sharp.
F major is F, G, A, B flat, C, D, E, and F. It has one flat.
D major is D, E, F sharp, G, A, B, C sharp, and D. It has two sharps.
Every major scale sounds like the same tune starting higher or lower. The pattern is the same, so the ear hears the same shape.
Each letter appears once in a scale. That is why the seventh note of G major is called F sharp and not G flat. Our guide to the musical alphabet explains the two names.
The minor scale
A minor scale uses a different pattern: whole, half, whole, whole, half, whole, whole.
Play the white keys from A to the next A. That is the A minor scale: A, B, C, D, E, F, G, and A.
To many ears, major sounds bright and minor sounds sad or serious. Both are common in every style of music.
A minor uses the same notes as C major. The only change is the home note. Musicians call these two relatives. Every major scale has a relative minor that starts on its sixth note.
What a key is
A song in the key of G major uses the notes of the G major scale. G feels like home. The tune can travel away, and it sounds finished when it lands back on G.
The chords come from the scale too. That is why a song in one key keeps using the same few chords. Our guide to chords and triads shows how they are built.
The key signature
Written music shows the key at the start of each line. The sharps or flats printed right after the clef are the key signature.
One sharp means the key of G major or its relative, E minor. One flat means F major or D minor. No sharps and no flats means C major or A minor.
The key signature applies to the whole piece. If it has an F sharp, every F is played as F sharp unless a sign next to the note says otherwise.
Why songs change keys
The same song can be played in any key. Every note moves up or down by the same distance, and the tune stays the same. This is called transposing.
Singers do it to fit their voices. A song that sits too high in one key may sit well four steps lower. See how to find your vocal range and voice type.
Players do it to fit their instruments. The keys of G, C, D, A, and E fall easily under the fingers on a guitar. Band instruments such as the clarinet and the trumpet are at home in keys with flats.
A guitar player can change key with a capo. A capo is a clamp that presses all six strings at one fret. The player uses the same chord shapes, and everything sounds higher.
The pentatonic scale
Some scales have fewer than seven notes. The pentatonic scale has five.
The C major pentatonic scale is C, D, E, G, and A. It leaves out the fourth and seventh notes of the major scale. With those two gone, no two notes clash, and almost any order of notes sounds pleasant.
The five black keys on a piano make a pentatonic scale too. The tune of “Amazing Grace” can be played on the black keys alone.
Folk music around the world uses this scale. It is a good first scale for making up your own tunes.
The chromatic scale
Play every key in a row, white and black, and you have the chromatic scale. It has all twelve notes, each a half step from the next.
Songs rarely use the whole thing. Short pieces of it add color between the main notes.
How to practice scales
Scales train the fingers and the ear at once.
Start with C, G, and F major. Play one octave up and down, slowly, with a steady beat.
Say or sing the notes. Use letter names, or sing do, re, mi. Our guide to solfege explains the syllables.
Listen for home. Stop on the seventh note and notice how much it wants to move up to the last one.
Find the scale in a song. Pick out the notes of a tune you know. Most of them will belong to one scale.
Make up a tune. Play any notes from one scale in any order. End on the home note.
A map of all the keys
There are twelve major keys and twelve minor keys. Musicians arrange them in a ring called the circle of fifths. Each step around the ring adds one sharp or one flat.
A beginner does not need the whole map. Three or four keys cover most first songs.
For the full overview of notes, rhythm, and chords, read how music works. The circle of fifths and the chart of key signatures lay out every key.
To play a scale with the right fingers, see how to play the C major scale on piano. To name the key of a song you hear, see how to find the key of a song.
For seven scales from one set of notes, see the seven modes.