Sample tempo finder
Loop BPM and time-stretch calculator
Find a loop's quarter-note BPM from its duration, bar count and time signature, then calculate the exact speed change and new duration for a target tempo.
Loop BPM: settings and guide
Worked example
Example: an eight-second four-bar loop
A four-bar loop in 4/4 contains 16 beats. If it lasts exactly eight seconds, its tempo is 120 BPM. To fit 128 BPM, increase playback speed by 6.667%, producing a new duration of 7.5 seconds.
For trimming, stretch-mode selection and listening checks, read how to fit drum loops to your tempo with fewer artifacts.
Good to know
Assumptions and limits
- The loop starts and ends exactly on the entered musical-bar or bar-subdivision boundaries.
- The BPM remains constant through the entire loop.
- The main result is quarter-note BPM; compound meters also show the dotted-quarter pulse separately.
- Half-time and double-time results describe alternate ways to count the same pulse, not different audio durations.
- Clock displays round to the nearest millisecond; tempo and percentage calculations use unrounded values.
Review BeatTiming's calculation accuracy, precision and release-testing methodology.
Measure the musical cycle
Check a three-second loop in 6/8
Set duration to 3 seconds, length to 2 bars, meter to 6/8 and target to 128 quarter-note BPM. Two bars contain 12 eighth notes, equivalent to six quarter notes. The original tempo is 120 quarter-note BPM, or 80 dotted-quarter beats per minute—not 240 BPM from counting every eighth as a quarter.
- Measure between matching downbeats. Use the first downbeat and the next downbeat after the complete two-bar cycle. A pickup or ringing tail is not an extra beat. Preserve any useful tail in your edit; do not include it in the cycle measurement.
- Read the control your app actually asks for. At the target tempo, the two-bar cycle lasts 2.813 seconds. Tempo rises by 6.667%, while duration falls by 6.25%. A resulting-length control wants 93.75% of the original duration.
- Check pitch and transients separately. These numbers describe timing, not guaranteed sound quality. Compare pitch-preserving stretch with resampling, and use the drum-loop editing guide to listen for clicks, gaps and softened attacks.
Four-bar loop reference
Find loop BPM from duration
For a correctly trimmed four-bar loop in 4/4, duration determines quarter-note BPM. A result may also be musically counted at half or double time, but that alternate pulse does not change the audio length.
Four bars in 4/4
Quarter-note BPM for four-bar 4/4 loops at common measured durations| Measured duration | Detected tempo |
|---|
| 10 sec | 96 BPM |
|---|
| 8 sec | 120 BPM |
|---|
| 7.68 sec | 125 BPM |
|---|
| 7.5 sec | 128 BPM |
|---|
Quick answers
How do I calculate BPM from seconds?
Convert the loop's bar count and time signature to quarter-note beats, multiply by 60, then divide by its exact duration in seconds.
Why is the detected BPM half or double what I expected?
Tempo can be counted at different pulse levels. A loop analyzed as 70 BPM may also be described as 140 BPM without changing its duration.
Does time-stretching change pitch?
Pitch-preserving time stretch changes duration without changing pitch. Resampling or varispeed changes tempo and pitch together.