Music Duration Calculator

Find how long a passage of music lasts from its tempo, time signature, and bar count — the same beats-per-minute math musicians, editors, and metronome apps use to time cues and loops.

Quick Facts

Formula
Duration (seconds) = total beats ÷ BPM × 60
One 4/4 bar at 120 BPM lasts exactly 2 seconds (4 beats ÷ 120 × 60).

Your Results

Calculated
Total duration
-
Minutes:seconds
Total duration (seconds)
-
Exact value
Total beats
-
Bars × beats per bar + pickup
Duration per measure
-
Seconds per bar at this tempo

Ready

Set tempo, time signature, and bar count, then press Calculate.

About the Music Duration Calculator

Every piece of music played at a steady tempo obeys one simple relationship: how long it lasts depends only on how many beats it contains and how fast those beats go by. This calculator turns tempo (in beats per minute), a time signature, and a bar count into an exact duration — the same beats-per-minute math that composers, film and game audio editors, click-track sessions, and metronome apps rely on to time a cue precisely.

The formula

At a constant tempo, duration follows directly from the definition of BPM (beats per minute):

  • Total beats = (number of measures × beats per measure) + pickup beats
  • Duration in seconds = total beats ÷ BPM × 60
  • Duration per measure = beats per measure ÷ BPM × 60

For example, 32 measures of 4/4 time at 120 BPM contain 128 beats. Dividing by 120 BPM and multiplying by 60 gives 64 seconds, or 1 minute 4 seconds. Each individual bar in that example takes 2 seconds, since 4 beats ÷ 120 × 60 = 2.

What "beats per measure" means

The top number of a time signature tells you how many beats are in each measure. 4/4 has 4 beats per bar, 3/4 (waltz time) has 3, and 6/8 is commonly counted as 2 dotted-quarter beats per bar in practice, though this calculator uses whatever beat count you enter — match it to how the tempo marking is actually counted for your piece.

Pickup beats (anacrusis)

Many songs and cues start with a partial measure before the first downbeat, called a pickup or anacrusis. Those beats still take real time at the given tempo, so this calculator adds them on top of the bars × beats-per-bar total before converting to seconds.

Common uses

  • Timing a musical cue or jingle to fit a fixed video, ad, or scene length
  • Working out how many bars fit in a set time slot before writing them
  • Checking that a loop, sample, or backing track lines up with a target duration
  • Practicing with a metronome and knowing how long a passage of N measures will take

Precision note

This formula assumes a single, constant tempo for the whole passage — exactly what a metronome or click track produces. Live performance often includes rubato, ritardando, or tempo changes between sections; for those, calculate each constant-tempo section separately with its own BPM and bar count, then add the results together.

Frequently Asked Questions

How is music duration calculated from tempo and bar count?
Duration in seconds equals total beats divided by BPM, multiplied by 60. Total beats is the number of measures times the beats per measure, plus any pickup beats before the first full bar. For example, 32 measures of 4/4 at 120 BPM is 128 beats, and 128 ÷ 120 × 60 = 64 seconds, or 1:04.
What is a pickup or anacrusis beat?
A pickup (anacrusis) is one or more beats that occur before the first complete measure, common in songs that start on an upbeat rather than beat one. Those beats still take time at the given tempo, so this calculator lets you add them separately and includes them in the total beat count and duration.
Does this work if the tempo changes partway through?
This calculator assumes a single constant tempo for the whole passage, which is how the beats-over-BPM formula is defined. If a piece speeds up, slows down, or uses rubato, calculate each constant-tempo section separately with its own BPM and bar count, then add the resulting durations together.