GestureSynth.me

Music calculator

Audio Loop BPM Calculator

Calculate the BPM of a loop from its measured length, number of bars, and counted beats per bar.

loop bpm calculator

Audio Loop BPM Calculator guide

Use this calculator when you know where a repeating audio loop starts and ends. Count how many complete bars it spans, then enter its measured length in seconds.

Play the instrument ↑
Input and result
Calculate the BPM of a loop from its measured length, number of bars, and counted beats per bar.

Formula and units

Total counted beats are bars multiplied by beats per bar. Divide total beats by the duration in minutes. A loop with twice the duration and the same beat count has half the calculated BPM.

Worked examples

Four 4/4 bars occupy sixteen quarter-note beats. An 8-second loop returns 120 BPM. Stretch that same four-bar phrase to 10 seconds and it returns 96 BPM.

An eight-bar phrase lasting 18.6 seconds in 4/4 gives roughly 103.2258 BPM. If you accidentally select seven bars, the result drops to about 90.3226 BPM even though the same file length is used. Check your bar count by identifying a repeated chord, kick pattern, or phrase opening on each downbeat.

Check a short sample before applying the tempo

For a drum sample that repeats after two bars at 4/4, count eight beats and measure the time between matching downbeats. If the duration is 4.8 seconds, the rate is 100 BPM. Select the region from the start of one downbeat to the expected start of the next repetition. Avoid including the next transient twice or ending the selection just before the final musical interval has elapsed.

A one-bar slice at 100 BPM lasts 2.4 seconds if it has four quarter-note beats. If you know the slice ends early, calculate from a longer representative stretch that contains whole bars. Use multiple examples from a live recording before assigning a single tempo. A precise measurement can still produce the wrong answer when the number of complete beats is uncertain.

Account for a pickup or the tail of a sample

Suppose a four-bar phrase lasts eight seconds from downbeat to the following downbeat, but the file is 8.3 seconds because it includes a reverb tail. Using the whole file makes the calculator return about 115.66 BPM for sixteen beats. Select the eight-second musical region to obtain 120 BPM. You can still preserve the reverb in a separate track or let it overlap the next loop in a sampler.

For a pickup that precedes the first full bar, choose a measurement starting on that first downbeat. If the pickup must remain in the exported clip, keep its timing as a separate offset. A repeat region can start on a pickup if the same position recurs at the end, provided you still count a whole number of beats between those two matching points.

When checking two measurements, try comparing a four-bar region with an eight-bar region from the same source. For a stable track both should give nearly the same tempo. If a short selection gives 104 BPM and the longer one gives 100 BPM, inspect the selected boundaries or listen for timing changes. Rounding to the nearest integer is useful for a click track only after you are confident the intended performance was stable.

Answers before you play

Common questions

Can it find the BPM from an uploaded file?

Use your editor to measure the selected region and count its beats. This calculator takes those values and does not analyze an audio recording.

Does the calculator account for a tempo change inside the loop?

It gives an average for the entered span. For separate tempo sections, measure them independently and use your editor to map the changes.

Can I enter a loop in 3/4?

Yes. Enter three counted quarter beats per bar. Four bars spanning eight seconds give 90 quarter-note beats per minute.

How can I detect a half-time reading?

Count against a metronome and see which note value aligns with the intended pulse. Doubling the counted beats at the same duration doubles the calculated number.