School and math

Music scales

Pick a key and a scale to see the notes, the step pattern and the key signature on a keyboard, a guitar and the staff, and hear it played.

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♯

  1. 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.

    Example F♯ (black key)
  2. 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.

    Example Major
  3. 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.

    Example F♯ major or G♭ major
  4. 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.

    Example Frets 0 to 12

Watch: why F♯ major has an E♯

Recorded on this page by Jeremiah Say, 20 Nov 2026 · 3:37 · no sound, captions on screen

What the video shows, in words
  1. 0:00 F♯ major’s 7th note: guess first F♯ G♯ A♯ B C♯ D♯ and then? The key below F♯ is a white key: F, E♯ or G♭?
  2. 0:13 The answer: E♯, one letter each A 7-note scale uses each letter once. Call it F and the scale has two Fs and no E, so it’s E♯: 6 sharps.
  3. 0:26 The major scale pattern: W W H W W W H Every major scale has the same steps: whole, whole, half, whole, whole, whole, half.
  4. 0:39 G♭ major: 6 flats The same keys spelled from G♭: 6 flats, with C♭ as the 4th note.
  5. 0:55 Why there’s no D♯ major Spelled by the same rule it needs F𝄪 and C𝄪. Open Music Theory calls a key like that imaginary: music uses E♭ major, 3 flats.
  6. 1:10 Three minor scales: the harmonic minor The harmonic minor raises the 7th: A harmonic minor has G♯, a half step under A.
  7. 1:22 Why raise the 7th: chord V The raised 7th makes chord V major, E major in A minor, the pull back home.
  8. 1:37 The melodic minor, up and down The textbook rule: raise the 6th and 7th going up, lower them coming down.
  9. 1:47 Does Bach follow the rule? 46% vs 8% In 138 minor-key chorales the tune raised a rising 7th 46% of the time and a falling one 8%.
  10. 2:03 Modes: D Dorian Every mode is a major scale started somewhere else: D Dorian is C major from D.
  11. 2:19 E minor pentatonic on the guitar E G A B D over all six strings to the 12th fret; on the low E string, frets 0, 3, 5, 7, 10 and 12.
  12. 2:37 Which scale is this riff in? Tap E G A B D: E minor pentatonic and G major pentatonic fit exactly, the same five notes from a different start.
  13. 2:57 On the staff with a key signature C melodic minor with its 3 flats: the raised notes need natural signs. Or show each sign beside its note.
  14. 3:09 Says who? Open Music Theory Open Music Theory’s step patterns, key signatures and chord numerals, and Rossing’s frequency table, run through the tool.
  15. 3:22 Try yours Any of 13 scales in every key, on a keyboard, guitar and staff, with sound, the chords and a PDF of all 12 keys.

Watch on YouTube (opens in a new tab)

School and math: 26 more videos

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:

