b2KIT

BPM Detector

Detect the tempo (beats per minute) of audio files and music tracks.

Tested tool guide Tested browser tools Checked August 16, 2026

What BPM Detector does, with a checked example

A BPM Detector reports the tempo of an audio file in beats per minute. You give it a track, the browser decodes it, and the tool looks for the interval at which the music's energy recurs: measure the gap between beats, then convert with 60 / seconds-per-beat. The surprise: a song has no single correct tempo. A groove you count at 90 BPM reads just as well as 180 if you count twice as fast, and the tool has to pick one interpretation. Expect a confident number that disagrees with the tempo on a streaming page, in DJ software, or in your own head.

Worked example

A concrete input and expected output from the current implementation.

Input

A 16-second click track: one short click every 0.5 seconds (2 clicks per second), nothing else.

Expected output

120 BPM

The click-to-click interval is 0.5 seconds, and 60 / 0.5 = 120, so the estimate is 120 beats per minute. A click train is the cleanest possible input for tempo estimation: every energy peak recurs at exactly that interval, with no competing pattern strong enough to shift the result.

How the result is produced

1

How the tempo is found

The audio is decoded into a stream of samples and reduced to an energy profile over time; beats show up as recurring peaks. The tool measures the dominant interval between peaks and converts it using BPM = 60 / seconds-per-beat, so a peak every 0.5 seconds reports 120. Which interval counts as dominant is the judgment call: bass emphasis and how strictly the beat recurs both pull the answer.

2

What happens to the file

Everything happens in the browser tab: the file is read, decoded, and analyzed in memory, and nothing is uploaded. That also means support for a given file is whatever the browser's built-in decoders provide - WAV and MP3 decode in the major browsers, while M4A, FLAC, and Ogg depend on the browser. A file that will not open here is not necessarily corrupt.

Good uses

  • Correcting a wrong tempo tag: an MP3 or a streaming page often lists a BPM that a quick check shows is off by a factor of two, and this tool gives you a number to verify against.
  • Mixing and DJ prep: take an unknown track from a demo pile and learn its tempo so you can pair it with records at a compatible speed before building a transition.
  • Pacing a workout playlist: measure each candidate song's BPM and keep the ones inside your target range, such as 150-170 for fast running, instead of guessing by ear.

Limits and checks

  • Half-time and double-time: 90, 180, and 45 BPM are the same music counted at different rates. The tool returns one number, but a result that is twice or half what you expect is usually the same song, not a detection error.
  • No beat, no meaning: speech, ambient drones, rubato classical music, and live recordings with tempo drift still produce a periodicity the tool can report. A confident-looking number does not prove a steady beat exists.
  • A single value, not a timeline: tracks that speed up or slow down get collapsed into one dominant number. If you need the tempo curve, this tool is the wrong one - it answers roughly how fast, once.

Common questions

Why does it report 130 BPM when the song is listed at 65?

Both numbers describe the same music: 65 counts the beat at half the rate, 130 at double. The tool reports the periodicity its analysis finds strongest, which is a judgment call rather than a fact about the recording, and how you personally count the beat is a third opinion. Cross-check with a tap-tempo tool and keep the count you can dance to.

Is my audio uploaded somewhere?

No. The file is decoded and analyzed inside the browser tab and is not transmitted, which also means the tool works without a network connection. The practical catch is decoding: WAV and MP3 open in the major browsers, while M4A, FLAC, and Ogg depend on the browser, so a file that will not analyze here may still play fine elsewhere.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools