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.

Practise this lesson free (7 questions)

More tools

States from bits

n bits can represent 2n different values (states).
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

A bitmap is a grid of pixels. Resolution is the number of pixels (width × height).
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

Sound is an analogue wave. The computer measures its amplitude (height) at regular intervals: sampling.
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.
Worked example

A sound is sampled at 50 000 Hz. What is the sample interval in microseconds?

  1. Sample interval = 1 ÷ 50 000 s = 0.00002 s
  2. 0.00002 s × 1 000 000 = 20 microseconds

Answer: 20 microseconds

Key idea

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.

Key words
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 →

Quick check

Try two quick questions

See if it has sunk in. Answers are marked straight away.

Extra practice

2 more questions

Try each one, then tap to check.

  1. How many different colours can a colour depth of 6 bits represent?

    Show the answer

    Answer: 64 colours

    26 = 64 different combinations.

  2. 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.

Video for this lesson coming soon. Subscribe on YouTube

Sources and references

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? →

Related lessons