ScaleDegreesStepsOn C
Major1 2 3 4 5 6 7W W H W W W HC D E F G A B
Natural minor1 2 ♭3 4 5 ♭6 ♭7W H W W H W WC D E♭ F G A♭ B♭
Harmonic minor1 2 ♭3 4 5 ♭6 7W H W W H W+H HC D E♭ F G A♭ B
Melodic minor1 2 ♭3 4 5 6 7W H W W W W HC D E♭ F G A B
Major pentatonic1 2 3 5 6W W W+H W W+HC D E G A
Minor pentatonic1 ♭3 4 5 ♭7W+H W W W+H WC E♭ F G B♭
Blues1 ♭3 4 ♯4 5 ♭7W+H W H H W+H WC E♭ F F♯ G B♭
Dorian1 2 ♭3 4 5 6 ♭7W H W W W H WC D E♭ F G A B♭
Phrygian1 ♭2 ♭3 4 5 ♭6 ♭7H W W W H W WC D♭ E♭ F G A♭ B♭
Lydian1 2 3 ♯4 5 6 7W W W H W W HC D E F♯ G A B
Mixolydian1 2 3 4 5 6 ♭7W W H W W H WC D E F G A B♭
Locrian1 ♭2 ♭3 4 ♭5 ♭6 ♭7H W W H W W WC D♭ E♭ F G♭ A♭ B♭
W = whole step, H = half step, W+H = a step and a half (three half steps). Spelled by the tool’s rules, checked against Open Music Theory.

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 keyNotesKey signatureRelative minor
C majorC D E F G A BnoneA minor
G majorG A B C D E F♯1 sharp: F♯E minor
D majorD E F♯ G A B C♯2 sharps: F♯ C♯B minor
A majorA B C♯ D E F♯ G♯3 sharps: F♯ C♯ G♯F♯ minor
E majorE F♯ G♯ A B C♯ D♯4 sharps: F♯ C♯ G♯ D♯C♯ minor
B majorB C♯ D♯ E F♯ G♯ A♯5 sharps: F♯ C♯ G♯ D♯ A♯G♯ minor
F♯ majorF♯ G♯ A♯ B C♯ D♯ E♯6 sharps: F♯ C♯ G♯ D♯ A♯ E♯D♯ minor
D♭ majorD♭ E♭ F G♭ A♭ B♭ C5 flats: B♭ E♭ A♭ D♭ G♭B♭ minor
A♭ majorA♭ B♭ C D♭ E♭ F G4 flats: B♭ E♭ A♭ D♭F minor
E♭ majorE♭ F G A♭ B♭ C D3 flats: B♭ E♭ A♭C minor
B♭ majorB♭ C D E♭ F G A2 flats: B♭ E♭G minor
F majorF G A B♭ C D E1 flat: B♭D minor
In order round the circle of fifths. Sharps are added in the order F C G D A E B, flats in the order B E A D G C F.

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 scaleOn AWhat changes
Natural minorA B C D E F GThe key signature’s notes, nothing added
Harmonic minorA B C D E F G♯The 7th raised a half step
Melodic minorA 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 tuneRaised when the line goes upRaised when it comes down
The 7th46% (135 of 292)8% (20 of 245)
The 6th67% (83 of 124)28% (66 of 240)
Our count, run on 20 Nov 2026 with music21 on its own copy of the chorales. Keys found by music21’s key finder; we kept only the minor-key chorales whose last bass note is the key’s tonic (138 of 176).

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:

ModeWhite keys fromStepsOn C
Ionian (major)CW W H W W W HC D E F G A B
DorianDW H W W W H WC D E♭ F G A B♭
PhrygianEH W W W H W WC D♭ E♭ F G A♭ B♭
LydianFW W W H W W HC D E F♯ G A B
MixolydianGW W H W W H WC D E F G A B♭
Aeolian (natural minor)AW H W W H W WC D E♭ F G A♭ B♭
LocrianBH W W H W W WC D♭ E♭ F G♭ A♭ B♭
On C each mode needs different sharps or flats; from its white key it needs none.

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:

NumeralChordNotes
ICC E G
iiDmD F A
iiiEmE G B
IVFF A C
VGG B D
viAmA C E
vii°BdimB D F
Capital Roman numerals are major chords, small ones minor, ° diminished, as Open Music Theory writes them.

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.

ExampleWhere it’s printedThe source’s answerThis calculator
The major scale’s step patternOpen Music TheoryW-W-H-W-W-W-HW-W-H-W-W-W-H
The natural minor’s step patternOpen Music TheoryW-H-W-W-H-W-WW-H-W-W-H-W-W
A major’s key signature: the last sharpOpen Music TheoryG♯G♯
F♯ major’s key signature: the last sharpOpen Music TheoryE♯E♯
C♭ major: flats in the key signatureOpen Music Theory77
The pentatonic collection’s gaps, in half stepsOpen Music Theory2–2–3–2–32–2–3–2–3
Show the other 4 checks
ExampleWhere it’s printedThe source’s answerThis calculator
The chord on the 2nd degree of a major keyOpen Music Theoryiiii
Middle C in scientific pitch notationOpen Music TheoryC4C4
Frequency of middle C (C4), in HzRossing, Table 9.2261.63261.63
Frequency of the guitar’s low E (E2), in HzRossing, Table 9.282.40782.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

How sources are chosen and checked: editorial policy · these sources in the library, with the other tools that use them

Scroll to Top