Detect the BPM of a song from its audio file
The BPM Detector measures the tempo of a song file in beats per minute. Drop in an MP3, WAV, M4A, OGG or FLAC track and it shows the BPM, a confidence score, the half-time and double-time readings and a marker on every beat it found, drawn on the waveform. Turn on the click track and press play to hear the detected beat on top of the music.
DJs use it to label a crate before a set, producers to set the project tempo for a sample or remix, video editors to cut on the beat, and runners and dance teachers to sort playlists by pace. Drop a whole folder at once: each song gets a row in the batch table, and the results download as a CSV file for a spreadsheet or DJ library.
All analysis runs in your browser — the songs are never uploaded.
How to use the BPM Detector
- Drop one or more songs onto the box, or click it to choose files.
- Wait for the progress bar; each song takes a few seconds. Cancel stops a long batch.
- Read the BPM, the exact tempo to one decimal and the confidence. If the number feels twice too fast or slow, choose a Tempo range.
- Zoom the waveform to 10 or 30 seconds to inspect the beat markers, then tick Play a click on every detected beat and press play.
- For a batch, use Show to open any song and Download CSV to save every result.
BPM Detector features
Exact tempo
Beat times are fitted with a straight line, so steady tracks get a tempo accurate to a fraction of a BPM rather than a rounded guess.
Beats on the waveform
Every tracked beat is drawn on the waveform; zoom in to check that the markers sit on the kick and snare.
Click-track preview
A short click is played on each detected beat in time with the song, so you can hear at once whether the tempo and the beat positions are right.
Half and double time
Both alternatives are always shown, other plausible tempos are listed, and a DJ-style tempo range folds the result into the octave your genre uses.
Batch analysis and CSV
Analyse a folder of songs in one go and export BPM, exact tempo, confidence, beat count and first-beat time.
Private and offline-friendly
Decoding and analysis run on your device; nothing is sent to a server.
How the tempo is detected
- Onset envelope. The audio is mixed to mono, resampled to about 11 kHz and cut into 46 ms windows every 5 ms. For each window the tool measures how much louder each frequency band became since the previous window (log-compressed spectral flux). Drum hits and note attacks show up as sharp peaks.
- Periodicity. The autocorrelation of that envelope, summed at one to four beat periods (a comb filter), reveals which spacings between peaks repeat. The strongest candidates between 40 and 240 BPM are kept.
- Half or double? For each candidate the envelope is folded at that period in 8-second windows; a real beat makes the folded peaks line up sharply. A gentle preference for tempos around 120 BPM, where listeners most often place the beat, decides between tempos that fit equally well.
- Beat tracking. Dynamic programming (Ellis, 2007) picks the sequence of beats that best follows the onsets while keeping a steady spacing. A least-squares fit through those beat times gives the exact BPM.
When the result is wrong — and how to fix it
- Half or double tempo is the most common difference from a published BPM: a 170 BPM drum & bass track can also be counted as 85, and a 70 BPM ballad as 140. Choose the tempo range that matches the genre.
- Tempo changes and live drummers: the tool reports the main tempo of the analysed audio; beat markers follow gradual drift, but a song with a big tempo change is best cut into parts with the Audio Cutter.
- Ambient, classical and spoken audio with few clear attacks gives a low confidence. Tap along with the BPM Tapper instead, then practise with the Metronome.
- Songs longer than 15 minutes (DJ mixes) are analysed over their first 15 minutes.
BPM Detector FAQ
How do I find the BPM of a song?
Drop the song file onto the BPM detector. A few seconds later it shows the tempo in beats per minute, the confidence, and the half- and double-time values, with the beats marked on the waveform.
How accurate is the BPM detector?
On music with a steady beat, the exact tempo is usually within a fraction of a BPM, because it is fitted through every detected beat. The most likely error is a factor of two (half or double time), which the tempo range setting fixes.
Why does it say 85 BPM when the song is 170?
Both describe the same pulse — one counts every beat, the other every second beat. Pick the 90–180 or 100–200 BPM range and the result will be reported as 170.
Can I detect the BPM of many songs at once?
Yes. Select or drop several files; they are analysed one after another, shown in a table, and saved together with Download CSV.
Is my music uploaded?
No. The BPM finder decodes and analyses every file inside your browser, so even unreleased tracks stay on your device.
Does it also find the musical key?
This tool measures tempo only. Use the Key Finder for the key and Camelot code — together they cover what you need for harmonic mixing.