Binary Prefixes Table
IEC binary prefixes (kibi, mebi, gibi) vs SI prefixes for data sizes.
The binary prefixes used for computer memory and file sizes, from kibi to yobi, with the exact number of bytes in each and how much smaller the matching decimal prefix is. In 1998 the International Electrotechnical Commission (IEC) introduced these names to end a long confusion: “kilobyte” was used to mean both 1,000 bytes and 1,024 bytes. Now a kibibyte (KiB) is 2¹⁰ = 1,024 bytes, a mebibyte (MiB) is 2²⁰ = 1,048,576 bytes and a gibibyte (GiB) is 2³⁰ bytes, while kilobyte, megabyte and gigabyte keep their standard decimal meanings of 1,000, a million and a billion bytes. The gap grows with each step, from 2.4% at kilo to almost 21% at yotta, which is why a “1 TB” drive shows up as about 931 GB on a Windows PC: the drive maker counts 10¹² bytes, and Windows divides by 2³⁰ but still writes “GB”. The table follows IEC 80000-13. For other units, see the Unit Prefixes Table.
IEC binary prefixes
| Prefix | Symbol | Power of two | Bytes in 1 unit | Compared with SI prefix |
|---|---|---|---|---|
| kibi | Ki | 2¹⁰ | 1,024 | kilo (10³), 2.4% smaller |
| mebi | Mi | 2²⁰ | 1,048,576 | mega (10⁶), 4.9% smaller |
| gibi | Gi | 2³⁰ | 1,073,741,824 | giga (10⁹), 7.4% smaller |
| tebi | Ti | 2⁴⁰ | 1,099,511,627,776 | tera (10¹²), 10.0% smaller |
| pebi | Pi | 2⁵⁰ | 1,125,899,906,842,624 | peta (10¹⁵), 12.6% smaller |
| exbi | Ei | 2⁶⁰ | 1,152,921,504,606,846,976 | exa (10¹⁸), 15.3% smaller |
| zebi | Zi | 2⁷⁰ | 1,180,591,620,717,411,303,424 | zetta (10²¹), 18.1% smaller |
| yobi | Yi | 2⁸⁰ | 1,208,925,819,614,629,174,706,176 | yotta (10²⁴), 20.9% smaller |
Source: IEC 80000-13.
Common use cases
- Understand why a new drive looks smaller than advertised
- Convert between KiB, MiB, GiB and KB, MB, GB
- Write file sizes and memory sizes correctly
- Explain binary and decimal prefixes to students
How to use
- Find the prefix in the first column.
- Read its symbol, its power of two and the exact number of bytes.
- Use the last column to see how it compares with the decimal prefix.
FAQ
Why does my 1 TB drive show 931 GB?
The drive holds 1,000,000,000,000 bytes (10¹²). Windows divides that by 1,073,741,824 (2³⁰) and gets 931.3, but labels it GB. In IEC terms the drive is 931.3 GiB, which is the same amount of space. macOS uses decimal units, so it shows the drive as 1 TB.
Is a kilobyte 1,000 or 1,024 bytes?
By the international standard, a kilobyte (kB) is 1,000 bytes and a kibibyte (KiB) is 1,024 bytes. In practice, you'll still see KB used for 1,024 bytes in some software and in descriptions of RAM, so check which one is meant when it matters.
Which should I use?
Use KiB, MiB and GiB when you mean powers of two, such as memory sizes, and kB, MB and GB for powers of ten, such as storage capacity and network speeds. Being explicit avoids the mismatch above.
Related tools
- Unit Prefixes TableComplete list of SI and metric unit prefixes from yocto to yotta.
- SI Units TableReference table of all seven SI base units and derived units.
- Color Name ReferenceNamed colors with HEX, RGB, and HSL values for CSS and design.
- HEX Color ListPopular HEX color codes organized by color family.
- Web Safe Colors List216 web-safe colors that display consistently across browsers.
- Megabytes to GigabytesIn Converters
- Kilobytes to MegabytesIn Converters
- Gigabytes to TerabytesIn Converters