GCSE Computer Science · public explanation

Data Units

Work with bits, bytes and file sizes for GCSE Computer Science. Follow unit conversions and distinguish OCR and AQA requirements with worked examples.

Read the explanation and worked examples, then choose your exam board to continue with activities and practice in your account.

OCR J277On the specificationOCR J277 1.2.3

Know bit, nibble, byte, KB, MB, GB, TB and PB and perform storage-capacity calculations using the convention supplied by OCR.

AQA 8525 (2027+)On the specificationAQA 8525 3.3.3

Know bit, byte and decimal kB, MB, GB and TB; compare byte quantities using powers of 1,000.

Read the unit before the number

A bit is one binary digit, either 0 or 1. Electronic circuits can represent these two states. A computer represents instructions and data, including text, images and sound, as patterns of bits; the interpretation of the pattern depends on the type of data.

Eight bits form one byte. Lowercase b means bit and uppercase B means byte, so 16 b and 16 B are different amounts: 16 b is 2 B, while 16 B contains 128 bits. The conversion changes the number and unit, not the amount of information being measured.

Keep the amount fixed while changing its unit

A prefix tells you the scale of a byte quantity. In decimal units, each step from kilobytes to megabytes, gigabytes and terabytes is a factor of 1,000. AQA writes kilobyte as kB; OCR uses KB. Both mean 1,000 bytes in this decimal convention.

In the worked example, 3.5 MB = 3,500 kB = 3,500,000 B. Multiply when expressing the same amount in smaller units. Divide when expressing it in larger units. Do not use the bit-to-byte factor of 8 between MB and kB: both already count byte quantities.

Decimal unitEquivalent byte quantity
1 kB (OCR: 1 KB)1,000 B
1 MB1,000,000 B
1 GB1,000,000,000 B
1 TB1,000,000,000,000 B

AQA focus

AQA: use decimal prefixes through tera

AQA 3.3.3 requires bits, bytes and decimal kilo, mega, giga and tera prefixes. Nibbles and petabytes are additional context here, not extra named units in this AQA requirement. Kibi and mebi prefix names are not required.

Older computing usage sometimes uses powers of 1,024. That does not replace AQA's decimal definitions. Use the convention explicitly given in a question and show each conversion consistently.

OCR focus

OCR: include nibbles and petabytes

OCR 1.2.3 explicitly includes the nibble and petabyte. A nibble contains four bits, so two nibbles form one byte. A petabyte is 1,000 terabytes in the decimal convention. These are required OCR units, not optional extensions.

For example, 4 nibbles × 4 bits per nibble = 16 bits, and 16 ÷ 8 = 2 bytes. At the other end of the scale, 2,000 TB ÷ 1,000 = 2 PB. Write each unit so a change of scale cannot be mistaken for a change in the stored amount.

OCR also permits consistent 1,024-based conversions as an alternative in its specification guidance. Where a question supplies a particular multiplier, follow it. Do not mix decimal and 1,024-based steps within one calculation.

Count the complete files that fit

A storage device has a fixed capacity. To find how many files fit, first express the available capacity and each file's size in the same unit. Then divide the available capacity by the size of one file.

Use the activity's example: a device has 2 GB available and each file uses 4 MB. In decimal units, 2 GB = 2,000 MB, then 2,000 ÷ 4 = 500 complete files. This calculation ignores metadata and other overheads, as the example states. If overhead is supplied, include it rather than assuming all device space is free.

A fraction in the final answer means there is not enough room for another complete file. For a new example, 3 MB available and 800 kB per file gives 3,000 ÷ 800 = 3.75: only three complete files fit. Rounding up would claim storage that is not available.

Continue with your exam board

The course combines lesson videos, interactive activities, topic questions and original exam mocks. Sign in to use the learning tools and save your progress; your account’s course access applies.

Independent learning resources. Not endorsed by AQA or OCR. These public introductions complement the full course and the official specification.