How to find the key of a song

The key is the tonal home of a recording: a root note plus major or minor. You can find it by listening, by checking chords, or by analyzing a file you already have. Song titles and artist names do not establish the key.

What “the key of a song” actually names

A key has two parts. The root is the note that phrases want to settle on. The mode is whether that home feels major or minor. C major and A minor use the same scale notes, so a matching note list is not enough. You still have to hear which chord or bass note feels like rest.

The first note, the last note, and the loudest note are clues, not answers. A vocal pickup can start away from the tonic. A fade-out can hang on a non-tonic chord. Listen for where the harmony lands after a phrase, especially under the bass.

This is not the same job as finding the BPM of a song. Tempo is a pulse. Key is pitched. A drum loop can have a clear BPM and no musical key at all.

Find the home note by ear

  1. Play a stable passage. Skip long intros of noise or talking. Choose a verse, chorus, or loop where bass and chords stay in one place for several bars.

  2. Hum the note that feels settled. At the end of a phrase, hold the pitch that sounds finished. Compare that pitch with a keyboard, guitar, or tuner. Repeat on two or three phrases so one lucky note does not decide the answer.

  3. Check the bass. If the lowest note under those landings is the same pitch you hummed, you likely have the root. If the bass keeps moving, wait for the chord that does not need to go anywhere else.

If two notes both feel possible, write both down and keep listening. Do not force a single label onto music that is still moving.

Hear a home note, then a note that wants to move

C as home: a single C, then C–E–G. The chord can rest there. That C is the answer for this example.

B is not home in C major: a single B, then G–B–D. B wants to rise to C. Do not treat the first or loudest pitch as the key.

Short synthesized teaching examples, generated on your device. They demonstrate listening, not detector accuracy. Start with low volume.

Ready to listen.

Tell major from minor with the harmony

Once you have a candidate root, listen to the chord built on it. A major tonic usually sounds open; a minor tonic usually sounds darker. Then check the relative pair: C major’s relative minor is A minor. Both can appear in the same song. The key is the one that phrases resolve to, not the first chord you happen to catch.

If you have the project file, compare the recorded chords with the candidate. One matching melody note is weak evidence. A tonic chord, a bass that returns to the same pitch, and a melody that cadences there is stronger.

Hear where two chord progressions settle

C → F → G7 → C: C–E–G, F–A–C, G–B–D–F, then C–E–G. Listen for B rising to C and F falling to E in the G7-to-C resolution. The ending supports C major.

Am → Dm → E7 → Am: A–C–E, D–F–A, E–G♯–B–D, then A–C–E. The raised G♯ pulls toward A; it is common in A minor harmony, even though it is not in the natural minor scale.

Short synthesized teaching examples, generated on your device. They demonstrate harmony, not detector accuracy on real songs. Start with low volume.

Ready to listen.

By contrast, Am → F → C → G uses chords shared by A minor and C major. That loop alone does not settle the question: compare phrase endings, melody and bass across the song. Relative keys share a note collection, but their tonal homes differ. A sad sound or a chord count is not a reliable major/minor test. Enter the chords in the key finder from chords to see both keys listed.

Check the candidate on a guitar

  1. Find the bass landing on one string and name it with a tuner. Use several phrase endings, not just the opening note.

  2. For a C candidate, try C major (C–E–G); for an A candidate, compare A minor (A–C–E) with A major (A–C♯–E). Listen to the third, C versus C♯, against the recording.

  3. Check another verse or chorus. A capo changes the sounding key: an open C shape with a capo at fret 2 sounds D major. Name the sounding notes, not only the shape. If neither chord settles, keep the answer uncertain.

DJ libraries often store the same choice as a Camelot code. A minor is 8A and C major is 8B. That code is another name for the selected key, not a second analysis. See Camelot wheel explained for the full map and how neighboring codes are used in mixes.

Estimate the key from a local audio file

If you have an MP3 or WAV on your device, the key and BPM finder can suggest a candidate from the pitched content. Audio is decoded in your browser; the file is not uploaded. This is an audio key finder, not a lookup by song title.

  1. Choose a file with audible pitch. Melody, bass, or chords need to be present. A kick-and-snare loop cannot establish major or minor. Use at least four seconds; files over 90 seconds are sampled from the beginning, middle, and end.

  2. Treat the result as a candidate. Play the file and compare the suggested root with the home note you hear. If the page shows Unclear, that is a usable answer: there was not enough pitched evidence.

  3. Correct only when the music supports it. You can change the key or leave it unclear, then copy the checked values into a project. The practice guide walks through a 120 BPM, A minor clip so you can see the full check-and-copy path.

Internal match scores are not a probability that the key is right. Unusual tunings, heavy distortion, stacked vocals, and sections in different keys can still mislead a detector. Listen before you commit the label to a long arrangement.

Open the audio analyzer

When one key does not describe the song

Some recordings modulate. A bridge can sit a fifth away; a last chorus can lift. One label then describes a section, not the whole file. Export the passage you care about and analyze that clip, or keep notes per section.

Live recordings with wandering pitch, spoken word, and atonal beds may never have a fair major or minor answer. In those cases, copy tempo on its own and leave the key unclear.