Data Storage · Cambridge syllabus 1.3 · Lesson 1 of 3
Units of Data
A bit is one binary digit, a nibble is 4 bits and a byte is 8 bits. Each larger unit is 1024 of the one below: KiB, MiB, GiB, TiB, PiB and EiB. The syllabus requires 1024, not 1000, in every calculation, and the answer must be given in the unit the question asks for.
By the end, you can
- Understand bits, nibbles and bytes.
- Convert between bits and bytes.
- Use kibibytes (KiB), mebibytes (MiB), gibibytes (GiB), tebibytes (TiB), pebibytes (PiB) and exbibytes (EiB).
- Use 1024, not 1000, as the multiplier in every storage calculation.
Storage units
The smallest unit is the bit, a single 0 or 1. Four bits make a nibble and eight make a byte, which is the usual unit for one character.
Above that, each unit is 1024 of the one below, because 1024 is 2¹⁰ and is the natural step for binary hardware. 1 kibibyte (KiB) = 1024 bytes, 1 mebibyte (MiB) = 1024 KiB, 1 gibibyte (GiB) = 1024 MiB, 1 tebibyte (TiB) = 1024 GiB, 1 pebibyte (PiB) = 1024 TiB and 1 exbibyte (EiB) = 1024 PiB.
The syllabus is clear that calculations must use 1024 and not 1000, and that the answer must be in the unit the question asks for. So 3 MiB is 3 × 1024 = 3072 KiB, and 2048 bytes is 2 KiB.
Going down a unit means multiplying by 1024; going up means dividing by 1024. Between bits and bytes the step is 8, not 1024, and that is the step most often forgotten.
You will also see drives sold as 500 GB. Manufacturers count those in 1000s, which is why the same drive shows as about 465 GiB on a computer. In an exam, use the 1024 units.
Worth remembering
- bit, nibble (4 bits), byte (8 bits), then KiB, MiB, GiB, TiB, PiB, EiB.
- Each unit is 1024 of the one below. Calculations must use 1024, not 1000.
- Multiply by 1024 to go down a unit and divide by 1024 to go up.
Worked example
2 KiB = 2 × 1024 = 2048 bytes = 2048 × 8 = 16384 bits.
Practice
Warm-up · not marked
Check your understanding
Answer in your own words, then compare with the worked answer. Nothing here is saved or scored.
Worked answer
3 × 1024 × 8 = 24576 bits.
Check your method, units and explanation against it.
Marked practice
Set 1 of 4 · easiest first · Checked as you go, with the worked answer. Sign in or create a free account to save your progress.