Home › Audio & Video › Media Duration Calculator

Media Duration Calculator

Drop a batch of audio or video files, or a whole folder, to read every file's length on your device and add them up. See the total runtime, average and longest file, the start time of each file, how long it takes at faster playback speeds, and export the list as CSV.

Last updated:

Drop audio or video files here MP4, MOV, WebM, MKV, MP3, M4A, WAV, OGG, FLAC… · many at once · read on your device, nothing is uploaded
Total runtime0:000 seconds
Files counted0 
Average length– 
Longest / shortest– 
Files and their durations
#FileDurationStarts atSizeRemove
Advertisement
Advertisement

How to use the Media Duration Calculator

  1. Drop your files into the box, or click Choose files or Choose folder. Three generated sample clips are shown until you add your own.
  2. Wait a moment while each file's length is read from its metadata; files that can't be read are flagged and left out of the total.
  3. Sort the list by name, duration, size or type, and remove any file you don't want counted.
  4. Set a gap between files or a daily viewing time to see total runtime with pauses and how many days it takes.
  5. Download CSV for a spreadsheet, or copy the timestamp list or the total runtime.

How the total runtime is worked out

Every audio and video container stores its own length. MP4 and MOV files keep it in the mvhd header as a duration count and a timescale (duration ÷ timescale = seconds), WAV files store the audio data size and the byte rate (data size ÷ byte rate = seconds), and formats such as WebM, MKV, MP3, OGG and FLAC are read by your browser's built-in media engine. The tool reads only this metadata, never the whole file, so it is fast even for very large videos.

  • Total runtime = sum of all readable file durations + gap × (number of files − 1).
  • Start time of a file = sum of the durations (and gaps) of every file before it in the current sort order.
  • Time at a faster speed = total runtime ÷ speed. 7 h 30 min of lectures at 1.5× = 450 min ÷ 1.5 = 5 h.
  • Days to finish = total minutes ÷ minutes per day, rounded up. 450 min at 30 min/day = 15 days.

Total time at common playback speeds

Total runtime1.25×1.5×1.75×2×
1:00:000:48:000:40:000:34:170:30:00
2:30:002:00:001:40:001:25:431:15:00
5:00:004:00:003:20:002:51:262:30:00
10:00:008:00:006:40:005:42:515:00:00
24:00:0019:12:0016:00:0013:42:5112:00:00

Tips for accurate totals

  • Name files with numbers (Lesson 1, Lesson 2 … Lesson 10). The Name (natural) sort keeps 10 after 9 instead of after 1, so start times match the intended order.
  • Use the gap setting for anything played back to back: a few seconds for autoplay between videos, or 2 seconds between tracks on a typical audio CD.
  • Check unreadable files: AVI, WMV and some MKV files use codecs that not every browser supports. Try a different browser, or convert the file to MP4 first, then add it again.
  • Audio CD and disc limits: a standard audio CD holds about 74 to 80 minutes, a C90 cassette 45 minutes per side, and a 12-inch LP roughly 18 to 22 minutes per side, so compare your total before burning or pressing.
  • Need to add times typed by hand? For a list of lengths you already know (like 3:45, 4:12), a playlist or time duration calculator is quicker than collecting the files.

Frequently asked questions

How do I find the total length of many video files?

Drop all the files (or the folder that holds them) into the box above. The tool reads each file's duration from its metadata and adds them together, showing the total in hours, minutes and seconds along with a per-file list.

Are my files uploaded anywhere?

No. Durations are read by your own browser using its built-in media player and, when needed, by reading a few header bytes of the file. Nothing leaves your device, so large or private files are fine and the tool keeps working offline once the page has loaded.

Why does a file show 'Can't read duration'?

Your browser could not open the file's metadata, usually because the codec or container isn't supported (for example some AVI, WMV or older MKV files) or because the file is damaged or incomplete. MP4, MOV and WAV headers are also read directly, so those often work even when the browser can't play them. Unreadable files are excluded from the total.

How accurate are the durations?

