Worked example 1
Calculate the file size in kilobytes (KB) for a 25-second mono audio clip sampled at 22,050 Hz with a 16-bit sampling resolution. Give your answer to one decimal place. (Assume 1 KB = 1024 bytes).
Show solution outline
-
Identify the formula:
File Size (bits) = Sampling Rate Resolution Time Channels -
Substitute the values:
File Size (bits) = 22,050 Hz 16 bits 25 s 1 (mono) -
Calculate the total bits:
File Size = 8,820,000 bits -
Convert bits to bytes:
File Size (bytes) = 8,820,000 / 8 = 1,102,500 bytes -
Convert bytes to kilobytes (KB):
File Size (KB) = 1,102,500 / 1024 = 1076.66... KB -
Round to one decimal place:
Final Answer: 1076.7 KB