Worked example
F♯ major, spelled → F♯ G♯ A♯ B C♯ D♯ E♯ F♯: 6 sharps, with E♯ as the 7th
Find the notes of F♯ major, and why its 7th is E♯
-
Tap the key the scale starts on
The black key between F and G. It has two names, F♯ and G♭: the next step lets you choose.
-
Choose the scale
F♯ major comes out as F♯ G♯ A♯ B C♯ D♯ E♯ F♯: steps W W H W W W H, key signature 6 sharps.
-
Pick the spelling
G♭ major sounds the same with 6 flats. Each letter is used once, so F♯ major’s 7th note is E♯, not F.
-
Find it on the guitar fretboard
Press Play to hear it up and down. Open On the guitar, On the staff or Chords in this key: the chords run F♯, G♯m, A♯m, B, C♯, D♯m, E♯dim.
What is a scale in music?
A scale is a set of notes in order of pitch, from a starting note, the tonic, up to the same note an octave higher. What makes one scale sound different from another is the pattern of gaps between neighbouring notes. A half step is the next key on a piano, black or white, or the next fret on a guitar. A whole step is two of them. Open Music Theory gives the major scale as W-W-H-W-W-W-H, and every major scale, in any key, follows that pattern.
C major, the white keys
Start on C and play the white keys up to the next C: C D E F G A B C. The two half steps fall between E and F and between B and C, where there is no black key, so the pattern comes out as W W H W W W H. Start on any other note and you need black keys to keep the same pattern.
Scale formulas
Each scale’s degrees are measured against the major scale: ♭3 is a half step lower than the major scale’s 3rd, ♯4 a half step higher than its 4th. Here are the scales in the tool, all on C:
| Scale | Degrees | Steps | On C |
|---|---|---|---|
| Major | 1 2 3 4 5 6 7 | W W H W W W H | C D E F G A B |
| Natural minor | 1 2 ♭3 4 5 ♭6 ♭7 | W H W W H W W | C D E♭ F G A♭ B♭ |
| Harmonic minor | 1 2 ♭3 4 5 ♭6 7 | W H W W H W+H H | C D E♭ F G A♭ B |
| Melodic minor | 1 2 ♭3 4 5 6 7 | W H W W W W H | C D E♭ F G A B |
| Major pentatonic | 1 2 3 5 6 | W W W+H W W+H | C D E G A |
| Minor pentatonic | 1 ♭3 4 5 ♭7 | W+H W W W+H W | C E♭ F G B♭ |
| Blues | 1 ♭3 4 ♯4 5 ♭7 | W+H W H H W+H W | C E♭ F F♯ G B♭ |
| Dorian | 1 2 ♭3 4 5 6 ♭7 | W H W W W H W | C D E♭ F G A B♭ |
| Phrygian | 1 ♭2 ♭3 4 5 ♭6 ♭7 | H W W W H W W | C D♭ E♭ F G A♭ B♭ |
| Lydian | 1 2 3 ♯4 5 6 7 | W W W H W W H | C D E F♯ G A B |
| Mixolydian | 1 2 3 4 5 6 ♭7 | W W H W W H W | C D E F G A B♭ |
| Locrian | 1 ♭2 ♭3 4 ♭5 ♭6 ♭7 | H W W H W W W | C D♭ E♭ F G♭ A♭ B♭ |
The 12 major scales and their relative minors
Each step clockwise round the circle of fifths, C to G to D and on, adds one sharp to the key signature or takes away one flat. The relative minor shares the key signature and starts on the major scale’s 6th note, three half steps below the major key’s tonic:
| Major key | Notes | Key signature | Relative minor |
|---|---|---|---|
| C major | C D E F G A B | none | A minor |
| G major | G A B C D E F♯ | 1 sharp: F♯ | E minor |
| D major | D E F♯ G A B C♯ | 2 sharps: F♯ C♯ | B minor |
| A major | A B C♯ D E F♯ G♯ | 3 sharps: F♯ C♯ G♯ | F♯ minor |
| E major | E F♯ G♯ A B C♯ D♯ | 4 sharps: F♯ C♯ G♯ D♯ | C♯ minor |
| B major | B C♯ D♯ E F♯ G♯ A♯ | 5 sharps: F♯ C♯ G♯ D♯ A♯ | G♯ minor |
| F♯ major | F♯ G♯ A♯ B C♯ D♯ E♯ | 6 sharps: F♯ C♯ G♯ D♯ A♯ E♯ | D♯ minor |
| D♭ major | D♭ E♭ F G♭ A♭ B♭ C | 5 flats: B♭ E♭ A♭ D♭ G♭ | B♭ minor |
| A♭ major | A♭ B♭ C D♭ E♭ F G | 4 flats: B♭ E♭ A♭ D♭ | F minor |
| E♭ major | E♭ F G A♭ B♭ C D | 3 flats: B♭ E♭ A♭ | C minor |
| B♭ major | B♭ C D E♭ F G A | 2 flats: B♭ E♭ | G minor |
| F major | F G A B♭ C D E | 1 flat: B♭ | D minor |
There are 15 major key signatures, not 12, because three keys have two names. C♯ major (7 sharps) sounds the same as D♭ major (5 flats). F♯ and G♭ major have 6 each. B major (5 sharps) sounds the same as C♭ major (7 flats). Music is usually written in whichever spelling needs fewer sharps or flats, and the tool picks that one unless you choose the other.
Why F♯ major has an E♯, not an F
A 7-note scale uses each letter once. F♯ major runs F♯ G♯ A♯ B C♯ D♯ E♯: the 7th note has to be some kind of E, and the E that is a half step below F♯ is E♯. Writing it as F would leave the scale with two Fs and no E. The same rule gives B♯ in C♯ major and F♭ in C♭ major, and it’s why the tool never shows a scale with a letter missing or used twice.
The rule also explains why D♯ major isn’t used as a key. Spelled by the rule it’s D♯ E♯ F𝄪 G♯ A♯ B♯ C𝄪, with two double sharps (𝄪). Open Music Theory calls a key like that “imaginary”: it would need a double sharp or double flat in its key signature. Pick D♯ in the tool and it says so, and points you to E♭ major.
The three minor scales
A minor scale’s 3rd is a half step lower than the major scale’s. Open Music Theory gives three versions, shown here on A:
| Minor scale | On A | What changes |
|---|---|---|
| Natural minor | A B C D E F G | The key signature’s notes, nothing added |
| Harmonic minor | A B C D E F G♯ | The 7th raised a half step |
| Melodic minor | A B C D E F♯ G♯ | The 6th and 7th raised going up; natural minor coming down |
Raising the 7th puts a half step under the tonic, which pulls the music home. It also turns the chord on the 5th into a major chord: the natural minor’s chords are i ii° III iv v VI VII, the harmonic minor’s i ii° III+ iv V VI vii°. That raised 7th leaves a step and a half between the 6th and 7th, which is awkward to sing, so the melodic minor raises the 6th as well on the way up.
What 371 Bach chorales show about the melodic minor
The melodic minor rule (raise the 6th and 7th going up, lower them coming down) is a textbook simplification, so we counted what real music does. We took the 371 four-part chorales by J. S. Bach in the music21 corpus. In the 138 chorales in a minor key that end on the key’s home note, we counted every 6th and 7th in the top line, the tune, and noted whether the next note went up or down:
| In the tune | Raised when the line goes up | Raised when it comes down |
|---|---|---|
| The 7th | 46% (135 of 292) | 8% (20 of 245) |
| The 6th | 67% (83 of 124) | 28% (66 of 240) |
So the direction matters a lot: a rising 7th was raised in nearly half the cases, a falling one in 1 case in 12. But the rule isn’t a law. Over half the rising 7ths stay natural, often because the tune turns round or the chord underneath is minor. Many of these tunes are older Lutheran hymns that Bach harmonised rather than wrote, and some keep the sound of the old modes. The melodic minor scale is the pattern, not a promise about every note.
The same chorales show which keys Bach used most. Counting all 371: G major 52, A minor 45, G minor 44, A major 32, B minor 28, D minor 26. None needs more than 4 sharps or flats in its key signature.
The seven modes
The modes are the white keys started on each note in turn. Open Music Theory ranks them from brightest, Lydian, to darkest, Locrian. Each takes the steps of the major scale and starts them at a different point:
| Mode | White keys from | Steps | On C |
|---|---|---|---|
| Ionian (major) | C | W W H W W W H | C D E F G A B |
| Dorian | D | W H W W W H W | C D E♭ F G A B♭ |
| Phrygian | E | H W W W H W W | C D♭ E♭ F G A♭ B♭ |
| Lydian | F | W W W H W W H | C D E F♯ G A B |
| Mixolydian | G | W W H W W H W | C D E F G A B♭ |
| Aeolian (natural minor) | A | W H W W H W W | C D E♭ F G A♭ B♭ |
| Locrian | B | H W W H W W W | C D♭ E♭ F G♭ A♭ B♭ |
To find a mode in any key, think of the major scale it comes from. D Dorian is C major from D; E Dorian is D major from E, so it has F♯ and C♯. The tool names the parent major key for every mode.
Pentatonic and blues scales
A pentatonic scale has five notes. The major pentatonic is the major scale without its 4th and 7th: C D E G A on C. Its gaps, 2-2-3-2-3 in half steps per Open Music Theory, leave no half steps, so no two neighbouring notes rub against each other. A minor pentatonic uses the same notes from the 6th: A minor pentatonic is A C D E G.
On guitar, E minor pentatonic is a common first scale, and it starts on the open low E string: there it sits on frets 0, 3, 5, 7, 10, 12. Open On the guitar with E minor pentatonic chosen to see every position up to the 12th fret.
The blues scale adds one note to the minor pentatonic, between the 4th and 5th: A C D D♯ E G on A. Open Music Theory spells it as a raised 4th (D♯ in A); many guitar books write the same note as a lowered 5th (E♭). They sound the same, and the tool shows both.
Chords in a key
Stack every other note of a scale, starting on each note in turn, and you get the key’s chords. In C major:
| Numeral | Chord | Notes |
|---|---|---|
| I | C | C E G |
| ii | Dm | D F A |
| iii | Em | E G B |
| IV | F | F A C |
| V | G | G B D |
| vi | Am | A C E |
| vii° | Bdim | B D F |
The pattern of major, minor and diminished chords is the same in every major key, which is why songs can be moved to another key by number: a I-IV-V song in C (C, F, G) is D, G, A in D. Chords in this key lists them for whatever scale you choose.
Notes and their frequencies
Pianos and most modern instruments use equal temperament: each half step multiplies the frequency by the 12th root of 2, about 1.05946, so 12 of them make an octave, exactly double. The tuning note A above middle C, A4, is 440 Hz, and that puts middle C, C4, at 261.63 Hz, matching the table in Rossing’s The Science of Sound as reproduced by Swarthmore College. A fifth comes out at 1.4983 times the lower note, a shade under the pure 3:2 of “just” tuning. That small difference is what lets one keyboard play in every key.
The tool lists the frequency of every note of your scale under How these notes were worked out. To practise a scale evenly, play it against the online metronome at a slow tempo and speed up a few beats at a time; to write it out, print blank sheet music.
Open Music Theory and Rossing, run here
A scale tool can go wrong in two places: the spelling of the notes and the pitch it plays. So the table runs Open Music Theory’s own examples of step patterns, key signatures and chord numerals, and Rossing’s table of frequencies, through the tool’s code. A mismatch on any row stops the page being published. Last run 20 November 2026.
| Example | Where it’s printed | The source’s answer | This calculator |
|---|---|---|---|
| The major scale’s step pattern | Open Music Theory | W-W-H-W-W-W-H | W-W-H-W-W-W-H |
| The natural minor’s step pattern | Open Music Theory | W-H-W-W-H-W-W | W-H-W-W-H-W-W |
| A major’s key signature: the last sharp | Open Music Theory | G♯ | G♯ |
| F♯ major’s key signature: the last sharp | Open Music Theory | E♯ | E♯ |
| C♭ major: flats in the key signature | Open Music Theory | 7 | 7 |
| The pentatonic collection’s gaps, in half steps | Open Music Theory | 2–2–3–2–3 | 2–2–3–2–3 |
Show the other 4 checks
| Example | Where it’s printed | The source’s answer | This calculator |
|---|---|---|---|
| The chord on the 2nd degree of a major key | Open Music Theory | ii | ii |
| Middle C in scientific pitch notation | Open Music Theory | C4 | C4 |
| Frequency of middle C (C4), in Hz | Rossing, Table 9.2 | 261.63 | 261.63 |
| Frequency of the guitar’s low E (E2), in Hz | Rossing, Table 9.2 | 82.407 | 82.407 |
Questions
What are the 12 notes in music?
C, C♯ or D♭, D, D♯ or E♭, E, F, F♯ or G♭, G, G♯ or A♭, A, A♯ or B♭, and B. They are the 12 keys, white and black, in one octave of a piano; then the pattern repeats. Choose Chromatic in the tool to hear all 12.
How many scales are there?
There are 12 major scales, one starting on each of the 12 notes (15 if you count the keys with two names), and 12 of each kind of minor. Beyond those, any pattern of steps that fills an octave is a scale, so there are hundreds; this tool covers the 12 kinds most players and exams use, in every key.
What is the difference between a major and a minor scale?
The 3rd note. In a minor scale it is a half step lower than in the major scale on the same note: C major has E, C minor has E♭. The natural minor also lowers the 6th and 7th.
What are the 7 modes in order?
Ionian, Dorian, Phrygian, Lydian, Mixolydian, Aeolian and Locrian: the white keys starting on C, D, E, F, G, A and B. Ionian is the major scale and Aeolian the natural minor.
Which scale should a beginner learn first?
On piano, C major: it uses only the white keys, so you can learn the fingering before reading sharps and flats. On guitar, E or A minor pentatonic is a common start: one position covers it without moving your hand along the neck.
Why does my scale have a double sharp?
Because it follows the rule of one letter per note. G♯ harmonic minor raises its 7th, F♯, to F𝄪 (F double sharp), which sounds the same as G but keeps the letter F. It looks odd, but writing G would leave the scale with two Gs.
Can I print the scales?
Yes. Open Print it in all 12 keys, choose US Letter or A4, and download a one-page PDF of the scale you chose in all 12 keys, with note names. Choose In a key signature under On the staff first if you want each key written with its signature, the way exam papers and printed music show it.
Sources
- Open Music Theory (Hamm and Hughes): Major Scales, Scale Degrees, and Key Signatures (CC BY-SA)
- Open Music Theory (Hamm and Hughes): Minor Scales, Scale Degrees, and Key Signatures
- Open Music Theory: Introduction to Diatonic Modes and the Chromatic Scale
- Open Music Theory: Collections (the pentatonic collection)
- Open Music Theory: Blues Melodies and the Blues Scale
- Open Music Theory: Roman Numerals
- Carr Everbach, Swarthmore College: Musical Scales and Frequencies (Rossing’s equal-tempered table)
- music21 (Michael Scott Asato Cuthbert, BSD licence): the Bach chorale corpus used in our study
How sources are chosen and checked: editorial policy · these sources in the library, with the other tools that use them