Keys & Harmony

Keys & Key Signatures

A key defines the tonal center of a piece of music — the note and scale that feel like "home." When a song is "in the key of G major," the melody and chords are drawn primarily from the G major scale. There are 24 commonly used keys: 12 major and 12 minor.

What "Being in a Key" Means

A key provides a framework for a piece of music. It tells you which notes are "in" (diatonic) and which are "out" (chromatic), which chords are expected and which are surprises. When a song is in C major, the note C feels like home, and the seven notes of the C major scale (C D E F G A B) form the primary palette.

Key Signatures

Each key has a key signature — a set of sharps or flats that define which notes are altered. C major has no sharps or flats. G major has one sharp (F#). Bb major has two flats (Bb, Eb). The pattern follows the circle of fifths: moving up a perfect 5th adds one sharp, moving down adds one flat.

KeySharps/Flats
C major / A minorNone
G major / E minor1 sharp (F#)
D major / B minor2 sharps (F#, C#)
F major / D minor1 flat (Bb)
Bb major / G minor2 flats (Bb, Eb)

Notice that each major key is paired with a relative minor that shares the same key signature. C major and A minor use the same seven notes, just centered on different tonics.

In ChordColor

Keys are available on /key/ pages (e.g., /key/g-major, /key/a-minor). Key pages display all 7 scale notes, 7 diatonic chords, related keys, and common progressions. The enharmonic display automatically selects sharps or flats based on the key's convention.

Try it in ChordColor →

Keep Learning

The Major Scale
The major scale is the foundation of Western music — the familiar "do re mi fa sol la ti do." It uses 7 of the 12 notes, selected by the pattern whole-whole-half-whole-whole-whole-half (W-W-H-W-W-W-H).
Diatonic Chords
Diatonic chords are the 7 chords you can build using only the notes of a scale. In every major key, the pattern is the same: I-ii-iii-IV-V-vi-vii° — three major, three minor, and one diminished. These 7 chords form the harmonic vocabulary of a key.
Roman Numeral Analysis
Roman numerals describe chords by their position in a key, not by their note name. Uppercase means major, lowercase means minor, and the ° symbol means diminished. This system lets musicians discuss harmony in any key.
Chord Symbols & NamingDiatonic Chords
HomeMusic TheoryStudioSongsAboutPrivacyTermsContact