Skip to main content
EnglandComputer ScienceSyllabus dot point

How is data storage measured in binary multiples, and why and how is data compressed?

Understand that data storage is measured in binary multiples (bit, nibble, byte, kibibyte, mebibyte, gibibyte, tebibyte), construct expressions to calculate file sizes and data capacity, and understand the need for and methods of compression (lossless, lossy).

A focused answer to Edexcel GCSE Computer Science 2.3.1 and 2.3.2, covering the binary storage multiples (bit, nibble, byte, kibibyte up to tebibyte), file-size and capacity calculations, and lossy and lossless compression.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The binary storage multiples
  3. File-size and capacity expressions
  4. Why and how data is compressed
  5. Try this

What this dot point is asking

Edexcel wants you to know the binary units of storage (bit, nibble, byte and the binary multiples kibibyte, mebibyte, gibibyte, tebibyte), to build expressions for file sizes and storage capacity, and to explain why data is compressed and the difference between lossless and lossy compression.

The binary storage multiples

This is an Edexcel-specific point worth stressing: the board uses the binary multiples (kibibyte, mebibyte, and so on), where each unit is 10241024 of the one below, because 1024=2101024 = 2^{10} fits binary storage exactly. So 1 kibibyte =1024= 1024 bytes =1024×8=8192= 1024 \times 8 = 8192 bits. Getting the factor right (1024) is essential for capacity calculations.

File-size and capacity expressions

The reliable method for capacity questions is: (1) work out the size of one file; (2) convert the storage capacity into the same unit; (3) divide. Conversions use the factor 1024 for each binary step (and 8 for bits to bytes). For instance, a 1 gibibyte drive holds 10241024 mebibytes, so it stores 1024÷4=2561024 \div 4 = 256 files that are 4 mebibytes each.

Why and how data is compressed

The need for compression is practical: smaller files cost less to store and stream, and load faster on web pages, which matters for images, audio and video that would otherwise be very large.

The trade-off is size against fidelity. Lossy achieves far smaller files but loses quality and is irreversible, so it is wrong for a program file (a single changed bit could break it). Lossless is reversible and safe for any data, but the size saving is more modest. Choosing the right type for the data, and justifying it, is what compression questions reward.

Try this

Q1. State how many bytes are in a kibibyte. [1 mark]

  • Cue. 1024 bytes.

Q2. State one reason data is compressed before being sent over a network. [1 mark]

  • Cue. A smaller file transfers faster and uses less bandwidth (and less storage).

Exam-style practice questions

Practice questions written in the style of Pearson Edexcel exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Edexcel 20233 marksA memory card has a capacity of 2 gibibytes. Each photo is 4 mebibytes. Calculate how many photos can be stored on the card. Show your working.
Show worked answer →

Convert the capacity to the same unit as the photos. Binary multiples step up by 1024 (2102^{10}).

2 gibibytes =2×1024=2048= 2 \times 1024 = 2048 mebibytes. Number of photos =2048÷4=512= 2048 \div 4 = 512 photos.

Markers reward converting gibibytes to mebibytes using the factor 1024, dividing by the photo size, and the answer 512. Using 1000 instead of 1024 for binary multiples is the usual error.

Edexcel 20224 marksExplain the difference between lossless and lossy compression, and give one suitable use of each.
Show worked answer →

Lossless compression reduces file size with no loss of data, so the original can be reconstructed exactly; it is suitable where every bit matters, such as text documents, spreadsheets or program files.

Lossy compression permanently removes some data (often detail the human eye or ear is least likely to notice) to achieve much smaller files, so the original cannot be perfectly restored; it is suitable for photographs (JPEG) and music (MP3), where a small quality loss is acceptable for a big size saving.

Markers reward the key distinction (lossless keeps all data and is reversible; lossy permanently discards data and is not) plus one valid use of each that fits the trade-off.

Related dot points

Sources & how we know this