Key Finder

Find the key of a song file.

Key · ready for a file
--
relative -- · Camelot --
best guess · confidence --
Choose a song or a recording

Analyzed in your browser. Nothing is uploaded.

How the key is found

Choose a song or recording. The finder adds up how much of each of the twelve notes sounds through the whole file, then compares that pattern with the typical note pattern of each major and minor key, using the Krumhansl-Kessler key profiles from music psychology research. The closest match is the best guess, shown with its relative key and its Camelot code.

Treat the result as a starting point. Confidence is high when one key clearly stands out and low when two keys fit almost equally. That often means the relative major and minor, such as C major and A minor, which share the same notes, or a song that changes key. Check the guess by playing the root note along with the chorus.

Songs built on modes such as Dorian, heavy chromatic movement or drums with little harmony are hard for any key finder. Tempo does not change the result.

Keys, relatives and Camelot codes

KeyRelative minorCamelot
C majorA minor8B
G majorE minor9B
D majorB minor10B
A majorF# minor11B
E majorC# minor12B
B majorG# minor1B
F# majorD# minor2B
C# majorA# minor3B
G# majorF minor4B
D# majorC minor5B
A# majorG minor6B
F majorD minor7B

Listed around the circle of fifths. A relative minor uses the same notes as its major, starting three semitones lower.

Worked examples

  • the relative major of A minorgivesC majorsame notes, no sharps or flats
  • E minor on the Camelot wheelgives9Aone step from A minor
  • keys that mix with 8Agives7A, 9A, 8Bone step around, or across
  • A# minor, also writtengivesA# minor (Bb)same notes, different spelling

Questions people ask

What key is this song in?

Choose the song file. The finder names the most likely key, its relative key and its Camelot code, with a confidence. Play the root note over the chorus to check it.

Why does it say C major when I think it is A minor?

They use the same seven notes, so their note patterns are close. Low confidence usually means exactly this case.

Pass mark and last test result for this tool