Tutorials

How to Find the Key and BPM of a Song

Three ways to measure the tempo and key of a track, how to check the result, and what to do with it.

By Yunus S. Published Updated

To find the BPM and key of a song, load it into an analyzer, then check both by ear: play the track with a click on the detected beat, and play the suggested key note against the song. The two classic errors are a tempo that is half or double the real one and a key confused with its relative major or minor.

In Short

The short version:

  • BPM is the number of beats per minute; the key is the set of notes a song is built on.
  • The fastest method is an analyzer that reads both from the file.
  • Tapping the beat gives the tempo of any music you can hear.
  • Check the tempo with a click and the key with a played note.
  • Half or double tempo and relative major or minor are the usual mistakes.

What BPM and Key Tell You

BPM, beats per minute, is the tempo: how many beats pass in one minute. At 60 BPM there is one beat per second, at 120 BPM two. The key is the set of notes a song is built on, named after its home note and its mode, for example A minor or C major. A melody or a bass line from a song in A minor fits other music in A minor, and usually sounds wrong against music in an unrelated key.

You need the two values whenever you combine recordings: to line up the beats of two tracks in a DJ mix, to fit a sample or an a cappella to a project, to set the project tempo before recording to a click, or simply to learn a song on an instrument.

Style Typical tempo (BPM)
Hip-hop 80–100
Pop 100–130
House 118–128
Techno 125–140
Dubstep about 140 (often felt at 70)
Drum and bass 165–180

These are typical ranges that help you judge whether a result is plausible. Individual tracks fall outside them.

DJ console with a display showing the tempo of a track
Software reads the tempo from the drum hits; your ears confirm it.

Three Ways to Find Them

1. Analyze the File

The quickest way is to let software measure both. Open the track in the BPM & Key Analyzer: it shows the tempo, the key with its Camelot code, a second key candidate and a confidence rating for each. The file is analyzed in your browser and is not uploaded.

2. Tap the Tempo

If you do not have the file, or the music has no steady drum beat, tap along. Play the song from any source and tap the space bar on every beat in the BPM Tapper. After 8 to 16 taps the average is usually within 1 BPM. Tapping is also the best second opinion on an automatic result.

3. Find the Key by Ear

Hum the note on which the song feels at rest, usually the last note of the chorus or the note the bass keeps returning to. Find that note on a keyboard, or play tones in the Frequency to Note Converter until one matches. That note is the tonic. If the song sounds bright and settled, the key is most likely major; if it sounds darker, minor. This takes practice, but it is how musicians have always done it.

Hands playing a studio keyboard to find the key of a song
The note on which a song comes to rest is the center of its key.

How to Check the Result

An analysis is an estimate, so check it before you rely on it.

  • Tempo: switch on the click in the analyzer and play the track. If the clicks stay on the beat from the first bar to the last, the tempo is right. If they slowly drift, it is slightly off; if they fall between the beats, tap the tempo instead.
  • Half or double: a result of 87 for a drum and bass track, or 140 for a slow hip-hop beat, is the same pulse counted differently. Compare it with the typical range of the style and take the half or double value shown next to it.
  • Key: play the home note of the suggested key over the song. It should sound like a resting point. If it does not, try the second suggestion.
  • Relative major and minor: C major and A minor use exactly the same notes, as every pair of relative keys does , so software confuses them easily. For harmonic mixing it does not matter, because both have the same Camelot number.
  • Songs without a fixed tempo: live recordings speed up and slow down. Their BPM is an average, and a click will not stay with them for long.

What to Do with the Numbers

To match two tracks, the tempos must be close and the keys compatible. A tempo difference of a few percent is easy to close: to bring a 120 BPM track to 126, speed it up by 5 percent (126 ÷ 120 = 1.05) in the Pitch & Speed Changer, which changes the speed without changing the pitch. To move a track into another key, shift it by semitones in the same tool; each step on the Pitch slider is one semitone.

Which keys go together is shown on the Camelot Wheel: the same code, the neighboring numbers and the other letter on the same number. How to build a whole set from there is the subject of How to Pick Songs Like a Pro DJ. If you publish mixes or mashups, use only music you have the rights to; matching two commercial songs does not make the result yours.

Find the BPM and Key of Your Track

Open a file to see its tempo, key and Camelot code, and check the beat with a click.

Open the BPM & Key Analyzer

Free, no sign-up, and your files never leave your device.

Frequently Asked Questions

How can I find the BPM of a song for free?

Open the file in the BPM & Key Analyzer, or play the song and tap the beat in the BPM Tapper. Both run in the browser and are free.

Why does the analyzer show half or double the BPM?

Because both describe the same music. A track at 174 BPM can also be counted at 87. Compare the result with the usual tempo of the style and use the half or double value if it fits better.

What if the tempo of my song changes?

Songs played by a band without a click drift in tempo, so there is no single correct BPM. Use the average, or measure the section you need by tapping.

How do I find the key of a song without software?

Find the note on which the song feels at rest, usually the last note of the chorus, and match it on an instrument. That is the tonic. Then decide from the mood and the chords whether the key is major or minor.

Why do the analyzer and my ears disagree about the key?

The most common reason is the relative key: C major and A minor, for example, use the same notes, and software often picks the other one of the pair. Songs that change key or use few chords are also hard to detect.

Can I change the key or tempo of a song to match another?

Yes. A pitch and speed changer shifts the key by semitones or changes the tempo by a percentage, each without affecting the other. Small changes sound natural; large ones become audible.