How to Find the Key of a Song: 4 Easy Ways
Share
You want to write a melody over a beat, set up Auto-Tune, add an 808 that doesn't clash, or blend two songs in a DJ set. For all of that you need one thing first: the key. The good news is that you don't need perfect pitch or years of music theory to find it.
Below are four ways to find the key of a song or beat, from just using your ears to a free key finder that does it in seconds. Plus the mix-up that fools almost everyone: major or minor?
What "key" actually means
A key has two parts:
- The tonic (home note). The note that feels like "home", where the music wants to come back to and rest. For example A or F#.
- The scale. Usually major (often sounds bright or happy) or minor (often sounds darker or sadder).
Put them together and you get a key like A minor or C major. There are 12 possible home notes and each one can be major or minor, so 24 common keys in total. Lots of rap and trap beats are in a minor key, but don't assume it. Check it.
1. Find the home note by ear
This takes some practice, but it works on anything you can play, including songs on Spotify or YouTube.
- Play the song and hum one note that feels "settled". Try it at the end of a section or the end of the song. Most songs land on their home note or home chord there.
- Find that note on a keyboard. A MIDI keyboard, the piano roll in your DAW or any free piano app works. Press keys until one matches the note you're humming.
- Check major or minor. Play the major and the minor chord on that note (for A: A, C#, E for A major and A, C, E for A minor) while the song plays. The one that blends in without rubbing is usually your answer.
Tip: listen to the bass or the 808. In a lot of beats the 808 keeps returning to the home note, which makes it easier to hear than the melody.
2. Use a free key finder in your browser
Faster: let software do the listening. Our free Beat Lab BPM & Key Finder estimates the key and tempo of an MP3 or WAV file right in your browser. Your audio isn't uploaded, it's processed on your own device, and you don't need an account.
- Open Beat Lab and choose an MP3 or WAV file (up to 25 MB, between 5 seconds and 5 minutes).
- Read the key estimate, for example C# minor.
- Double check it with the chord test from method 1. Think the result is wrong? You can pick the key yourself.
- Key too high or too low for your voice? Shift the beat in semitones while the tempo stays the same and download a 24-bit WAV.
Got a whole folder of beats, samples or DJ tracks? Use the Batch BPM & Key Finder. You get the key, BPM and Camelot code of every file in one list. The free version handles 3 files at a time. Beat Lab Pro, a one-time purchase, unlocks unlimited files, a CSV export and renamed copies with the key and BPM in the file name.
Keep in mind: a key finder gives an estimate, not a guarantee. More on that below.
3. Work it out from the chords
If you know (or can find) the chords of a song, you can usually figure out the key on paper. Every major key has the same pattern of chords. In C major those are:
- C, Dm, Em, F, G, Am and Bdim
So if a song only uses chords from that list, it's in C major or in A minor (more on that pair in a second). Then ask: which chord feels like home? Which one does the loop start on or resolve to? That chord is your key.
Example: a trap loop goes Am, F, C, G and keeps falling back to Am. Same chord family as C major, but Am is home. So the key is A minor. Want to see more progressions with Roman numerals? Check our dark trap chord progressions.
4. Let Logic Pro analyze it
Recent versions of Logic Pro for Mac can find chords in a region and then suggest a key from those chords. Apple describes both steps in the Logic Pro user guide:
- Open the Global Tracks and make sure the Chord track is visible.
- Drag the audio or MIDI region onto the Chord track, or Control-click the region and choose Chords > Analyze Chords. Apple's guide explains that Logic then adds the chords it finds to the Chord track.
- Select a row of chords on the Chord track, Control-click them and choose Analyze Key Signature. According to Apple, Logic adds the result to the Signature track.
Using FL Studio or another DAW without a built-in key detector? Use method 2 and type the key into your project notes or file name so you don't have to find it again.
Major or minor? The mix-up that fools everyone
C major and A minor use exactly the same notes. Every major key has a "relative minor" that shares all its notes, and the home note of that minor key sits 3 semitones below the major one. That's why key finders, and people, often mix them up: the notes are identical, only the home note is different.
How to decide:
- Listen for the resting chord. Where does the loop land and feel finished? Am points to A minor, C points to C major.
- Check the bass. The 808 or bass line often sits on the home note on the first beat of a section.
- Trust the mood a little. Dark and moody usually means minor, bright and open usually means major. It's not a rule, but it's a good tiebreaker.
DJs see this pair as the same number in the Camelot system: 8A is A minor and 8B is C major. That's why switching between them is one of the safe moves in harmonic mixing with the Camelot wheel.
Why a key finder can get it wrong
- Little melody, lots of drums. A beat with only drums and an 808 gives the detector very little to work with. Analyze a part with chords or a melody.
- 808 slides and pitch effects. Gliding 808s and heavy pitch effects can blur which notes are actually being played.
- Key changes. Some songs move to another key for the hook or the last chorus. One answer can't describe the whole song.
- The relative major or minor. See above. If the tool says C major and the beat sounds dark, check A minor.
- Samples that aren't in standard tuning. An old sample or a slowed down loop can sit between two keys. The result will then always be a best guess.
The fix is always the same: test the result by ear. Play the home chord along with the song. If it blends, you're good.
What to do with the key once you have it
- Set up Auto-Tune or pitch correction. Enter the home note and scale, so it corrects toward the right notes.
- Fit the beat to your voice. Hook too high? Transpose the beat a semitone or two and adjust your Auto-Tune to the new key.
- Write chords and melodies that fit. Pick the key in our free Chord Progression Generator and download chords plus a bass line as MIDI.
- Tune your 808 and samples to the home note so your low end doesn't clash.
- Find the tempo too. Read how to find the BPM of a song, including the 70 or 140 question.
FAQ
Is the key the same as the scale?
Not quite. The scale is the set of notes (like natural minor). The key is the scale plus its home note, like A minor.
Can I find the key of a song on Spotify or YouTube?
By ear, yes: use method 1 while it plays. A file based tool like Beat Lab needs an MP3 or WAV file, so it works on your own beats, samples and downloads, not on a stream.
Can a song have more than one key?
Yes. Some songs change key halfway, often for a final chorus. Analyze each section separately if the result seems off.
Does the tempo change the key?
If you speed up or slow down audio the old school way, pitch moves with the tempo, so the key changes too. Pitch shifting in Beat Lab keeps the tempo the same.
Try it on your next beat
Drop your beat into Beat Lab and you'll have a key and BPM estimate in seconds. Still looking for a beat to write on? Browse the beats by NameOnTheBeat, or check all our free music tools for producers, rappers and DJs.