Song Length Calculator: Find Duration from Tempo & Bar Count

Enter the tempo in beats per minute, the number of beats in each bar and the number of bars, and the calculator returns the length of the song in seconds and in minutes. It works forward from a planned arrangement to a duration, and the same formula can be turned around to find how many bars a target length needs.

Time: Daily Life Calculators

Song Length Calculator

A song's total duration from its tempo (BPM), time signature, and number of bars/measures.

BPM

How song length is calculated

Duration (minutes) = bars × beats per bar ÷ BPM
Duration (seconds) = bars × beats per bar ÷ BPM × 60

Where:

  • Bars is the number of bars (measures) in the song.
  • Beats per bar is the top number of the time signature, for example 4 in 4/4 or 3 in 3/4.
  • BPM is the tempo, the number of beats per minute.

Bars times beats per bar gives the total number of beats. Dividing by the beats per minute gives minutes.

Worked examples

Example 1: the starting values

64 bars in 4/4 at 120 BPM:

Beats = 64 × 4 = 256
Minutes = 256 ÷ 120 = 2.13 min
Seconds = 2.13 × 60 = 128 sec, or 2:08

Example 2: a slower, longer song

96 bars in 4/4 at 100 BPM:

Beats = 96 × 4 = 384
Minutes = 384 ÷ 100 = 3.84 min
Seconds = 230.4 sec, or 3:50

Example 3: waltz time

90 bars in 3/4 at 90 BPM:

Beats = 90 × 3 = 270
Minutes = 270 ÷ 90 = 3 min exactly

How tempo changes the length

For the same 64 bars in 4/4, a faster tempo shortens the song:

Tempo Seconds Minutes and seconds
100 BPM 153.6 2:34
120 BPM 128.0 2:08
140 BPM 109.7 1:50

Length is inversely proportional to tempo. Raising the tempo by 20 BPM, from 120 to 140, shortens the song by about 18 seconds.

Working backward from a target length

To find the bars needed for a target length, rearrange the formula:

Bars = duration (minutes) × BPM ÷ beats per bar

For a 3:30 song at 128 BPM in 4/4, the duration is 3.5 minutes:

Bars = 3.5 × 128 ÷ 4 = 112 bars

You can also change the tempo to fit a fixed arrangement. If you have 112 bars of 4/4 and want exactly 3:30, solve for BPM: 112 × 4 ÷ 3.5 = 128.

Choosing the beats per bar

Simple time signatures

In 4/4, 3/4 and 2/4 the beats per bar is the top number, because the tempo counts quarter notes.

Compound time

In 6/8 the answer depends on what the tempo counts. If the BPM counts dotted quarter notes, use 2 beats per bar. If it counts eighth notes, use 6. Check which one your tempo marking or software uses.

What the calculation leaves out

  • Count-ins, pickup bars and silence at the start or end.
  • Fade-outs and ritardandos, which stretch the last bars.
  • Tempo changes inside the song. The tool assumes one constant tempo, so for a song with changes, calculate each section and add the results.

Use the result as a planning figure while you arrange a track, and measure the finished recording for the exact length.

Frequently asked questions

How do I calculate the length of a song from BPM?

Multiply the number of bars by the beats per bar, divide by the BPM, and multiply by 60 for seconds. 64 bars in 4/4 at 120 BPM is 256 ÷ 120 = 2.13 minutes, or 2:08.

How many bars do I need for a three-minute song?

Use bars = minutes × BPM ÷ beats per bar. At 120 BPM in 4/4, 3 minutes needs 3 × 120 ÷ 4 = 90 bars.

What should I enter for beats per bar in 6/8?

It depends on what your tempo counts. Use 2 if the BPM counts dotted quarter notes, or 6 if it counts eighth notes.

Does a faster tempo make a song shorter?

Yes. For the same bars and time signature, length is inversely proportional to tempo, so 64 bars in 4/4 lasts 128 seconds at 120 BPM and about 110 seconds at 140 BPM.

Does the calculator include intros and fade-outs?

No. It counts only the bars you enter at a constant tempo. Add count-ins, silence and fade-outs separately.

How do I handle a song with tempo changes?

Calculate each section with its own tempo and bars, then add the durations together.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 836