GlobalFree to use

BPM detector: find the tempo of a song

Choose an MP3, WAV or M4A file and get its tempo in beats per minute, with half-time and double-time alternatives, beat length and a confidence rating. The song never leaves your device.

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Input

Tip: press Ctrl + Enter to run

Your result

Your result will appear here.

About this tool

DJs, producers, dancers and runners often need the tempo of a track: to mix two songs, set a delay, choose music for a workout or pick a metronome speed. This detector opens an audio file in your browser, analyses up to two minutes from the middle of the song and estimates the tempo in beats per minute.

Because tempo detection can be ambiguous (a song at 140 BPM can feel like 70) it also shows the half-time and double-time alternatives, the beat length in milliseconds and a confidence rating. Your file is decoded on your device and never uploaded.

How to use it

  1. Choose an MP3, WAV or M4A file.
  2. Press Run and wait a few seconds while it is analysed.
  3. Read the detected BPM and the half-time and double-time alternatives.
  4. Check the confidence; tap along with the metronome’s tap tempo if it is low.

How the calculation works

The audio is decoded with the Web Audio API and reduced to an onset envelope (how quickly loudness rises). Autocorrelation of that envelope between 60 and 200 BPM finds the strongest repeating period; a half-time check resolves common octave errors. Beat length = 60,000 ÷ BPM ms.

onset envelope → autocorrelation from 60 to 200 BPM → half-time check

Worked example

A spin instructor loads a pop track and gets 128 BPM with high confidence, a beat length of 468.75 ms, with 64 BPM (half time) and 256 BPM (double time) listed as alternatives. For a slow ballad with rubato the confidence is low, so she taps the beat on the metronome instead.

Sample input and result

Choose a file and press Run. The converted file downloads straight from your browser.

Limitations

  • Analyses up to two minutes from the middle of the file.
  • Tempo range 60–200 BPM before half/double alternatives.
  • Songs with tempo changes get a single average estimate.

Last updated:

Frequently asked questions

Why does it show half or double my expected tempo?

Many songs can be counted either way. Pick the alternative that matches how you count the beat.

Which files work best?

Music with a steady drum beat: pop, rock, dance, hip-hop. Classical music with tempo changes may not have a single BPM.

Is the song uploaded?

No. It is decoded and analysed in your browser.

Troubleshooting

The file will not open.

Your browser may not decode that format; convert it to MP3 or WAV.

Confidence is low.

Try a section with drums, or use tap tempo.

Large files are slow.

Decoding long files takes memory; trim the file first.

Privacy & Free to use

Are my inputs stored?

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Is this tool free?

Yes. No signup or payment is required.

Processed in your browser

Useful next steps