Scale Generator

This scale generator covers 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

120 BPM

A Major (Ionian)

Interval Formula
W-W-H-W-W-W-H
Scale Degrees
1 2 3 4 5 6 7
Notes & Frequencies (Octave 4)

Piano Keyboard (2 Octaves)

Guitar Fretboard

Staff Notation

Chords in This Scale

Scale Comparison

How to Use the Scale Generator

1

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.

2

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.

3

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.

4

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 and are central to any study of music theory. 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. Scales also define which notes are "in key," making them the starting point for understanding key signatures, constructing chord progressions, and composing or improvising melodies. Use the key signature finder to identify which key contains a given set of notes, or explore how scales relate to each other with the circle of fifths.

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. Once you know which chords belong to a scale, the natural next step is arranging them into progressions — try the chord progression generator to build, hear, and analyze diatonic progressions with Roman numeral notation.

Pentatonic and Blues Scales

The pentatonic scales (major and minor) contain only five notes per octave, omitting the two most tension-prone degrees of the diatonic scale. This makes them extremely forgiving for improvisation — virtually any note choice "works" over the matching chord. The tool displays both pentatonic patterns on a full fretboard diagram and a two-octave piano keyboard, making them easy to visualize whether you are learning guitar scales or piano scales. The blues scale adds a chromatic "blue note" (a flattened fifth) to the minor pentatonic, giving it that characteristic tension-and-release quality central to blues, rock, and jazz vocabulary. Both scale types appear in virtually every popular music tradition worldwide.

Share or embed this tool

Free to use on your own website — WordPress, Wix, or any platform. Paste one line and it works instantly, resizing to fit.


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.

What is the difference between the natural minor, harmonic minor, and melodic minor scales?

All three share the same lowered 3rd and 7th degrees relative to major, but differ in one note. The natural minor (Aeolian mode) has a flat 7th throughout, giving it a pure, unresolved quality. The harmonic minor raises the 7th by a half step, creating a strong leading tone that resolves upward to the tonic — at the cost of an augmented 2nd between the 6th and 7th degrees, which gives it a Middle Eastern or classical character. The melodic minor (ascending form) raises both the 6th and 7th, smoothing the augmented 2nd interval for singability — this tool shows only the ascending version, which is the form used in jazz and classical composition.

How do I find which scale fits a chord progression?

The fastest approach is to identify the key center: look at the chord that feels like "home," then check which scale contains all the other chords as diatonic members. For example, if your progression uses Am, F, C, G, those are vi, IV, I, V in C Major — so C Major (or its relative A Natural Minor) fits. This tool shows the diatonic chord set for any scale, making it easy to match a progression to its parent scale. For the reverse approach — entering chords and finding the key — use the key signature finder.

What is the difference between a relative scale and a parallel scale?

A relative scale shares the same notes but starts on a different root — for example, A Minor and C Major contain identical notes (no sharps or flats) but center on different tonics. A parallel scale shares the same root note but uses a different interval pattern — for example, C Major and C Minor both start on C but have different key signatures and emotional characters. This tool displays both relationships in the Scale Info panel, so you can immediately see which minor key is relative to your chosen major, or what the parallel minor would sound like.