Questions

Forum Navigation
Please to create posts and topics.

Calculate Bit Rate and File Size of an audio file?

How can I predict or calculate the bit rate or file size of an audio file?

Using an uncompressed format, we can calculate bit rate as:

bit rate = bits_per_ sample (16-bit or 24-bit) x samples_per_sec (44.1KHz-48KHz) x number_of_channels

An example is the following: 16-bit audio, with a sample rate of 48KHz, in stereo mode, will have bitrate of 1.5Mb/sec.

Always for uncompressed format the resulting file size will be:

((bits_per_sample (16-bit or 24-bit) x samples_per_sec (44.1KHz-48KHz) x number_of_channels x duration (sec of the audio stream))/8

An example of this calculation is the following: 16-bit audio, with a sample rate of 44.1Khz, in stereo mode, for 60 minutes of lenght, will result with a file size of 630MB.

In comparison, for a compressed format, the file size will be calculated as:

((bit_rate_in_kbps) x (length_audio_sec))/8

An example of this is the following: 16 bit audio, with a sample rate of 44.1Khz, in stereo mode, for 60 minutes of lenght at 128Kbps, will result in about 10.8 MB of file size.

Finally, for live streaming, the bandwidth required (for audio), if you are streaming directly to listeners, can be calculated using the formula:

bandwidth = listeners x bit_rate x length (audio_track_length_or_per_day) x number_of_days