Why can the result include a double sharp or double flat?
The letter assigned to a degree can need two accidentals to reach its correct pitch. This preserves how the scale degrees are written.
Choose a tonic and scale type. See the note names, including accidentals, and the semitone steps from one degree to the next.
A seven-note scale uses one of each letter before the tonic repeats at the octave. F-sharp major is F#, G#, A#, B, C#, D#, E#, F#. The seventh is E# because the scale already uses the letter F for its tonic.
C major and C Mixolydian start on the same note. Mixolydian lowers the seventh from B to Bb, which changes the last two steps. The calculator lists step sizes in semitones.
Harmonic minor raises the seventh of natural minor. Ascending melodic minor also raises the sixth. The major pentatonic uses degrees 1, 2, 3, 5 and 6, while the minor pentatonic uses 1, flat 3, 4, 5 and flat 7.
The letter assigned to a degree can need two accidentals to reach its correct pitch. This preserves how the scale degrees are written.
The repeated tonic completes the octave and makes the final semitone step visible.
The calculator displays ascending melodic minor. In common classical usage, its descending form uses natural-minor notes.