Skip to content

Beat Counter

Beats per bar
Tempo (BPM) —
Beats counted
—
First to last beat (s)
—
Average gap (ms)
—
Gap spread, std dev (ms)
—
Bars
—

Enter the time of each beat, as seconds or minutes:seconds, and the counter reports how many beats there are and the tempo. Tempo is 60 divided by the average gap between beats, so beats every 0.5 s give 120 BPM. It also shows bars for your time signature and how much the gaps wander.

About this tool

Drummers checking a recording, editors cutting video to music and DJs matching tracks often have beat positions already: markers in a DAW, cue points, or times noted while scrubbing through a file. This counter turns that list into numbers you can use. It counts the beats, measures the average gap, converts it to beats per minute, and divides the count into bars of 2, 3, 4 or 6 beats. A table lists each gap and its beat-to-beat tempo, and the spread of the gaps shows whether the performance held steady or drifted. It does not listen to audio; the times have to come from you, so the result is only as precise as the markers you entered.

How to use it

  1. Enter the beat times

    Type or paste one time per line, or separate them with commas or spaces. A .txt or .csv file of markers can be opened too.

  2. Choose beats per bar

    Pick 2, 3, 4 or 6 beats per bar to match the time signature of the piece.

  3. Read the tempo

    The BPM, beat count, average gap, gap spread and bar count update as you type.

  4. Check each gap

    Scan the table for gaps that stand out, which usually mean a missed or doubled marker.

Examples

Five beats half a second apart

Beat times
0 0.5 1 1.5 2
Beats per bar
4 (4/4)

Result Tempo (BPM): 120
Beats counted: 5
First to last beat (s): 2
Average gap (ms): 500
Gap spread, std dev (ms): 0
Bars: 1.25

  1. 5 beats span 2 s, giving 4 gaps.
  2. Average gap = 2 ÷ 4 = 0.5 s.
  3. Tempo = 60 ÷ 0.5 = 120 BPM.
  4. Bars = 5 beats ÷ 4 beats per bar = 1.25.

A beat every 500 ms is the familiar 120 BPM of much dance and pop music.

A waltz tapped at 0.6 s

Beat times
0 0.6 1.2 1.8 2.4 3.0
Beats per bar
3 (3/4)

Result Tempo (BPM): 100
Beats counted: 6
First to last beat (s): 3
Average gap (ms): 600
Gap spread, std dev (ms): 0
Bars: 2

  1. 6 beats span 3 s, giving 5 gaps.
  2. Average gap = 3 ÷ 5 = 0.6 s.
  3. Tempo = 60 ÷ 0.6 = 100 BPM.
  4. Bars = 6 beats ÷ 3 beats per bar = 2.

Six beats 600 ms apart are 100 BPM, and in 3/4 they fill exactly two bars.

Times copied as minutes:seconds

Beat times
1:00 1:00.75 1:01.5
Beats per bar
4 (4/4)

Result Tempo (BPM): 80
Beats counted: 3
First to last beat (s): 1.5
Average gap (ms): 750
Gap spread, std dev (ms): 0
Bars: 0.75

  1. 3 beats span 1.5 s, giving 2 gaps.
  2. Average gap = 1.5 ÷ 2 = 0.75 s.
  3. Tempo = 60 ÷ 0.75 = 80 BPM.
  4. Bars = 3 beats ÷ 4 beats per bar = 0.75.

Beats at 1:00, 1:00.75 and 1:01.5 are 750 ms apart, which is 80 BPM.

How it is calculated

BPM = 60 ÷ ((last time − first time) ÷ (beats − 1)); bars = beats ÷ beats per bar

beats
number of beat times entered
last time − first time
span from the first to the last beat, as seconds
60
seconds in a minute

Times are sorted, then the span between the first and last beat is divided by the number of gaps to get the average gap. Sixty divided by that gap is the tempo in beats per minute. The standard deviation of the individual gaps, in milliseconds, measures steadiness: a quantised track scores near zero, a live take a few tens of milliseconds.

When not to use it

  • If you only have the audio file, a tap-tempo or audio analysis tool is the faster route.
  • Music with deliberate rubato or tempo changes has no single BPM, so an average hides the shape.

Common mistakes

  • Mixing milliseconds and seconds in the same list, which makes the tempo absurd.
  • Skipping a beat while marking, which doubles one gap and lowers the average tempo.

Frequently asked questions

Why use the average gap instead of counting beats in a minute?

Counting for a full minute needs a full minute of music. The average gap gives the same tempo from a few seconds of markers, and averaging over many beats cancels small timing errors in individual markers.

What does the gap spread tell me?

It is the standard deviation of the gaps in milliseconds. Below about 10 ms the beat is very even, typical of programmed music. Live drummers usually sit between 10 and 30 ms; much higher suggests drift or a missed beat.

Can I paste times like 1:02.5?

Yes. Minutes and seconds separated by a colon are read as 62.5 seconds, and you can mix them with plain seconds in the same list.

Does the order of the times matter?

No. The list is sorted before the gaps are measured, so markers pasted out of order still give the right tempo.

How do I get the time of each beat from a video editor?

Drop a marker on each beat while scrubbing, then export or copy the marker list. Most editors show markers as seconds or timecode; convert frames to seconds before pasting.

Why is the bar count a fraction?

The number of beats is not a whole multiple of the beats per bar. Ten beats in 4/4 is 2.5 bars, meaning two full bars and half of a third.

Cite this tool

Using this tool in an assignment, article or report? Copy a citation, or a link for your website.

APA

Tools Directory Editorial Team. (2026, October 12). Beat Counter. Tools Directory. Retrieved October 26, 2026, from https://tools.milunir.com/video-audio/music-and-audio-theory/beat-counter/

MLA

Tools Directory Editorial Team. “Beat Counter.” Tools Directory, 12 Oct. 2026, https://tools.milunir.com/video-audio/music-and-audio-theory/beat-counter/. Accessed 26 Oct. 2026.

Chicago

Tools Directory Editorial Team. “Beat Counter.” Tools Directory. Last modified October 12, 2026. Accessed October 26, 2026. https://tools.milunir.com/video-audio/music-and-audio-theory/beat-counter/.

Link<a href="https://tools.milunir.com/video-audio/music-and-audio-theory/beat-counter/">Beat Counter – Tools Directory</a>