Song Length to Bars Calculator
Knowing how many bars fit a target duration helps you structure a track, plan a sync to picture, or fill a fixed broadcast slot. This calculator multiplies a song length by the tempo to find total beats, then divides by the beats per bar from the time signature to give the number of bars. It also reports the duration of a single bar so you can scale any section. Enter the length in minutes and seconds, the tempo in beats per minute, and the beats per bar.
Song length to bars formula
total seconds = minutes * 60 + seconds
total beats = total seconds * BPM / 60
total bars = total beats / beats per bar
bar duration = 60 * beats per bar / BPM
Beats accumulate at the tempo rate, so total seconds times BPM divided by 60 gives the beat count. Grouping by the beats per bar yields the bar count, which may be fractional if the song ends mid-bar.
Arranging facts
- At 120 BPM in 4/4, a 3-minute song is 90 bars.
- Doubling the tempo doubles the bar count for the same duration.
- A fractional bar count means the song ends part-way through a bar.
- In 3/4, the same duration and tempo give more bars than in 4/4.
- Use the bar duration output to size verses, choruses and bridges to time.
Song length to bars: frequently asked questions
How do you convert song length to bars?
Multiply the song length in seconds by the tempo in beats per minute and divide by 60 to get total beats. Dividing total beats by the beats per bar gives the number of bars. At 120 BPM in 4/4, a 180-second song is 360 beats, which is 90 bars.
How many bars are in a 3-minute song?
It depends on tempo and time signature. At 120 BPM in 4/4, three minutes (180 seconds) holds 90 bars. At 90 BPM in 4/4, the same three minutes holds 67.5 bars. Enter your own tempo and meter for an exact figure.
Can it tell me the length from a bar count?
Yes. The calculator also returns the duration of a single bar, so you can multiply by any bar count to find a section length. Total beats and the duration per beat are shown as well.
What if my song length is not a whole number of bars?
The result can be fractional. A partial bar means the song ends mid-bar, which is common with fades or pickup endings. Round to the nearest whole bar if you need a structural count for arranging.
Why is total beats useful?
Total beats is the underlying quantity that bars are grouped from. It is handy for programming step sequencers, setting loop counts, or estimating how many chord changes fit in a section at a given harmonic rhythm.
Official sources
- National Institute of Standards and Technology: SI units and the second.
- Library of Congress: music notation and tempo references.
Reviewed by the CalculatorHub team, edited by James Graham, 16 June 2026. See our methodology.