keyandbpm

How to find the BPM of a song

By Mike Farina ·

To find the BPM of a song, start a stopwatch on a kick or snare, count 32 beats, stop it, and divide 1920 by the seconds (60 × 32 ÷ time): 32 beats in 16 seconds is 120 BPM. Tapping along with a tap tempo tool or dropping the file into a tempo detector is faster, but always check whether the answer should be halved or doubled.

What does BPM mean?

BPM is beats per minute: how many times you'd nod your head in sixty seconds. At 120 BPM there's a beat every half second (500 ms). At 90 BPM the gap is about 667 ms. Nothing more mysterious than that.

The tricky part is deciding which pulse counts as "the beat". A trap record can feel like 70 and be written at 140. A drum and bass tune can be counted at 174 or 87 depending on which you follow, the hats or the snare. Keep that in mind for every method below.

How to find the BPM of a song by counting

The old radio trick is to count beats for 15 seconds and multiply by 4. It works, roughly. The trouble is that being off by one beat moves the answer by 4 BPM, which is useless if you're trying to loop a sample.

Timing a fixed number of beats is much better:

  1. Pick a clear pulse: kick, snare or a steady hi-hat.
  2. Start a stopwatch exactly on a beat and call that beat zero.
  3. Count 32 beats (eight bars of 4/4) and stop the watch on 32.
  4. Work out 60 × 32 ÷ seconds, which is 1920 ÷ seconds.

A few worked examples so you can sanity-check the maths:

32 beats tookBPM
16.0 s120
15.5 s123.9
16.5 s116.4
20.0 s96
24.0 s80

Your thumb on the stopwatch will be a little late at both ends, but the errors mostly cancel and get spread over the whole 32 beats. Counting longer (64 beats) halves the effect of any slip.

How to tap the tempo

Tap tempo is the same idea done by a computer: you hit a key on every beat and it averages the gaps. It's quick and good enough for most jobs, as long as you tap for a decent stretch and know where it goes wrong. I wrote a separate guide on how to tap tempo and when it lies, including how many taps you actually need.

Most DAWs have a tap button next to the tempo field, and so do most DJ apps and metronome apps. Any of them is fine.

How to find the BPM in your DAW

If you're going to use the song in a project anyway, let the grid do the work. Drop the audio in, find a bar that starts cleanly on a downbeat, and trim the clip to exactly four bars by ear. Then change the project tempo until four bars of the grid line up with the clip's length. When a loop of the clip plays back without a hiccup at the join, the project tempo is the song's tempo.

Many DAWs will also guess a tempo on import when you turn on warping or stretching. Treat that guess the same way you'd treat any detector's: probably right, worth checking against the grid.

How to find the BPM of a song with a tempo detector

For a whole track, a tempo detector is the fastest option. Drop the file into the keyandbpm analyser and it gives you the BPM, a confidence figure, and a beat grid drawn under the waveform. The part I actually use most is the play button: you hear the track against the beat marks, so a few seconds of listening tells you if the grid sits on the kicks or drifts off them.

It runs in the browser (a WebAssembly build of the Essentia audio library), the file never leaves your machine, and it works offline once the page has loaded. It also reads key and tuning while it's there. If you have a whole folder to get through, the terminal version analyses folders in one go and can write BPM and key into the file tags.

Why is my BPM half or double what I expected?

This is the most common "wrong" answer, and it's usually not wrong, just counted at a different level. Detectors and tappers both pick a pulse, and many genres have two perfectly reasonable ones. Some rough conventions (not rules) for where people usually count:

StyleUsually counted aroundAlso heard as
Trap130 to 16065 to 80 (half-time feel)
Boom bap85 to 95170 to 190
House120 to 12860 to 64
Drum and bass170 to 17685 to 88

If your answer is in the second column, halve or double it depending on where the style is normally written. The genre guides go further: what BPM is trap, drum and bass BPM, and the full explanation in why is my BPM half or double.

Why does the BPM have decimals?

Records made to a click tend to land on whole numbers. Records made by a band, sampled off vinyl, or played back at a slightly wrong speed usually don't. A detector saying 92.94 isn't being fussy.

Those decimals matter when you loop. If a sample really runs at 92.94 BPM and you set your project to 93, the sample falls behind the grid by roughly 107 ms after 64 bars. That's an obvious flam between your drums and the sample. Keep the decimal, or stretch the sample to your tempo.

What about songs where the tempo drifts?

A live drummer speeds up in the chorus and settles in the verse. Any single BPM figure for that record is a summary of the whole thing. Play it against the beat grid: if the marks line up at the start and slide off by the bridge, you're dealing with a moving tempo, and you'll either chop the parts you need and set each one separately or warp the track by hand in your DAW.

Which method do I use?

For one song I just want to know about, a tap or a detector. For anything I'm about to sample, a detector for the starting number, then the DAW grid to confirm it, because being out by 0.1 BPM is audible after a few bars. The stopwatch method is for when I'm away from a computer and curious.

Questions people ask

What's the easiest way to find the BPM of a song?

Drop the file into a tempo detector or tap along with a tap tempo tool for 16 or more beats. Then play the track against a metronome at that tempo to confirm it doesn't drift.

Is BPM the same as tempo?

Yes, BPM is the usual unit for tempo. Tempo can also be written with Italian terms like andante or allegro, but those are ranges, not exact numbers.

Can a song have more than one BPM?

Yes. Live recordings drift, some songs switch tempo between sections, and any song can be counted at half or double speed. A single figure is the average, or the most likely pulse.

How accurate does the BPM need to be for sampling?

More accurate than you'd think. A difference of 0.06 BPM at around 93 BPM adds up to about 107 ms of drift over 64 bars, so keep the decimals when you loop.

Why does my DJ software show a different BPM than a website?

It's usually a half or double reading, a different edit of the track, or rounding. Check whether one number is twice the other before assuming either is wrong.