How to find the key of a song on piano, from the chords you play
To find the key of a song on piano, list the chords you play in it and write out their notes. Each major key has its own set of seven notes, so rule out every key that is missing one of yours. A few chords usually leave one key, or two. Then check which chord feels like home, often the one the song ends on: that tells you whether it is the major key or the minor key that shares its notes.
Or let Improvano's Find my key page do the ruling out: switch on the notes of each chord on its keybed, and it shows which keys are left.
When I started, I learned three or four pieces by repetition, and I could play them, but I could not have told you what key they were in. The shapes were in my hands; the names were not. If that is where you are too, the good news is that the shapes are enough. You don't need to read music to work out a key. You need the notes you are already playing, and a little patience to rule things out.
What does "the key of a song" mean?
The key is the set of notes a song is built from, plus the note it treats as home. A major key has seven notes. C major is all the white keys; G major is the same apart from F, which becomes F#; F major swaps B for Bb. No two major keys have the same seven, which is why your notes can point to one.
Step 1: list the chords you can play
Play through the song and write down each chord, or just the notes your hands land on if you don't know the chord names yet. Four or five different chords is plenty. Include any black key you play, since those rule out keys fastest.
Step 2: rule out keys that can't hold your notes
Take every note from your chords and check them against each key. A key survives only if it contains all of them. Say the song uses C, G, D and Em:
| Chord | Notes |
|---|---|
| C | C, E, G |
| G | G, B, D |
| D | D, F#, A |
| Em | E, G, B |
Together that is C, D, E, F#, G, A and B. The F# rules out C major. The C natural rules out D major and every key with more sharps. The F# and the B natural rule out F major, and the D, E and G naturals rule out the other flat keys. The only major key left is G major.
Sometimes one chord won't fit any key that the rest fit. A song can borrow a single chord from outside its key without changing key, so if one chord is the only thing ruling out an obvious answer, try the check without it.
Step 3: is it major or minor?
Every major key shares its seven notes with a minor key, called its relative minor. It starts on the 6th note of the major scale: G major's is E minor, C major's is A minor. The notes alone can't tell them apart, so listen for home. Which chord does the song keep coming back to, and which does it end on? If that is G, the song is in G major. If it is Em, it is in E minor.
Can you find the key from the melody alone?
Yes, the same way. Pick out the melody's notes on the keyboard, list every different one, and rule out keys that are missing any of them. A melody often uses fewer notes than the chords do, so it may leave two or three keys standing. The note it ends on is a strong hint for which one is home.
What to do once you know the key
Once you know the key, you know its seven chords and their numbers, and the chords in your song stop being a list of shapes. In the C, G, D and Em example, in G major those are the 4, 1, 5 and 6 chords. The key pages list every major key's seven chords with their notes, so you can look up the rest of the key you just found.
Let the keybed do the ruling out
Improvano's Find my key page does this check for you. Switch on the notes of a chord you can play on its keybed, add it, and repeat: each chord rules out the keys that can't hold it, and every key shows which of your notes it can't hold. It's free, no sign-up.
Open Find my key