An audio file size calculator works out how big a sound file will be. For uncompressed audio, enter the sample rate, the bit depth, the number of channels and the length. For compressed audio, such as MP3, enter the bit rate and the length. It gives the size in bytes and megabytes.
How to use the audio file size calculator
- Choose uncompressed or compressed.
- Enter the sample rate, bit depth and channels, or the bit rate.
- Enter the duration.
- Press Calculate.
Bit rate
The bit rate is the number of bits that are processed per unit of time. The page says that the encoding bit rate equals the file size in bytes divided by the playback time in seconds, times eight [3]. Turned round, the file size in bytes is the bit rate in bits per second times the duration in seconds, divided by eight. The page defines 1 kilobit per second as 1,000 bits per second and a byte as 8 bits [3].
Uncompressed audio
In pulse-code modulation, a sound wave is sampled many times a second, and each sample is stored with a given number of bits [1]. The bit rate of uncompressed audio is the sample rate times the bit depth times the number of channels. The page on bit depth says that the depth also affects the bit rate and the file size [2]. The formula for the product itself is in a summary of the bit rate page, and is our own statement here.
The CD
The compact disc uses a sampling frequency of 44,100 hertz and a resolution of 16 bits, and stores up to 80 minutes of stereo audio [1]. The bit rate is 44,100 × 16 × 2 = 1,411,200 bits per second, which is 1,411.2 kilobits per second. For a track of 3 minutes, the size is 1,411,200 × 180 ÷ 8 = 31,752,000 bytes, about 31.75 megabytes. These figures are our own arithmetic from the CD parameters.
Compressed audio
A compressed file has a stated bit rate, and its size is that rate times the length. At 320 kilobits per second, the highest rate that the MP3 standard supports, a 3-minute track is 320,000 × 180 ÷ 8 = 7,200,000 bytes, about 7.2 megabytes. At 128 kilobits per second, one minute is 960,000 bytes. The summary of the bit rate page lists 192 kilobits per second as medium quality and 320 as the highest [3].
Megabytes and mebibytes
The calculator shows megabytes, which are millions of bytes, and mebibytes, which are 1,048,576 bytes. Operating systems differ in which they call MB. The 3-minute CD track is 31.752 megabytes or 30.281 mebibytes. The result in bytes is exact and does not depend on the convention, so use it if you need to compare with a file's properties.
A worked example
A 3-minute stereo recording at 44.1 kilohertz and 16 bits takes 31,752,000 bytes. A one-hour recording of the same kind is about 635 megabytes. A mono voice recording at 48 kilohertz and 24 bits for 30 seconds takes 4,320,000 bytes. These are our own calculations. Use the calculator to plan how much storage a recording session needs.
Choosing the settings
A higher sample rate and bit depth give a larger file, in proportion. Doubling the channels doubles the size. For speech, a mono recording at a lower sample rate may be enough. For music, the CD standard is a common choice, and many studios work at 48 or 96 kilohertz and 24 bits. The calculator lets you compare the cost in storage of each choice.
Variable bit rate
Some compressed formats use a variable bit rate, which changes with the complexity of the sound. The size is then the average bit rate times the length, and the file size may differ from the calculator's by a few percent. Files also hold extra data, such as tags and cover art, which add to the size. Treat the result as an estimate for such files.
Using the results
Use the size to plan storage, to estimate an upload or download time, with the connection speed, or to check that a recording will fit on a card or a disc. A card of 32 gigabytes holds about 3,000 minutes, or 50 hours, of CD-quality stereo audio, our own estimate from the bit rate. Compressed files take about a fifth to a tenth of that.
Sizes at a glance
CD-quality stereo takes about 10.6 megabytes a minute, and 48 kilohertz at 24 bits in stereo about 17.3 megabytes a minute. A compressed file at 128 kilobits per second takes about 0.96 megabytes a minute, and at 320 about 2.4. Use these to judge what you need.
Plan your storage
For a session, multiply the size per minute by the length of the takes, and add a margin of 20 to 30 percent for retakes. A band that records 8 tracks of 4 minutes each in stereo at the CD setting needs about 340 megabytes for one take of each. If you record every instrument on its own mono track, multiply by the number of tracks.
Common mistakes
- Mixing kilobits and kilobytes. Divide bits by eight for bytes.
- Forgetting the channels. Stereo is twice mono.
- Using the sample rate in hertz. Enter it in kilohertz.
- Expecting an exact size for variable bit rates. The result is an average.
What next
Use this often? Add Audio File S to your Home screen.
Frequently asked questions
What is an audio file size calculator?
A tool that finds the size of a sound file from its settings and length.
How do I find the size of uncompressed audio?
Sample rate × bit depth × channels × seconds ÷ 8, in bytes.
How big is a 3-minute CD-quality track?
About 31.75 million bytes.
How big is a 3-minute MP3 at 320 kbit/s?
About 7.2 million bytes.
What is the bit rate of CD audio?
1,411.2 kbit/s: 44,100 samples a second × 16 bits × 2 channels.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.