Scale Generator
Generate any musical scale in any key — from common major and minor scales to exotic modes and jazz scales. View notes on an interactive piano keyboard and guitar fretboard, see staff notation, hear the scale played back, and explore diatonic chords. Compare two scales side by side to discover shared and unique tones. All 30+ scales computed instantly in your browser.
Scale Generator Tool
A Major (Ionian)
Piano Keyboard (2 Octaves)
Guitar Fretboard
Staff Notation
Chords in This Scale
Scale Comparison
How to Use the Scale Generator
Choose Root & Scale
Select a root note (C through B) and pick from 30+ scale types organized by category — modes, pentatonic, blues, jazz, exotic, and more.
Explore Visuals
See the scale notes highlighted on a 2-octave piano keyboard, a 15-fret guitar fretboard, and treble clef staff notation. Root notes are shown in a distinct color.
Listen & Learn
Press Play to hear the scale ascending and descending. View the interval formula, scale degrees, note frequencies, and diatonic chords built on each degree.
Compare & Export
Enable comparison mode to overlay a second scale and see shared notes. Copy scale data to your clipboard or export as a text file for reference.
Understanding Musical Scales
What Is a Musical Scale?
A musical scale is a set of notes ordered by pitch. Scales form the foundation of melody and harmony in virtually all music traditions. Each scale has a unique pattern of intervals (the distances between notes) that gives it a distinctive sound and mood — major scales sound bright and happy, minor scales sound dark and melancholic, and exotic scales evoke specific cultural flavors.
Intervals and Formulas
Scales are defined by their interval pattern. In Western music, the smallest interval is a half step (H) — the distance between two adjacent piano keys. A whole step (W) equals two half steps. The major scale formula is W-W-H-W-W-W-H. This tool shows both the step formula and the numeric degree notation (1, b2, 2, b3, etc.) relative to the major scale.
Modes of the Major Scale
The seven modes (Ionian, Dorian, Phrygian, Lydian, Mixolydian, Aeolian, Locrian) are all rotations of the same seven notes starting on different scale degrees. Each mode has a distinct emotional character: Dorian is jazzy and bittersweet, Lydian is dreamy and bright, Mixolydian is bluesy and dominant, and Locrian is tense and unstable.
Diatonic Chords
For seven-note scales, you can build a triad on each scale degree by stacking every other note. This produces the diatonic chords — the chords that naturally belong to the key. In a major key, the pattern is: I (major), ii (minor), iii (minor), IV (major), V (major), vi (minor), vii° (diminished). Understanding diatonic chords is essential for songwriting and improvisation.
Frequently Asked Questions
How many scales does this tool include?
The Scale Generator includes over 30 scales organized into categories: all seven modes of the major scale, harmonic and melodic minor, pentatonic and blues scales, symmetric scales (whole tone, diminished, augmented, chromatic), jazz scales (bebop, altered), and world/exotic scales (Hungarian Minor, Double Harmonic, Phrygian Dominant, Japanese, Egyptian, Hirajoshi, and more).
What tuning does the tool use?
All frequencies are calculated using 12-tone equal temperament (12-TET) with A4 = 440 Hz as the reference pitch. This is the standard tuning system used in virtually all modern Western music, pianos, and guitars.
How does the guitar fretboard display work?
The fretboard shows 6 strings in standard tuning (E-A-D-G-B-E) across 15 frets. Scale notes appear as circles on the correct string and fret positions. Root notes are highlighted in a distinct accent color. You can toggle between showing note names and scale degree numbers.
What are diatonic chords and why are they shown?
Diatonic chords are the triads built on each degree of a seven-note scale using only notes from that scale. For example, in C Major: C (I), Dm (ii), Em (iii), F (IV), G (V), Am (vi), Bdim (vii°). They show you which chords naturally fit in your chosen key — essential for songwriting, arranging, and understanding chord progressions.
How does scale comparison work?
Enable comparison mode, then select a second root note and scale type. Both scales are overlaid on the piano keyboard and fretboard using different colors: green for the primary scale, cyan for the comparison scale, and a blended color for shared notes. This helps you visualize similarities and differences between scales.
Is any data uploaded or recorded?
No. All scale computation, visualization, and audio playback happens 100% locally in your browser using JavaScript and the Web Audio API. Nothing is sent to any server. The tool works completely offline once loaded.
Related Tools
Chord Progression Generator
Build chord progressions in any key with playback, Roman numeral analysis, and voice leading.
Try it →Key Signature Finder
Enter notes or chords and instantly identify the matching key signatures and scales.
Try it →Circle of Fifths
Interactive circle of fifths showing key relationships, relative minors, and enharmonic equivalents.
Try it →