Bits, bytes and file sizes

Photos, songs and games take up space. Units like bytes and megabytes tell us how much.

Practise this lesson free (6 questions)

More tools

Small units

1 bit = a single 0 or 1.
1 nibble = 4 bits.
1 byte = 8 bits. One byte can store one character of text, such as the letter A.

Bigger units

You will also meet binary units: 1 kibibyte (KiB) = 1,024 bytes, 1 mebibyte (MiB) = 1,024 KiB. Use whichever a question asks for.
UnitSize (decimal units)
1 kilobyte (KB)1,000 bytes
1 megabyte (MB)1,000 kilobytes
1 gigabyte (GB)1,000 megabytes
1 terabyte (TB)1,000 gigabytes

Converting

Going to a smaller unit: multiply. 3 bytes = 3 ร— 8 = 24 bits.
Going to a bigger unit: divide. 4,000 KB = 4,000 รท 1,000 = 4 MB.
Worked example

A phone has 2 GB of free space. Each photo is 4 MB. How many photos fit? Use 1 GB = 1,000 MB.

  1. 2 GB = 2 ร— 1,000 = 2,000 MB.
  2. 2,000 รท 4 = 500

Answer: 500 photos

Key idea

8 bits = 1 byte, 4 bits = 1 nibble. In decimal units each step up (KB, MB, GB, TB) is 1,000 times bigger; in binary units it is 1,024. Multiply to go smaller, divide to go bigger.

Key words
AND
A Boolean operator that gives True (1) only when both inputs are True.
Byte
A group of 8 bits.
Nibble
A group of 4 bits: half a byte.
Binary
A number system that uses only two digits, 0 and 1. Computers store all data in binary.
Binary units
1 kibibyte (KiB) = 1,024 bytes. 1 mebibyte (MiB) = 1,024 KiB. 1 gibibyte (GiB) = 1,024 MiB. Use whichever units a question asks for.
Bit
A binary digit: a single 0 or 1. The smallest unit of data.

All KS3 Computing 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 bits are in 7 bytes?

    Show the answer

    Answer: 56

    1 byte = 8 bits, so 7 ร— 8 = 56.

  2. How many bits are in one nibble?

    Show the answer

    Answer: 4

    A nibble is half a byte: 4 bits.

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.

Video for this lesson coming soon. Subscribe on YouTube

Sources and references

Facts checked against the sources below, 27 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.