Skip to main content
Back
Cover image for the How to Find the Key of a Song: Key Signatures, Tonic, Chords and Your Ear blog article

How to Find the Key of a Song: Key Signatures, Tonic, Chords and Your Ear

Pick up any piece of sheet music and look at the beginning of the first line: a clef, then a cluster of sharps or flats, then a time signature. That cluster is the key signature, and it already contains most of the answer to "what key is this?" But the signature gives you two candidates, not one — and you need a few more clues to choose between them. This guide walks through five practical methods, in the order you would use them, so you can name the key of any song from either the page or your ear.

Step 1: Read the Key Signature

A key signature collects a key's sharps or flats at the start of every staff line so you don't have to write them on every note. The number of sharps or flats tells you which key you are in — but you need a trick to read that quickly.

For sharp keys: find the last sharp in the signature (the rightmost one), then go up one half step. That note names the major key. The sharps always enter in the same order, F C G D A E B, so three sharps always end on G♯; a half step above G♯ is A, so three sharps = A major. Five sharps end on A♯; a half step above A♯ is B, so five sharps = B major.

For flat keys: find the second-to-last flat (counting from the left); that flat names the major key directly. Flats enter in the reverse order, B E A D G C F, so four flats (B♭ E♭ A♭ D♭) have A♭ as the second-to-last flat — the key is A♭ major. Three flats (B♭ E♭ A♭) have E♭ as the second-to-last — the key is E♭ major. The only exception is one flat, which is always F major; memorize that one.

For no sharps or flats: the key is C major (or its relative minor, A minor — more on that in a moment).

Four treble-staff examples: 2 sharps labeled D major / B minor; 3 flats labeled E-flat major / C minor; 4 sharps labeled E major / C-sharp minor; 2 flats labeled B-flat major / G minor

Four key signatures to identify. Each is labeled with its sharp or flat count, the major key, and the relative minor that shares the same signature. The Key Signatures chart prints all fifteen signatures in both clefs.

Two examples of the sharp rule on a treble staff: 3 sharps with whole note A and label "last sharp G-sharp, up a half step = A major"; 5 sharps with whole note B and label "last sharp A-sharp, up a half step = B major"

The sharp rule in action. The last sharp in the signature is always the major tonic's leading tone — a half step below home.

Two examples of the flat rule: 4 flats with whole note A-flat and label "2nd-to-last flat = A-flat major"; 3 flats with whole note E-flat and label "2nd-to-last flat = E-flat major"

The flat rule. With four flats the second-to-last flat is A♭; with three flats it is E♭. Practice Name the Key Signatures until both rules are automatic.

The sharp and flat rules, along with the two to memorize (no accidentals = C major, one flat = F major), cover every key signature. The Key Signatures: Major & Minor reference chart has all fifteen in both clefs. For the sharp order, the sentence "Father Charles Goes Down And Ends Battle" gives you F C G D A E B; for the flats, reverse it: B E A D G C F. These never change — a key with four sharps always has F♯ C♯ G♯ D♯, never any other combination.

Infographic showing sharp keys: last sharp + half step up, with quick-reference table 1 sharp through 7 sharps; and flat keys: 2nd-to-last flat = major key, with quick-reference table 1 flat through 7 flats; bottom note: no sharps or flats = C major

All 15 keys covered by four rules. No sharps or flats is C major; one flat is F major; for the rest, apply the sharp or flat trick.

One Signature, Two Keys

Here is the catch: every key signature belongs to two keys — a major key and its relative minor. G major and E minor both have one sharp. D major and B minor both have two. The relative minor starts on the 6th degree of the major scale, which is three half steps below the major tonic: from G, count down G, F♯, F, E — three half steps, two letter names down, landing on E minor.

That means the signature alone tells you the candidates but not the winner. You need one more step to decide. The Relative or parallel? worksheet drills this pair with audio, so you can hear how the same cluster of sharps or flats sounds completely different depending on which note you treat as home.

Table showing 8 key signatures from 0 sharps/flats through 4 flats, each paired with its major key (in cyan) and relative minor (in slate)

