Binary units of measurement (Edexcel GCSE Computer Science): Revision Notes
Binary units of measurement
What is binary data?
Computers work exclusively with binary data, which means all information must be converted into a sequence of 1s and 0s before the computer can process it. Whether you're saving a photo, typing a document, or streaming a video, everything gets transformed into this binary format behind the scenes.
Think of it like a light switch that can only be "on" (1) or "off" (0). Computers use millions of these tiny switches to represent all the complex information we work with every day.
Basic building blocks of binary data
Bits - the smallest unit
A bit (short for binary digit) is the fundamental unit of computer data. It can store just one piece of information - either a 1 or a 0. While a single bit might seem useless, when you combine millions of them together, you can represent anything from text to images to videos.
Organising bits into groups
To make data more manageable, bits are organised into larger groups:
- 4 bits = 1 nibble - This small group can represent 16 different combinations (0000 to 1111)
- 8 bits = 1 byte - This is the standard unit computers use to represent a single character, like a letter or number
A byte is particularly important because it's large enough to store one character of text using systems like ASCII code.
The binary unit hierarchy
As files and storage devices get larger, we need bigger units to measure them conveniently. Just like we use kilometres instead of metres for long distances, we use larger binary units for big amounts of data.
Understanding the progression
The binary units follow a specific pattern, each being 1024 times larger than the previous unit:
- 1 byte = 8 bits
- 1 kibibyte (KiB) = 1024 bytes
- 1 mebibyte (MiB) = 1024 kibibytes
- 1 gibibyte (GiB) = 1024 mebibytes
- 1 tebibyte (TiB) = 1024 gibibytes
Why 1024 and not 1000?
You might wonder why we use 1024 instead of the more familiar 1000. This is because computers work in binary (base 2), and 1024 is actually - a perfect power of 2. This makes it much more natural for computer systems to work with.
The factor 1024 is called a binary prefix and is used specifically for converting between these binary units of measurement.
Binary prefixes vs decimal prefixes
Historically, people used decimal prefixes (kilo, mega, giga) to describe binary data, which caused confusion. A "kilobyte" could mean either 1000 bytes or 1024 bytes depending on the context!
To solve this problem, the International Electrotechnical Commission (IEC) created specific binary prefixes:
- Kibi (KiB) instead of kilo
- Mebi (MiB) instead of mega
- Gibi (GiB) instead of giga
- Tebi (TiB) instead of tera
These binary prefixes are the official units for measuring data storage and should always be used when dealing with computer memory and storage.
Converting between units
Converting between binary units is straightforward once you remember the key principle: multiply by 1024 to convert to a smaller unit, divide by 1024 to convert to a larger unit.
Conversion rules
-
Going down the hierarchy (to smaller units): multiply by 1024
- Example: 5 GiB to MiB = 5 × 1024 = 5120 MiB
-
Going up the hierarchy (to larger units): divide by 1024
- Example: 2048 MiB to GiB = 2048 ÷ 1024 = 2 GiB
Multiple step conversions
Sometimes you need to convert across multiple levels. For example, to convert bytes directly to gibibytes, you would need to divide by 1024 three times (or divide by ).
Worked Example: USB stick capacity
Let's work through a practical example. Suppose you have a USB stick with a storage capacity of 32 GiB, and you want to express this capacity in bits.
To convert from GiB to bits, we need to work our way down through each unit:
32 GiB → MiB → KiB → bytes → bits
The conversion expression would be:
This shows us exactly how many multiplication steps are needed:
- 32 GiB to MiB: multiply by 1024
- MiB to KiB: multiply by 1024
- KiB to bytes: multiply by 1024
- bytes to bits: multiply by 8
While you don't need to calculate the final answer, setting up the expression correctly demonstrates your understanding of the unit relationships.
Practice and exam tips
Common exam question types
- Unit conversion problems - You'll often be asked to convert between different binary units
- Capacity calculations - Questions about storage devices and file sizes
- Expression construction - Setting up conversion calculations without necessarily computing the final answer
Key strategies
- Always identify which direction you're converting (up or down the hierarchy)
- Remember that 1024 is the magic number for all conversions
- When converting multiple levels, you can either do it step by step or use powers of 1024
- Check your answer makes sense - larger units should have smaller numbers
Common mistakes to avoid
- Don't confuse binary prefixes (KiB, MiB) with decimal prefixes (KB, MB)
- Don't use 1000 as the conversion factor - always use 1024
- Don't forget that bits and bytes are different (8 bits = 1 byte)
Key Points to Remember:
- All computer data is stored in binary format using 1s and 0s
- The basic hierarchy is: bit → nibble (4 bits) → byte (8 bits) → KiB → MiB → GiB → TiB
- 1024 is the conversion factor between all adjacent binary units
- Multiply by 1024 to go to smaller units, divide by 1024 to go to larger units
- Binary prefixes (KiB, MiB, GiB, TiB) are the correct units for measuring computer data storage