Audio File Size Calculator
Work out the size of an MP3, WAV, or other audio file from its length, bitrate, or sample rate and bit depth. Shows decimal MB and binary MiB, and plans around a size limit.
https://hexacalculator.com/calculators/other/computers/audio-file-size-calculator
Other
Computers
Audio File Size Calculator
Work out the size of an MP3, WAV, or other audio file from its length, bitrate, or sample rate and bit depth. Shows decimal MB and binary MiB, and plans around a size limit.
Audio File Size Calculator
Your audio
kbps
Plan around a size limit
Work out the bitrate or the length that fits a target file size.
kbps
- Bitrate (kbps)
- Binary size (MiB)
Compare formats and scaling
The audio file size calculator allows you to estimate the storage space required for a recording. By entering the length of your audio and some quality parameters, it can calculate the file size in megabytes. This version supports two types of audio: for compressed files like MP3 or AAC, the size is directly calculated from the bitrate, while for uncompressed files like WAV or AIFF, the size is calculated based on the sample rate, bit depth, and number of channels.
How are audio file sizes calculated?
Any audio file is a sequence of bits played over time. The size of the file comes from multiplying the bit rate (the number of bits transferred per second) by the recording length (in seconds), then dividing by eight to convert the bits into bytes.
For compressed files, data transfer rate is already known and is expressed in kilobits per second when encoding as bitrate.
For uncompressed files the data transfer rate is not stored directly but must be calculated from recording settings. By multiplying sample rate, bit depth and number of channels one gets the bitrate so the same formula can be applied.
Example:
A four-minute composition saved in the lossless CD-quality WAV format requires this amount of data: 44,100 samples are captured per second, with each sample being 16 bits. Stereo uses two channels. The bit rate is calculated by multiplying 44,100 by 16, multiplied by 2, which gives a data size of 1,411,200 bits per second, usually expressed as 1,411.2 kbps. After 240 seconds the total number of bits is 338,688,000, which when divided by eight equals 42,336,000 bytes, or about 42.3 MB.
The same four-minute composition, saved as an MP3 at 320kbps, requires a data size of 320 bytes, calculated by multiplying 240 divided by eight, which leads to 9,600,000 bytes or 9.6MB. Reducing it to 128kbps reduces the file size to just 3.84MB. This is the effect of compression.
Decimal megabytes versus binary mebibytes
There are two methods for calculating megabytes and the results differ. Storage media manufacturers, download services, and macOS use decimal units where one megabyte is exactly 1,000,000 bytes. Windows and many older software use binary units where a unit called a megabyte actually contains 1,048,576 bytes. The correct technical term for this unit is mebibyte.
So a file that shows as 42.3 MB in this tool might show as 40.4 MiB on devices that use binary units. The number of bytes is the same; only the measurement system changes. This calculator displays both results at once, so even seemingly inconsistent numbers can be easily checked.
Bit rate reference table
These values are based on using a constant bit rate mode. At a given bit rate, one minute of audio will always take up the same amount of data regardless of what is actually being recorded, so you can scale this table to any length.
Bitrate | Typical use | Per minute | Per hour |
|---|---|---|---|
64 kbps | Low-rate speech | 0.48 MB | 28.8 MB |
128 kbps | Standard MP3 | 0.96 MB | 57.6 MB |
192 kbps | Good quality music | 1.44 MB | 86.4 MB |
256 kbps | High quality music | 1.92 MB | 115.2 MB |
320 kbps | Maximum MP3 | 2.4 MB | 144 MB |
1,411 kbps | CD-quality WAV | 10.58 MB | 635 MB |
Does the file size change depending on what's in it?
This is not the case with uncompressed audio. Since both silent and loud sections use the same number of samples, a WAV file will always be the same size as long as length and quality are equal. This is similar to how a cassette tape always uses the same amount of tape regardless of what is recorded on it.
For compressed audio it depends on the encoder. For constant bitrate files, the size is predictable because of the constant rate. This is what this tool is based on. For variable bitrate files, louder sections will be allocated more bits and quieter sections less bits so the actual file size may be slightly smaller or larger than the estimate. For lossless formats like FLAC and ALAC, the size can be reduced by about 30 to 60% of the uncompressed audio, with the exact reduction depending on the material and not just predictable from length alone.
Planning with size restrictions in mind
If you need to fit within a particular maximum size limit, such as for email attachments or uploads, open the Size Limit Planner. Enter your target size and it will calculate backwards in two directions: The bitrate that would allow you to stay within the limit at the current length, and the maximum recording time that would keep you within the limit with the current bitrate. In both cases, the relationship between bitrate, length, and size is the same, only the unknown being sought varies.
Note on the sizes shown:
The size reported by the device may differ slightly from the estimate. There is a small fixed overhead for file headers and metadata, and container formats add padding to align data blocks. Also, as mentioned earlier, megabytes are defined differently in decimal and binary systems depending on your operating system. You can use these estimates when planning storage or transferring data, since they're usually very close to the actual values.
Frequently asked questions
- How is an audio file size calculated?
To convert bits to bytes, multiply the bit rate by the length and divide the result by eight. For compressed files, the bit rate is equal to the actual bit rate used during encoding. For uncompressed files, the bit rate is the product of the sample rate, bit depth, and number of channels.
- Why does the size shown in MB differ from what your computer shows?
There are two ways to calculate megabytes. This tool uses the decimal MB which is 1,000,000 bytes. This is the notation used by storage devices and download services. Windows however uses a binary representation where "MB" actually means 1,048,576 bytes (mebibytes). Since the file size remains the same but only the unit changes, this calculator shows both results at once.
- Why are WAV files so much larger than MP3s?
An uncompressed WAV file stores all the samples of the original recording, while an MP3 discards data that is barely perceptible to the ear. At CD quality, a WAV file will be about 1411 kbps, which is roughly ten times as fast as a standard MP3 at 128 kbps. As such, it's also about ten times larger in size.
- Does high volume or complex audio content result in larger files?
For uncompressed audio data this is not the case. The size is determined only by the length and quality settings and does not depend on the actual content of the audio. For compressed audio data however it can happen as encoders with variable bit rate use more bits for louder or more complex sections. This tool assumes files with a fixed bit rate, so their size will not change.
- What bitrate should I use to meet the size limit?
Open the size estimator and enter your target size to show the maximum bit rate that can be used to keep the recording within the limit. As a reference point, 96-128kbps is suitable for speech and podcasts while 192-320kbps is recommended for music.
Related calculators






Disclaimer: This calculator is provided for general informational and educational purposes only. Our calculators are under active development, and results may be inaccurate, incomplete, or unsuitable for your situation. Always verify the figures independently and seek advice from a qualified professional before relying on them. We make no warranties and accept no liability for any loss or decision arising from use of this tool.
References
- Bit rate (Wikipedia)
Definition of bitrate and how it relates to data size.
- Audio bit depth (Wikipedia)
How bit depth and sample rate set an uncompressed stream's data rate.
- Binary prefix (Wikipedia)
Decimal (MB) versus binary (MiB) units under IEC 80000-13.
- FLAC — Free Lossless Audio Codec (Xiph.Org)
How lossless compression reduces uncompressed audio size.