Loop Bar Length Calculator for BPM, Samples & Time

Loop Bar Length Calculator

Convert BPM, time signature and bar count into loop duration, sample count, video frames and tempo-stretched timing for DAW clips, samplers and live loops.

🎵 Quick Presets
🎚 Loop Timing Inputs
Use this for pickups, tags or partial-bar loops.
Loop Duration
seconds without tail
Sample Length
whole samples
Video Frames
at selected fps
Stretched Length
at target BPM

Full Calculation Breakdown

Beat unit length = 60 / BPM × 4 / denominator
Bar length = beat unit length × numerator
Musical length = bars × bar length + extra beats
Sample count = seconds × sample rate
Frame count = seconds × frame rate
Tail-inclusive export length
Stretch ratio = source BPM / target BPM
Approx stereo file size from bit depth
📐 Current Loop Spec
2.000
Seconds / Bar
0.500
Seconds / Beat Unit
144k
Bytes / Second
0.125
16th Note Sec
📊 Tempo and Bar-Length Reference
Tempo1 Bar 4/44 Bars 4/48 Bars 4/4
60 BPM4.000 s16.000 s32.000 s
90 BPM2.667 s10.667 s21.333 s
100 BPM2.400 s9.600 s19.200 s
120 BPM2.000 s8.000 s16.000 s
128 BPM1.875 s7.500 s15.000 s
140 BPM1.714 s6.857 s13.714 s
174 BPM1.379 s5.517 s11.034 s
Meter and Beat Unit Comparison
MeterQuarter Notes / BarBar at 120 BPM4-Bar Loop
2/4 March2.001.000 s4.000 s
3/4 Waltz3.001.500 s6.000 s
4/4 Common4.002.000 s8.000 s
5/4 Odd Meter5.002.500 s10.000 s
6/8 Compound3.001.500 s6.000 s
7/8 Odd Meter3.501.750 s7.000 s
🎛 Audio Spec Comparison Grid
Loop DestinationTypical RateUseful ExportTiming Note
DAW Clip44.1 or 48 kHz24-bit stereo WAVExact bar grid
Sampler Pad44.1 kHz16 or 24-bit WAVTrim to samples
Live Looper44.1 or 48 kHz24-bit stereo WAVAdd fade tail
Video Cue48 kHz24-bit WAVCheck frame edge
Stem Export48 or 96 kHz24-bit WAVSame start point
Game Loop48 kHz16 or 24-bit WAVSeamless cycle
💾 Sample Counts for 4/4 Loops at 48 kHz
BPM1 Bar Samples4 Bar Samples8 Bar Samples
90128,000512,0001,024,000
100115,200460,800921,600
12096,000384,000768,000
12890,000360,000720,000
14082,286329,143658,286
17466,207264,828529,655
🎼 Common Loop Project Sizes
Project TypeTypical BarsTempo RangeTiming Focus
Drum One-Shot Groove1 to 2 bars80 to 140 BPMTransient start
Pop Chord Phrase4 bars90 to 130 BPMChord cycle
EDM Build Loop8 to 16 bars120 to 130 BPMPhrase length
Ambient Pad Bed16 to 32 bars60 to 100 BPMLong tail
DNB Break4 to 8 bars165 to 180 BPMSlice grid
Video Transition Cue2 to 4 bars90 to 150 BPMFrame match
💡 Timing Tips
Sample-accurate loops: use the rounded whole-sample value for file trimming, because audio files cannot end between samples.
Compound meters: 6/8 contains six eighth-note units, which equals three quarter notes per bar at the same BPM reference.
Video work: 48 kHz audio and a fixed frame rate make it easier to compare loop duration against edit points.
Tempo changes: stretching from 120 BPM to 100 BPM makes the same bar count 20 percent longer.
Formula: seconds = bars × numerator × 4 / denominator × 60 / BPM Samples = seconds × sample rate Frames = seconds × fps

When you import the file, it’s off grid, even though the drum break sounded perfect in your headphone. What has happened? The timing error cause the loop to drift out of sync each time it play.

The loop bar length calculator fixes that issue. It converts your musical intuition into hard data. Four bars of audio equal four bars in your software.

Why Use a Loop Bar Length Calculator

How do computers hear time? Not like we do. They don’t think about beats; they think about taking samples. At 48 kHz, for example, the system take pictures 48,000 times per second. When you end your loop mid-sample, the software has to either round up or down. And that cause timing drift and phase issues. To clean-trim the file, you want number of samples to be exact.

Here’s what that looks like for common bar length at various tempos: These work out based off the time signature too. While many producers opt for what they are used to which is usually a 4/4, there are others. At the same tempo, a 4/4 bar doesn’t equate to a 6/8 bar.

The top number is called the numerator. This is the number of beats per measure. The bottom number is called the denominator it tells you the note value. So if you don’t alter your inputs for say a shuffle groove or a waltz then the length won’t reflect your chosen musical form. Simply input your desired meter into tool and let it do math.

There is another wrinkle: video work. For film sound designers, aligning audio to visual cuts require more than just seconds. A cue that needs to hit a cut point in a 24 fps sequence won’t do; you’ll want to know the frame count so there’s no lag or jump. If your output includes broadcast-standard, or high-frame-rate gaming content, the calculator takes your selected frame rate into account and gives you exact alignment required for perfect sync.

Pre-calculating can also benefit tempo stretching. For example, moving a loop from 120 BPM down to 90 BPM changes physical length of that file. When it’s stretched out, you’ll see precisely how many seconds the phrase is going to be. That helps your arrangement plans before applying any warping methods.

Tail management on export is sometimes an afterthought but you’ll notice artifacts when it’s not done right. There is no fade-out so it ends abruptly. Add a couple of milliseconds of tail and the transition is seamless as loop returns to the beginning. But add too much tail and it will throw off your grid so next clip doesn’t align. Too little fade creates a click but you’re lost trying to find your place in timeline.

That takes the guess work out of the technical side of things. Let the metrics be rigid so you can concentrates on the creative stuff. Loops are sample accurate and stack cleanly with no timing drift or phase cancellation. That is difference between a professional mix and a messy demo. The loop bar has a built-in loop bar length calculator. It converts bars, meter, and tempo into exact seconds, samples, frames, stretched duration, and more to help producers export loops that will remain aligned.

Loop Bar Length Calculator for BPM, Samples & Time

Leave a Comment