Calculation of file size Flashcards
Formula for calculating the size of a mono sound file
Sampling rate (Hz) * bit depth (bits) * length of sample (seconds)
Formula for calculating the size of a stereo sound file
Sampling rate * bit depth * length of sample * 2
What is sampling rate?
The number of samples taken per second. Measured in hertz
What is bit depth / sampling resolution?
The number of bits used in each sample.
Formula for calculating the size of image files
Image resolution (pixels) * colour depth (bits)
What is image resolution?
The number of pixels in an image
What is colour depth?
The number of bits used to represent a colour
Number of bytes in a kilobyte
2^10 / 1024 bytes
Number of bytes in a megabyte
2^20 / 1024 KB
Number of bytes in a gigabyte
2^30 / 1024 MB
Number of bytes in a terabyte
2^40 / 1024 GB
Number of bytes in a petabyte
2^50 / 1024 TB