Audio Duration Calculator

Work out how long a track runs from its file size and bitrate — or drop in a real file to read its exact duration.

How to use the Audio Duration Calculator

  1. Enter your valuesEnter the file size and whether it is compressed (MP3, AAC) or uncompressed (WAV); then the bitrate or sample rate/bit depth/channels. Or load a file to fill them in.
  2. Read the results instantlyThe duration appears as h:mm:ss with minutes and seconds alongside.
  3. Copy or sharePress the copy icon on any result card, or use Copy link to these values — the page URL stores your inputs so you can bookmark or send the exact calculation.

About the Audio Duration Calculator

The Audio Duration Calculator works out how long a recording is from its file size and bitrate — or, for uncompressed audio, from sample rate, bit depth and channels. It is handy when a file has no metadata, when you are budgeting storage or when you want to estimate how much audio fits in a given size.

Rounding is handled correctly (a duration is never displayed as “1:60”), and a data-rate card shows bytes per second and per hour.

How the Audio Duration Calculator works

duration = size × 8 ÷ bitrate. For PCM, bitrate = sample rate × bit depth × channels, e.g. 44,100 × 16 × 2 = 1,411,200 bps. Compressed files assume constant bitrate; variable-bitrate files and embedded tags make real durations differ by a few percent.

duration (s) = size (bytes) × 8 ÷ bitrate (bits/s)

What people use it for

Unknown files

Estimate length from size.

Storage planning

How much audio fits in a given size.

Archives

Check recordings are complete.

Sanity checks

Confirm a converted file is the right length.

Tips for the best results

  • For MP3 use the file’s real average bitrate (shown by the File Info Analyzer).
  • Remember WAV headers add 44 bytes; negligible for estimates.
  • VBR files deviate; treat the number as an estimate.

Common problems & fixes

My estimate is off by a few percentVBR, tags, cover art and padding cause that.
Result looks too short or longCheck MB vs MiB.

Quick facts

ModesCompressed (kbps) and PCM (rate × bits × channels)
Outputh:mm:ss, minutes, seconds, data rate
Fill from fileReads real duration/size

Frequently asked questions

How long is a 10 MB MP3?

About 10.4 minutes at 128 kbps and 4.2 minutes at 320 kbps.

How long is a 100 MB WAV?

About 9.4 minutes of CD-quality stereo.

Why does my real file's duration differ slightly from the estimate?

The calculator assumes a constant bitrate. Real MP3 files often use variable bitrate encoding, which can shift the actual duration slightly from a flat calculation.

Your audio never leaves your device

This tool runs entirely in your browser using the Web Audio API. Nothing is uploaded, stored or shared — there is no server to send your file to, so it works offline once the page has loaded.

← Browse all free audio tools

User Reviews

–
No ratings yet
Write a review
Your rating *

Your email is never published. Reviews are moderated, and links aren't allowed.

What users are saying

No reviews yet

Be the first to share your experience with this tool — your feedback helps others.