What is a musical key?

The foundation of everything else

The short answer

A key is a home base. It tells you which note feels like “home” and which set of notes sound right together. When someone says “this song is in the key of G,” they mean: G is the centre of gravity, and the notes and chords come from the G major scale.

If you know the key, you know which notes to play, which chords fit, and where to put your fingers when someone says “just come in with some stuff.”

How a key is built

Pick any of the twelve notes. That note is your root — the tonal centre, the note everything else revolves around.

Now apply the major scale formula (tone, tone, semitone, tone, tone, tone, semitone) starting from that root. You get seven notes. Those seven notes are your key.

Take G as an example. Apply the formula:

GATBTCSDTETF♯T(G)S

Those seven notes — G, A, B, C, D, E, F♯ — are the key of G major. Every melody, every chord, every scale pattern you play in this key will be drawn from those notes.

What a key gives you

Knowing your key unlocks everything else:

  • A set of notes that sound right together — the seven notes of the major scale. Play any of them over a chord in the same key and it won’t sound wrong.
  • Seven chords that belong to the key — build a triad on each of the seven scale degrees and you get the harmonised major scale: three major chords, three minor chords, and one diminished.
  • Chord progressions that work — any combination of those seven chords will sound coherent. Some combinations sound happy, some bittersweet, some dramatic — but none will sound random, because they all share the same set of notes.
  • Scales to solo with — the major scale, the pentatonic, the modes — they all derive from the same seven notes. The key tells you which frets are safe.

The seven chords in a major key

When you build a triad on each degree of the major scale, the pattern of chord qualities is always the same, regardless of which key you’re in:

DegreeNumeralQualityIn G major
1stIMajorG
2ndiiMinorAm
3rdiiiMinorBm
4thIVMajorC
5thVMajorD
6thviMinorEm
7thvii°DiminishedF♯dim

The Roman numerals are how musicians refer to chords without tying them to a specific key. Upper case means major, lower case means minor. When someone says “it’s a I–V–vi–IV,” they mean: play the first chord (major), the fifth (major), the sixth (minor), and the fourth (major) — in whatever key you’re in.

That’s why the key selector at the top of this site matters. Change the key and the same Roman numerals produce different chords — but the relationships between them stay identical.

Why this matters for you

If someone says “we’re in G” and you know what that means, you can:

  • Play the G major scale anywhere on the neck and it’ll sound right
  • Strum any of the seven diatonic chords (G, Am, Bm, C, D, Em, F♯dim) and they’ll fit
  • Hear a chord change and recognise it — “that was a move from the I to the IV”
  • Improvise a solo using the pentatonic scale in the right position
  • Join in with other musicians without needing to know the specific song

That’s the difference between copying songs and understanding music. The key is the frame that makes everything else make sense.

What about minor keys?

Every major key has a relative minor — a minor key that uses exactly the same seven notes but treats a different note as home. G major’s relative minor is E minor. Same notes, different centre of gravity, different feeling.

For now, this site focuses on major keys because they’re the reference point. Once you understand how a major key works, minor keys are a short step away — you already know all the notes.

Now that you know what a key is, explore how it works in practice: