Song Length Calculator
Calculates the total duration of a song in seconds from its number of bars, time signature, and tempo. Useful for composers and producers planning structure or matching music to a fixed time slot.
Last updated: May 2026
Compare with similar
About this calculator
A song's duration in seconds is determined by three variables: the total number of bars, the number of beats in each bar (the time-signature numerator), and the tempo in beats per minute. The formula is duration_seconds = (bars × beatsPerBar × 60) / BPM. Conceptually you first multiply bars by beatsPerBar to get the total beat count, then divide by BPM (beats per minute) and multiply by 60 to convert minutes to seconds. For example, a 32-bar piece in 4/4 at 120 BPM contains 128 beats, which at 120 BPM occupy 128/120 = 1.067 minutes = 64 seconds. Edge cases: the formula assumes a constant tempo, so accelerando, ritardando, or tempo-mapped passages must be calculated section-by-section; mid-piece time-signature changes require summing each segment separately; and the BPM must reference the same beat unit as the time-signature denominator (for 6/8 with BPM counting dotted quarters, set beatsPerBar = 2, not 6). The output is in seconds — divide by 60 to get minutes for display.
How to use
Example 1: Estimate a 16-bar verse in 4/4 at 100 BPM. Step 1: total beats = 16 × 4 = 64. Step 2: duration in minutes = 64 / 100 = 0.64. Step 3: convert to seconds = 0.64 × 60 = 38.4 seconds. Verify: at 100 BPM each beat lasts 0.6 s, so 64 × 0.6 = 38.4 s. Example 2: A pop song with intro (8 bars) + 2 verses (16 bars each) + 2 choruses (16 bars each) + bridge (8 bars) + outro (8 bars) = 88 bars in 4/4 at 120 BPM. Total beats = 88 × 4 = 352. Duration = (352 × 60) / 120 = 21120 / 120 = 176 seconds = 2 minutes 56 seconds. Verify by running a metronome at 120 BPM for 88 bars and stopping a timer — the elapsed time should match.
Frequently asked questions
How does tempo affect the length of a song with a fixed number of bars?
Tempo and duration are inversely proportional: doubling the BPM halves the song length for the same number of bars. A 32-bar song in 4/4 at 60 BPM runs 128 seconds; at 120 BPM the same 32 bars take only 64 seconds; at 240 BPM, just 32 seconds. Producers often tighten or loosen tempo by a few BPM during arrangement to land on a target broadcast length such as 3:00 or 3:30. Conversely, slowing the tempo stretches the same musical content into a more expansive listening experience. The mathematical relationship is duration = constant / BPM, so plotting length vs tempo gives a hyperbola, not a straight line.
What is the standard number of bars in pop song structures?
A typical pop section — verse, chorus, or bridge — runs 8 or 16 bars; intros and outros are commonly 4 or 8 bars. A full song with intro, two verses, two choruses, a bridge, and an outro often totals 80–112 bars. At 120 BPM in 4/4 time, 96 bars equals exactly 192 seconds (3 minutes 12 seconds), close to the classic 3-minute radio length. Pre-choruses (4–8 bars) and post-chorus drops (4–8 bars) extend the count. Knowing standard bar counts lets producers hit a precise duration target during arrangement instead of guessing by ear and trimming later.
How do I calculate song length for odd time signatures like 3/4 or 7/8?
Change the beatsPerBar value to match the time-signature numerator — enter 3 for 3/4 (waltz time), 5 for 5/4, or 7 for 7/8. The same formula applies: duration = (bars × beatsPerBar × 60) / BPM. The key subtlety is that BPM must count the same note value as the denominator: if your 7/8 piece counts eighth notes at 180 BPM, each bar has 7 eighth notes of length 60/180 = 0.333 s, so each bar lasts 2.333 s. If you instead set BPM to count dotted quarters (a common shortcut for 6/8), set beatsPerBar = 2 to reflect two main pulses per bar. Mismatched beat unit and BPM is the most common error here.
What are common mistakes when calculating song length?
Mixing the beat unit between time signature and tempo is the most frequent error — for example, a 6/8 piece marked 'dotted quarter = 80 BPM' must use beatsPerBar = 2 (two dotted-quarter pulses per bar), not 6 (six eighths). Forgetting to add intro and outro bars produces a length that matches only the body of the song. Treating an accelerando or ritardando passage as one tempo gives a wrong average; instead split the section into segments. Mis-counting repeats — for instance, ignoring D.S. al fine or coda jumps — drops or duplicates bars. Finally, mistakenly using 100 (seconds per minute) instead of 60 is a classic off-by-2/3 error.
When should I NOT use this calculator?
Pieces with continuously variable tempo — rubato classical performances, film cues that follow visual hits, or experimental works marked 'ad lib' — cannot be reduced to a single BPM and bar count. Multi-tempo arrangements with several distinct sections require summing the duration of each section separately rather than using one global calculation. Loops and tracks measured in samples rather than bars (common in DJ tools and trackers) use a different time base. Free-time recordings, live improvisations without a click track, and pieces with frequent fermatas need stopwatch measurement, not formula-based prediction. For broadcast workflows where you must hit an exact timing target, always verify the calculated duration against a click-track playback before committing to the arrangement.