They come from the container's own duration field, which is normally accurate to a few milliseconds. Variable bitrate MP3 files without a header index can be off by a second or two in some browsers. The total is the exact sum of the listed durations, plus any gap you add.

How is the time at 1.5× or 2× speed calculated?

Playback time at a faster speed is the total runtime divided by the speed. For example, 6 hours of lectures at 1.5× takes 6 ÷ 1.5 = 4 hours, and at 2× it takes 3 hours.

What does the gap between files do?

It adds a fixed pause after each file except the last, like the countdown between autoplay videos or the 2-second pause between tracks on many audio CDs. The start and end times in the list include these gaps.

Is there a limit on the number or size of files?

There is no fixed limit. The browser only reads metadata, not the whole file, so even multi-gigabyte videos are fast. Hundreds of files work fine; they are read a few at a time to keep the page responsive.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Playlist Duration CalculatorAdd up track or video lengths to get the total playlist or album length and average track.Video Resolution CheckerCheck a video's resolution, length, frame rate, bitrate and codecs without uploading it.Playback Speed CalculatorHow long a video, audiobook or podcast takes at 1.25×, 1.5×, 2× and the speed you need.Time Duration CalculatorHours, minutes and seconds between two times, overnight too.Screen RecorderRecord your screen with mic and system audio.Audio to TextTranscribe MP3, WAV and M4A recordings to text in your browser with Whisper. Export TXT, SRT, DOCX.Audio ConverterConvert MP3, WAV, M4A, OGG and FLAC to MP3 or WAV in batch, right in your browser.Audio CutterTrim MP3 and audio files, add fades and make ringtones.Audio JoinerMerge MP3 and other audio files into one track with crossfade.WAV to MP3Convert WAV files to MP3 at 128, 192 or 320 kbps, in batches.Voice RecorderRecord and trim audio in your browser.MP3 to WAVConvert MP3 files to WAV in batches.Audio Speed ChangerSpeed up or slow down audio, with or without pitch change.Audio Pitch ChangerShift the pitch of a song or recording up or down without changing tempo.Audio Volume Booster & NormalizerMake audio louder, normalize peaks or loudness, with a limiter against clipping.Clear Audio RecorderRecord clean audio with noise suppression and gain control.Sound Level MeterEstimate noise level in decibels using your microphone.Audio ReverserReverse any audio file and play it backwards, then download the result as WAV.Hearing TestCheck your hearing by ear and frequency, plot an audiogram and find your upper frequency limit.Text to Morse AudioTurn text into Morse code sound at any WPM with Farnsworth timing, then play it or save a WAV.Audio Bitrate CalculatorWork out audio file size from bitrate and length, WAV size, or the bitrate for a target size.Audio Spectrum AnalyzerLive FFT spectrum analyzer for your microphone or an audio file, with dominant frequency and note.Subwoofer Bass TestTest your subwoofer and bass response with 10–200 Hz tones, presets and a low-frequency sweep.M4A to MP3Convert M4A, AAC and iPhone voice memos to MP3 in batch, privately in your browser.Voice ChangerRecord or upload your voice and make it chipmunk, deep, robot, alien, radio or echo. Save as WAV.Ringtone MakerCut the best 15–40 seconds of any song, add fades and save it as an MP3 ringtone.OGG to MP3Convert OGG Vorbis and Opus audio to MP3 in batch, keeping tags. Free, no upload.FLAC to MP3Convert FLAC to MP3 at up to 320 kbps, keeping tags and album art. Batch, no upload.AAC to MP3Convert AAC and M4A audio to MP3 in batch, at 128 to 320 kbps. Free, no upload.OPUS to MP3Convert OPUS audio and voice messages to MP3 in batch, at 64 to 320 kbps. No upload.Audio NormalizerNormalize audio to a peak level or a LUFS loudness target, in batch, and save as WAV or MP3.Audio Noise ReducerRemove background hiss, hum and room noise from a recording using a noise profile, then save WAV.Audio Fade In and OutAdd a smooth fade in and fade out to any song or recording, then save it as MP3 or WAV.Audio Equalizer10-band EQ for audio files: boost bass, clarify vocals or tame treble, then save as MP3 or WAV.Audio MixerMix up to 4 audio tracks with volume, pan, start offsets and fades, then save the mix as MP3 or WAV.Waveform Image GeneratorTurn any song or recording into a waveform image: bars, mirror or line, as PNG or SVG.8D Audio ConverterMake any song 8D: sound circles around your head with reverb. Preview live, save MP3 or WAV.MIDI PlayerPlay MIDI files in your browser with a piano roll, tempo control, track mute and WAV export.Multitrack Audio RecorderRecord overdubs on up to 8 tracks with a metronome, then mix down to WAV or MP3.Online Audio PlayerPlay your MP3, FLAC, WAV, OGG and M4A files with a playlist, EQ, gapless, speed and sleep timer.Online OscilloscopeReal-time audio oscilloscope for mic, line-in or files: time/div, volts/div, trigger, XY mode.Online ThereminPlay a theremin with your mouse, finger or webcam: X sets pitch, Y sets volume, with vibrato and echo.Presentation RecorderRecord narrated slides from a PDF or images with mic, webcam bubble and slide timings.Sound IdentifierIdentify sounds from your mic or an audio file: dog barks, sirens, speech, music and 500+ more.Soundboard MakerBuild your own soundboard: upload or record clips, set labels, colors and hotkeys, save locally.Streaming Bitrate CalculatorBest OBS bitrate for your resolution, fps, codec and platform, plus the upload speed you need.Voice Pitch AnalyzerMeasure your speaking pitch: average Hz, pitch range and variation over time on a graph.Add Echo to AudioAdd echo or delay to audio: ms or BPM-synced time, feedback, wet/dry, ping-pong; export WAV/MP3.Animal Sounds BoardTap 60 animals to hear their sounds, learn a fun fact about each, and play a guess-the-sound quiz.Audio Bit Depth ConverterConvert WAV and FLAC between 8, 16, 24 and 32-bit (float) with TPDF dither and noise shaping.Audio File InfoCheck an audio file's codec, bitrate, sample rate, bit depth, channels, length, tags and peak.Audio Low-Pass and High-Pass FilterApply low-pass, high-pass, band-pass or notch filters to audio and see the response curve live.Audio Compressor and LimiterCompress or limit audio files online: threshold, ratio, attack, release, knee, makeup and a GR meter.M4B to MP3Convert M4B audiobooks to MP3 with tags and cover, or split them into one MP3 per chapter.MIDI to WAVRender MIDI files to WAV with General MIDI SoundFonts or your own .sf2, at 44.1 or 48 kHz.Mono to Stereo ConverterTurn mono audio into stereo: dual mono, comb widening or Haas delay, with a mono-compatibility check.MP3 to M4RTurn MP3s into iPhone M4R ringtones: pick the best 30-40 s, add fades, batch convert.Virtual Singing BowlStrike or rub the rim of a synthesized Tibetan singing bowl in 7 pitches, with sustain and loop.Speaker Wire Gauge CalculatorFind the right AWG speaker wire for any run length, impedance and allowed power loss.Stereo Channel SplitterSplit stereo audio into left and right mono files, extract mid/side, or swap, invert and mute channels.ABX Audio TestBlind ABX listening test between two audio files, with level matching and a p-value score.M4B Audiobook MakerCombine MP3 chapter files into one M4B audiobook with chapters, cover art and author tags.Bleep Censor ToolBleep out words in audio or video: mark them on the waveform or from a transcript, then export.Lossless Audio CheckerCheck if a FLAC or WAV is truly lossless or an upscaled MP3, with a spectrogram and verdict.Online VocoderClassic robot vocoder in your browser: speak or load a voice, play the synth carrier, record.Podcast Chapters GeneratorTurn timestamps into Podcasting 2.0 JSON chapters, YouTube chapters, or ID3 chapters inside your MP3.Stream Countdown OverlayMake a "starting soon" countdown screen for OBS: pick time, colors, fonts and animation, copy the URL.Audio LooperLoop any part of a song seamlessly with a crossfade, repeat it N times or to a length, export.
See all 99 Audio Converters & Editors →