Representing sound
Sound is a smooth wave, but computers can only store numbers. Sampling turns a sound into a long list of binary numbers.
Sampling
To store it, the computer measures the height of the wave many times a second. Each measurement is a sample, stored as a binary number.
The list of samples is the digital version of the sound.
Sample rate and bit depth
Bit depth: how many bits store each sample. CD audio uses 16 bits.
A higher sample rate or bit depth gives a recording closer to the original sound, but a bigger file.
File size
(This is for one channel, called mono.)
Example: 1,000 Hz, 8 bits, 5 seconds: 1,000 ร 8 ร 5 = 40,000 bits = 5,000 bytes.
A 10-second mono clip is sampled at 2,000 Hz with a bit depth of 8 bits. How big is it in bytes?
- Bits = 2,000 ร 8 ร 10 = 160,000.
- Bytes = 160,000 รท 8 = 20,000.
Answer: 20,000 bytes
Sound is sampled: the sample rate is samples per second (Hz) and bit depth is bits per sample. Higher values mean better quality but bigger files. File size in bits = sample rate ร bit depth ร seconds.
- List
- A data structure that stores many items under one name, in order, such as scores = [4, 7, 2].
- Binary
- A number system that uses only two digits, 0 and 1. Computers store all data in binary.
- Sample rate
- How many sound samples are taken each second, measured in hertz (Hz). CD audio uses 44,100 Hz.
- AND
- A Boolean operator that gives True (1) only when both inputs are True.
- Bit
- A binary digit: a single 0 or 1. The smallest unit of data.
- Bit depth
- The number of bits used to store each sound sample. More bits give a more accurate recording.
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
A mono clip lasts 5 seconds, with a sample rate of 2,000 Hz and a bit depth of 8 bits. What is its size in bits?
Show the answer
Answer: 80000 bits
2000 ร 8 ร 5 = 80 000 bits.
A mono clip lasts 2 seconds, sampled at 8,000 Hz with a bit depth of 8 bits. What is its size in bytes?
Show the answer
Answer: 16000 bytes
8000 ร 8 ร 2 = 128 000 bits. รท 8 = 16 000 bytes.
Check you have got it
Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
Facts checked against the sources below, 27 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.