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
Loop Length = Seconds per Beat × Quarter Notes per Bar × Number of Bars
Where:
- BPM (Beats Per Minute) = the tempo of your track. In every DAW this counts quarter notes, whatever the time signature says.
- Quarter Notes per Bar = how much musical time one bar occupies. This is not always the top number of the time signature.
- Number of Bars = how many measures long you want the loop to be.
Where the time signature actually bites
The top number tells you how many notes are in a bar; the bottom number tells you what kind of note those are. Only when the bottom number is 4 do the two coincide.
| Signature | Bar contains | Quarter notes per bar |
|---|---|---|
| 3/4 | 3 quarter notes | 3 |
| 4/4 | 4 quarter notes | 4 |
| 5/4 | 5 quarter notes | 5 |
| 6/8 | 6 eighth notes | 3 |
| 7/8 | 7 eighth notes | 3.5 |
A 6/8 bar is shorter than a 4/4 bar at the same tempo, not longer. Six eighth notes are three quarter notes, so a 6/8 bar at 120 BPM lasts 1.5 seconds where a 4/4 bar lasts 2. Treat the 6 as beats and you get double the real length, which is the classic way to end up with a loop that drifts a bar out of sync every time round.
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 make loops much longer. A 4-bar loop at 70 BPM in 4/4 runs about 13.7 seconds, against 8 at 120 BPM
- When layering loops, make sure all loops share the same BPM and bar count to stay in sync
How we build and check this calculator
This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.
SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.
More Music Calculators
- Room Reverb Time (RT60) Calculator
- Setlist Time Calculator
- Speaker Placement Calculator
- Tape Speed and Recording Time Calculator
- Vinyl RPM and Playback Calculator
- Audio File Size Calculator
- Capo Transposition Calculator
- Reverb Time Calculator
- Song Royalty Split Calculator
- Speaker Wattage Calculator
- Vinyl Record Collection Value Calculator