Every signature belongs to a major key and its relative minor. The tonic and cadence (see below) decide which of the two you are in.

Step 2: Find the Tonic (Home Note)

The tonic is the note that feels like rest. When the melody lands on it, the tension releases; when you stop the music before it arrives, something feels unfinished. Three places to look:

  • The first or last note of the melody. Most phrases begin or end on the tonic or on a chord tone of the tonic chord. The final note of a piece is almost always the tonic.
  • The first or last bass note. In songs with an accompaniment, the bass often states the root of the tonic chord at the opening and again at the final cadence.
  • The chord the music rests on. The last chord in a phrase or in the piece is usually the I chord, whose root is the tonic.

The tonic and dominant worksheet illustrates exactly this pull: home and away, with the dominant chord creating the tension that resolves back to the tonic.

Four-bar melody in G major with one sharp: notes D E D B C B then A B C D then F-sharp landing on a final G labeled with a check mark

A melody in G major resolving to its tonic. The leading tone F♯ in bar 4 pulls up a half step into G, confirming G as home. The Scale Degree Names worksheet names this pull: the 7th degree (leading tone) is a half step below the tonic.

Play the melody slowly and let it stop one note early. That feeling of incompleteness is tension; the note that resolves it is the tonic. At the keyboard, try holding the final note while the last chord rings: if the two fit together without any roughness, you have the right note. A tonic over a tonic chord always sounds stable; a tonic over a dominant chord (V) creates a subtle itch to move on.

Step 3: Decide Major or Minor

Once you have a home note, decide whether the key is major or minor. The same home note can head a major key or a minor key — G major and G minor both use G as their tonic, but they have different signatures and very different sounds.

Listen to the final chord. A major tonic chord (I) has a major 3rd above the root and sounds open and bright. A minor tonic chord (i) has a minor 3rd and sounds darker or more tense. The Major & minor worksheet lets you hear the difference back to back with audio.

Look at the accidentals. Minor keys often use a raised 7th degree (the leading tone) that is not in the key signature. In A minor the signature has no sharps or flats, but G♯ appears as an accidental to pull into A. That ♯ or ♮ accidental on the 7th degree is one of the clearest minor clues you can find. The three minors worksheet shows the natural, harmonic and melodic forms with audio so you can hear when this leading tone appears.

Eight-note melody in A minor with no key signature: A C E F E then accidental G-sharp leading into A, with note label G-sharp

A minor, no signature — but G♯ appears as an accidental. This raised leading tone, one half step below A, is the strongest single clue that the key is minor.

Compare the same tonic in major and minor. G major has a bright G triad (G–B–D). G minor has the same root but a flattened 3rd (G–B♭–D), giving it an immediately darker color. Parallel vs. Relative Minor sets these side by side.

Two chords side by side: G major triad G B D labeled I in G major; G minor triad G B-flat D labeled i in G minor

G major (I) and G minor (i) on the same root. The major 3rd (B) versus the minor 3rd (B♭) is the tell. The Relative or parallel? exercise drills the distinction.

The relative minor shares the major key's signature; the parallel minor does not. If a song with one sharp sounds dark and rests on E, the key is E minor (relative minor of G major). If it sounds dark and rests on G with an F♯ accidental, it could still be G major with a minor passage, so check the cadence.

One-sharp signature on treble staff: left half shows melody resting on G (G major); right half shows melody with D-sharp and resting on E (E minor)

One sharp: G major or E minor? Same signature, different home. The resting note and the raised 7th (D♯) identify E minor.

One more practical test: sing or play the scale from the note you think is the tonic. If it sounds like a natural minor scale (whole, half, whole, whole, half, whole, whole), you are in natural minor. If it feels like a major scale, you are in a major key. The Identify the minor scales exercise gives you nine scales to identify in this way.

Infographic with two columns: Major clues (melody rests on a bright note, final chord is a major triad, no unexpected accidentals, overall mood open and stable) and Minor clues (melody rests on a darker note, final chord is a minor triad, raised 7th appears as accidental, overall mood tense and yearning)

