Loop Length Calculator
Calculate loop length in seconds, ms, and samples from BPM and bar count.
Essential for syncing DAW loops, delay times, and reverb tails to tempo.
Loop length is determined by tempo (BPM), time signature, and the number of bars.
Seconds per Beat = 60 / BPM
Beats per Bar = Time Signature numerator (usually 4)
Loop Length = Seconds per Beat × Beats per Bar × Number of Bars
Where:
- BPM (Beats Per Minute) = the tempo of your track. This is the speed at which the music plays.
- Beats per Bar = how many beats fit in one measure. In 4/4 time there are 4 beats per bar. In 3/4 (waltz) time there are 3.
- Number of Bars = how many measures long you want the loop to be.
Sample count:
Samples = Loop Length in Seconds × Sample Rate
The sample count tells you the exact number of audio samples in your loop. This is critical when editing in a DAW (Digital Audio Workstation) because trimming to the exact sample count ensures a seamless, click-free loop.
Common sample rates:
| Quality | Sample Rate | Typical Use |
|---|---|---|
| CD Quality | 44,100 Hz | Music streaming, CDs |
| DVD Quality | 48,000 Hz | Video production, film |
| Hi-Res | 96,000 Hz | Professional studio recording |
Practical Example: 4 bars at 120 BPM in 4/4 time: Seconds per beat = 60 / 120 = 0.5 seconds Total beats = 4 beats/bar x 4 bars = 16 beats Loop length = 0.5 x 16 = 8.000 seconds At 44,100 Hz: 8.0 x 44,100 = 352,800 samples
Why use this calculator? Music producers need precise loop lengths when creating drum patterns, ambient textures, or any repeating musical phrase. Getting the length wrong by even a fraction of a second causes audible clicks or timing drift when the loop repeats.
Tips:
- Always match your project sample rate to the sample rate you calculate with
- Slower tempos (e.g., 70 BPM) create much longer loops — a 4-bar loop at 70 BPM in 4/4 is about 13.7 seconds
- When layering loops, make sure all loops share the same BPM and bar count to stay in sync