Calculate album length from a track list or from song count and average song length, with optional gaps, or find the average track duration.

One track per line, e.g. 3:45 or Song title 3:45. Pasted track lists work when each line ends with its time.

Gaps between tracks
Blank means 0. A gap is added between adjacent tracks only: a 12-track album has 11 gaps.


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Total from track listAdds the duration of every track to find the total album runtimeRequires the track durations, one per line, such as 3:45 or a song title followed by its time
Total from an averageEstimates the total album runtime before a track list existsRequires the number of tracks and the average music duration per track
Average from runtimeFinds the average music duration per track on an album of known lengthRequires the number of tracks and the total album runtime, including gaps

Every function takes an optional gap between tracks in seconds, and a blank gap counts as 0. A duration can be entered as m:ss, h:mm:ss or decimal minutes, so 3:30 and 3.5 both mean 3 minutes 30 seconds, and a number followed by s is read as seconds. Each result lists the total runtime, the music without gaps, the average music per track, the total gap time, the runtime in decimal minutes and an equal half of the runtime.

Album Length Formulas

T = M + (N โˆ’ 1) ร— g
TTotal album runtime (seconds)
MTotal music duration, the sum of the track durations (seconds)
NNumber of tracks
gGap between adjacent tracks (seconds)

A gap falls only between two tracks, so an album has one fewer gap than it has tracks: 12 tracks have 11 gaps. Nothing is added before the first track or after the last one.

Total from track list

M = tโ‚ + tโ‚‚ + โ€ฆ + tโ‚™

Each nonblank line is one track, and its duration is read from the clock time at the end of the line, so a pasted list such as "Song title 4:15" works without editing. A line with no time at its end is rejected, with its line number. Three tracks of 3:45, 4:15 and 2:30 total 10:30, or 10:34 with a 2 second gap after the first and second tracks. The list can hold up to 10,000 tracks.

Total from an average

M = N ร— a

a is the average music duration per track. Twelve tracks averaging 3:30 hold 12 ร— 210 = 2,520 seconds of music, which is 42:00. With a 2 second gap the 11 gaps add 22 seconds, for a runtime of 42:22.

Average from runtime

a = (T โˆ’ (N โˆ’ 1) ร— g) รท N

The gap time is taken out of the runtime before dividing, so the answer is the average length of the music alone. A 42:22 album of 12 tracks with 2 second gaps has (2,542 โˆ’ 22) รท 12 = 210 seconds per track, or 3:30. An album of 10 tracks that runs 38:20 with no gaps averages 3:50. Gaps that add up to more than the runtime are rejected.

Limits of This Estimate

  • Total from an average is only as close as the average entered. A track list gives the exact figure once the track times are known.
  • The equal half of the runtime is the total divided by two. It does not place whole tracks on the two sides of a record or tape, and it says nothing about how much a side can hold.
  • One gap length applies to the whole album. Albums with gaps of different lengths need the gap time added to the track times instead.