How a song's key is found from its chords
Every song lives in a key, a home base of notes that its melody and chords keep returning to. Finding that key from a chord list is a detective job: you compare the chords you have with the chord families that belong to each key, and the key whose family matches best is usually the answer. This tool does exactly that. Type or paste the chords of a song, and it scores every major key by how many of your chords belong to that key's diatonic family, then names the best match. It also tells you the runner-up, because real songs sometimes borrow chords from outside their key, and a close second score is a clue worth noticing.
A major key has seven diatonic chords, one built on each note of its scale. In C major, for example, the family is C, D minor, E minor, F, G, A minor, and B diminished. Notice the pattern of major, minor and diminished qualities: it is the same pattern in every major key, just starting on a different root note. That pattern is why a chord set like C, G, A minor and F points so strongly to C major: all four chords belong to its family, while other keys can claim only some of them. The tool scores keys this way, counting exact matches including chord quality, so a major chord does not accidentally count as its minor namesake.
Major, minor and the relative minor trap
Every major key has a relative minor that shares the same notes and the same chord family: A minor shares C major's notes, E minor shares G major's, and so on. That creates a genuine ambiguity. A song using C, G, A minor and F could be in C major or in A minor, and the chord list alone cannot always decide. The deciding clues are musical: which chord feels like home, which chord starts and ends phrases, and where the melody rests. If the song keeps landing on A minor and treats it as home, it is probably in A minor even if the tool names C major as the best major match. The tool reports the major key deliberately, and this article explains the minor reading, so you can use both pieces of information together rather than being misled by one label.
Borrowed chords complicate things further, and good songs use them constantly. A song in C major might borrow E major from a parallel mode, or use a secondary dominant to add tension before a chorus. Those chords will not match the home key's family, and they will lower its score slightly, but they rarely overturn a clear match when most chords do belong. If your chord list scores poorly in every key, check for typos, chord qualities, and whether the song modulates, changes key partway through. Songs with a key change, common in choruses that lift by a semitone or a tone, will score as a compromise across both keys, and the honest answer is to analyse each section separately.
Using the key once you know it
Knowing the key unlocks practical music-making. For guitarists and pianists, it tells you which scale to solo with and which chords are likely to appear next, so accompaniment becomes prediction rather than guesswork. For singers, it tells you whether a song sits comfortably in your range or needs transposing: moving every chord up or down by the same number of semitones shifts the key while preserving the song's shape. For songwriters, it gives a framework for writing a bridge or a new section that still sounds like it belongs. Try the preset progressions in the tool, classic four-chord patterns in different keys, and notice how the same pattern feels different when its home chord changes.
Transposition is a natural next step. If a song in G is too high to sing, move everything down two semitones to F, and every chord shifts by the same amount: G becomes F, D becomes C, E minor becomes D minor, C becomes A sharp. The tool's chord family logic works the same way in every key, which is why transposition preserves a song's character. Practise by taking a song you know, finding its key with the tool, then transposing it to a neighbouring key and playing it again. The exercise trains your ear for key relationships far faster than memorising tables, and it builds the confidence to play along with recordings in any key.
Limitations and good practice
This tool analyses major keys and chord roots with major, minor and diminished qualities. It does not handle extended chords, seventh chords, or slash chords in full detail, though it reads the root and basic quality from common chord symbols. Keep chord lists clean: separate chords with commas or spaces, use standard symbols like Am, F#m, and Bdim, and include the main chords of the verse and chorus rather than every passing chord. If the result surprises you, listen again for the home chord and check the runner-up score. Key finding is a guide to listening, not a replacement for it, and the best musicians use tools like this to confirm what their ears already suspect.
Worked examples: reading real progressions
Consider the progression C, G, Am, F, one of the most common in popular music. All four chords belong to C major, so the tool scores it four out of four for C major, with G major as a distant runner-up. Musically, the song usually feels at home on C, starting or ending phrases there, which confirms the major reading, though a song that dwells on Am could equally be heard in A minor. The same pattern transposed to G, G, D, Em, C, scores four out of four for G major. Recognising that these are the same pattern in different keys is a major step in musicianship: you stop memorising individual songs and start recognising shapes that recur everywhere.
Now consider a trickier set: C, Am, F, G, E. The first four chords fit C major perfectly, but E major does not belong to C major's family, where E is minor. That borrowed chord is common: E major acts as a secondary dominant, pulling strongly toward Am, and songwriters use it to add colour and momentum. The tool will score C major four out of five, still the clear winner, and the borrowed chord becomes an interesting detail rather than a contradiction. If instead the list were C, E, A, D, G, the scores would spread across keys and the honest answer might be that the song moves through several keys or uses a blues-influenced harmony where major chords dominate regardless of key. In that case, analyse short sections separately and listen for where home shifts.
A final example shows why listening beats counting alone. The chords Am, F, C, G contain exactly the same chords as C, G, Am, F in a different order, and the tool scores both identically. Yet a song that starts on Am, returns to Am at every phrase ending, and sings its melody around A will feel minor, while one that anchors on C will feel major. Order, emphasis, and melody decide the feeling; the chord set only narrows the options. Use the tool to narrow, then trust your ear to choose, and you will rarely go wrong.