Music Duration

Free online music duration calculator — compute piece length from time signature, tempo (BPM), and measures. Supports reverse BPM calculation, staves duration, and all common time signatures.

Calculate music duration or tempo

About This Calculator

The Music Duration Calculator helps musicians, composers, producers, and music students determine exactly how long a musical piece will take to perform. Whether you are planning a recital program, timing a recording session, composing within time constraints, or arranging a multi-stave score, this tool gives you instant answers.

The calculation follows the standard music duration formula: Duration (minutes) = (Beats per Measure × Number of Measures) / Tempo (BPM). The time signature determines how many beats fit in each measure — for example, 4/4 time has 4 beats per measure, while 6/8 time has 6 beats per measure. Tempo is measured in beats per minute (BPM), and the calculator supports the entire range from very slow (Largo, ~40 BPM) to extremely fast (Prestissimo, 200+ BPM).

You can work in two directions: calculate the duration from a known tempo and number of measures, or find the required BPM to fit a piece within a target duration. This is especially useful for timed performances, radio airplay slots, backing track production, and video game music where precise timing is critical. The optional staves duration feature multiplies the piece length by the number of instrumental staves — helpful when scoring for ensembles or checking total time across multiple parts.

The calculator includes interactive bar charts showing how duration changes across common tempo markings (Largo, Adagio, Andante, Moderato, Allegro, Vivace, Presto) and at different measure counts, giving you a visual sense of how tempo and structure affect overall piece length.

Frequently Asked Questions

How do I calculate music duration?

Enter the time signature, tempo in BPM, and number of measures. The calculator uses the formula: Duration (minutes) = (beats per measure × number of measures) / tempo (BPM). For example, a 32-bar piece in 4/4 time at 120 BPM lasts (4 × 32) / 120 = 1.07 minutes or about 1 minute and 4 seconds.

How do I calculate BPM from duration?

Switch to Tempo from Duration mode. Enter the time signature, number of measures, and desired duration in minutes. The calculator uses the formula: Tempo (BPM) = (beats per measure × number of measures) / duration (minutes). For instance, to play a 32-bar piece in 4/4 time within 2 minutes, you need (4 × 32) / 2 = 64 BPM.

What time signatures are supported?

The calculator supports all common time signatures including 4/4, 3/4, 2/4, 4/2, 3/2, 2/2, 3/8, 6/8, 9/8, 12/8, 6/16, 9/16, 12/16, 5/4, 7/4, 5/8, and 7/8. You can also select Other and enter a custom number of beats per measure for unusual time signatures.

What is the formula for music duration?

The music duration formula is: Duration (minutes) = (beats per measure × number of measures) / tempo (BPM). The time signature determines beats per measure — for 4/4 time there are 4 beats per measure, for 3/4 time there are 3 beats per measure, and so on. Total duration is directly proportional to the number of measures and inversely proportional to the tempo.

What is staves duration?

Staves duration multiplies the piece's duration by the number of staves (instrumental parts). If you have a score with multiple staves and each must fit within a time limit, enter the number of staves to see the total combined duration. For example, a 2-minute piece across 5 staves gives a total staves duration of 10 minutes.

How does tempo affect music duration?

Tempo directly affects duration — doubling the BPM halves the duration. A piece at Allegro (138 BPM) plays nearly 3 times faster than the same piece at Largo (50 BPM). The chart in the calculator shows how duration changes across common tempo markings from Largo to Presto.

Can I share my music duration calculation?

Yes. All input values are saved in the URL, so you can copy the page URL and share it with others. When they open the link, the calculator auto-fills with your values and displays the results immediately.

What is the longest musical piece ever written?

The longest musical piece ever performed is John Cage's organ composition "As Slow As Possible" (organ²/ASLSP), which began performance in 2001 at St. Burchardi Church in Halberstadt, Germany, and is scheduled to last 639 years, finishing in 2640. This extreme example shows how tempo and duration are entirely at the composer's discretion.