Daniel Lemire's blog

, 1 min read

A megabyte is a mebibyte, and a kilobyte is a kibibyte

If you’ve been annoyed about the fact that a kilobyte has 1024 bytes and not 1000 bytes, well, you were right all along! What people call a kilobyte is really a kibibyte. (Thanks to Owen for pointing it out to me!)

Examples and comparisons with SI prefixes | one kibibit | 1 Kibit = 210 bit = 1024 bit | one kilobit | 1 kbit = 103 bit = 1000 bit | one mebibyte | 1 MiB = 220 B = 1 048 576 B | one megabyte | 1 MB = 106 B = 1 000 000 B | one gibibyte | 1 GiB = 230 B = 1 073 741 824B | one gigabyte | 1 GB = 109 B = 1 000 000 000 B |

Source: Definitions of the SI units: The binary prefixes