Four clues for each. When mood and chord quality agree, you can name the key with confidence.

Step 4: Confirm with Chords and the Cadence

The chords a song uses are strong evidence. Every major key has a set of seven diatonic chords built only from the notes of that scale: three major, three minor and one diminished, always in the same order I–ii–iii–IV–V–vi–vii°. If you can identify most of a song's chords and they all fit in one key's diatonic set without unexplained accidentals, you have your key.

The chords of a key worksheet shows the full set for C, G, F and D major, and Name the chords of the key lets you fill in the Roman numerals yourself.

Seven diatonic triads in D major with 2 sharps: D (I), Em (ii), F-sharp-m (iii), G (IV), A (V), Bm (vi), C-sharp-dim (vii-degree), with chord symbols above and Roman numerals below

The seven chords of D major. If a song uses D, Em, G and A, all four fit here — strong evidence for D major (or B minor). No outside accidentals needed.

The most decisive confirmation is the perfect cadence: V7 resolving to I. The dominant 7th chord (V7) contains a tritone — an interval of augmented 4th — whose two notes pull in opposite directions into the tonic chord. In G major, D7 (V7) has F♯ and C. The F♯ rises a half step into G, while the C falls a half step into B. That double resolution is unmistakable, and it anchors the tonic firmly in the ear. Find the V7→I cadence in a piece and you have the tonic, confirmed. In practice, the cadence usually lands at the end of a phrase or section: a moment of rhythmic arrival, often on a strong beat, where the harmony settles. The V7 chord immediately before that arrival point is the tell. In minor keys the V7 chord (not the diatonic v chord, which is minor) requires the raised leading tone as an accidental — that is exactly the sharp or natural sign you are looking for when searching for a V7→i cadence in a minor key.

The Cadences worksheet shows all four cadence types in C major with audio: perfect (V7→I), plagal (IV→I), half (I→V7) and deceptive (V7→vi). The Identify the cadences exercise gives you eight phrases in various keys to analyze.

Two whole-note chords in G major: D7 (D F-sharp A C) labeled V7, then G major (G B D G) labeled I with an arrow pointing to "G major"

V7 → I in G major. D7's F♯ rises to G and its C falls to B, locking in G as the tonic. The Primary Chords worksheet gives you I, IV and V in every key.

Look for a I–IV–V7–I progression: the most common sequence in tonal music. All four chords use only the notes of the key, and the final V7→I leaves no doubt about the tonic. If you are working from a chord chart without a written melody, list the chord roots, then try to fit them into a single diatonic set. If D, Em, G and A all appear, you are likely in D major (I, ii, IV, V) or B minor (III, iv, VI, VII). The major vs. minor distinction then comes from the quality of the final chord and the cadence.

Four whole-note chords in C major: C-E-G (I), C-F-A (IV), D-F-G-B (V7), C-E-G (I), with chord symbols C F G7 C above and Roman numerals I IV V7 I below

I–IV–V7–I in C major. Every chord belongs to the diatonic set; the final V7→I confirms C as the tonic. This is the most recognizable sequence in tonal music.

Putting It Together: A Worked Example

Here is how the five steps work on a real example. A piece has two flats in the signature, a melody that often returns to B♭ and ends on B♭, and a final B♭ major chord preceded by an F7.

  1. Key signature: 2 flats (B♭ and E♭). Second-to-last flat = B♭ → candidate major key is B♭ major; relative minor is G minor.
  2. Tonic: the melody returns to B♭ and the final note is B♭.
  3. Major or minor: the final chord is B♭ major (a major triad), not G minor.
  4. Cadence: F7 (V7 in B♭) → B♭ (I) is a perfect cadence, confirming B♭ major.
  5. Key: B♭ major.
Two-bar example in B-flat major with 2 flats: bar 1 melody F D E-flat; bar 2 F7 chord (V7) followed by B-flat major chord (I) labeled I = B-flat

