Katana VentraIP

Binary prefix

A binary prefix is a unit prefix that indicates a multiple of a unit of measurement by an integer power of two. The most commonly used binary prefixes are kibi (symbol Ki, meaning 210 = 1024), mebi (Mi, 220 = 1048576), and gibi (Gi, 230 = 1073741824). They are most often used in information technology as multipliers of bit and byte, when expressing the capacity of storage devices or the size of computer files.

This article is about powers-of-two prefixes for measurement units like bit and byte. For notations for the radix of a numeral, see Integer literal § Affixes.

The binary prefixes "kibi", "mebi", etc. were defined in 1999 by the International Electrotechnical Commission (IEC), in the IEC 60027-2 standard (Amendment 2). They were meant to replace the metric (SI) decimal power prefixes, such as "kilo" ("k", 103 = 1000), "mega" ("M", 106 = 1000000) and "giga" ("G", 109 = 1000000000),[1] that were commonly used in the computer industry to indicate the nearest powers of two. For example, a memory module whose capacity was specified by the manufacturer as "2 megabytes" or "2 MB" would hold 2 × 220 = 2097152 bytes, instead of 2 × 106 = 2000000.


On the other hand, a hard disk whose capacity is specified by the manufacturer as "10 gigabytes" or "10 GB", holds 10 × 109 = 10000000000 bytes, or a little more than that, but less than 10 × 230 = 10737418240 and a file whose size is listed as "2.3 GB" may have a size closer to 2.3 × 2302470000000 or to 2.3 × 109 = 2300000000, depending on the program or operating system providing that measurement. This kind of ambiguity is often confusing to computer system users and has resulted in lawsuits.[2][3] The IEC 60027-2 binary prefixes have been incorporated in the ISO/IEC 80000 standard and are supported by other standards bodies, including the BIPM, which defines the SI system,[1]: p.121  the US NIST,[4][5] and the European Union.


Prior to the 1999 IEC standard, some industry organizations, such as the Joint Electron Device Engineering Council (JEDEC), attempted to redefine the terms kilobyte, megabyte, and gigabyte, and the corresponding symbols KB, MB, and GB in the binary sense, for use in storage capacity measurements. However, other computer industry sectors (such as magnetic storage) continued using those same terms and symbols with the decimal meaning. Since then, the major standards organizations have expressly disapproved the use of SI prefixes to denote binary multiples, and recommended or mandated the use of the IEC prefixes for that purpose, but the use of SI prefixes in this sense has persisted in some fields.


While the binary prefixes are almost always used with the units of information, bits and bytes, they may be used with any other unit of measure, when convenient. For example, in signal processing one may need binary multiples of the frequency unit hertz (Hz), for example the kibihertz (KiHz), equal to 1024 Hz.[6][7]

Binary engineering notation

B notation (scientific notation)

ISO/IEC 80000

Nibble

Octet

. International Electrotechnical Commission. 2007-02-12. Archived from the original on 2009-04-03. – An introduction to binary prefixes

"When is a kilobyte a kibibyte? And an MB an MiB?"

. NIST.

"Prefixes for binary multiples"

(Press release). NIST. 1999-03-02. Archived from the original on 2016-08-20. Retrieved 2017-07-13.

"Get Ready for the mebi, gibi and tebi"

(1996-12-29). "What is a Megabyte ...?".—a 1996–1999 paper on bits, bytes, prefixes and symbols

Kuhn, Markus

de Boyne Pollard, Jonathan. . Frequently Given Answers. Archived from the original on 2016-10-07.

"There is no such thing as a 1.44 MB standard format floppy disc"

Michael Quinion (1999-08-21). . World Wide Words. Archived from the original on 2004-06-12. Retrieved 2002-11-13.—Another description of binary prefixes

"Kibibyte"

James Wiebe (2003-10-09). (PDF). WiebeTech (Press release). Archived from the original (PDF) on 2013-12-04. Retrieved 2010-01-22.—White-paper on the controversy over drive capacities

"When One Billion does not equal One Billion, or: Why your computer's disk drive capacity doesn't appear to match the stated capacity"

Archived 2021-03-06 at the Wayback Machine

A plea for sanity

A summary of the organizations, software, and so on that have implemented the new binary prefixes

KiloBytes vs. kilobits vs. Kibibytes (Binary prefixes)

Prefix Converter

Archived 2015-01-02 at the Wayback Machine

Storage Capacity Measurement Standards