Audio File Size Calculator
How much space uncompressed audio takes, from the sample rate, bit depth, channels and length — and how much a compressed version would take.
Results
File size
1036.800
MB
The same in gigabytes
1.0368
GB
The same in mebibytes
988.770
MiB
Uncompressed bitrate
2304.00
kbps
Megabytes per minute
17.2800
MB/min
Size if compressed
115.200
MB
Compression ratio
9.000
Highest frequency it can hold
24,000.0
Hz
Hours that fit in a gigabyte
0.965
h
What this tool does
Uncompressed audio is wonderfully predictable: the size is just four numbers multiplied together, with no codec to guess about. That makes it easy to see what each choice costs — going from 16 to 24 bits adds half again, and doubling the sample rate doubles everything. The compressed figure is shown alongside so the trade is in plain sight.
Formula
uncompressed: bytes = sample rate × (bits ÷ 8) × channels × seconds · compressed: bytes = bitrate × seconds ÷ 8
Variables
| Symbol | Meaning | Unit |
|---|---|---|
sr | Sample rate | Hz |
bd | Bit depth | — |
ch | How many channels | — |
mn | How long | min |
br | Bitrate if compressed | kbps |
MB | File size | MB |
GB | The same in gigabytes | GB |
MI | The same in mebibytes | MiB |
RT | Uncompressed bitrate | kbps |
PM | Megabytes per minute | MB/min |
CB | Size if compressed | MB |
CR | Compression ratio | — |
NY | Highest frequency it can hold | Hz |
HR | Hours that fit in a gigabyte | h |
Worked example
- Sample rate48,000 Hz
- Bit depth24
- How many channels2
- How long60 min
- Bitrate if compressed256 kbps
- File size1036.800 MB
- The same in gigabytes1.0368 GB
- The same in mebibytes988.770 MiB
- Uncompressed bitrate2304.00 kbps
- Megabytes per minute17.2800 MB/min
- Size if compressed115.200 MB
- Compression ratio9.000
- Highest frequency it can hold24,000.0 Hz
- Hours that fit in a gigabyte0.965 h
Limitations
- The calculation runs at full precision and only the display is rounded. If you copy an intermediate value and retype it, small differences can appear.
- Mixing units is the most common source of error. Convert every input to the units shown next to each field before calculating.