Worked example: 2 flats, melody on B♭, F7 → B♭ cadence → B♭ major confirmed.

Step 5: Finding the Key by Ear

When there is no sheet music, you work from sound alone. The goal is the same — find the tonic — but the method is physical rather than visual.

Hum the song until it feels familiar. Then let the melody end and notice where your voice wants to settle. Hold that note. That is usually the tonic. Find it on the piano (the Piano Keyboard worksheet has every note labeled) and play it. If you then play the song and that note consistently feels like the resting point, you have found the tonic.

Next, test the key by playing the major scale from that note (whole, whole, half, whole, whole, whole, half — the Major Scale worksheet shows the recipe). If every note of the song fits that scale, the key is that major key. If some notes sound off, try the natural minor scale from the same note, or drop down three half steps to the relative minor and try the major scale from there. The Circle of Fifths worksheet gives you a visual map of how relative majors and minors relate across all twelve keys.

Five-step numbered infographic: 1 Hum the song; 2 Find the resting point; 3 Locate it on an instrument; 4 Check the key signature; 5 Play the scale and listen

The ear method in five steps. The whole process usually takes under a minute once your ear has rested on the home note.

The tonic is the note your voice naturally stops on when the song ends. Trust that impulse: it is your musical memory locking on to the key.

The Full Method at a Glance

The five steps work together: the key signature narrows the field to two candidates, the tonic eliminates one, the quality of the tonic chord (major or minor) names the key, and the V7→I cadence confirms it. With a little practice you will often know the key after just steps 1 through 3. Steps 4 and 5 become your fallback for ambiguous or modal pieces, or any time the first three steps give a conflicting result. The Circle of Fifths worksheet gives you a visual map of all twelve keys — the same geometry that underlies every key signature and every diatonic chord set.

Five-step decision flowchart: 1 Read the key signature — two candidates; 2 Find the tonic — one note feels like home; 3 Decide major or minor — key named; 4 Confirm with chords and cadence — key confirmed; 5 Trust your ear — ear and score agree

The five-step method. Steps 1–3 usually settle the question; steps 4 and 5 confirm it.

Caveats: When the Key Is Harder to Name

A few situations make the key harder to pin down.

Modulation. A piece that changes key partway through will show a new batch of accidentals — often a raised 7th that belongs to a new key — and may eventually settle on a new tonic at a cadence. The most common destination is the dominant: a piece in C major that modulates most often goes to G major first. The Modulation worksheet shows how to spot the pivot point. When you identify an apparent key, check whether a later section seems to have shifted: a new cluster of accidentals and a new V7→I cadence a fifth away from the opening key is the standard pattern.

Modal music. A piece built on a Dorian or Mixolydian mode uses a scale other than the standard major or natural minor, so the leading-tone clue and the diatonic chord set both shift. Pop and folk songs in Dorian (like a natural minor with a raised 6th) often sound minor but have a major IV chord; that raised 6th (an unexpected major chord on the 4th degree) is the tell.

Borrowed chords and pop vamps. A song that stays on a two-chord pattern (say, Am and G) or borrows a chord from the parallel minor may resist a clean key name. The most useful approach is still to identify the tonic: which of the two chords feels like rest?

No key signature at all. Some contemporary music notates everything with accidentals and uses no key signature, especially if it modulates frequently. Here the tonic and cadence method (steps 2–4) is your only tool, and the Identify the cadences exercise is the best training.

Free Worksheets for This Lesson

Name the Key — Then Play It

Finding the key takes a minute once you know the steps, and that minute pays off every time you sit down with new music: you already know which notes are sharpened or flattened, which chords are most likely to appear, and where the music is heading. If you want a live check on your key-reading and chord recognition, a Tissimo piano teacher can run through the steps with you in a lesson and show you exactly which part of the process trips you up. You can book a lesson whenever you are ready.

Sources

Read this article online: https://tissimo.co/articles/how-to-find-the-key-of-a-song

Was this useful?
Dislike buttonLike button
Thank you for your feedback imageThanks for your feedback

Comments