Want to mix two songs, learn a riff, or set your metronome to a recording? This free BPM detector analyses any MP3, WAV, OGG or M4A file in your browser and reports its tempo in beats per minute, the gap between beats in milliseconds, and how confident the reading is. Nothing is uploaded: the file is decoded on your own device.
It works best on songs with a clear drum beat — pop, rock, dance and hip-hop read cleanly. Live recordings and classical pieces with a changing tempo give looser readings, which the confidence score tells you honestly. To check a reading by ear, use the BPM Tap Counter, or set a click to the result with the Metronome.
How to use
- Drop an audio file onto the page or click to browse for one.
- Wait a moment while the file is decoded and the beat is analysed.
- Read the BPM, the beat interval in milliseconds and the confidence score.
- If confidence is low, tap the tempo by ear to confirm before you trust it.
Why use Toolsvine
DJ software and tempo apps either cost money or upload your music to a server. This detector runs a real onset analysis — it finds the energy peaks where drums land and measures the gaps between them — entirely on your device, so your unreleased tracks and private recordings never leave your computer. The confidence score is the honest part: it tells you when a reading is solid and when it is a guess.
How does the BPM detector find a song's tempo?
The tool first decodes your file into raw audio samples, mixes the stereo channels to mono, and slices the sound into 10-millisecond windows. For each window it computes the root-mean-square energy, which produces an energy envelope that spikes whenever a drum or bass note lands. Peaks above 35 percent of the loudest window are treated as onsets, and the gaps between neighbouring onsets are collected. The median gap is the beat interval, and the tempo is 60 divided by that interval in seconds.
The confidence score is the share of gaps that sit within 8 percent of the median. A four-on-the-floor dance track might show 92 percent, because nearly every beat lands exactly on the grid, while a live jazz recording might show 45 percent because the drummer pushes and pulls the time.
Worked example: a 120 BPM dance track
Take a three-minute dance track in Austin that a DJ wants to mix. The detector decodes 180 seconds of audio, finds about 340 onset peaks, and the median gap between them is 0.500 seconds. The tempo is therefore 60 divided by 0.5, which is exactly 120 BPM, and the beat interval is 500 milliseconds. Of the 340 gaps, 312 sit within 8 percent of 0.5 seconds, so the confidence is 92 percent — a high-confidence reading the DJ can trust. At 120 BPM, a 16-bar phrase lasts 32 seconds, which is the unit the DJ uses to plan the mix.
| Median gap | Tempo | Common style |
|---|---|---|
| 0.333 s | 180 BPM | Drum and bass |
| 0.400 s | 150 BPM | Fast EDM |
| 0.500 s | 120 BPM | House, pop |
| 0.600 s | 100 BPM | Hip-hop |
| 0.750 s | 80 BPM | Slow R and B |
Why is my song's BPM wrong or doubled?
The classic error is the half-time or double-time reading: a 140 BPM drum-and-bass track can read as 70 BPM if the detector locks onto the snare instead of the kick, or a 100 BPM hip-hop track can read as 200 if it locks onto the hi-hats. The beat interval is the giveaway — 857 milliseconds means 70 BPM, 429 milliseconds means 140 BPM, and your ear knows which one fits the song. Another cause is a tempo change: songs that speed up or slow down have no single correct BPM, so the tool reports the median. Rubato classical pieces and live recordings almost always read low-confidence for this reason.
If the reading looks wrong, listen to the song and tap the beat with the tap counter. If the two tools disagree by exactly a factor of two, halve or double the detector's number until it matches the tapped tempo. That fix works in nearly every case.
Frequently asked questions
How accurate is this BPM detector?
On studio recordings with a steady drum beat, it usually lands within 1 BPM of the true tempo, and the confidence score will say 80 percent or higher. On live recordings, classical music or songs with tempo changes, the reading is a median of a moving tempo, so treat it as a rough guide. Always tap the tempo by ear before using it to mix or to practise.
Why did my track read 70 BPM when it is really 140?
The detector can lock onto half-time: it finds the snare every second beat instead of the kick on every beat, so the interval doubles and the BPM halves. The same thing happens in reverse with busy hi-hats, which can double the reading. If the result is exactly half or double the tempo you hear, correct it by that factor — the beat interval shown tells you which one it picked.
Which audio formats can I upload?
MP3, WAV, OGG, M4A and FLAC files up to 100 MB work, because the browser can decode them natively. A three-minute song is about 3 to 10 MB, so the limit is generous. Video files such as MP4 are not accepted; extract the audio first or use a short clip. Files are decoded locally and never uploaded.
Can the detector handle songs with tempo changes?
Only roughly. It reports the median beat interval across the whole song, so a track that starts at 100 BPM and ends at 130 BPM will read somewhere in the middle with low confidence. The confidence score is your warning: below 55 percent means the tempo is not steady. For those tracks, tap the tempo at the section you actually need.
Is my music uploaded to a server?
No. The file is read into memory and decoded by your own browser using the Web Audio API. Nothing leaves your device, which is why the tool works offline after the page loads and why unreleased tracks stay private. There is no account, no upload progress, and no copy kept anywhere.
What is a good BPM for running or working out?
Most runners settle near 160 to 180 steps per minute, which matches dance and electronic tracks around 160 to 180 BPM, or 80 to 90 BPM songs counted in half time. For walking, 100 to 120 BPM feels natural. Build a playlist from the detector's readings: group songs by BPM, and your pace will follow the music instead of fighting it.