📁 Topic 3 · 3.2 Units and Encoding
3.2a Units of data measurement
Edexcel 4CP0 · iGCSE Computer Science · ~10 min read
Notes
──
Video
──
Slides
──
Worksheet
──
Quiz

Bits and Bytes

The bit is the fundamental unit of data in computing (0 or 1). Multiple bits are grouped together to form larger units. The byte (8 bits) is the standard basic unit for measuring file sizes, memory capacity, and storage.

A nibble is a group of 4 bits (half a byte). A nibble can represent values from 0 to 15 (0000₂ to 1111₂), which corresponds to exactly one hexadecimal digit — this is why hex is a convenient shorthand for binary.

IEC Binary Prefixes (Powers of 2)

The International Electrotechnical Commission (IEC) defines binary prefixes based on powers of 2. These are the technically correct units for computer memory (RAM) and file sizes in binary systems:

UnitSymbolValue in bytesPower of 2
KibibyteKiB1,024 bytes2¹⁰
MebibyteMiB1,048,576 bytes2²⁰
GibibyteGiB1,073,741,824 bytes2³⁰
TebibyteTiB1,099,511,627,776 bytes2⁴⁰

SI Decimal Prefixes (Powers of 10)

Storage manufacturers often use SI (metric) prefixes based on powers of 10, which produce larger marketed capacity numbers. Network speeds and some storage devices also use these:

UnitSymbolValue in bytesPower of 10
KilobytekB1,000 bytes10³
MegabyteMB1,000,000 bytes10⁶
GigabyteGB1,000,000,000 bytes10⁹
TerabyteTB1,000,000,000,000 bytes10¹²

IEC vs SI: The Key Difference

A hard drive marketed as "1 TB" (1,000,000,000,000 bytes) stores only about 0.91 TiB in binary terms. This is why a "1 TB" hard drive shows as ~931 GiB when formatted and used. The Edexcel 4CP0 specification requires you to know both systems.

SystemPrefix "kilo" meansUsed for
IEC binary (KiB, MiB, GiB, TiB)1,024 (2¹⁰)RAM, file sizes in binary systems
SI decimal (kB, MB, GB, TB)1,000 (10³)Hard drive capacity, network speed marketing
📝 Exam Tip: In Edexcel 4CP0 exams, pay attention to whether the question uses KiB/MiB/GiB (×1024) or kB/MB/GB (×1000). Always use the correct multiplier. If in doubt, the specification states both systems are required knowledge.
⚠️ Common Mistakes
  • Saying 1 KB = 1,024 bytes — that's a KiB; 1 kB (kilobyte, SI) = 1,000 bytes
  • Using GB and GiB interchangeably — they are different units with different values
  • Confusing bit (b) with byte (B) — a lowercase b is bits, uppercase B is bytes; 1 byte = 8 bits
← 3.1d Negative Numbers Topic 3 · 3.2 Units and Encoding Next: 3.2b Representing Text →
🔒
Pro Content
Subscribe to access all 47 Edexcel iGCSE lessons.
£7.99/month
or £59/year