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.