All digital data is stored and processed as binary — sequences of 0s and 1s. The smallest unit of data is a bit (binary digit). A single bit can hold either 0 or 1.
A byte is the fundamental unit used to measure file sizes and storage capacity. One byte can represent 2⁸ = 256 different values (0–255).
| Unit | Symbol | Value | Approximate real-world size |
|---|---|---|---|
| Bit | b | 1 binary digit (0 or 1) | — |
| Nibble | — | 4 bits | One hex digit |
| Byte | B | 8 bits | One character of text |
| Kilobyte | KB | 1,024 bytes | A short text document |
| Megabyte | MB | 1,024 KB = 1,048,576 bytes | A 3–4 minute MP3 song (~4 MB) |
| Gigabyte | GB | 1,024 MB | A 2-hour film (~1–4 GB); phone RAM |
| Terabyte | TB | 1,024 GB | A large hard drive |
| Petabyte | PB | 1,024 TB | Large data centres |
| Question | Working | Answer |
|---|---|---|
| Convert 3 GB to MB | 3 × 1,024 | 3,072 MB |
| Convert 2,048 MB to GB | 2,048 ÷ 1,024 | 2 GB |
| Convert 4 KB to bytes | 4 × 1,024 | 4,096 bytes |
| Convert 1 TB to GB | 1 × 1,024 | 1,024 GB |
| How many bits in 1 byte? | — | 8 bits |
| How many bytes in 4 KB? | 4 × 1,024 | 4,096 bytes |
Computers use binary (base 2), so storage units are based on powers of 2:
| File type | Typical size | Unit |
|---|---|---|
| Text document (1 page) | ~5–20 | KB |
| A single high-res photo | ~3–8 | MB |
| MP3 song (3 min) | ~3–5 | MB |
| HD film (2 hours) | ~1–4 | GB |
| Smartphone storage | 64–512 | GB |
| Desktop HDD | 1–10 | TB |
8 questions · 17 marks · Submit to reveal mark schemes
10 questions · 10 marks · 10 minutes
| Term | Definition |
|---|