Units of measurment
Historically the terms kilobyte, megabyte, etc have often been used when kibibyte, mebibyte, etc are meant. These are in fact different. One set uses binary prefixes and works in powers of 2 and the other uses decimal prfixes and works in powers of 10.
Binary Prefixes |
Decimal Prefixes |
Name |
Symbol |
Number of bytes |
Name |
Symbol |
Number of bytes |
kibibyte |
KiB |
210 = 1024 |
kilobyte |
KB |
103 = 1000 |
mebibyte |
MiB |
220 = 1,048,576 |
megabyte |
MB |
106 = 1,000,000 |
gibibyte |
GiB |
230 = 1,073,741,824 |
gigabyte |
GB |
109 = 1,000,000,000 |
tebibyte |
TiB |
240 = 1,099,511,627,776 |
terabyte |
TB |
1012 = 1,000,000,000,000 |