Compare the scales
Decimal and binary prefixes use different powers.
The prefix tells you how many units are grouped together. Decimal prefixes use powers of 1,000, while binary prefixes use powers of 1,024. The letter i identifies a binary prefix.
1 KiB = 1,024 octets. One MiB contains 1,024 KiB, so 1 MiB = 1,024 x 1,024 octets = 1,048,576 octets. The next step follows the same rule: 1 GiB = 1,024 x 1,024 x 1,024 octets = 1,073,741,824 octets.kB / KiB
1 kB = 1,000 octets1 KiB = 1,024 octets
MB / MiB
1 MB = 1,000,000 octets1 MiB = 1,048,576 octets
GB / GiB
1 GB = 1,000,000,000 octets1 GiB = 1,073,741,824 octets
TB / TiB
1 TB = 1,000,000,000,000 octets1 TiB = 1,099,511,627,776 octets
Start with the smallest unit
A bit carries one binary value.
A bit is short for binary digit. It has only two possible values: 0 or 1. A bit can describe a logical state, a flag, or one decision in a binary representation. A physical system may carry that bit with voltage, light, radio energy, or another measurable signal.
A bit is useful because it gives digital systems a simple building block for representing, storing, processing, and transmitting information. Networks send long sequences of bits across links, and devices interpret those sequences according to shared rules.
An octet is a group of exactly eight bits. The word octet avoids ambiguity because a byte is not guaranteed to mean eight bits on every historical system, although modern computers almost universally use an eight-bit byte.
00000000 to 11111111. The pattern 01100001 is hexadecimal 0x61, and represents the lowercase letter a in ASCII and UTF-8.Make large quantities readable
Prefixes scale bits and octets.
Writing millions or trillions of individual bits is inconvenient, so we use prefixes. Network rates normally use decimal prefixes: each step multiplies the quantity by 1,000. Storage and memory contexts may also use binary prefixes, where each step multiplies by 1,024.
kilo
1 kbit = 1,000 bits1 kB = 1,000 bytes
mega
1 Mbit = 1,000,000 bits1 MB = 1,000,000 bytes
giga
1 Gbit = 1,000,000,000 bits1 GB = 1,000,000,000 bytes
tera
1 Tbit = 1012 bits1 TB = 1012 bytes
peta
1 Pbit = 1015 bits1 PB = 1015 bytes
exa
1 Ebit = 1018 bits1 EB = 1018 bytes
zetta
1 Zbit = 1021 bits1 ZB = 1021 bytes
yotta
1 Ybit = 1024 bits1 YB = 1024 bytes
ronna
1 Rbit = 1027 bits1 RB = 1027 bytes
quetta
1 Qbit = 1030 bits1 QB = 1030 bytes
1 KiB = 1,024 bytes, 1 MiB = 1,024 KiB, 1 GiB = 1,024 MiB, 1 TiB = 1,024 GiB, and 1 PiB = 1,024 TiB. The i identifies a binary prefix.Practice the relationship
Bits and octets convert by a factor of eight.
The capitalisation matters: lowercase b means bit, while uppercase B means byte or octet. To convert bits to octets, divide by eight. To convert octets to bits, multiply by eight.
Do not confuse quantity and speed
A file size is not a network rate.
Data size tells how much information exists, such as 700 MB. A data rate tells how quickly a link transfers information, such as 100 Mbit/s. Time connects them: transfer time is approximately data size divided by the useful rate, after converting both to the same unit.
100 Mbit/s ÷ 8 = 12.5 MB/s. Real application speed is usually lower because of protocol overhead, contention, signal conditions, and other limits.Knowledge check
Test your unit model
Answer ten questions. The answer order changes each time.