Multiples of bytes
Value Metric
1000 kB kilobyte
10002 MB megabyte
10003 GB gigabyte
10004 TB terabyte
10005 PB petabyte
10006 EB exabyte
10007 ZB zettabyte
10008 YB yottabyte
1024 KB kilobyte KiB kibibyte
10242 MB megabyte MiB mebibyte
10243 GB gigabyte GiB gibibyte
10244 - - TiB tebibyte
10245 - - PiB pebibyte
10246 - - EiB exbibyte
10247 - - ZiB zebibyte
10248 - - YiB yobibyte
Orders of magnitude of data

The kilobyte is a multiple of the unit byte for digital information. Although the SI prefix kilo- means 1000, the term kilobyte and symbol KB have historically been used to refer to either 1024 (210) bytes or 1000 (103) bytes, dependent upon context, in the fields of computer science and information technology.[1][2][3]

For example, when referring to data transfer rates[4] and hard disk drive storage size,[5] "kilobyte" means 1000 (103) bytes. On the other hand, random-access memory capacity such as CPU cache measurements are always stated in multiples of 1024 (210) bytes, due to memory's binary addressing.

In the International System of Quantities, the kilobyte (symbol kB) is 1000 bytes, while the kibibyte (symbol KiB) is 1024 bytes. The binary representation of 1024 bytes typically uses the symbol KB, with an uppercase K. Informally, the B is sometimes dropped, with the leftover K representing 1024 bytes; this variant, however, is not standardized and may be used arbitrarily. All existing recommendations prefer to use the uppercase letter B for byte, because b is sometimes used for the bit.


  • Definitions 1
  • Examples 2
  • See also 3
  • Notes 4
  • References 5


The unit kilobyte is commonly used to indicate either 1000 or 1024 bytes. The value 1024 originated as compromise technical jargon for the byte multiples that needed to be expressed by powers of 2, but lacked a convenient name. As 1024 (210) approximates 1000 (103), roughly corresponding SI multiples were used for binary multiples. In 1998 the International Electrotechnical Commission (IEC) enacted standards for binary prefixes, specifying the use of kilobyte to strictly denote 1000 bytes and kibibyte to denote 1024 bytes. By 2007, the IEC Standard had been adopted by the IEEE, EU, and NIST and is now part of the International System of Quantities. Nevertheless, the term kilobyte continues to be widely used with both of the following two meanings:

  • 1 KB (or KiB) = 1024bytes = 210 bytes is the definition used by most vendors of memory devices and software when referring to amounts of computer memory, such as Microsoft Windows and Linux.[9] In the unambiguous IEC standard the unit for this amount of information is one kibibyte (KiB).


  • The HP 21MX real-time computer (1974) denoted 196,608 (which is 192×1024) as 196K,[10] while the HP 3000 business computer (1973) denoted 131,072 (which is 128×1024) as 128K.[11]
  • The Shugart SA-400 514-inch floppy disk (1976) held 109,375 bytes unformatted,[12] and was advertised as 110 Kbyte, using the 1000 convention.[13] Likewise, the 8-inch DEC RX01 floppy (1975) held 256,256 bytes formatted, and was advertised as 256k.[14] On the other hand, the Tandon 514-inch DD floppy format (1978) held 368,640 (which is 360×1024) bytes, but was advertised as 360 KB, following the 1024 convention.
  • On modern systems, Microsoft Windows 7 would divide by 1024 and represent a 65,536-byte file as 64 KB.[15] while Mac OS X Snow Leopard represents this as 66 KB, rounding to the nearest 1000.[16]

In December 1998, the IEC addressed such multiple usages and definitions by creating unique binary prefixes to denote multiples of 1024, such as “kibibyte (KiB)”, which represents 210, or 1024, bytes.[17]

See also


  1. ^ Kilobyte – Definition and More from the Free Merriam-Webster Dictionary. (2010-08-13). Retrieved on 2011-01-07.
  2. ^ Kilobyte | Define Kilobyte at (1995-09-29). Retrieved on 2011-01-07.
  3. ^ definition of kilobyte from Oxford Dictionaries Online. Retrieved on 2011-01-07.
  4. ^ Conversion of Data Transfer Rate Units
  5. ^ 1977 Disk/Trend Report Rigid Disk Drives, published June 1977
  6. ^ Prefixes for Binary Multiples — The NIST Reference on Constants, Units, and Uncertainty
  7. ^ SanDisk USB Flash Drive "Note: 1 megabyte (MB) = 1 million bytes; 1 gigabyte (GB) = 1 billion bytes."
  8. ^ "How Mac OS X reports drive capacity". Apple Inc. 2009-08-27. Retrieved 2009-10-16. 
  9. ^ Sharma, Kapil; Mohammed J.; Norton, Peter C. Norton; Good, Nathan; Steidler-Dennison, Tony (2005). Professional Red Hat Enterprise Linux 3.  
  10. ^ Frankenberg, Robert (October 1974). "All Semiconductor Memory Selected for New Minicomputer Series" (PDF). Hewlett-Packard Journal (Hewlett-Packard) 26 (2): pg 15–20. Retrieved 2007-06-18. 196K-word memory size 
  11. ^ Hewlett-Packard (November 1973). "HP 3000 Configuration Guide" (PDF). HP 3000 Computer System and Subsystem Data: pg 59. Retrieved 2010-01-22. 
  12. ^ "SA400 minifloppy". 2013-08-14. Retrieved 2014-03-25. 
  13. ^
  14. ^
  15. ^ "Determining Actual Disk Size: Why 1.44 MB Should Be 1.40 MB". 2003-05-06. Retrieved 2014-03-25. 
  16. ^ "How OS X and iOS report storage capacity". 2013-07-01. Retrieved 2014-03-25. 
  17. ^   "In December 1998 the International Electrotechnical Commission (IEC) [...] approved as an IEC International Standard names and symbols for prefixes for binary multiples for use in the fields of data processing and data transmission."


"Terms, Definitions, and Letter Symbols for Microcomputers, Microprocessors, and Memory Integrated Circuits". JEDEC Solid State Technology Association. December 2002. Retrieved 22 September 2013.