How-to guide

How to Find the Key of a Song

By the Hitnota team · · 7 min read

The key of a song is the note it keeps coming home to, and whether it sounds major or minor. Knowing it lets you sing the song in a key that suits your voice, play along, or mix it with another track. Here are three ways to find it: in seconds with a free key finder, by ear, or from its chords.

What the key of a song means

A key has two parts. The first is the tonic, the home note: the note the melody and the chords keep returning to, and the one the song feels finished on. The second is the mode, major or minor. Major keys tend to sound bright and settled; minor keys sound darker, sadder or tenser.

A song in G major is built mostly from the seven notes of the G major scale (G, A, B, C, D, E and F♯), and it feels at rest on a G major chord. A song in E minor uses the very same seven notes but feels at rest on E minor. Pairs like these share every note and are called relative keys: each major key has a relative minor three half steps below its tonic (C major and A minor, G major and E minor, D major and B minor).

That is why any method, a computer’s included, can hesitate between a key and its relative: the notes are the same, and only the home note differs.

Way 1: use a free key finder

The quickest way, and the one to start with even if you then check by ear.

  1. Open the key finder and drop an MP3, WAV, M4A or other audio file on it, or choose one from your device.
  2. Read the key. In a few seconds it shows the most likely key, its relative key, the next likely keys, the Camelot code and the tempo.
  3. Check it by ear. Play the key’s chord over the song. If it sounds at home, especially at the end of a chorus, the key is right.

How it works: the finder measures how long and how strongly each of the twelve notes sounds through the whole song, leaving out the overtones that make a note seem to sound its fifth as well. It then compares that profile with how each of the 24 major and minor keys is heard and picks the closest. Everything happens in your browser; the song never leaves your device.

Where a finder can be wrong: songs that change key part-way, songs built on a mode such as Dorian or Mixolydian, and songs with long sections on one droning chord. In those cases look at the next likely keys it shows, and use your ear.

Way 2: find the key by ear

With a little practice this takes a minute, and it trains your ear for singing.

  1. Find the home note. Play the end of a chorus or the very end of the song and hum the note that feels like a full stop, the one you could hold forever without wanting to move. That is almost always the tonic.
  2. Name the note. Hum it into the free pitch detector, which shows the note you sing, or find it on a piano or a keyboard app by playing keys until one matches your hum.
  3. Decide major or minor. Play a major chord and then a minor chord on that note while the song plays. One fits; the other clashes. If you cannot play chords, sing the first three notes of a major scale up from the tonic (do, re, mi) and then of a minor one (do, re, me). The one that matches the song’s melody tells you the mode.

A tip: the bass usually plays the tonic at the end of a section. If the melody is hard to follow, listen to the lowest note when the chorus ends.

Way 3: find the key from the chords or the sheet music

If you have the chords or the score, the key is often written in them.

  • The last chord of a song is the tonic chord most of the time, and the first chord often is too.
  • The chord that appears most, and that the others lead back to, is usually the tonic.
  • The key signature (the sharps or flats at the start of each line of a score) narrows it to two keys, a major and its relative minor. The last chord decides between them.
Key signatures and the two keys each one can mean
Key signatureMajor keyRelative minor
No sharps or flatsC majorA minor
1 sharp (F♯)G majorE minor
2 sharpsD majorB minor
3 sharpsA majorF♯ minor
4 sharpsE majorC♯ minor
1 flat (B♭)F majorD minor
2 flatsB♭ majorG minor
3 flatsE♭ majorC minor
4 flatsA♭ majorF minor

One more clue for minor keys: a minor song often raises the seventh note of its scale, so a song in A minor that keeps using an E major chord (with G♯) is in A minor, not C major.

Major or its relative minor?

This is the most common doubt, for people and for key finders alike. Ask three questions:

  • Where does it end? A song in A minor ends on A minor; one in C major ends on C.
  • How does it feel? Bright and open suggests the major key; sad, dark or tense suggests the minor one.
  • What does the bass land on? At the end of each chorus the bass note is usually the tonic.

For singing it makes no difference: both keys use the same notes, so the song sits in the same place in your voice either way.

Camelot codes for DJs

DJs often write keys as Camelot codes, numbers 1 to 12 with A for minor and B for major, arranged like a clock so that neighbours mix well. Two songs mix smoothly when their codes are the same, one step apart (8A and 9A), or the same number with the other letter (8A and 8B, which are relative keys). The key finder shows the code next to the key.

The Camelot wheel: each key and its code
CodeMinor (A)Major (B)
1A♭ minor (G♯ minor)B major
2E♭ minor (D♯ minor)F♯ major
3B♭ minorD♭ major
4F minorA♭ major
5C minorE♭ major
6G minorB♭ major
7D minorF major
8A minorC major
9E minorG major
10B minorD major
11F♯ minorA major
12C♯ minor (D♭ minor)E major

Sing it in your key

Once you know the key, you can move the song to suit your voice. If the highest notes strain or the lowest ones disappear, the song is in the wrong key for you, not out of your reach. Moving it down or up by a few half steps (transposing) shifts every note by the same amount, so the melody stays the same and only sits higher or lower.

To know how far to move it, first find your range with the free vocal range test; our guide on how to find your vocal range explains what the result means. In the free Hitnota app, choose your range in a song’s key settings and the song moves into your key, with your voice drawn over its melody as you sing.

Questions

Can a song have more than one key?

Yes. Many songs change key, often up a half or a whole step for the last chorus, and some move to another key for the bridge. A key finder gives the key the song spends most time in; its next likely keys often include the other one.

Why does the key finder show the relative major or minor of the key I expected?

A major key and its relative minor use exactly the same notes, so the difference is only which note feels like home. If the song feels dark and ends on the minor chord, take the minor key; otherwise the major one.

Is the key the same as the first note or the first chord?

Not always. Many songs start on another chord, and melodies often begin on the third or the fifth of the key. The last chord and the note the song comes to rest on are far better clues.

What key is best for my voice?

The one in which the song’s highest note sits a little below the top of your comfortable range and its lowest note stays clear. Find your range first, then move the song so that it fits inside it.

Does changing the tempo change the key?

Not if the song is slowed down or sped up properly, as Hitnota and most players do. Only the old way of speeding up a recording, like a record played faster, raises the pitch along with the tempo.

The Hitnota app FREE

You know the key. Now sing it in yours.

The Hitnota app moves any song into your range and shows your voice over its melody as you sing.

  • Sing real songs. Your pitch is drawn over the song’s own melody as you sing, and every note is scored.
  • Know your range. A 20-second test finds your lowest and highest notes and moves any song into your key.
  • Any song becomes practice. On your computer, AI splits a song into voice and backing and detects its notes and lyrics.
  • Warm up, then keep your hits. Guided warm-ups get your voice ready; every take is kept, with video if you like.

More guides

Free online tools

All of them, and the app, are free. See every free tool · Every guide