Skip to content

Music Analysis · Free

Sample Length Calculator

Turn musical beats into seconds and sample frames.

Seconds

2.000000

Milliseconds

2000.000

Sample frames

88,200

A sample frame contains one sample per channel. Stereo does not double the frame count. Frames are rounded to the nearest whole number.

From beats to an edit length

Quarter-note beats last 60 divided by BPM seconds. Multiply by the number of beats to get the desired sample duration. A four-beat loop at 120 BPM lasts two seconds. Note presets use quarter-note BPM; bar presets assume 4/4.

Sample frames and rounding

Multiply seconds by sample rate to find frames and round to the nearest integer. A stereo frame contains both channels, so the duration and frame count are unchanged by adding a second channel. Fractional-frame musical lengths cannot be represented exactly in a digital file.

Frequently asked questions

Does this resize an audio sample?

No. It provides the target length for your sampler or editor. Use an audio speed or trim tool to edit a recording.

What is one bar in 6/8?

At a quarter-note BPM, six eighth notes equal three quarter-note beats. If your tempo uses dotted-quarter beats, convert it first.

More free music tools