Gangmax Blog

How to Calculate The Size of Raw Uncompressed Audio File

Here is the formula which is straightforward.

1
File size = sampling rate(Hz) * bit depth(Byte) * 2(stereo track) * time(Second)

And the samples how to use it.

1
2
3
4
5
6
7
8
# A 1-minute stereo track at 44.1 kHz and 16-bit depth can easily be around 10 MB.
File size = 44100(sampling rate) * 2(bit depth) * 2(stereo track) * 60(time) = 10,584,000(bytes)

# A 76-minute stereo track at 44.1 kHz and 16-bit depth(Standard audio CD):
File size = 44100(sampling rate) * 2(bit depth) * 2(stereo track) * 60 * 76(time) = 804,384,000(bytes)

# A 5-minute stereo track at 196 kHz and 32-bit depth:
File size = 192000(sampling rate) * 4(bit depth) * 2(stereo track) * 300(time) = 460,800,000(bytes)

Comments