How the tap counter works
Each tap is time-stamped with the browser's high-resolution clock. The page measures the gap between your last eight taps, averages those gaps and divides 60,000 by the average to get beats per minute. Half a second between taps is 120 BPM; a gap of 0.4 seconds is 150 BPM.
Only the most recent eight taps count, so a shaky start stops mattering after a few seconds. A pause of more than two seconds is treated as the end of the song: the next tap starts a fresh measurement instead of dragging the old tempo down.
The large number is rounded to one decimal place so you can see small changes. The rounded line underneath gives the nearest whole BPM, which is what you would type into a metronome or a drum machine.
When a BPM reading helps
Musicians use tap tempo to match a click track to a riff they already play, and to write the tempo of an idea down before it drifts. DJs tap along with an incoming track to see how far it sits from the one already playing. Runners can tap each footfall to read steps per minute, since one tap per step gives the same number as one tap per beat.
You can tap on any beat you like, as long as you keep doing the same one. Tapping every other beat halves the reading, and tapping twice per beat doubles it — both are valid tempos for the same piece of music.
Frequently asked questions
How many taps do I need?
Two taps already give a reading. Four is the minimum for something usable and eight is better, because the average of several gaps is less affected by one late or early tap.
Why does the number change while I tap?
It is an average, so each new tap replaces an old one in the calculation. If you tap unevenly the reading will wobble; aim for the pulse of the track rather than the exact notes.
Why did it reset by itself?
The counter treats a gap longer than two seconds as a new song. The next tap starts from scratch, which is usually what you want when you move to another track.
Can I use the space bar instead of clicking?
Yes. Any key works, including Space, so you can keep both hands free. Tab and the modifier keys are ignored so you can still move around the page with the keyboard.
Does it use my microphone or listen to the music?
No. It only records when you tap. No audio is captured and nothing leaves your device.
My reading is exactly double what I expected. What happened?
You probably tapped every half beat, or the page counted each beat of a fast track twice. Tap on the pulse you would clap to and the number will match the tempo you have in mind.