The kibibyte is a multiple of the unit byte for quantities of digital information. The binary prefix kibi means 210, or 1024; therefore, 1 kibibyte is 1024 bytes. The unit symbol for the kibibyte is KiB.
|Multiples of bytes|
|Orders of magnitude of data|
The unit was established by the International Electrotechnical Commission (IEC) in 1998, has been accepted for use by all major standards organizations, and is part of the International System of Quantities. The kibibyte was designed to replace the kilobyte in those computer science contexts in which the term kilobyte is used to mean 1024 bytes. The interpretation of kilobyte to denote 1024 bytes, conflicting with the SI definition of the prefix kilo (1000), used to be common.
- 1 kibibyte (KiB) = 210 bytes = 1024 bytes
It follows from this definition, and from the definition of mebibyte (MiB) as 220 bytes that
- 1024 kibibytes = 1 mebibyte
The prefix kibi is derived as a portmanteau of the words kilo and binary, indicating its origin in the closeness in value to the SI prefix kilo (1000). While the SI prefix is written with lowercase (k), all IEC binary prefixes start with an uppercase letter.
IEC/80000-13 defines one byte as 8 bits (1 B = 8 bit). Therefore:
- 1 kibibyte = 8192 bits
The kibibyte is closely related to the kilobyte. The latter term is often used in some contexts as a synonym for kibibyte, but formally refers to 103 bytes = 1000 bytes, as the prefix kilo is defined in the International System of Units.
Donald Knuth proposed to call this unit a large kilobyte (KKB).
- International Electrotechnical Commission (2007). "Prefixes for binary multiples". Retrieved 2014-01-09.
- International Electrotechnical Commission (January 1999), IEC 60027-2 Amendment 2: Letter symbols to be used in electrical technology - Part 2: Telecommunications and electronics
- "IEC 80000-13:2008". International Organization for Standardization. Retrieved 2013-07-21.
- "Definitions of the SI units: The binary prefixes". physics.nist.gov. Retrieved 2018-04-09.
- National Institute of Standards and Technology. "Prefixes for binary multiples". Retrieved 2015-10-09.
- "What is a kilobyte?". Retrieved 2010-05-20.
- "Safier vs WDC complaint". WesternDigital.com. Archived from the original on October 16, 2007. Retrieved 2007-11-15.
- Grainger, Brian (7 August 2005). "I've got a bigger gigabyte than you!". Independent Computer Products Users Group (ICPUG). Retrieved 2007-11-15.
- Barry Wittman; Aditya Mathur; Tim Korb (30 December 2012). Start Concurrent: An Introduction to Problem Solving in Java with a Focus on Concurrency, 2013 Edition. Purdue University Press. p. 5. ISBN 978-1-55753-672-3. Retrieved 1 May 2013.