Multiple choiceQuestion 1 · Recall
Loading…
By the end you can tell a kibibyte from a kilobyte (and mebi from mega, gibi from giga, tebi from tera), and convert between them in your head.
Everything a computer stores is a pattern of bits (binary digits), each one a 0 or a 1.
| Unit | Size |
|---|---|
| bit (b) | one binary digit |
| nibble | 4 bits |
| byte (B) | 8 bits |
Real files run to millions of bytes, so we need prefixes. The catch: there are two families of prefix, and they don't agree.
Decimal prefix
A prefix that multiplies by a power of 10: kilo (k) , mega (M) , giga (G) , tera (T) . Each step up multiplies by 1000.
Binary prefix
A prefix that multiplies by a power of 2: kibi (Ki) , mebi (Mi) , gibi (Gi) , tebi (Ti) . Each step up multiplies by .
| Decimal unit | Bytes | Binary unit | Bytes |
|---|---|---|---|
| 1 kB (kilobyte) | 1 000 | 1 KiB (kibibyte) | 1 024 |
| 1 MB (megabyte) | 1 000 000 | 1 MiB (mebibyte) | 1 048 576 |
| 1 GB (gigabyte) | 1 000 000 000 | 1 GiB (gibibyte) | 1 073 741 824 |
| 1 TB (terabyte) | 1 000 000 000 000 | 1 TiB (tebibyte) | 1 099 511 627 776 |