Images, sound and the limits of bits
The number of bits you use decides how much detail you can store. More bits means better quality but bigger files.
States from bits
1 bit: 2 states. 4 bits: 16. 8 bits: 256.
To store at least 50 different values you need 6 bits, because 25 = 32 is too few and 26 = 64 is enough.
Bitmap images
Colour depth is the number of bits per pixel: 1 bit gives 2 colours, 8 bits give 256, 24 bits give over 16 million.
Higher resolution or colour depth: better image, bigger file.
Sound
Sample rate: samples per second (Hz). Sample interval: time between samples = 1 ÷ sample rate.
Bit depth: bits per sample. More bits give more possible amplitude levels, so the recording is closer to the original.
Limitation: too few bits or samples gives a poorer copy of the original sound.
A sound is sampled at 50 000 Hz. What is the sample interval in microseconds?
- Sample interval = 1 ÷ 50 000 s = 0.00002 s
- 0.00002 s × 1 000 000 = 20 microseconds
Answer: 20 microseconds
n bits give 2n states. Image quality depends on resolution and colour depth. Sound quality depends on sample rate and bit depth. Sample interval = 1 ÷ sample rate.
- Resolution
- The number of pixels in an image (width × height).
- Colour depth
- The number of bits used to store the colour of each pixel.
- Sample rate
- The number of sound samples taken per second, in hertz.
- Bit
- A single binary digit, 0 or 1.
- Bit depth
- The number of bits used to store each sound sample.
- Sample interval
- The time between sound samples: 1 ÷ sample rate.
All GCSE and International GCSE Computer Science key terms and definitions →
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.
How many different colours can a colour depth of 6 bits represent?
Show the answer
Answer: 64 colours
26 = 64 different combinations.
What is the smallest number of bits needed to give at least 100 different colours?
Show the answer
Answer: 7
26 = 64 is too few, but 27 = 128 is enough, so 7 bits.
Check you have got it
Answer 7 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.
- Pearson Edexcel GCSE Computer Science (1CP2) specification, topic 2.1.1, 2.2.2, 2.2.3, 2.2.4
- Pearson Edexcel International GCSE Computer Science (4CP0) specification, topic 3.1.1, 3.2.2, 3.2.3, 3.2.4
Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.
What do exam command words like explain and evaluate mean? →