BPM Finder — find the tempo of any song
Tap along or drop a song into the BPM finder below to get its tempo in seconds; the file is decoded in your browser and never leaves your device.
BPM Finder
- Tap along or choose a song.
- Check it with Play with click.
- Use the BPM in the delay table.
Tap tempo
Tap on every beat — or press Space
- BPM
- —
- ± precision
- —
- Taps
- 0
Analyze a song
or drop an MP3, WAV, M4A, OGG or FLAC file here
Your file stays on this device — it is decoded in your browser and never uploaded.
Decoding…
Choose a song to see its BPM, or tap along on the big button.
Detected BPM
BPM
Tempo over time
Delay & note lengths
| Note | Straight | Dotted | Triplet | Hz | Samples @44.1k | Samples @48k |
|---|
Lengths in milliseconds (ms); Hz and samples are for the straight note.
ms → BPM
Pitch to match
Pitch change
- How to find the BPM of a song
- Tap tempo: how many taps you need
- What the BPM finder does with your file
- Half-time, double-time and the tempo range
- Check it by ear: Play with click and Tempo over time
- BPM to milliseconds: delay and note lengths
- Matching two tracks: pitch percent
- Where the numbers come from: formulas and test clicks
- Guides
- Things people ask
How to find the BPM of a song
I use three ways, depending on where I am.
- Tap along. Hit TAP (or press Space or T) on every beat while the track plays anywhere. Fastest, and good to a BPM or two after a dozen beats.
- Analyze a song. Press Choose audio file or drop an MP3, WAV, M4A, OGG or FLAC file onto the panel. You get the BPM to one decimal with a confidence level, and the file is never uploaded.
- Count with a clock. Count beats for 15 seconds and multiply by 4. Thirty-two beats in 15 s gives 32 × 4 = 128 BPM. Miss one beat and you are 4 BPM out — a sanity check, not a measurement.
If your sheet music says Andante instead of a number, the tempo markings guide translates it into BPM.
Tap tempo: how many taps you need
Two taps give a number, not a tempo: every tap adds a few milliseconds of error. A useful rule of thumb from AnotherProducer's BPM calculator: fewer than 4 taps is unreliable, and 8–12 taps land you within about ±2–3 BPM. Keep going until the readout says Steady — that needs at least 8 taps with the ± precision at 1 BPM or better.
Many tap pages divide the time from the first tap to the last by the number of gaps. One late tap at the end then pulls the whole result. This BPM finder fits a straight line through all your taps (least squares, last 32 taps) and reads the tempo from its slope.
Worked example: taps at 0, 500, 1000, 1500, 2000 and 2560 ms — five clean beats at 120 BPM, then one tap 60 ms late. First-to-last says 2560 / 5 = 512 ms per beat, so 60000 / 512 = 117.2 BPM. The fitted line has a slope of 508.57 ms per beat, so 60000 / 508.57 = 118.0 BPM, with ± 1.15 telling you the taps were not clean.
Tap the pulse you would clap or nod to — usually kick and snare — not the hi-hats. Tapping eighth-note hats doubles the reading. A 3-second pause starts a fresh count. To check the number, press Metronome: it clicks at the tapped tempo and follows every new tap.
What the BPM finder does with your file
Your browser decodes the file with the Web Audio API (decodeAudioData on MDN) and resamples it to 22 050 Hz mono; nothing goes over the network. Then:
- Onset strength. The audio is cut into 1024-sample frames every 512 samples (one frame per 23.2 ms). Each frame scores how much louder the spectrum got since the last one, so drum hits become peaks. The spectrum is split into six bands, from bass to cymbals, and each band counts equally, so a busy hi-hat cannot outvote the kick and snare.
- Periodicity. Autocorrelation compares the peak curve with shifted copies of itself for beat lengths from about 30 to 300 BPM; the strongest repeats become candidates, and the one whose beat grid lands best on the hits wins (so five sixteenths of a busy hi-hat are not mistaken for a beat).
- A preference for 120. The same peaks fit 70 and 140, so, like the open-source librosa estimator (its tempo code), each candidate is weighted by a bell curve centred at 120 BPM, one octave wide.
- Fine tuning. A comb of beats slides ±2 BPM around the estimate in 0.01 steps; the best fit gives the BPM and the first beat.
Confidence: High means the beat peak stands well above everything else; Low usually means a beatless intro, a rubato ballad or a busy mix. Files over 10 minutes are analysed for their first 10 minutes, the limit is 200 MB, and a clip shorter than 5 seconds is turned away — too few beats to measure.
No file to hand? Press No song at hand? Try a demo beat: it loads a 30-second drum loop generated in the page, which reads 124.0 BPM with Tempo over time showing Steady. It is a quick way to try Play with click and the delay table before you pick a song.
Half-time, double-time and the tempo range
A drum & bass roller at 174 BPM is also a perfectly good 87 BPM groove — the kick and snare fit both. The 120-centred weighting gives 87 a score of 0.898 and 174 a score of 0.866, so a detector is close to a coin toss there. That is why the Half-time and Double-time chips sit next to every result, and why Tempo range exists: the same file reads 174.0 on Auto and 87.0 on 60–120. The half-time vs double-time guide shows how to decide by ear, and BPM by genre lists where each style normally sits.
Check it by ear: Play with click and Tempo over time
Play with click runs your song in the page with a metronome on the detected beat grid, accent on every fourth beat. If the click slowly walks off the kick, nudge it with −0.1 / +0.1 (or −1 / +1) until it sits; the result changes to your adjusted BPM.
Live records drift. Tempo over time measures the tempo every 6 s over 12-second windows on files of 24 s or longer. On a test click that speeds up from 120 to 126 BPM over 36 s, the overall reading is 123.1 BPM, but the strip shows 121.2, 122.3, 123.0, 123.6 and 124.5 and labels it "Tempo changes: 121.2–124.5 BPM". If the spread is 2 BPM or less you see Steady.
BPM to milliseconds: delay and note lengths
One beat is a quarter note, and its length is 60000 / BPM milliseconds. Halve it for eighths, quarter it for sixteenths; a dotted note is ×1.5 and a triplet is ×2/3. The Delay & note lengths table does this for whatever BPM you found:
| Note | 120 straight | 120 dotted | 120 triplet | 128 straight | 128 dotted | 128 triplet |
|---|---|---|---|---|---|---|
| 1/1 | 2000.00 | 3000.00 | 1333.33 | 1875.00 | 2812.50 | 1250.00 |
| 1/2 | 1000.00 | 1500.00 | 666.67 | 937.50 | 1406.25 | 625.00 |
| 1/4 | 500.00 | 750.00 | 333.33 | 468.75 | 703.13 | 312.50 |
| 1/8 | 250.00 | 375.00 | 166.67 | 234.38 | 351.56 | 156.25 |
| 1/16 | 125.00 | 187.50 | 83.33 | 117.19 | 175.78 | 78.13 |
| 1/32 | 62.50 | 93.75 | 41.67 | 58.59 | 87.89 | 39.06 |
The classic dub delay at 128 BPM is a dotted 1/8: 468.75 × 0.75 = 351.56 ms. Do not round it to 350 — 1.56 ms per repeat is 25 ms after 16 repeats, and the tail flams against the groove. A triplet 1/8 at 140 BPM is 428.57 / 3 = 142.86 ms. The tool also gives Hz for LFOs (1/4 at 120 BPM = 2.000 Hz) and samples: one beat at 120 BPM is 500 × 48 = 24000 samples at 48 kHz.
ms → BPM works backwards: a delay pedal set to 375 ms on dotted 1/8 is 60000 × 0.75 / 375 = 120.00 BPM.
Matching two tracks: pitch percent
Pitch to match tells you how far to move the pitch fader: (target / current − 1) × 100. Taking a 124 BPM track to 128 is (128 / 124 − 1) × 100 = +3.23 %. Without key lock that also lifts the key by about half a semitone. The tool also tries the half and double of the target: going from an 87 BPM track to a 172 BPM one is better done via double-time — 174 → 172 is −1.15 %, not +97.7 %.
Where the numbers come from: formulas and test clicks
Note lengths are definitions (quarter note = one beat = 60000 / BPM ms). Tap tempo is a least-squares slope, and ± is the standard error of that slope converted to BPM. File analysis follows librosa's onset-autocorrelation method (22 050 Hz, 512-sample hop, prior at 120 BPM) plus the comb search for the decimal.
The tool is tested on synthetic click tracks generated in the page and on fixed tap sequences — not on commercial songs, where edits and drift make one "correct" BPM a matter of opinion:
| Case | Input | Expected result |
|---|---|---|
| C1 | Click track 120 BPM, 20 s, first beat at 0.25 s, Auto | 120.0 BPM, Confidence: High (0.88), first beat 0.244 s |
| C4 | Click track 174 BPM, 20 s, Auto | 174.0 BPM |
| C5 | Same file, Tempo range 60–120 | 87.0 BPM |
| C8 | Click track 140 BPM after 5 s of silence | 140.0 BPM, first beat 0.279 s |
| T2 | Taps at 0, 510, 995, 1505, 2000, 2490, 3010, 3500 ms | 120.1 BPM, ± 0.28, Steady |
| T5 | Taps at 0, 500, 1000, 1500, 2000, 2560 ms | 118.0 BPM, ± 1.15 (first-to-last: 117.2) |
| D2 | Delay & note lengths at 128 BPM | 1/4 468.75 ms, dotted 1/8 351.56 ms, 22500 samples @48k |
| P1 | Pitch to match 124 → 128 | +3.23 % |
| P2 | Pitch to match 87 → 172 | −1.15 % via double-time (174 → 172) |
| C9 | Click track speeding up 120 → 126 BPM over 36 s | 123.1 BPM; Tempo over time 121.2–124.5 |
| Demo | No song at hand? Try a demo beat | 124.0 BPM, Tempo over time: Steady |
Limits: bar lengths assume 4/4, and there is no key or time-signature detection. For rubato classical or free jazz, tap along instead.
Things people ask
How do I find the BPM of a song without uploading it?
Choose or drop the file on this page. It is decoded by your browser's Web Audio API on your own device, and the analysis never sends the audio anywhere.
Why does the BPM finder show half or double the tempo?
The beat pattern fits both levels, for example 87 and 174. Use the Half-time or Double-time chip, or set Tempo range to the band your DJ software uses.
How many taps do I need for an accurate BPM?
At least 8. Fewer than 4 taps is unreliable; after 8–12 even taps you are usually within 2–3 BPM, and the tool shows Steady once the ± precision is 1 BPM or better.
What is a dotted eighth note delay at 120 BPM?
375 ms. A quarter note is 60000 / 120 = 500 ms, an eighth is 250 ms, and dotted multiplies by 1.5.
Can a song have more than one BPM?
Yes. Live recordings drift and some songs change tempo between sections. Tempo over time shows the local BPM every 6 seconds so you can see it.
How accurate is the file analysis?
On the test click tracks it is exact to 0.1 BPM. On real music with a steady beat it is usually close; confirm with Play with click and nudge by 0.1 if the click drifts.
Guides
Updated · About this site