major scale: seven notes on whole and half steps
A major scale is seven different letters plus the octave, built on one fixed run of steps: whole, whole, half, whole, whole, whole, half. Started on C that is C D E F G A B C. The tables below count those steps in semitones, spell all twelve major keys with their Camelot codes, and give one frequency formula per note from C4 to C5.
This page’s own reading: a 24-second recording of Bach’s Prelude No. 1 in C major, BWV 846, played by Kimiko Ishizaka, reads C major, Camelot 8B, at 55% confidence on the key finder, with F major (28%) and C minor (6%) listed beside it.
One run of steps, counted in semitones
Every major key uses this one run of steps, so the run is what makes a scale major. In steps it is whole, whole, half, whole, whole, whole, half; in semitones that is 2, 2, 1, 2, 2, 2, 1. A whole step is two semitones and a half step is one, so the seven steps add to 12 — one octave, in every key, from any starting note.
| Step | Move | Semitones | In C major |
|---|---|---|---|
| 1 | up a whole step | 2 | C → D |
| 2 | up a whole step | 2 | D → E |
| 3 | up a half step | 1 | E → F |
| 4 | up a whole step | 2 | F → G |
| 5 | up a whole step | 2 | G → A |
| 6 | up a whole step | 2 | A → B |
| 7 | up a half step | 1 | B → C |
| Total | back to the same letter, an octave up | 12 | C4 → C5 |
Five whole steps and two half steps: 5 × 2 + 2 × 1 = 10 + 2 = 12 semitones. Twelve semitones is the distance from a note to its octave, so a pattern that adds to 12 lands on the same letter an octave higher; a pattern that added to anything else could not be a seven-note scale inside one octave.
The starting note also decides how many sharps or flats the signature carries. The two keys with one accidental each are on the one sharp page (G major, F♯) and the one flat page (F major, B♭); the count for every signature is on the key signature chart.
C major from C4 to C5, one line of arithmetic each
Equal temperament with A4 = 440 Hz puts a pitch at 440 × 2((midi − 69) ÷ 12) Hz, where midi is the note’s number on the MIDI scale: C4 is 60, A4 is 69, C5 is 72. The eight notes of C major from C4 to C5, each with its own line:
| Note | MIDI | Arithmetic | Frequency |
|---|---|---|---|
| C4 | 60 | 440 × 2(60 − 69) ÷ 12 = 440 × 2−9 ÷ 12 = 440 × 0.594604 | 261.63 Hz |
| D4 | 62 | 440 × 2(62 − 69) ÷ 12 = 440 × 2−7 ÷ 12 = 440 × 0.667420 | 293.66 Hz |
| E4 | 64 | 440 × 2(64 − 69) ÷ 12 = 440 × 2−5 ÷ 12 = 440 × 0.749154 | 329.63 Hz |
| F4 | 65 | 440 × 2(65 − 69) ÷ 12 = 440 × 2−4 ÷ 12 = 440 × 0.793701 | 349.23 Hz |
| G4 | 67 | 440 × 2(67 − 69) ÷ 12 = 440 × 2−2 ÷ 12 = 440 × 0.890899 | 392.00 Hz |
| A4 | 69 | 440 × 2(69 − 69) ÷ 12 = 440 × 20 = 440 × 1 | 440.00 Hz |
| B4 | 71 | 440 × 2(71 − 69) ÷ 12 = 440 × 22 ÷ 12 = 440 × 1.122462 | 493.88 Hz |
| C5 | 72 | 440 × 2(72 − 69) ÷ 12 = 440 × 23 ÷ 12 = 440 × 1.189207 | 523.25 Hz |
The eight numbers are not eight separate facts: C5 is exactly twice C4, so the last row is the first row doubled before rounding. Every other major key takes the same twelve pitches of the octave and starts them somewhere else, so this arithmetic covers all of them.
The twelve major scales, with their sharps or flats
Twelve keys, one per semitone, each spelled with the seven letters it needs. The sharps and flats are the ones on the key signature chart, so the count in the second column and the accidentals in the third have to agree. The last column is the Camelot code for the same key, taken from this site’s Camelot scale page.
| Key | Signature | Seven notes from the tonic | Camelot |
|---|---|---|---|
| C major | none | C, D, E, F, G, A, B | 8B |
| G major | 1 sharp: F♯ | G, A, B, C, D, E, F♯ | 9B |
| D major | 2 sharps: F♯, C♯ | D, E, F♯, G, A, B, C♯ | 10B |
| A major | 3 sharps: F♯, C♯, G♯ | A, B, C♯, D, E, F♯, G♯ | 11B |
| E major | 4 sharps: F♯, C♯, G♯, D♯ | E, F♯, G♯, A, B, C♯, D♯ | 12B |
| B major | 5 sharps: F♯, C♯, G♯, D♯, A♯ | B, C♯, D♯, E, F♯, G♯, A♯ | 1B |
| F♯ major | 6 sharps: F♯, C♯, G♯, D♯, A♯, E♯ | F♯, G♯, A♯, B, C♯, D♯, E♯ | 2B |
| D♭ major | 5 flats: B♭, E♭, A♭, D♭, G♭ | D♭, E♭, F, G♭, A♭, B♭, C | 3B |
| A♭ major | 4 flats: B♭, E♭, A♭, D♭ | A♭, B♭, C, D♭, E♭, F, G | 4B |
| E♭ major | 3 flats: B♭, E♭, A♭ | E♭, F, G, A♭, B♭, C, D | 5B |
| B♭ major | 2 flats: B♭, E♭ | B♭, C, D, E♭, F, G, A | 6B |
| F major | 1 flat: B♭ | F, G, A, B♭, C, D, E | 7B |
Twelve rows, not fifteen: F♯ major and G♭ major are the same seven pitches, this page keeps the sharp spelling, and that leaves C♯ major with seven sharps and C♭ major with seven flats off the table. Both of those signatures are rows of the key signature chart like any other, and B major is spelled out again on the five sharps page.
Every row above is a major key. The minor scale keeps the same seven letters but lowers the third, sixth and seventh, and its three forms are spelled out on the minor scale page.
When the key finder says a key, read the row
The key finder answers with a key name, a Camelot code and a confidence. When it says C major, the seven notes are the C major row above — C, D, E, F, G, A, B — and the code is 8B; when it says E♭ major the row is E♭, F, G, A♭, B♭, C, D and the code is 5B. The detector names a tonal centre, this table turns that name into the notes you can play, and the Camelot code is what a mixing tool reads.
The confidence matters as much as the name. 55% means the finder still sees another key fitting the same audio, and the honest reading is to check both rows before trusting either — a reading in the fifties names a shortlist, not one key.
A recorded example you can check
The key has two separate sources. The engraved score prints no sharps and no flats at the start of either staff, and heads the piece “Praeludium 1 / BWV 846”. The Wikipedia article The Well-Tempered Clavier, read on 23 October 2026, lists “No. 1: Prelude and Fugue in C major, BWV 846” in its Book 1 table. A blank signature read off a staff and a catalogue entry in an encyclopaedia are different documents, and they agree.
On 23 October 2026 at 05:30 EDT this site’s key finder read this 24-second clip as C major, Camelot 8B, at 55% confidence, and labelled the reading low. It listed F major (Camelot 7B, 28%) and C minor (Camelot 5A, 6%) next, and its on-screen note says F major also fits and that the melody or chords should be checked before mixing. That percentage is the finder’s estimate for this file, not a measured accuracy rate. The printed key and the reading agree; the 55% is the finder saying F major, the key on the fourth degree, also fits the same arpeggios.
A second count of the same file, made here from the audio alone rather than from the finder, puts 98.0% of the energy in the seven pitch classes of C major and 2.0% in the other five. The strongest single class is D at 19.9%, ahead of C at 13.6%, which is what counting energy does to an arpeggiated prelude: it can confirm the seven notes, it cannot say which of them is home.
Major scale: quick answers
What are the seven notes of a major scale?
Seven letters plus the octave. C major is C D E F G A B C, and the eighth note is the first one again, an octave higher.
What is the whole-whole-half pattern?
2, 2, 1, 2, 2, 2, 1 semitones, which adds to 12 — one octave. Five whole steps and two half steps.
Do all major scales use the same pattern?
Yes. Only the starting note changes, and the starting note is what decides how many sharps or flats the signature carries: none in C major, up to six in F♯ major on the table above.
What is the frequency of C4?
261.63 Hz from 440 × 2((60 − 69) ÷ 12). C5 is exactly twice that, 523.25 Hz.
Why does B major have five sharps?
Walking the pattern from B gives B, C♯, D♯, E, F♯, G♯, A♯ and back to B. Five of those notes carry a sharp, so the signature holds five sharps: F♯, C♯, G♯, D♯ and A♯.
What does “C major, 8B” mean?
The finder names a tonal centre and its Camelot code. 8B is C major; 8A is A minor, which uses the same seven notes with a different home.
What this page leaves open
- The frequencies are equal temperament at A4 = 440 Hz. Another tuning puts the same letter names at different numbers.
- Twelve rows, one per semitone. The enharmonic spellings C♯ major, C♭ major and G♭ major are not tabulated here.
- 55% is the finder’s estimate for this 24-second file, not an accuracy rate, and another pianist’s prelude will read differently.
- A scale is seven names. A piece in C major still writes notes outside them.
- Modes, chords and the relative minor are other pages.
