What is the major scale formula on piano?
The major scale formula is whole step, whole step, half step, whole step, whole step, whole step, half step. Start on any note, follow that pattern, and you have a major scale.
Every major scale, in every key, uses the same pattern of whole steps and half steps. Learn the pattern once and you can work out any major scale yourself, instead of memorizing twelve separate scales.
The formula
The major scale formula is:
Whole, Whole, Half, Whole, Whole, Whole, Half
Musicians often shorten this to W W H W W W H. You begin on your starting note (the root), move up by each of those distances in turn, and arrive on the same letter name one octave higher. That gives eight notes counting both ends, but only seven different note names.
What are whole steps and half steps?
A half step is the distance from one key to the very next key, with nothing in between. It does not matter whether the keys are white or black. C to C sharp is a half step. E to F is also a half step, because there is no black key between them.
A whole step is two half steps: you skip exactly one key. C to D is a whole step, because C sharp sits in the middle.
A useful landmark: there are two places on the keyboard where two white keys sit side by side with no black key between them. These are E to F and B to C. Every other pair of neighboring white keys has a black key in between, so those pairs are whole steps.
C major shows the pattern with no black keys
C major is the easiest place to see the formula, because it uses only white keys.
| From | To | Step |
|---|---|---|
| C | D | Whole |
| D | E | Whole |
| E | F | Half |
| F | G | Whole |
| G | A | Whole |
| A | B | Whole |
| B | C | Half |
The two half steps fall between notes 3 and 4 and between notes 7 and 8 of the scale. If you count in half steps instead, the formula reads 2, 2, 1, 2, 2, 2, 1, which adds up to 12, the number of keys in an octave.
How to build any major scale
Here is a method that works for all twelve keys:
- Write the seven letter names in order starting from your root. For G that is G A B C D E F, then G again.
- Check each neighboring pair against the formula: whole, whole, half, whole, whole, whole, half.
- Where a pair is the wrong size, add a sharp or a flat to the upper note to fix it.
Let's try G major. G to A is a whole step. A to B is a whole step. B to C is a half step, which is correct. C to D and D to E are both whole steps. E to F is only a half step, but we need a whole step, so F becomes F sharp. Finally F sharp to G is a half step, as required. The result is G A B C D E F sharp G, which is why G major has one sharp. You can see it written out on the G major scale page.
Now F major. F to G and G to A are whole steps. A to B would be a whole step, but we need a half step, so B becomes B flat. Then B flat to C, C to D and D to E are whole steps, and E to F is a half step. The result is F G A B flat C D E F, with one flat.
Notice that each letter is used once. We write B flat rather than A sharp, because the scale needs one of each letter name.
The two-halves shortcut
The formula can be split into two identical groups of four notes, joined by one whole step:
W W H (whole step in the middle) W W H
These groups are called tetrachords. In C major the lower group is C D E F and the upper group is G A B C. The upper group of C major, G A B C, is exactly the lower group of G major. So you can build a new scale by taking the top four notes of the old one as the bottom four of the next, then adding a fresh top group (D E F sharp G). Moving up a fifth each time adds one sharp. This is the idea behind the circle of fifths.
Why this explains key signatures
The formula is the reason key signatures exist. Because the pattern must stay the same, starting on a different note forces some keys to be black. A key signature is just a list of the sharps or flats a scale needs to follow the formula. If that is new to you, read what a key signature is next.
Putting it under your fingers
Knowing the formula is half the job. The other half is playing it smoothly. A few practical tips:
- Say the steps out loud (whole, whole, half...) while you play slowly.
- Play hands separately first, then together.
- Check the half steps first: that is where beginners most often hit a wrong note.
For C major, a common fingering is 1 2 3 1 2 3 4 5 in the right hand going up, and 5 4 3 2 1 3 2 1 in the left hand. Fingering for other keys varies between teachers and methods, so follow whatever your teacher or book recommends. Our guide to playing major scales on the piano goes deeper on technique.
If you enjoy practicing with a game, the C Major Scale song in Keyfall shows the letter name on every falling note. Starter mode waits for you at the line and shows which key to press, so you can check each whole step and half step at your own pace. It is a fun way to practice, not a replacement for a teacher.
More about scales and keys
FAQ
What is the major scale formula?
It is whole, whole, half, whole, whole, whole, half (W W H W W W H). In half steps that is 2, 2, 1, 2, 2, 2, 1.
What is the difference between a whole step and a half step?
A half step is the distance to the next key, white or black. A whole step is two half steps, so you skip one key in between.
Why does C major have no sharps or flats?
The white keys already match the formula, because the only half steps on white keys (E to F and B to C) fall exactly where the formula needs them.
Is E to F really a half step?
Yes. There is no black key between E and F, so they are neighboring keys. The same is true of B and C.
Does the same formula work for minor scales?
No. The natural minor scale uses a different pattern: whole, half, whole, whole, half, whole, whole. Each minor scale shares its notes with a major scale, but starts on a different note.
Do I need to memorize all twelve major scales?
Not at first. If you know the formula and can find the half steps, you can work out any major scale. With practice, the common keys will become familiar on their own.
Practise it on your own piano. Keyfall is a free piano game: notes fall toward the keys and you play them on a digital piano, keyboard, phone or computer.
Play free