Skip to content
BPM Finder

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

  1. Tap along or choose a song.
  2. Check it with Play with click.
  3. 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.

Choose a song to see its BPM, or tap along on the big button.

Delay & note lengths

Delay times at 120 BPM
NoteStraightDottedTripletHzSamples @44.1kSamples @48k

Lengths in milliseconds (ms); Hz and samples are for the straight note.

Bar lengths

    ms → BPM

    —

    Pitch to match

    Pitch change —

    How to find the BPM of a song

    I use three ways, depending on where I am.

    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.

    Six taps plotted against tap number with a fitted line through all of them and a first-to-last line
    One late tap: the fitted line (118.0 BPM) moves less than the first-to-last estimate (117.2 BPM).

    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:

    1. 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.
    2. 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).
    3. 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.
    4. 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.
    Four steps: waveform, onset peaks, autocorrelation peak at the beat length, BPM result
    From waveform to BPM: onsets, repeat distance, preference around 120, fine comb.

    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:

    Delay times in milliseconds at 120 and 128 BPM
    Note120 straight120 dotted120 triplet128 straight128 dotted128 triplet
    1/12000.003000.001333.331875.002812.501250.00
    1/21000.001500.00666.67937.501406.25625.00
    1/4500.00750.00333.33468.75703.13312.50
    1/8250.00375.00166.67234.38351.56156.25
    1/16125.00187.5083.33117.19175.7878.13
    1/3262.5093.7541.6758.5987.8939.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:

    Control cases the tool is tested against
    CaseInputExpected result
    C1Click track 120 BPM, 20 s, first beat at 0.25 s, Auto120.0 BPM, Confidence: High (0.88), first beat 0.244 s
    C4Click track 174 BPM, 20 s, Auto174.0 BPM
    C5Same file, Tempo range 60–12087.0 BPM
    C8Click track 140 BPM after 5 s of silence140.0 BPM, first beat 0.279 s
    T2Taps at 0, 510, 995, 1505, 2000, 2490, 3010, 3500 ms120.1 BPM, ± 0.28, Steady
    T5Taps at 0, 500, 1000, 1500, 2000, 2560 ms118.0 BPM, ± 1.15 (first-to-last: 117.2)
    D2Delay & note lengths at 128 BPM1/4 468.75 ms, dotted 1/8 351.56 ms, 22500 samples @48k
    P1Pitch to match 124 → 128+3.23 %
    P2Pitch to match 87 → 172−1.15 % via double-time (174 → 172)
    C9Click track speeding up 120 → 126 BPM over 36 s123.1 BPM; Tempo over time 121.2–124.5
    DemoNo song at hand? Try a demo beat124.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